diff --git a/server-nest/.gitignore b/server-nest/.gitignore new file mode 100644 index 00000000..4b56acfb --- /dev/null +++ b/server-nest/.gitignore @@ -0,0 +1,56 @@ +# compiled output +/dist +/node_modules +/build + +# Logs +logs +*.log +npm-debug.log* +pnpm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# OS +.DS_Store + +# Tests +/coverage +/.nyc_output + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# temp directory +.temp +.tmp + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/server-nest/.prettierrc b/server-nest/.prettierrc new file mode 100644 index 00000000..a20502b7 --- /dev/null +++ b/server-nest/.prettierrc @@ -0,0 +1,4 @@ +{ + "singleQuote": true, + "trailingComma": "all" +} diff --git a/server-nest/README.md b/server-nest/README.md new file mode 100644 index 00000000..8f0f65f7 --- /dev/null +++ b/server-nest/README.md @@ -0,0 +1,98 @@ +

+ Nest Logo +

+ +[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456 +[circleci-url]: https://circleci.com/gh/nestjs/nest + +

A progressive Node.js framework for building efficient and scalable server-side applications.

+

+NPM Version +Package License +NPM Downloads +CircleCI +Discord +Backers on Open Collective +Sponsors on Open Collective + Donate us + Support us + Follow us on Twitter +

+ + +## Description + +[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository. + +## Project setup + +```bash +$ npm install +``` + +## Compile and run the project + +```bash +# development +$ npm run start + +# watch mode +$ npm run start:dev + +# production mode +$ npm run start:prod +``` + +## Run tests + +```bash +# unit tests +$ npm run test + +# e2e tests +$ npm run test:e2e + +# test coverage +$ npm run test:cov +``` + +## Deployment + +When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information. + +If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps: + +```bash +$ npm install -g @nestjs/mau +$ mau deploy +``` + +With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure. + +## Resources + +Check out a few resources that may come in handy when working with NestJS: + +- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework. +- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy). +- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/). +- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks. +- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com). +- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com). +- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs). +- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com). + +## Support + +Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support). + +## Stay in touch + +- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec) +- Website - [https://nestjs.com](https://nestjs.com/) +- Twitter - [@nestframework](https://twitter.com/nestframework) + +## License + +Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE). diff --git a/server-nest/eslint.config.mjs b/server-nest/eslint.config.mjs new file mode 100644 index 00000000..4e9f8271 --- /dev/null +++ b/server-nest/eslint.config.mjs @@ -0,0 +1,35 @@ +// @ts-check +import eslint from '@eslint/js'; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; +import globals from 'globals'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + { + ignores: ['eslint.config.mjs'], + }, + eslint.configs.recommended, + ...tseslint.configs.recommendedTypeChecked, + eslintPluginPrettierRecommended, + { + languageOptions: { + globals: { + ...globals.node, + ...globals.jest, + }, + sourceType: 'commonjs', + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + }, + }, + { + rules: { + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-floating-promises': 'warn', + '@typescript-eslint/no-unsafe-argument': 'warn', + "prettier/prettier": ["error", { endOfLine: "auto" }], + }, + }, +); diff --git a/server-nest/nest-cli.json b/server-nest/nest-cli.json new file mode 100644 index 00000000..f9aa683b --- /dev/null +++ b/server-nest/nest-cli.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json.schemastore.org/nest-cli", + "collection": "@nestjs/schematics", + "sourceRoot": "src", + "compilerOptions": { + "deleteOutDir": true + } +} diff --git a/server-nest/package-lock.json b/server-nest/package-lock.json new file mode 100644 index 00000000..5da49265 --- /dev/null +++ b/server-nest/package-lock.json @@ -0,0 +1,11956 @@ +{ + "name": "server-nest-2", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "server-nest-2", + "version": "0.0.1", + "license": "UNLICENSED", + "dependencies": { + "@better-auth/oauth-provider": "^1.6.9", + "@better-auth/passkey": "^1.6.9", + "@hedystia/better-auth-typeorm": "^0.8.2", + "@nestjs/common": "^11.1.19", + "@nestjs/config": "^4.0.4", + "@nestjs/core": "^11.1.19", + "@nestjs/platform-express": "^11.1.19", + "@nestjs/platform-socket.io": "^11.1.19", + "@nestjs/throttler": "^6.5.0", + "@nestjs/typeorm": "^11.0.1", + "@nestjs/websockets": "^11.1.19", + "@thallesp/nestjs-better-auth": "^2.6.0", + "better-auth": "^1.6.9", + "better-sqlite3": "^12.9.0", + "csrf-csrf": "^4.0.3", + "helmet": "^8.1.0", + "mysql2": "^3.22.2", + "pg": "^8.20.0", + "reflect-metadata": "^0.2.2", + "rxjs": "^7.8.2", + "typeorm": "^0.3.28" + }, + "devDependencies": { + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "^9.18.0", + "@nestjs/cli": "^11.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.1", + "@types/express": "^5.0.0", + "@types/jest": "^30.0.0", + "@types/node": "^24.0.0", + "@types/supertest": "^7.0.0", + "eslint": "^9.18.0", + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-prettier": "^5.2.2", + "globals": "^17.0.0", + "jest": "^30.0.0", + "prettier": "^3.4.2", + "source-map-support": "^0.5.21", + "supertest": "^7.0.0", + "ts-jest": "^29.2.5", + "ts-loader": "^9.5.2", + "ts-node": "^10.9.2", + "tsconfig-paths": "^4.2.0", + "typescript": "^5.7.3", + "typescript-eslint": "^8.20.0" + } + }, + "node_modules/@angular-devkit/core": { + "version": "19.2.24", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.24.tgz", + "integrity": "sha512-Kd49warf6U/EyWe5BszF/eebN3zQ3bk7tgfEljAw8q/rX95UUtriJubWvp6pgzHfzBA4jwq8f+QiNZB8eBEXPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.18.0", + "ajv-formats": "3.0.1", + "jsonc-parser": "3.3.1", + "picomatch": "4.0.4", + "rxjs": "7.8.1", + "source-map": "0.7.4" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^4.0.0" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/core/node_modules/ajv": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@angular-devkit/core/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular-devkit/core/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular-devkit/schematics": { + "version": "19.2.24", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.24.tgz", + "integrity": "sha512-lnw+ZM1Io+cJAkReC0NPDjqObL8NtKzKIkdgEEKC8CUmkhurYhedbicN8Y8NYHgG1uLd2GozW3+/QqPRZaN+Lw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.24", + "jsonc-parser": "3.3.1", + "magic-string": "0.30.17", + "ora": "5.4.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-devkit/schematics-cli": { + "version": "19.2.24", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics-cli/-/schematics-cli-19.2.24.tgz", + "integrity": "sha512-bsStZQG67J1HBqTmWxtIcobvgrn32L4UOdL7hGyOru5VxDWPNA8pRnDYavT3hnJeBkJYPoQIw8u7Dm0ecoQprw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.24", + "@angular-devkit/schematics": "19.2.24", + "@inquirer/prompts": "7.3.2", + "ansi-colors": "4.1.3", + "symbol-observable": "4.0.0", + "yargs-parser": "21.1.1" + }, + "bin": { + "schematics": "bin/schematics.js" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-devkit/schematics-cli/node_modules/@inquirer/prompts": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.3.2.tgz", + "integrity": "sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/checkbox": "^4.1.2", + "@inquirer/confirm": "^5.1.6", + "@inquirer/editor": "^4.2.7", + "@inquirer/expand": "^4.0.9", + "@inquirer/input": "^4.1.6", + "@inquirer/number": "^3.0.9", + "@inquirer/password": "^4.0.9", + "@inquirer/rawlist": "^4.0.9", + "@inquirer/search": "^3.0.9", + "@inquirer/select": "^4.0.9" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/schematics/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz", + "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.28.5", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz", + "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz", + "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.0", + "@babel/generator": "^7.29.0", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helpers": "^7.28.6", + "@babel/parser": "^7.29.0", + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.29.0", + "@babel/types": "^7.29.0", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz", + "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.0", + "@babel/types": "^7.29.0", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz", + "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.28.6", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz", + "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz", + "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", + "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz", + "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.28.6", + "@babel/types": "^7.29.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz", + "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.0" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz", + "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.28.6.tgz", + "integrity": "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", + "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", + "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz", + "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.0", + "@babel/generator": "^7.29.0", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.29.0", + "@babel/template": "^7.28.6", + "@babel/types": "^7.29.0", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz", + "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@better-auth/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/core/-/core-1.6.9.tgz", + "integrity": "sha512-ADFk5pwmLybmc+LvYvXJ6M1x2oY/EyYLkwLuH0x28FUq12DfjL0wnE7g+WRDf3yozDO+qIxTpFGXDGwLKbfz0w==", + "license": "MIT", + "dependencies": { + "@opentelemetry/semantic-conventions": "^1.39.0", + "@standard-schema/spec": "^1.1.0", + "zod": "^4.3.6" + }, + "peerDependencies": { + "@better-auth/utils": "0.4.0", + "@better-fetch/fetch": "1.1.21", + "@cloudflare/workers-types": ">=4", + "@opentelemetry/api": "^1.9.0", + "better-call": "1.3.5", + "jose": "^6.1.0", + "kysely": "^0.28.5", + "nanostores": "^1.0.1" + }, + "peerDependenciesMeta": { + "@cloudflare/workers-types": { + "optional": true + }, + "@opentelemetry/api": { + "optional": true + } + } + }, + "node_modules/@better-auth/drizzle-adapter": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/drizzle-adapter/-/drizzle-adapter-1.6.9.tgz", + "integrity": "sha512-Lcco5hOGrMgc4XKAkvB6x72eQm4wCcya8IevMg4wBHY9W9GVg8pu23rpRX6VsVQSO4Ux13S7lFwUWtF7/r9aKw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "drizzle-orm": "^0.45.2" + }, + "peerDependenciesMeta": { + "drizzle-orm": { + "optional": true + } + } + }, + "node_modules/@better-auth/kysely-adapter": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/kysely-adapter/-/kysely-adapter-1.6.9.tgz", + "integrity": "sha512-gyjuuxJtZ4o9G9z9q4kqn24X2kvMSp7F+KHogYxF03SnXY/2WleAcuj57iC4wP3e9mGDbjPOrnM5K6Kr3Ktdpw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "kysely": "^0.28.14" + }, + "peerDependenciesMeta": { + "kysely": { + "optional": true + } + } + }, + "node_modules/@better-auth/memory-adapter": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/memory-adapter/-/memory-adapter-1.6.9.tgz", + "integrity": "sha512-XmIG4tUnOXZ+KEcWjHUjOI9Z5donD09dC2t/AQTXifAUIqx7cySg86w0KTM09ArzAxRx1fCqO36Wkt5nULnrkQ==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0" + } + }, + "node_modules/@better-auth/mongo-adapter": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/mongo-adapter/-/mongo-adapter-1.6.9.tgz", + "integrity": "sha512-h+AiRJ/TsBSi+ZDjySASBpbJ/9QCXBre34PSKgCz7QmTHrFM9Cg2EM4AM7LjR5lPXipEE+2rWPBc9wfnUBjhcw==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "mongodb": "^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "mongodb": { + "optional": true + } + } + }, + "node_modules/@better-auth/oauth-provider": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/oauth-provider/-/oauth-provider-1.6.9.tgz", + "integrity": "sha512-GJCRDLu7xOc/HcAuQXaFZ9xZo8l3yLuc+1/vKYB5gh0O+owub+vLH88+AfNm/jMHZ084MSHpgkyxmEnmBXe4iQ==", + "license": "MIT", + "dependencies": { + "jose": "^6.1.3", + "zod": "^4.3.6" + }, + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "@better-fetch/fetch": "1.1.21", + "better-auth": "^1.6.9", + "better-call": "1.3.5" + } + }, + "node_modules/@better-auth/passkey": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/passkey/-/passkey-1.6.9.tgz", + "integrity": "sha512-MFpi+2G/pG2wVcTuL/PcnWxP2ddFL4jmFByTCbgvr61tp7u96d5liBptxpTqfS5IuCi2o8bBRmjiQnDZAvxmHg==", + "license": "MIT", + "dependencies": { + "@simplewebauthn/browser": "^13.2.2", + "@simplewebauthn/server": "^13.2.3", + "zod": "^4.3.6" + }, + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "@better-fetch/fetch": "1.1.21", + "better-auth": "^1.6.9", + "better-call": "1.3.5", + "nanostores": "^1.0.1" + } + }, + "node_modules/@better-auth/prisma-adapter": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/prisma-adapter/-/prisma-adapter-1.6.9.tgz", + "integrity": "sha512-XHks01ntK20orqK/jICq8wmEbJ/zT6dct49Fk8zTQKN9QNGDc+Ix5+7z/Kvui0DXGFf790GfvRozquzaLtXa8Q==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0", + "prisma": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "@prisma/client": { + "optional": true + }, + "prisma": { + "optional": true + } + } + }, + "node_modules/@better-auth/telemetry": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@better-auth/telemetry/-/telemetry-1.6.9.tgz", + "integrity": "sha512-0u5zkhSCAQFoN3DHvUkLHOF6MBbVTDAa6mU8mhPwiysdz1x21vMzhzfaAKN/ZGWaQ09v91/F+2qu42G/bhUV4A==", + "license": "MIT", + "peerDependencies": { + "@better-auth/core": "^1.6.9", + "@better-auth/utils": "0.4.0", + "@better-fetch/fetch": "1.1.21" + } + }, + "node_modules/@better-auth/utils": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@better-auth/utils/-/utils-0.4.0.tgz", + "integrity": "sha512-RpMtLUIQAEWMgdPLNVbIF5ON2mm+CH0U3rCdUCU1VyeAUui4m38DyK7/aXMLZov2YDjG684pS1D0MBllrmgjQA==", + "license": "MIT", + "dependencies": { + "@noble/hashes": "^2.0.1" + } + }, + "node_modules/@better-auth/utils/node_modules/@noble/hashes": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.2.0.tgz", + "integrity": "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@better-fetch/fetch": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/@better-fetch/fetch/-/fetch-1.1.21.tgz", + "integrity": "sha512-/ImESw0sskqlVR94jB+5+Pxjf+xBwDZF/N5+y2/q4EqD7IARUTSpPfIo8uf39SYpCxyOCtbyYpUrZ3F/k0zT4A==" + }, + "node_modules/@borewit/text-codec": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@borewit/text-codec/-/text-codec-0.2.2.tgz", + "integrity": "sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz", + "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.7", + "debug": "^4.3.1", + "minimatch": "^3.1.5" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", + "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", + "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.14.0", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.1", + "minimatch": "^3.1.5", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz", + "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", + "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", + "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@hedystia/better-auth-typeorm": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/@hedystia/better-auth-typeorm/-/better-auth-typeorm-0.8.2.tgz", + "integrity": "sha512-/CZKRZeboy+zN+KGRknxcLU6YmpeBuJPSN8r6qN6fMnb3kvFMjdy0qDczr+J24BlZC5OvsREOKzCH5Odwr0Zbw==", + "license": "MIT", + "dependencies": { + "better-auth": "^1.5.6", + "typeorm": "^0.3.28" + }, + "peerDependencies": { + "better-auth": "^1.4.19", + "typeorm": "^0.3.21" + }, + "peerDependenciesMeta": { + "better-auth": { + "optional": false + }, + "typeorm": { + "optional": false + } + } + }, + "node_modules/@hexagon/base64": { + "version": "1.1.28", + "resolved": "https://registry.npmjs.org/@hexagon/base64/-/base64-1.1.28.tgz", + "integrity": "sha512-lhqDEAvWixy3bZ+UOYbPwUbBkwBq5C1LAJ/xPC8Oi+lL54oyakv/npbA0aU2hgCsx/1NUd4IBvV03+aUBWxerw==", + "license": "MIT" + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@inquirer/ansi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/confirm": { + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/core": { + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", + "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/figures": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/prompts": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.1.tgz", + "integrity": "sha512-Dx/y9bCQcXLI5ooQ5KyvA4FTgeo2jYj/7plWfV5Ak5wDPKQZgudKez2ixyfz7tKXzcJciTxqLeK7R9HItwiByg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/checkbox": "^4.3.2", + "@inquirer/confirm": "^5.1.21", + "@inquirer/editor": "^4.2.23", + "@inquirer/expand": "^4.0.23", + "@inquirer/input": "^4.3.1", + "@inquirer/number": "^3.0.23", + "@inquirer/password": "^4.0.23", + "@inquirer/rawlist": "^4.1.11", + "@inquirer/search": "^3.2.2", + "@inquirer/select": "^4.4.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/type": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz", + "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-30.3.0.tgz", + "integrity": "sha512-PAwCvFJ4696XP2qZj+LAn1BWjZaJ6RjG6c7/lkMaUJnkyMS34ucuIsfqYvfskVNvUI27R/u4P1HMYFnlVXG/Ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "@types/node": "*", + "chalk": "^4.1.2", + "jest-message-util": "30.3.0", + "jest-util": "30.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/core": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-30.3.0.tgz", + "integrity": "sha512-U5mVPsBxLSO6xYbf+tgkymLx+iAhvZX43/xI1+ej2ZOPnPdkdO1CzDmFKh2mZBn2s4XZixszHeQnzp1gm/DIxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.3.0", + "@jest/pattern": "30.0.1", + "@jest/reporters": "30.3.0", + "@jest/test-result": "30.3.0", + "@jest/transform": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "exit-x": "^0.2.2", + "graceful-fs": "^4.2.11", + "jest-changed-files": "30.3.0", + "jest-config": "30.3.0", + "jest-haste-map": "30.3.0", + "jest-message-util": "30.3.0", + "jest-regex-util": "30.0.1", + "jest-resolve": "30.3.0", + "jest-resolve-dependencies": "30.3.0", + "jest-runner": "30.3.0", + "jest-runtime": "30.3.0", + "jest-snapshot": "30.3.0", + "jest-util": "30.3.0", + "jest-validate": "30.3.0", + "jest-watcher": "30.3.0", + "pretty-format": "30.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/diff-sequences": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.3.0.tgz", + "integrity": "sha512-cG51MVnLq1ecVUaQ3fr6YuuAOitHK1S4WUJHnsPFE/quQr33ADUx1FfrTCpMCRxvy0Yr9BThKpDjSlcTi91tMA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/environment": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.3.0.tgz", + "integrity": "sha512-SlLSF4Be735yQXyh2+mctBOzNDx5s5uLv88/j8Qn1wH679PDcwy67+YdADn8NJnGjzlXtN62asGH/T4vWOkfaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "jest-mock": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.3.0.tgz", + "integrity": "sha512-76Nlh4xJxk2D/9URCn3wFi98d2hb19uWE1idLsTt2ywhvdOldbw3S570hBgn25P4ICUZ/cBjybrBex2g17IDbg==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "30.3.0", + "jest-snapshot": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.3.0.tgz", + "integrity": "sha512-j0+W5iQQ8hBh7tHZkTQv3q2Fh/M7Je72cIsYqC4OaktgtO7v1So9UTjp6uPBHIaB6beoF/RRsCgMJKvti0wADA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.3.0.tgz", + "integrity": "sha512-WUQDs8SOP9URStX1DzhD425CqbN/HxUYCTwVrT8sTVBfMvFqYt/s61EK5T05qnHu0po6RitXIvP9otZxYDzTGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "@sinonjs/fake-timers": "^15.0.0", + "@types/node": "*", + "jest-message-util": "30.3.0", + "jest-mock": "30.3.0", + "jest-util": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/get-type": { + "version": "30.1.0", + "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.1.0.tgz", + "integrity": "sha512-eMbZE2hUnx1WV0pmURZY9XoXPkUYjpc55mb0CrhtdWLtzMQPFvu/rZkTLZFTsdaVQa+Tr4eWAteqcUzoawq/uA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.3.0.tgz", + "integrity": "sha512-+owLCBBdfpgL3HU+BD5etr1SvbXpSitJK0is1kiYjJxAAJggYMRQz5hSdd5pq1sSggfxPbw2ld71pt4x5wwViA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.3.0", + "@jest/expect": "30.3.0", + "@jest/types": "30.3.0", + "jest-mock": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/pattern": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.0.1.tgz", + "integrity": "sha512-gWp7NfQW27LaBQz3TITS8L7ZCQ0TLvtmI//4OwlQRx4rnWxcPNIYjxZpDcN4+UlGxgm3jS5QPz8IPTCkb59wZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-regex-util": "30.0.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/reporters": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-30.3.0.tgz", + "integrity": "sha512-a09z89S+PkQnL055bVj8+pe2Caed2PBOaczHcXCykW5ngxX9EWx/1uAwncxc/HiU0oZqfwseMjyhxgRjS49qPw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "30.3.0", + "@jest/test-result": "30.3.0", + "@jest/transform": "30.3.0", + "@jest/types": "30.3.0", + "@jridgewell/trace-mapping": "^0.3.25", + "@types/node": "*", + "chalk": "^4.1.2", + "collect-v8-coverage": "^1.0.2", + "exit-x": "^0.2.2", + "glob": "^10.5.0", + "graceful-fs": "^4.2.11", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^6.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^5.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "30.3.0", + "jest-util": "30.3.0", + "jest-worker": "30.3.0", + "slash": "^3.0.0", + "string-length": "^4.0.2", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/reporters/node_modules/brace-expansion": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", + "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@jest/reporters/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/reporters/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@jest/reporters/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/reporters/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/schemas": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.0.5.tgz", + "integrity": "sha512-DmdYgtezMkh3cpU8/1uyXakv3tJRcmcXxBOcO0tbaozPwpmh4YMsnWrQm9ZmZMfa5ocbxzbFk6O4bDPEc/iAnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.34.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/snapshot-utils": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/snapshot-utils/-/snapshot-utils-30.3.0.tgz", + "integrity": "sha512-ORbRN9sf5PP82v3FXNSwmO1OTDR2vzR2YTaR+E3VkSBZ8zadQE6IqYdYEeFH1NIkeB2HIGdF02dapb6K0Mj05g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "natural-compare": "^1.4.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.0.1.tgz", + "integrity": "sha512-MIRWMUUR3sdbP36oyNyhbThLHyJ2eEDClPCiHVbrYAe5g3CHRArIVpBw7cdSB5fr+ofSfIb2Tnsw8iEHL0PYQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "callsites": "^3.1.0", + "graceful-fs": "^4.2.11" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/test-result": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.3.0.tgz", + "integrity": "sha512-e/52nJGuD74AKTSe0P4y5wFRlaXP0qmrS17rqOMHeSwm278VyNyXE3gFO/4DTGF9w+65ra3lo3VKj0LBrzmgdQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.3.0", + "@jest/types": "30.3.0", + "@types/istanbul-lib-coverage": "^2.0.6", + "collect-v8-coverage": "^1.0.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-30.3.0.tgz", + "integrity": "sha512-dgbWy9b8QDlQeRZcv7LNF+/jFiiYHTKho1xirauZ7kVwY7avjFF6uTT0RqlgudB5OuIPagFdVtfFMosjVbk1eA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "30.3.0", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.3.0.tgz", + "integrity": "sha512-TLKY33fSLVd/lKB2YI1pH69ijyUblO/BQvCj566YvnwuzoTNr648iE0j22vRvVNk2HsPwByPxATg3MleS3gf5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@jest/types": "30.3.0", + "@jridgewell/trace-mapping": "^0.3.25", + "babel-plugin-istanbul": "^7.0.1", + "chalk": "^4.1.2", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.3.0", + "jest-regex-util": "30.0.1", + "jest-util": "30.3.0", + "pirates": "^4.0.7", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/types": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.3.0.tgz", + "integrity": "sha512-JHm87k7bA33hpBngtU8h6UBub/fqqA9uXfw+21j5Hmk7ooPHlboRNxHq0JcMtC+n8VJGP1mcfnD3Mk+XKe1oSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/pattern": "30.0.1", + "@jest/schemas": "30.0.5", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", + "@types/node": "*", + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@levischuck/tiny-cbor": { + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@levischuck/tiny-cbor/-/tiny-cbor-0.2.11.tgz", + "integrity": "sha512-llBRm4dT4Z89aRsm6u2oEZ8tfwL/2l6BwpZ7JcyieouniDECM5AqNgr/y08zalEIvW3RSK4upYyybDcmjXqAow==", + "license": "MIT" + }, + "node_modules/@lukeed/csprng": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@lukeed/csprng/-/csprng-1.1.0.tgz", + "integrity": "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", + "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@tybys/wasm-util": "^0.10.0" + } + }, + "node_modules/@nestjs/cli": { + "version": "11.0.21", + "resolved": "https://registry.npmjs.org/@nestjs/cli/-/cli-11.0.21.tgz", + "integrity": "sha512-F8mV0Sj/zVEouzR3NxBuJy08YHTUOmC5Xdcx3qIIaJWzrm8Vw86CHkhkaPBJ5ewRMHPDCShPmhsfwhpCcjts3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.24", + "@angular-devkit/schematics": "19.2.24", + "@angular-devkit/schematics-cli": "19.2.24", + "@inquirer/prompts": "7.10.1", + "@nestjs/schematics": "^11.0.1", + "ansis": "4.2.0", + "chokidar": "4.0.3", + "cli-table3": "0.6.5", + "commander": "4.1.1", + "fork-ts-checker-webpack-plugin": "9.1.0", + "glob": "13.0.6", + "node-emoji": "1.11.0", + "ora": "5.4.1", + "tsconfig-paths": "4.2.0", + "tsconfig-paths-webpack-plugin": "4.2.0", + "typescript": "5.9.3", + "webpack": "5.106.0", + "webpack-node-externals": "3.0.0" + }, + "bin": { + "nest": "bin/nest.js" + }, + "engines": { + "node": ">= 20.11" + }, + "peerDependencies": { + "@swc/cli": "^0.1.62 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0", + "@swc/core": "^1.3.62" + }, + "peerDependenciesMeta": { + "@swc/cli": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/@nestjs/cli/node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@nestjs/cli/node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/@nestjs/cli/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/@nestjs/cli/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@nestjs/cli/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/@nestjs/cli/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/@nestjs/cli/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@nestjs/cli/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@nestjs/cli/node_modules/schema-utils": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", + "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/@nestjs/cli/node_modules/webpack": { + "version": "5.106.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.0.tgz", + "integrity": "sha512-Pkx5joZ9RrdgO5LBkyX1L2ZAJeK/Taz3vqZ9CbcP0wS5LEMx5QkKsEwLl29QJfihZ+DKRBFldzy1O30pJ1MDpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.16.0", + "acorn-import-phases": "^1.0.3", + "browserslist": "^4.28.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.20.0", + "es-module-lexer": "^2.0.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.3.1", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "terser-webpack-plugin": "^5.3.17", + "watchpack": "^2.5.1", + "webpack-sources": "^3.3.4" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/@nestjs/common": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-11.1.19.tgz", + "integrity": "sha512-qeiTt2tv+e5QyDKqG8HlVZb2wx64FEaSGFJouqTSRs+kG44iTfl3xlz1XqVped+rihx4hmjWgL5gkhtdK3E6+Q==", + "license": "MIT", + "dependencies": { + "file-type": "21.3.4", + "iterare": "1.2.1", + "load-esm": "1.0.3", + "tslib": "2.8.1", + "uid": "2.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "class-transformer": ">=0.4.1", + "class-validator": ">=0.13.2", + "reflect-metadata": "^0.1.12 || ^0.2.0", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "class-transformer": { + "optional": true + }, + "class-validator": { + "optional": true + } + } + }, + "node_modules/@nestjs/config": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@nestjs/config/-/config-4.0.4.tgz", + "integrity": "sha512-CJPjNitr0bAufSEnRe2N+JbnVmMmDoo6hvKCPzXgZoGwJSmp/dZPk9f/RMbuD/+Q1ZJPjwsRpq0vxna++Knwow==", + "license": "MIT", + "dependencies": { + "dotenv": "17.4.1", + "dotenv-expand": "12.0.3", + "lodash": "4.18.1" + }, + "peerDependencies": { + "@nestjs/common": "^10.0.0 || ^11.0.0", + "rxjs": "^7.1.0" + } + }, + "node_modules/@nestjs/core": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.19.tgz", + "integrity": "sha512-6nJkWa2efrYi+XlU686J9y5L7OvxpLVjT0T/sxRKE7Jvpffiihelup4WSvLvRhdHDjj/5SuoWEwqReXAaaeHmw==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@nuxt/opencollective": "0.4.1", + "fast-safe-stringify": "2.1.1", + "iterare": "1.2.1", + "path-to-regexp": "8.4.2", + "tslib": "2.8.1", + "uid": "2.0.2" + }, + "engines": { + "node": ">= 20" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/websockets": "^11.0.0", + "reflect-metadata": "^0.1.12 || ^0.2.0", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + } + } + }, + "node_modules/@nestjs/platform-express": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/platform-express/-/platform-express-11.1.19.tgz", + "integrity": "sha512-Vpdv8jyCQdThfoTx+UTn+DRYr6H6X02YUqcpZ3qP6G3ZUwtVp7eS+hoQPGd4UuCnlnFG8Wqr2J9bGEzQdi1rIg==", + "license": "MIT", + "dependencies": { + "cors": "2.8.6", + "express": "5.2.1", + "multer": "2.1.1", + "path-to-regexp": "8.4.2", + "tslib": "2.8.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0" + } + }, + "node_modules/@nestjs/platform-socket.io": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/platform-socket.io/-/platform-socket.io-11.1.19.tgz", + "integrity": "sha512-gu1nPIEaP5Qjjg/Cl8wXyvwGpdZGzgbtK4KcH65YRAA+GTKUkIHb4BNpLJ27Ymq/wqLJKNEbCjajfzD0BEjMGA==", + "license": "MIT", + "dependencies": { + "socket.io": "4.8.3", + "tslib": "2.8.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^11.0.0", + "@nestjs/websockets": "^11.0.0", + "rxjs": "^7.1.0" + } + }, + "node_modules/@nestjs/schematics": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@nestjs/schematics/-/schematics-11.1.0.tgz", + "integrity": "sha512-lVxGZ46tcdItFMoXr6vyKWlnOsm1SZm/GUqAEDvy2RL4Q4O+3bkziAhrO7Y8JLssFUUvNFEGqAizI52WAxhjDw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.24", + "@angular-devkit/schematics": "19.2.24", + "comment-json": "5.0.0", + "jsonc-parser": "3.3.1", + "pluralize": "8.0.0" + }, + "peerDependencies": { + "prettier": "^3.0.0", + "typescript": ">=4.8.2" + }, + "peerDependenciesMeta": { + "prettier": { + "optional": true + } + } + }, + "node_modules/@nestjs/testing": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-11.1.19.tgz", + "integrity": "sha512-/UFNWXvPEdu4v4DlC5oWLbGKmD27LehLK06b8oLzs6D6lf4vAQTdST8LRAXBadyMUQnVEQWMuBo3CtAVtlfXtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "2.8.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nest" + }, + "peerDependencies": { + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0" + }, + "peerDependenciesMeta": { + "@nestjs/microservices": { + "optional": true + }, + "@nestjs/platform-express": { + "optional": true + } + } + }, + "node_modules/@nestjs/throttler": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@nestjs/throttler/-/throttler-6.5.0.tgz", + "integrity": "sha512-9j0ZRfH0QE1qyrj9JjIRDz5gQLPqq9yVC2nHsrosDVAfI5HHw08/aUAWx9DZLSdQf4HDkmhTTEGLrRFHENvchQ==", + "license": "MIT", + "peerDependencies": { + "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", + "@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", + "reflect-metadata": "^0.1.13 || ^0.2.0" + } + }, + "node_modules/@nestjs/typeorm": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/@nestjs/typeorm/-/typeorm-11.0.1.tgz", + "integrity": "sha512-8rw/nKT0S+L+MkzgE9F2/mox7mAgsPlwfzmW9gsESN1lmQtIrVEfiiBwC2O8+guS1jBfQehJIdcdUj2OAp4VUQ==", + "license": "MIT", + "peerDependencies": { + "@nestjs/common": "^10.0.0 || ^11.0.0", + "@nestjs/core": "^10.0.0 || ^11.0.0", + "reflect-metadata": "^0.1.13 || ^0.2.0", + "rxjs": "^7.2.0", + "typeorm": "^0.3.0 || ^1.0.0-dev" + } + }, + "node_modules/@nestjs/websockets": { + "version": "11.1.19", + "resolved": "https://registry.npmjs.org/@nestjs/websockets/-/websockets-11.1.19.tgz", + "integrity": "sha512-2qo8jtIwwwgkqAI1BtnJ02EaFLrRkKA39eYXS8IhZCHilhBHCWdjnJ5cLcFq4oF+s+KZ7LcLGD/3stxJy8ijzg==", + "license": "MIT", + "dependencies": { + "iterare": "1.2.1", + "object-hash": "3.0.0", + "tslib": "2.8.1" + }, + "peerDependencies": { + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/platform-socket.io": "^11.0.0", + "reflect-metadata": "^0.1.12 || ^0.2.0", + "rxjs": "^7.1.0" + }, + "peerDependenciesMeta": { + "@nestjs/platform-socket.io": { + "optional": true + } + } + }, + "node_modules/@noble/ciphers": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.2.0.tgz", + "integrity": "sha512-Z6pjIZ/8IJcCGzb2S/0Px5J81yij85xASuk1teLNeg75bfT07MV3a/O2Mtn1I2se43k3lkVEcFaR10N4cgQcZA==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@nuxt/opencollective": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@nuxt/opencollective/-/opencollective-0.4.1.tgz", + "integrity": "sha512-GXD3wy50qYbxCJ652bDrDzgMr3NFEkIS374+IgFQKkCvk9yiYcLvX2XDYr7UyQxf4wK0e+yqDYRubZ0DtOxnmQ==", + "license": "MIT", + "dependencies": { + "consola": "^3.2.3" + }, + "bin": { + "opencollective": "bin/opencollective.js" + }, + "engines": { + "node": "^14.18.0 || >=16.10.0", + "npm": ">=5.10.0" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "1.40.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.40.0.tgz", + "integrity": "sha512-cifvXDhcqMwwTlTK04GBNeIe7yyo28Mfby85QXFe1Yk8nmi36Ab/5UQwptOx84SsoGNRg+EVSjwzfSZMy6pmlw==", + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/@paralleldrive/cuid2": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@paralleldrive/cuid2/-/cuid2-2.3.1.tgz", + "integrity": "sha512-XO7cAxhnTZl0Yggq6jOgjiOHhbgcO4NqFqwSmQpjK3b6TEE6Uj/jfSk6wzYyemh3+I0sHirKSetjQwn5cZktFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@noble/hashes": "^1.1.5" + } + }, + "node_modules/@peculiar/asn1-android": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-android/-/asn1-android-2.6.0.tgz", + "integrity": "sha512-cBRCKtYPF7vJGN76/yG8VbxRcHLPF3HnkoHhKOZeHpoVtbMYfY9ROKtH3DtYUY9m8uI1Mh47PRhHf2hSK3xcSQ==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-cms": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.6.1.tgz", + "integrity": "sha512-vdG4fBF6Lkirkcl53q6eOdn3XYKt+kJTG59edgRZORlg/3atWWEReRCx5rYE1ZzTTX6vLK5zDMjHh7vbrcXGtw==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "@peculiar/asn1-x509-attr": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-csr": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.6.1.tgz", + "integrity": "sha512-WRWnKfIocHyzFYQTka8O/tXCiBquAPSrRjXbOkHbO4qdmS6loffCEGs+rby6WxxGdJCuunnhS2duHURhjyio6w==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-ecc": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.6.1.tgz", + "integrity": "sha512-+Vqw8WFxrtDIN5ehUdvlN2m73exS2JVG0UAyfVB31gIfor3zWEAQPD+K9ydCxaj3MLen9k0JhKpu9LqviuCE1g==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-pfx": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.6.1.tgz", + "integrity": "sha512-nB5jVQy3MAAWvq0KY0R2JUZG8bO/bTLpnwyOzXyEh/e54ynGTatAR+csOnXkkVD9AFZ2uL8Z7EV918+qB1qDvw==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.6.1", + "@peculiar/asn1-pkcs8": "^2.6.1", + "@peculiar/asn1-rsa": "^2.6.1", + "@peculiar/asn1-schema": "^2.6.0", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-pkcs8": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.6.1.tgz", + "integrity": "sha512-JB5iQ9Izn5yGMw3ZG4Nw3Xn/hb/G38GYF3lf7WmJb8JZUydhVGEjK/ZlFSWhnlB7K/4oqEs8HnfFIKklhR58Tw==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-pkcs9": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.6.1.tgz", + "integrity": "sha512-5EV8nZoMSxeWmcxWmmcolg22ojZRgJg+Y9MX2fnE2bGRo5KQLqV5IL9kdSQDZxlHz95tHvIq9F//bvL1OeNILw==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.6.1", + "@peculiar/asn1-pfx": "^2.6.1", + "@peculiar/asn1-pkcs8": "^2.6.1", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "@peculiar/asn1-x509-attr": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-rsa": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.6.1.tgz", + "integrity": "sha512-1nVMEh46SElUt5CB3RUTV4EG/z7iYc7EoaDY5ECwganibQPkZ/Y2eMsTKB/LeyrUJ+W/tKoD9WUqIy8vB+CEdA==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-schema": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.6.0.tgz", + "integrity": "sha512-xNLYLBFTBKkCzEZIw842BxytQQATQv+lDTCEMZ8C196iJcJJMBUZxrhSTxLaohMyKK8QlzRNTRkUmanucnDSqg==", + "license": "MIT", + "dependencies": { + "asn1js": "^3.0.6", + "pvtsutils": "^1.3.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-x509": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.6.1.tgz", + "integrity": "sha512-O9jT5F1A2+t3r7C4VT7LYGXqkGLK7Kj1xFpz7U0isPrubwU5PbDoyYtx6MiGst29yq7pXN5vZbQFKRCP+lLZlA==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "asn1js": "^3.0.6", + "pvtsutils": "^1.3.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/asn1-x509-attr": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.6.1.tgz", + "integrity": "sha512-tlW6cxoHwgcQghnJwv3YS+9OO1737zgPogZ+CgWRUK4roEwIPzRH4JEiG770xe5HX2ATfCpmX60gurfWIF9dcQ==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "asn1js": "^3.0.6", + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/x509": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@peculiar/x509/-/x509-1.14.3.tgz", + "integrity": "sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA==", + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.6.0", + "@peculiar/asn1-csr": "^2.6.0", + "@peculiar/asn1-ecc": "^2.6.0", + "@peculiar/asn1-pkcs9": "^2.6.0", + "@peculiar/asn1-rsa": "^2.6.0", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.0", + "pvtsutils": "^1.3.6", + "reflect-metadata": "^0.2.2", + "tslib": "^2.8.1", + "tsyringe": "^4.10.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", + "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@simplewebauthn/browser": { + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@simplewebauthn/browser/-/browser-13.3.0.tgz", + "integrity": "sha512-BE/UWv6FOToAdVk0EokzkqQQDOWtNydYlY6+OrmiZ5SCNmb41VehttboTetUM3T/fr6EAFYVXjz4My2wg230rQ==", + "license": "MIT" + }, + "node_modules/@simplewebauthn/server": { + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@simplewebauthn/server/-/server-13.3.0.tgz", + "integrity": "sha512-MLHYFrYG8/wK2i+86XMhiecK72nMaHKKt4bo+7Q1TbuG9iGjlSdfkPWKO5ZFE/BX+ygCJ7pr8H/AJeyAj1EaTQ==", + "license": "MIT", + "dependencies": { + "@hexagon/base64": "^1.1.27", + "@levischuck/tiny-cbor": "^0.2.2", + "@peculiar/asn1-android": "^2.6.0", + "@peculiar/asn1-ecc": "^2.6.1", + "@peculiar/asn1-rsa": "^2.6.1", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.1", + "@peculiar/x509": "^1.14.3" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.34.49", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.49.tgz", + "integrity": "sha512-brySQQs7Jtn0joV8Xh9ZV/hZb9Ozb0pmazDIASBkYKCjXrXU3mpcFahmK/z4YDhGkQvP9mWJbVyahdtU5wQA+A==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "15.3.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-15.3.2.tgz", + "integrity": "sha512-mrn35Jl2pCpns+mE3HaZa1yPN5EYCRgiMI+135COjr2hr8Cls9DXqIZ57vZe2cz7y2XVSq92tcs6kGQcT1J8Rw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1" + } + }, + "node_modules/@socket.io/component-emitter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", + "license": "MIT" + }, + "node_modules/@sqltools/formatter": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@sqltools/formatter/-/formatter-1.2.5.tgz", + "integrity": "sha512-Uy0+khmZqUrUGm5dmMqVlnvufZRSK0FbYzVgp0UMstm+F5+W2/jnEEQyc9vo1ZR/E5ZI/B1WjjoTqBqwJL6Krw==", + "license": "MIT" + }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, + "node_modules/@thallesp/nestjs-better-auth": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@thallesp/nestjs-better-auth/-/nestjs-better-auth-2.6.0.tgz", + "integrity": "sha512-AkZUsJ29QurUdM520UgdkEM79HKYYKiQKrd+fENHvnP/tMqHyb/ASzZ7ETJ5PdeTWYF2ygEDUR9jA0jL0ccNfw==", + "license": "MIT", + "engines": { + "node": ">=22.22.1" + }, + "peerDependencies": { + "@nestjs/common": "^11.1.6", + "@nestjs/core": "^11.1.6", + "@nestjs/graphql": "^13.1.0", + "@nestjs/websockets": "^11.1.6", + "better-auth": ">=1.5.0 <2.0.0", + "express": "^5.1.0", + "graphql": "^16.11.0", + "qs": "^6.14.0", + "typescript": "^5.9.2 || ^6.0.0" + }, + "peerDependenciesMeta": { + "@nestjs/graphql": { + "optional": true + }, + "@nestjs/websockets": { + "optional": true + }, + "express": { + "optional": true + }, + "graphql": { + "optional": true + }, + "qs": { + "optional": true + } + } + }, + "node_modules/@tokenizer/inflate": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@tokenizer/inflate/-/inflate-0.4.1.tgz", + "integrity": "sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "token-types": "^6.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/@tokenizer/token": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", + "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==", + "license": "MIT" + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", + "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/cookiejar": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@types/cookiejar/-/cookiejar-2.1.5.tgz", + "integrity": "sha512-he+DHOWReW0nghN24E1WUqM0efK4kI9oTqDm6XmK8ZPe2djZ90BSNdGnIyCLzCPw7/pogPlGbzI2wHGGmi4O/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/cors": { + "version": "2.8.19", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.19.tgz", + "integrity": "sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/express": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.6.tgz", + "integrity": "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "^2" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.1.1.tgz", + "integrity": "sha512-v4zIMr/cX7/d2BpAEX3KNKL/JrT1s43s96lLvvdTmza1oEvDudCqK9aF/djc/SWgy8Yh0h30TZx5VpzqFCxk5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "30.0.0", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-30.0.0.tgz", + "integrity": "sha512-XTYugzhuwqWjws0CVz8QpM36+T+Dz5mTEBKhNs/esGLnCIlGdRy+Dq78NRjd7ls7r8BC8ZRMOrKlkO1hU0JOwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^30.0.0", + "pretty-format": "^30.0.0" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/methods": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@types/methods/-/methods-1.1.4.tgz", + "integrity": "sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "24.12.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.2.tgz", + "integrity": "sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==", + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } + }, + "node_modules/@types/qs": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.0.tgz", + "integrity": "sha512-JawvT8iBVWpzTrz3EGw9BTQFg3BQNmwERdKE22vlTxawwtbyUSlMppvZYKLZzB5zgACXdXxbD3m1bXaMqP/9ow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", + "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*" + } + }, + "node_modules/@types/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/superagent": { + "version": "8.1.9", + "resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-8.1.9.tgz", + "integrity": "sha512-pTVjI73witn+9ILmoJdajHGW2jkSaOzhiFYF1Rd3EQ94kymLqB9PjD9ISg7WaALC7+dCHT0FGe9T2LktLq/3GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cookiejar": "^2.1.5", + "@types/methods": "^1.1.4", + "@types/node": "*", + "form-data": "^4.0.0" + } + }, + "node_modules/@types/supertest": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/supertest/-/supertest-7.2.0.tgz", + "integrity": "sha512-uh2Lv57xvggst6lCqNdFAmDSvoMG7M/HDtX4iUCquxQ5EGPtaPM5PL5Hmi7LCvOG8db7YaCPNJEeoI8s/WzIQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/methods": "^1.1.4", + "@types/superagent": "^8.1.0" + } + }, + "node_modules/@types/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/yargs": { + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.0.tgz", + "integrity": "sha512-HyAZtpdkgZwpq8Sz3FSUvCR4c+ScbuWa9AksK2Jweub7w4M3yTz4O11AqVJzLYjy/B9ZWPyc81I+mOdJU/bDQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.59.0", + "@typescript-eslint/type-utils": "8.59.0", + "@typescript-eslint/utils": "8.59.0", + "@typescript-eslint/visitor-keys": "8.59.0", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.59.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.59.0.tgz", + "integrity": "sha512-TI1XGwKbDpo9tRW8UDIXCOeLk55qe9ZFGs8MTKU6/M08HWTw52DD/IYhfQtOEhEdPhLMT26Ka/x7p70nd3dzDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.59.0", + "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/typescript-estree": "8.59.0", + "@typescript-eslint/visitor-keys": "8.59.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.59.0.tgz", + "integrity": "sha512-Lw5ITrR5s5TbC19YSvlr63ZfLaJoU6vtKTHyB0GQOpX0W7d5/Ir6vUahWi/8Sps/nOukZQ0IB3SmlxZnjaKVnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.59.0", + "@typescript-eslint/types": "^8.59.0", + "debug": "^4.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.59.0.tgz", + "integrity": "sha512-UzR16Ut8IpA3Mc4DbgAShlPPkVm8xXMWafXxB0BocaVRHs8ZGakAxGRskF7FId3sdk9lgGD73GSFaWmWFDE4dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/visitor-keys": "8.59.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.0.tgz", + "integrity": "sha512-91Sbl3s4Kb3SybliIY6muFBmHVv+pYXfybC4Oolp3dvk8BvIE3wOPc+403CWIT7mJNkfQRGtdqghzs2+Z91Tqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.59.0.tgz", + "integrity": "sha512-3TRiZaQSltGqGeNrJzzr1+8YcEobKH9rHnqIp/1psfKFmhRQDNMGP5hBufanYTGznwShzVLs3Mz+gDN7HkWfXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/typescript-estree": "8.59.0", + "@typescript-eslint/utils": "8.59.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.59.0.tgz", + "integrity": "sha512-nLzdsT1gdOgFxxxwrlNVUBzSNBEEHJ86bblmk4QAS6stfig7rcJzWKqCyxFy3YRRHXDWEkb2NralA1nOYkkm/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.0.tgz", + "integrity": "sha512-O9Re9P1BmBLFJyikRbQpLku/QA3/AueZNO9WePLBwQrvkixTmDe8u76B6CYUAITRl/rHawggEqUGn5QIkVRLMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.59.0", + "@typescript-eslint/tsconfig-utils": "8.59.0", + "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/visitor-keys": "8.59.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.59.0.tgz", + "integrity": "sha512-I1R/K7V07XsMJ12Oaxg/O9GfrysGTmCRhvZJBv0RE0NcULMzjqVpR5kRRQjHsz3J/bElU7HwCO7zkqL+MSUz+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.59.0", + "@typescript-eslint/types": "8.59.0", + "@typescript-eslint/typescript-estree": "8.59.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.0.tgz", + "integrity": "sha512-/uejZt4dSere1bx12WLlPfv8GktzcaDtuJ7s42/HEZ5zGj9oxRaD4bj7qwSunXkf+pbAhFt2zjpHYUiT5lHf0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.59.0", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", + "dev": true, + "license": "ISC" + }, + "node_modules/@unrs/resolver-binding-android-arm-eabi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz", + "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-android-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz", + "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz", + "integrity": "sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz", + "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-freebsd-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz", + "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz", + "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz", + "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz", + "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz", + "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz", + "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz", + "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz", + "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz", + "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz", + "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz", + "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-wasm32-wasi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz", + "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@napi-rs/wasm-runtime": "^0.2.11" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz", + "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz", + "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz", + "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "devOptional": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-phases": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", + "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + }, + "peerDependencies": { + "acorn": "^8.14.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz", + "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", + "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", + "license": "ISC", + "engines": { + "node": ">=14" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/app-root-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-3.1.0.tgz", + "integrity": "sha512-biN3PwB2gUtjaYy/isrU3aNWI5w+fAfvHkSvCKeQGxhmYpwKFUxudR3Yya+KqVRHBmEDYh+/lTozYCFbmzX4nA==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/append-field": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", + "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==", + "license": "MIT" + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/array-timsort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", + "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "dev": true, + "license": "MIT" + }, + "node_modules/asn1js": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.0.10.tgz", + "integrity": "sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==", + "license": "BSD-3-Clause", + "dependencies": { + "pvtsutils": "^1.3.6", + "pvutils": "^1.1.5", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/aws-ssl-profiles": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz", + "integrity": "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/babel-jest": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.3.0.tgz", + "integrity": "sha512-gRpauEU2KRrCox5Z296aeVHR4jQ98BCnu0IO332D/xpHNOsIH/bgSRk9k6GbKIbBw8vFeN6ctuu6tV8WOyVfYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "30.3.0", + "@types/babel__core": "^7.20.5", + "babel-plugin-istanbul": "^7.0.1", + "babel-preset-jest": "30.3.0", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0 || ^8.0.0-0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-7.0.1.tgz", + "integrity": "sha512-D8Z6Qm8jCvVXtIRkBnqNHX0zJ37rQcFJ9u8WOS6tkYOsRdHBzypCstaxWiu5ZIlqQtviRYbgnRLSoCEvjqcqbA==", + "dev": true, + "license": "BSD-3-Clause", + "workspaces": [ + "test/babel-8" + ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-instrument": "^6.0.2", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.3.0.tgz", + "integrity": "sha512-+TRkByhsws6sfPjVaitzadk1I0F5sPvOVUH5tyTSzhePpsGIVrdeunHSw/C36QeocS95OOk8lunc4rlu5Anwsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/babel__core": "^7.20.5" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz", + "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" + }, + "peerDependencies": { + "@babel/core": "^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/babel-preset-jest": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.3.0.tgz", + "integrity": "sha512-6ZcUbWHC+dMz2vfzdNwi87Z1gQsLNK2uLuK1Q89R11xdvejcivlYYwDlEv0FHX3VwEXpbBQ9uufB/MUNpZGfhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "30.3.0", + "babel-preset-current-node-syntax": "^1.2.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0 || ^8.0.0-beta.1" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.10.23", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.23.tgz", + "integrity": "sha512-xwVXGqevyKPsiuQdLj+dZMVjidjJV508TBqexND5HrF89cGdCYCJFB3qhcxRHSeMctdCfbR1jrxBajhDy7o29g==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/better-auth": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/better-auth/-/better-auth-1.6.9.tgz", + "integrity": "sha512-EBFURtglyiEZxbx4NJBoqUD8J65dX24yC+6I9AUbIXNgUkt76mshzGbHkxZ3n/lB7Dwq3kBC+hHt0hUQsnL7HA==", + "license": "MIT", + "dependencies": { + "@better-auth/core": "1.6.9", + "@better-auth/drizzle-adapter": "1.6.9", + "@better-auth/kysely-adapter": "1.6.9", + "@better-auth/memory-adapter": "1.6.9", + "@better-auth/mongo-adapter": "1.6.9", + "@better-auth/prisma-adapter": "1.6.9", + "@better-auth/telemetry": "1.6.9", + "@better-auth/utils": "0.4.0", + "@better-fetch/fetch": "1.1.21", + "@noble/ciphers": "^2.1.1", + "@noble/hashes": "^2.0.1", + "better-call": "1.3.5", + "defu": "^6.1.4", + "jose": "^6.1.3", + "kysely": "^0.28.14", + "nanostores": "^1.1.1", + "zod": "^4.3.6" + }, + "peerDependencies": { + "@lynx-js/react": "*", + "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0", + "@sveltejs/kit": "^2.0.0", + "@tanstack/react-start": "^1.0.0", + "@tanstack/solid-start": "^1.0.0", + "better-sqlite3": "^12.0.0", + "drizzle-kit": ">=0.31.4", + "drizzle-orm": "^0.45.2", + "mongodb": "^6.0.0 || ^7.0.0", + "mysql2": "^3.0.0", + "next": "^14.0.0 || ^15.0.0 || ^16.0.0", + "pg": "^8.0.0", + "prisma": "^5.0.0 || ^6.0.0 || ^7.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0", + "solid-js": "^1.0.0", + "svelte": "^4.0.0 || ^5.0.0", + "vitest": "^2.0.0 || ^3.0.0 || ^4.0.0", + "vue": "^3.0.0" + }, + "peerDependenciesMeta": { + "@lynx-js/react": { + "optional": true + }, + "@prisma/client": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "@tanstack/react-start": { + "optional": true + }, + "@tanstack/solid-start": { + "optional": true + }, + "better-sqlite3": { + "optional": true + }, + "drizzle-kit": { + "optional": true + }, + "drizzle-orm": { + "optional": true + }, + "mongodb": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "next": { + "optional": true + }, + "pg": { + "optional": true + }, + "prisma": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "solid-js": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vitest": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, + "node_modules/better-auth/node_modules/@noble/hashes": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.2.0.tgz", + "integrity": "sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/better-call": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/better-call/-/better-call-1.3.5.tgz", + "integrity": "sha512-kOFJkBP7utAQLEYrobZm3vkTH8mXq5GNgvjc5/XEST1ilVHaxXUXfeDeFlqoETMtyqS4+3/h4ONX2i++ebZrvA==", + "license": "MIT", + "dependencies": { + "@better-auth/utils": "^0.4.0", + "@better-fetch/fetch": "^1.1.21", + "rou3": "^0.7.12", + "set-cookie-parser": "^3.0.1" + }, + "peerDependencies": { + "zod": "^4.0.0" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } + } + }, + "node_modules/better-sqlite3": { + "version": "12.9.0", + "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-12.9.0.tgz", + "integrity": "sha512-wqUv4Gm3toFpHDQmaKD4QhZm3g1DjUBI0yzS4UBl6lElUmXFYdTQmmEDpAFa5o8FiFiymURypEnfVHzILKaxqQ==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "bindings": "^1.5.0", + "prebuild-install": "^7.1.1" + }, + "engines": { + "node": "20.x || 22.x || 23.x || 24.x || 25.x" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "license": "MIT", + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/body-parser": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", + "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.3", + "http-errors": "^2.0.0", + "iconv-lite": "^0.7.0", + "on-finished": "^2.4.1", + "qs": "^6.14.1", + "raw-body": "^3.0.1", + "type-is": "^2.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", + "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.28.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz", + "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.10.12", + "caniuse-lite": "^1.0.30001782", + "electron-to-chromium": "^1.5.328", + "node-releases": "^2.0.36", + "update-browserslist-db": "^1.2.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "license": "MIT" + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz", + "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "get-intrinsic": "^1.3.0", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001791", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001791.tgz", + "integrity": "sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/chardet": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.1.tgz", + "integrity": "sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "license": "ISC" + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/ci-info": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", + "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cjs-module-lexer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.2.0.tgz", + "integrity": "sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-table3": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^4.2.0" + }, + "engines": { + "node": "10.* || >= 12.*" + }, + "optionalDependencies": { + "@colors/colors": "1.5.0" + } + }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 12" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz", + "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/comment-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-5.0.0.tgz", + "integrity": "sha512-uiqLcOiVDJtBP8WGkZHEP+FZIhTzP1dxvn59EfoYUi9gqupjrBWVQkO2atDrbnKPwLeotFYDsuNb26uBMqB+hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-timsort": "^1.0.3", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/component-emitter": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz", + "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "engines": [ + "node >= 6.0" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/consola": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } + }, + "node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/cookiejar": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", + "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==", + "dev": true, + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csrf-csrf": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/csrf-csrf/-/csrf-csrf-4.0.3.tgz", + "integrity": "sha512-DaygOzelL4Qo1pHwI9LPyZL+X2456/OzpT596kNeZGiTSqKVDOk/9PPJ+FjzZacjMUEusOHw3WJKe1RW4iUhrw==", + "license": "ISC", + "dependencies": { + "http-errors": "^2.0.0" + } + }, + "node_modules/dayjs": { + "version": "1.11.20", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.20.tgz", + "integrity": "sha512-YbwwqR/uYpeoP4pu043q+LTDLFBLApUP6VxRihdfNTqu4ubqMlGDLd6ErXhEgsyvY0K6nCs7nggYumAN+9uEuQ==", + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "license": "MIT", + "dependencies": { + "mimic-response": "^3.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/dedent": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz", + "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==", + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "license": "MIT", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/defu": { + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", + "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", + "license": "MIT" + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/dezalgo": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", + "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", + "dev": true, + "license": "ISC", + "dependencies": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "node_modules/diff": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz", + "integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==", + "devOptional": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dotenv": { + "version": "17.4.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.1.tgz", + "integrity": "sha512-k8DaKGP6r1G30Lx8V4+pCsLzKr8vLmV2paqEj1Y55GdAgJuIqpRp5FfajGF8KtwMxCz9qJc6wUIJnm053d/WCw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dotenv-expand": { + "version": "12.0.3", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-12.0.3.tgz", + "integrity": "sha512-uc47g4b+4k/M/SeaW1y4OApx+mtLWl92l5LMPP0GNXctZqELk+YGgOPIIC5elYmUH4OuoK3JLhuRUYegeySiFA==", + "license": "BSD-2-Clause", + "dependencies": { + "dotenv": "^16.4.5" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dotenv-expand/node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "license": "MIT" + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.344", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.344.tgz", + "integrity": "sha512-4MxfbmNDm+KPh066EZy+eUnkcDPcZ35wNmOWzFuh/ijvHsve6kbLTLURy88uCNK5FbpN+yk2nQY6BYh1GEt+wg==", + "dev": true, + "license": "ISC" + }, + "node_modules/emittery": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/engine.io": { + "version": "6.6.6", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.6.tgz", + "integrity": "sha512-U2SN0w3OpjFRVlrc17E6TMDmH58Xl9rai1MblNjAdwWp07Kk+llmzX0hjDpQdrDGzwmvOtgM5yI+meYX6iZ2xA==", + "license": "MIT", + "dependencies": { + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "@types/ws": "^8.5.12", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.7.2", + "cors": "~2.8.5", + "debug": "~4.4.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.18.3" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/engine.io-parser": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", + "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/engine.io/node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/engine.io/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/engine.io/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/engine.io/node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.21.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.0.tgz", + "integrity": "sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.1.0.tgz", + "integrity": "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz", + "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.2", + "@eslint/config-helpers": "^0.4.2", + "@eslint/core": "^0.17.0", + "@eslint/eslintrc": "^3.3.5", + "@eslint/js": "9.39.4", + "@eslint/plugin-kit": "^0.4.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-config-prettier": { + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.5.tgz", + "integrity": "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.1", + "synckit": "^0.11.12" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/exit-x": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/exit-x/-/exit-x-0.2.2.tgz", + "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "license": "(MIT OR WTFPL)", + "engines": { + "node": ">=6" + } + }, + "node_modules/expect": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-30.3.0.tgz", + "integrity": "sha512-1zQrciTiQfRdo7qJM1uG4navm8DayFa2TgCSRlzUyNkhcJ6XUZF3hjnpkyr3VhAqPH7i/9GkG7Tv5abz6fqz0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "30.3.0", + "@jest/get-type": "30.1.0", + "jest-matcher-utils": "30.3.0", + "jest-message-util": "30.3.0", + "jest-mock": "30.3.0", + "jest-util": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/file-type": { + "version": "21.3.4", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-21.3.4.tgz", + "integrity": "sha512-Ievi/yy8DS3ygGvT47PjSfdFoX+2isQueoYP1cntFW1JLYAuS4GD7NUPGg4zv2iZfV52uDyk5w5Z0TdpRS6Q1g==", + "license": "MIT", + "dependencies": { + "@tokenizer/inflate": "^0.4.1", + "strtok3": "^10.3.4", + "token-types": "^6.1.1", + "uint8array-extras": "^1.4.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" + } + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "license": "MIT" + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" + }, + "node_modules/for-each": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", + "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", + "license": "MIT", + "dependencies": { + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/fork-ts-checker-webpack-plugin": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.1.0.tgz", + "integrity": "sha512-mpafl89VFPJmhnJ1ssH+8wmM2b50n+Rew5x42NeI2U78aRWgtkEtGmctp7iT16UjquJTjorEmIfESj3DxdW84Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.16.7", + "chalk": "^4.1.2", + "chokidar": "^4.0.1", + "cosmiconfig": "^8.2.0", + "deepmerge": "^4.2.2", + "fs-extra": "^10.0.0", + "memfs": "^3.4.1", + "minimatch": "^3.0.4", + "node-abort-controller": "^3.0.1", + "schema-utils": "^3.1.1", + "semver": "^7.3.5", + "tapable": "^2.2.1" + }, + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "typescript": ">3.6.0", + "webpack": "^5.11.0" + } + }, + "node_modules/form-data": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/form-data/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/form-data/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/formidable": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.4.tgz", + "integrity": "sha512-YikH+7CUTOtP44ZTnUhR7Ic2UASBPOqmaRkRKxRbywPTe5VxF7RRCck4af9wutiZ/QKM5nME9Bie2fFaPz5Gug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@paralleldrive/cuid2": "^2.2.2", + "dezalgo": "^1.0.4", + "once": "^1.4.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "url": "https://ko-fi.com/tunnckoCore/commissions" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "license": "MIT" + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs-monkey": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.1.0.tgz", + "integrity": "sha512-QMUezzXWII9EV5aTFXW1UBVUO77wYPpjqIF8/AviUCThNeSYZykpoTixUeaNNBwmCev0AMDWMAni+f8Hxb1IFw==", + "dev": true, + "license": "Unlicense" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "license": "MIT", + "dependencies": { + "is-property": "^1.0.2" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "license": "MIT" + }, + "node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/glob/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globals": { + "version": "17.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.5.0.tgz", + "integrity": "sha512-qoV+HK2yFl/366t2/Cb3+xxPUo5BuMynomoDmiaZBIdbs+0pYbjfZU+twLhGKp4uCZ/+NbtpVepH5bGCxRyy2g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/handlebars": { + "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/handlebars/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", + "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/helmet": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/helmet/-/helmet-8.1.0.tgz", + "integrity": "sha512-jOiHyAZsmnr8LqoPGmCjYAaiuWwjAPLgY8ZX2XrmHawt99/u1y6RgrZMTeoPfpUbV96HOalYgz1qzkRbw54Pmg==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==", + "license": "MIT" + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", + "license": "MIT", + "dependencies": { + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz", + "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.23", + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/iterare": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/iterare/-/iterare-1.2.1.tgz", + "integrity": "sha512-RKYVTCjAnRthyJes037NX/IiqeidgN1xc3j1RjFfECFp28A1GVwK9nA+i0rJPaHqSZwygLzRnFlzUuHFoWWy+Q==", + "license": "ISC", + "engines": { + "node": ">=6" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-30.3.0.tgz", + "integrity": "sha512-AkXIIFcaazymvey2i/+F94XRnM6TsVLZDhBMLsd1Sf/W0wzsvvpjeyUrCZD6HGG4SDYPgDJDBKeiJTBb10WzMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "30.3.0", + "@jest/types": "30.3.0", + "import-local": "^3.2.0", + "jest-cli": "30.3.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-30.3.0.tgz", + "integrity": "sha512-B/7Cny6cV5At6M25EWDgf9S617lHivamL8vl6KEpJqkStauzcG4e+WPfDgMMF+H4FVH4A2PLRyvgDJan4441QA==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.1.1", + "jest-util": "30.3.0", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-circus": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.3.0.tgz", + "integrity": "sha512-PyXq5szeSfR/4f1lYqCmmQjh0vqDkURUYi9N6whnHjlRz4IUQfMcXkGLeEoiJtxtyPqgUaUUfyQlApXWBSN1RA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.3.0", + "@jest/expect": "30.3.0", + "@jest/test-result": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "chalk": "^4.1.2", + "co": "^4.6.0", + "dedent": "^1.6.0", + "is-generator-fn": "^2.1.0", + "jest-each": "30.3.0", + "jest-matcher-utils": "30.3.0", + "jest-message-util": "30.3.0", + "jest-runtime": "30.3.0", + "jest-snapshot": "30.3.0", + "jest-util": "30.3.0", + "p-limit": "^3.1.0", + "pretty-format": "30.3.0", + "pure-rand": "^7.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.6" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-cli": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.3.0.tgz", + "integrity": "sha512-l6Tqx+j1fDXJEW5bqYykDQQ7mQg+9mhWXtnj+tQZrTWYHyHoi6Be8HPumDSA+UiX2/2buEgjA58iJzdj146uCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "30.3.0", + "@jest/test-result": "30.3.0", + "@jest/types": "30.3.0", + "chalk": "^4.1.2", + "exit-x": "^0.2.2", + "import-local": "^3.2.0", + "jest-config": "30.3.0", + "jest-util": "30.3.0", + "jest-validate": "30.3.0", + "yargs": "^17.7.2" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-config": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.3.0.tgz", + "integrity": "sha512-WPMAkMAtNDY9P/oKObtsRG/6KTrhtgPJoBTmk20uDn4Uy6/3EJnnaZJre/FMT1KVRx8cve1r7/FlMIOfRVWL4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@jest/get-type": "30.1.0", + "@jest/pattern": "30.0.1", + "@jest/test-sequencer": "30.3.0", + "@jest/types": "30.3.0", + "babel-jest": "30.3.0", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "deepmerge": "^4.3.1", + "glob": "^10.5.0", + "graceful-fs": "^4.2.11", + "jest-circus": "30.3.0", + "jest-docblock": "30.2.0", + "jest-environment-node": "30.3.0", + "jest-regex-util": "30.0.1", + "jest-resolve": "30.3.0", + "jest-runner": "30.3.0", + "jest-util": "30.3.0", + "jest-validate": "30.3.0", + "parse-json": "^5.2.0", + "pretty-format": "30.3.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "esbuild-register": ">=3.4.0", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "esbuild-register": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-config/node_modules/brace-expansion": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", + "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/jest-config/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-config/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/jest-config/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-config/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-diff": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.3.0.tgz", + "integrity": "sha512-n3q4PDQjS4LrKxfWB3Z5KNk1XjXtZTBwQp71OP0Jo03Z6V60x++K5L8k6ZrW8MY8pOFylZvHM0zsjS1RqlHJZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/diff-sequences": "30.3.0", + "@jest/get-type": "30.1.0", + "chalk": "^4.1.2", + "pretty-format": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-docblock": { + "version": "30.2.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-30.2.0.tgz", + "integrity": "sha512-tR/FFgZKS1CXluOQzZvNH3+0z9jXr3ldGSD8bhyuxvlVUwbeLOGynkunvlTMxchC5urrKndYiwCFC0DLVjpOCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-each": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.3.0.tgz", + "integrity": "sha512-V8eMndg/aZ+3LnCJgSm13IxS5XSBM22QSZc9BtPK8Dek6pm+hfUNfwBdvsB3d342bo1q7wnSkC38zjX259qZNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.1.0", + "@jest/types": "30.3.0", + "chalk": "^4.1.2", + "jest-util": "30.3.0", + "pretty-format": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-environment-node": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.3.0.tgz", + "integrity": "sha512-4i6HItw/JSiJVsC5q0hnKIe/hbYfZLVG9YJ/0pU9Hz2n/9qZe3Rhn5s5CUZA5ORZlcdT/vmAXRMyONXJwPrmYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.3.0", + "@jest/fake-timers": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "jest-mock": "30.3.0", + "jest-util": "30.3.0", + "jest-validate": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.3.0.tgz", + "integrity": "sha512-mMi2oqG4KRU0R9QEtscl87JzMXfUhbKaFqOxmjb2CKcbHcUGFrJCBWHmnTiUqi6JcnzoBlO4rWfpdl2k/RfLCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "@types/node": "*", + "anymatch": "^3.1.3", + "fb-watchman": "^2.0.2", + "graceful-fs": "^4.2.11", + "jest-regex-util": "30.0.1", + "jest-util": "30.3.0", + "jest-worker": "30.3.0", + "picomatch": "^4.0.3", + "walker": "^1.0.8" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.3" + } + }, + "node_modules/jest-leak-detector": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-30.3.0.tgz", + "integrity": "sha512-cuKmUUGIjfXZAiGJ7TbEMx0bcqNdPPI6P1V+7aF+m/FUJqFDxkFR4JqkTu8ZOiU5AaX/x0hZ20KaaIPXQzbMGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.1.0", + "pretty-format": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.3.0.tgz", + "integrity": "sha512-HEtc9uFQgaUHkC7nLSlQL3Tph4Pjxt/yiPvkIrrDCt9jhoLIgxaubo1G+CFOnmHYMxHwwdaSN7mkIFs6ZK8OhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.1.0", + "chalk": "^4.1.2", + "jest-diff": "30.3.0", + "pretty-format": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-message-util": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.3.0.tgz", + "integrity": "sha512-Z/j4Bo+4ySJ+JPJN3b2Qbl9hDq3VrXmnjjGEWD/x0BCXeOXPTV1iZYYzl2X8c1MaCOL+ewMyNBcm88sboE6YWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@jest/types": "30.3.0", + "@types/stack-utils": "^2.0.3", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.3", + "pretty-format": "30.3.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.6" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-mock": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.3.0.tgz", + "integrity": "sha512-OTzICK8CpE+t4ndhKrwlIdbM6Pn8j00lvmSmq5ejiO+KxukbLjgOflKWMn3KE34EZdQm5RqTuKj+5RIEniYhog==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "@types/node": "*", + "jest-util": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.0.1.tgz", + "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-30.3.0.tgz", + "integrity": "sha512-NRtTAHQlpd15F9rUR36jqwelbrDV/dY4vzNte3S2kxCKUJRYNd5/6nTSbYiak1VX5g8IoFF23Uj5TURkUW8O5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.3.0", + "jest-pnp-resolver": "^1.2.3", + "jest-util": "30.3.0", + "jest-validate": "30.3.0", + "slash": "^3.0.0", + "unrs-resolver": "^1.7.11" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-30.3.0.tgz", + "integrity": "sha512-9ev8s3YN6Hsyz9LV75XUwkCVFlwPbaFn6Wp75qnI0wzAINYWY8Fb3+6y59Rwd3QaS3kKXffHXsZMziMavfz/nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "30.0.1", + "jest-snapshot": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runner": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-30.3.0.tgz", + "integrity": "sha512-gDv6C9LGKWDPLia9TSzZwf4h3kMQCqyTpq+95PODnTRDO0g9os48XIYYkS6D236vjpBir2fF63YmJFtqkS5Duw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.3.0", + "@jest/environment": "30.3.0", + "@jest/test-result": "30.3.0", + "@jest/transform": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "chalk": "^4.1.2", + "emittery": "^0.13.1", + "exit-x": "^0.2.2", + "graceful-fs": "^4.2.11", + "jest-docblock": "30.2.0", + "jest-environment-node": "30.3.0", + "jest-haste-map": "30.3.0", + "jest-leak-detector": "30.3.0", + "jest-message-util": "30.3.0", + "jest-resolve": "30.3.0", + "jest-runtime": "30.3.0", + "jest-util": "30.3.0", + "jest-watcher": "30.3.0", + "jest-worker": "30.3.0", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runner/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jest-runner/node_modules/source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/jest-runtime": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.3.0.tgz", + "integrity": "sha512-CgC+hIBJbuh78HEffkhNKcbXAytQViplcl8xupqeIWyKQF50kCQA8J7GeJCkjisC6hpnC9Muf8jV5RdtdFbGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.3.0", + "@jest/fake-timers": "30.3.0", + "@jest/globals": "30.3.0", + "@jest/source-map": "30.0.1", + "@jest/test-result": "30.3.0", + "@jest/transform": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "chalk": "^4.1.2", + "cjs-module-lexer": "^2.1.0", + "collect-v8-coverage": "^1.0.2", + "glob": "^10.5.0", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.3.0", + "jest-message-util": "30.3.0", + "jest-mock": "30.3.0", + "jest-regex-util": "30.0.1", + "jest-resolve": "30.3.0", + "jest-snapshot": "30.3.0", + "jest-util": "30.3.0", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runtime/node_modules/brace-expansion": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", + "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/jest-runtime/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-runtime/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/jest-runtime/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-runtime/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-snapshot": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.3.0.tgz", + "integrity": "sha512-f14c7atpb4O2DeNhwcvS810Y63wEn8O1HqK/luJ4F6M4NjvxmAKQwBUWjbExUtMxWJQ0wVgmCKymeJK6NZMnfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@babel/generator": "^7.27.5", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1", + "@babel/types": "^7.27.3", + "@jest/expect-utils": "30.3.0", + "@jest/get-type": "30.1.0", + "@jest/snapshot-utils": "30.3.0", + "@jest/transform": "30.3.0", + "@jest/types": "30.3.0", + "babel-preset-current-node-syntax": "^1.2.0", + "chalk": "^4.1.2", + "expect": "30.3.0", + "graceful-fs": "^4.2.11", + "jest-diff": "30.3.0", + "jest-matcher-utils": "30.3.0", + "jest-message-util": "30.3.0", + "jest-util": "30.3.0", + "pretty-format": "30.3.0", + "semver": "^7.7.2", + "synckit": "^0.11.8" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-util": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.3.0.tgz", + "integrity": "sha512-/jZDa00a3Sz7rdyu55NLrQCIrbyIkbBxareejQI315f/i8HjYN+ZWsDLLpoQSiUIEIyZF/R8fDg3BmB8AtHttg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.3.0", + "@types/node": "*", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.3" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-validate": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-30.3.0.tgz", + "integrity": "sha512-I/xzC8h5G+SHCb2P2gWkJYrNiTbeL47KvKeW5EzplkyxzBRBw1ssSHlI/jXec0ukH2q7x2zAWQm7015iusg62Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.1.0", + "@jest/types": "30.3.0", + "camelcase": "^6.3.0", + "chalk": "^4.1.2", + "leven": "^3.1.0", + "pretty-format": "30.3.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-watcher": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-30.3.0.tgz", + "integrity": "sha512-PJ1d9ThtTR8aMiBWUdcownq9mDdLXsQzJayTk4kmaBRHKvwNQn+ANveuhEBUyNI2hR1TVhvQ8D5kHubbzBHR/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "30.3.0", + "@jest/types": "30.3.0", + "@types/node": "*", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "emittery": "^0.13.1", + "jest-util": "30.3.0", + "string-length": "^4.0.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-worker": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.3.0.tgz", + "integrity": "sha512-DrCKkaQwHexjRUFTmPzs7sHQe0TSj9nvDALKGdwmK5mW9v7j90BudWirKAJHt3QQ9Dhrg1F7DogPzhChppkJpQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@ungap/structured-clone": "^1.3.0", + "jest-util": "30.3.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.1.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jose": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.2.tgz", + "integrity": "sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz", + "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kysely": { + "version": "0.28.16", + "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.28.16.tgz", + "integrity": "sha512-3i5pmOiZvMDj00qhrIVbH0AnioVTx22DMP7Vn5At4yJO46iy+FM8Y/g61ltenLVSo3fiO8h8Q3QOFgf/gQ72ww==", + "license": "MIT", + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/load-esm": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/load-esm/-/load-esm-1.0.3.tgz", + "integrity": "sha512-v5xlu8eHD1+6r8EHTg6hfmO97LN8ugKtiXcy5e6oN72iD2r6u0RPfLl6fxM+7Wnh2ZRq15o0russMst44WauPA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + }, + { + "type": "buymeacoffee", + "url": "https://buymeacoffee.com/borewit" + } + ], + "license": "MIT", + "engines": { + "node": ">=13.2.0" + } + }, + "node_modules/loader-runner": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.2.tgz", + "integrity": "sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.11.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "license": "MIT" + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/lru.min": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.4.tgz", + "integrity": "sha512-DqC6n3QQ77zdFpCMASA1a3Jlb64Hv2N2DciFGkO/4L9+q/IpIAuRlKOvCXabtRW6cQf8usbmM6BE/TOPysCdIA==", + "license": "MIT", + "engines": { + "bun": ">=1.0.0", + "deno": ">=1.30.0", + "node": ">=8.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wellwelwel" + } + }, + "node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "devOptional": true, + "license": "ISC" + }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/memfs": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", + "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", + "dev": true, + "license": "Unlicense", + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/micromatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "license": "MIT" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/multer": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/multer/-/multer-2.1.1.tgz", + "integrity": "sha512-mo+QTzKlx8R7E5ylSXxWzGoXoZbOsRMpyitcht8By2KHvMbf3tjwosZ/Mu/XYU6UuJ3VZnODIrak5ZrPiPyB6A==", + "license": "MIT", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.6.0", + "concat-stream": "^2.0.0", + "type-is": "^1.6.18" + }, + "engines": { + "node": ">= 10.16.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/multer/node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/multer/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/multer/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/multer/node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/mysql2": { + "version": "3.22.2", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.22.2.tgz", + "integrity": "sha512-snC/L6YoCJPFpozZo3p3hiOlt9ItQ7sCnLSziFLlIttEzsPhrdcPT8g21BiQ7Oqif25W4Xq1IFuBzBvoFYDf0Q==", + "license": "MIT", + "dependencies": { + "aws-ssl-profiles": "^1.1.2", + "denque": "^2.1.0", + "generate-function": "^2.3.1", + "iconv-lite": "^0.7.2", + "long": "^5.3.2", + "lru.min": "^1.1.4", + "named-placeholders": "^1.1.6", + "sql-escaper": "^1.3.3" + }, + "engines": { + "node": ">= 8.0" + }, + "peerDependencies": { + "@types/node": ">= 8" + } + }, + "node_modules/named-placeholders": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.6.tgz", + "integrity": "sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==", + "license": "MIT", + "dependencies": { + "lru.min": "^1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/nanostores": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/nanostores/-/nanostores-1.3.0.tgz", + "integrity": "sha512-XPUa/jz+P1oJvN9VBxw4L9MtdFfaH3DAryqPssqhb2kXjmb9npz0dly6rCsgFWOPr4Yg9mTfM3MDZgZZ+7A3lA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "engines": { + "node": "^20.0.0 || >=22.0.0" + } + }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "license": "MIT" + }, + "node_modules/napi-postinstall": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", + "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", + "dev": true, + "license": "MIT", + "bin": { + "napi-postinstall": "lib/cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/napi-postinstall" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-abi": { + "version": "3.89.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.89.0.tgz", + "integrity": "sha512-6u9UwL0HlAl21+agMN3YAMXcKByMqwGx+pq+P76vii5f7hTPtKDp08/H9py6DY+cfDw7kQNTGEj/rly3IgbNQA==", + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-abort-controller": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", + "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-emoji": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", + "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.21" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.38", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.38.tgz", + "integrity": "sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "license": "BlueOak-1.0.0" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.3.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.5.tgz", + "integrity": "sha512-NxVFwLAnrd9i7KUBxC4DrUhmgjzOs+1Qm50D3oF1/oL+r1NpZ4gA7xvG0/zJ8evR7zIKn4vLf7qTNduWFtCrRw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pg": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.20.0.tgz", + "integrity": "sha512-ldhMxz2r8fl/6QkXnBD3CR9/xg694oT6DZQ2s6c/RI28OjtSOpxnPrUCGOBJ46RCUxcWdx3p6kw/xnDHjKvaRA==", + "license": "MIT", + "dependencies": { + "pg-connection-string": "^2.12.0", + "pg-pool": "^3.13.0", + "pg-protocol": "^1.13.0", + "pg-types": "2.2.0", + "pgpass": "1.0.5" + }, + "engines": { + "node": ">= 16.0.0" + }, + "optionalDependencies": { + "pg-cloudflare": "^1.3.0" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "node_modules/pg-cloudflare": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.3.0.tgz", + "integrity": "sha512-6lswVVSztmHiRtD6I8hw4qP/nDm1EJbKMRhf3HCYaqud7frGysPv7FYJ5noZQdhQtN2xJnimfMtvQq21pdbzyQ==", + "license": "MIT", + "optional": true + }, + "node_modules/pg-connection-string": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.12.0.tgz", + "integrity": "sha512-U7qg+bpswf3Cs5xLzRqbXbQl85ng0mfSV/J0nnA31MCLgvEaAo7CIhmeyrmJpOr7o+zm0rXK+hNnT5l9RHkCkQ==", + "license": "MIT" + }, + "node_modules/pg-int8": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz", + "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==", + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/pg-pool": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.13.0.tgz", + "integrity": "sha512-gB+R+Xud1gLFuRD/QgOIgGOBE2KCQPaPwkzBBGC9oG69pHTkhQeIuejVIk3/cnDyX39av2AxomQiyPT13WKHQA==", + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "node_modules/pg-protocol": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.13.0.tgz", + "integrity": "sha512-zzdvXfS6v89r6v7OcFCHfHlyG/wvry1ALxZo4LqgUoy7W9xhBDMaqOuMiF3qEV45VqsN6rdlcehHrfDtlCPc8w==", + "license": "MIT" + }, + "node_modules/pg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz", + "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==", + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pgpass": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz", + "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==", + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", + "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/postgres-array": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz", + "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/postgres-bytea": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz", + "integrity": "sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-date": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz", + "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-interval": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz", + "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==", + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.", + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz", + "integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", + "integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "30.3.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.3.0.tgz", + "integrity": "sha512-oG4T3wCbfeuvljnyAzhBvpN45E8iOTXCU/TD3zXW80HA3dQ4ahdqMkWGiPWZvjpQwlbyHrPTWUAqUzGzv4l1JQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "30.0.5", + "ansi-styles": "^5.2.0", + "react-is": "^18.3.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pump": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz", + "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pure-rand": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz", + "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/pvtsutils": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.6.tgz", + "integrity": "sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.8.1" + } + }, + "node_modules/pvutils": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/pvutils/-/pvutils-1.1.5.tgz", + "integrity": "sha512-KTqnxsgGiQ6ZAzZCVlJH5eOjSnvlyEgx1m8bkRJfOhmGRqfo5KLvmAlACQkrjEtOQ4B7wF9TdSLIs9O90MX9xA==", + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/qs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/reflect-metadata": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", + "license": "Apache-2.0" + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-cwd/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/restore-cursor/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/rou3": { + "version": "0.7.12", + "resolved": "https://registry.npmjs.org/rou3/-/rou3-0.7.12.tgz", + "integrity": "sha512-iFE4hLDuloSWcD7mjdCDhx2bKcIsYbtOTpfH5MHHLSKMOUyjqQXTeZVa289uuwEGEKFoE/BAPbhaU4B774nceg==", + "license": "MIT" + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/set-cookie-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.1.0.tgz", + "integrity": "sha512-kjnC1DXBHcxaOaOXBHBeRtltsDG2nUiUni+jP92M9gYdW12rsmx92UsfpH7o5tDRs7I1ZZPSQJQGv3UaRfCiuw==", + "license": "MIT" + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/sha.js": { + "version": "2.4.12", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.12.tgz", + "integrity": "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w==", + "license": "(MIT AND BSD-3-Clause)", + "dependencies": { + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1", + "to-buffer": "^1.2.0" + }, + "bin": { + "sha.js": "bin.js" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/socket.io": { + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.3.tgz", + "integrity": "sha512-2Dd78bqzzjE6KPkD5fHZmDAKRNe3J15q+YHDrIsy9WEkqttc7GY+kT9OBLSMaPbQaEd0x1BjcmtMtXkfpc+T5A==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.4.1", + "engine.io": "~6.6.0", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/socket.io-adapter": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.6.tgz", + "integrity": "sha512-DkkO/dz7MGln0dHn5bmN3pPy+JmywNICWrJqVWiVOyvXjWQFIv9c2h24JrQLLFJ2aQVQf/Cvl1vblnd4r2apLQ==", + "license": "MIT", + "dependencies": { + "debug": "~4.4.1", + "ws": "~8.18.3" + } + }, + "node_modules/socket.io-parser": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.6.tgz", + "integrity": "sha512-asJqbVBDsBCJx0pTqw3WfesSY0iRX+2xzWEWzrpcH7L6fLzrhyF8WPI8UaeM4YCuDfpwA/cgsdugMsmtz8EJeg==", + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.4.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/socket.io/node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/socket.io/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/socket.io/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/socket.io/node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "license": "ISC", + "engines": { + "node": ">= 10.x" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/sql-escaper": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.3.3.tgz", + "integrity": "sha512-BsTCV265VpTp8tm1wyIm1xqQCS+Q9NHx2Sr+WcnUrgLrQ6yiDIvHYJV5gHxsj1lMBy2zm5twLaZao8Jd+S8JJw==", + "license": "MIT", + "engines": { + "bun": ">=1.0.0", + "deno": ">=2.0.0", + "node": ">=12.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/mysqljs/sql-escaper?sponsor=1" + } + }, + "node_modules/sql-highlight": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/sql-highlight/-/sql-highlight-6.1.0.tgz", + "integrity": "sha512-ed7OK4e9ywpE7pgRMkMQmZDPKSVdm0oX5IEtZiKnFucSF0zu6c80GZBe38UqHuVhTWJ9xsKgSMjCG2bml86KvA==", + "funding": [ + "https://github.com/scriptcoded/sql-highlight?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/scriptcoded" + } + ], + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strtok3": { + "version": "10.3.5", + "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.3.5.tgz", + "integrity": "sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==", + "license": "MIT", + "dependencies": { + "@tokenizer/token": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/superagent": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-10.3.0.tgz", + "integrity": "sha512-B+4Ik7ROgVKrQsXTV0Jwp2u+PXYLSlqtDAhYnkkD+zn3yg8s/zjA2MeGayPoY/KICrbitwneDHrjSotxKL+0XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "component-emitter": "^1.3.1", + "cookiejar": "^2.1.4", + "debug": "^4.3.7", + "fast-safe-stringify": "^2.1.1", + "form-data": "^4.0.5", + "formidable": "^3.5.4", + "methods": "^1.1.2", + "mime": "2.6.0", + "qs": "^6.14.1" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/supertest": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-7.2.2.tgz", + "integrity": "sha512-oK8WG9diS3DlhdUkcFn4tkNIiIbBx9lI2ClF8K+b2/m8Eyv47LSawxUzZQSNKUrVb2KsqeTDCcjAAVPYaSLVTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cookie-signature": "^1.2.2", + "methods": "^1.1.2", + "superagent": "^10.3.0" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/symbol-observable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", + "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/synckit": { + "version": "0.11.12", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.12.tgz", + "integrity": "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.2.9" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" + } + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/tar-fs": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz", + "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.46.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.46.2.tgz", + "integrity": "sha512-uxfo9fPcSgLDYob/w1FuL0c99MWiJDnv+5qXSQc5+Ki5NjVNsYi66INnMFBjf6uFz6OnX12piJQPF4IpjJTNTw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.15.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.5.0.tgz", + "integrity": "sha512-UYhptBwhWvfIjKd/UuFo6D8uq9xpGLDK+z8EDsj/zWhrTaH34cKEbrkMKfV5YWqGBvAYA3tlzZbs2R+qYrbQJA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.0", + "terser": "^5.31.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/terser-webpack-plugin/node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", + "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terser-webpack-plugin/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/test-exclude/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.16", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", + "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/to-buffer": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.2.2.tgz", + "integrity": "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==", + "license": "MIT", + "dependencies": { + "isarray": "^2.0.5", + "safe-buffer": "^5.2.1", + "typed-array-buffer": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/token-types": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/token-types/-/token-types-6.1.2.tgz", + "integrity": "sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==", + "license": "MIT", + "dependencies": { + "@borewit/text-codec": "^0.2.1", + "@tokenizer/token": "^0.3.0", + "ieee754": "^1.2.1" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Borewit" + } + }, + "node_modules/ts-api-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/ts-jest": { + "version": "29.4.9", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.9.tgz", + "integrity": "sha512-LTb9496gYPMCqjeDLdPrKuXtncudeV1yRZnF4Wo5l3SFi0RYEnYRNgMrFIdg+FHvfzjCyQk1cLncWVqiSX+EvQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "^0.2.6", + "fast-json-stable-stringify": "^2.1.0", + "handlebars": "^4.7.9", + "json5": "^2.2.3", + "lodash.memoize": "^4.1.2", + "make-error": "^1.3.6", + "semver": "^7.7.4", + "type-fest": "^4.41.0", + "yargs-parser": "^21.1.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/transform": "^29.0.0 || ^30.0.0", + "@jest/types": "^29.0.0 || ^30.0.0", + "babel-jest": "^29.0.0 || ^30.0.0", + "jest": "^29.0.0 || ^30.0.0", + "jest-util": "^29.0.0 || ^30.0.0", + "typescript": ">=4.3 <7" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/transform": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jest-util": { + "optional": true + } + } + }, + "node_modules/ts-jest/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ts-loader": { + "version": "9.5.7", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.7.tgz", + "integrity": "sha512-/ZNrKgA3K3PtpMYOC71EeMWIloGw3IYEa5/t1cyz2r5/PyUwTXGzYJvcD3kfUvmhlfpz1rhV8B2O6IVTQ0avsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.0.0", + "micromatch": "^4.0.0", + "semver": "^7.3.4", + "source-map": "^0.7.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "typescript": "*", + "webpack": "^5.0.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tsconfig-paths-webpack-plugin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz", + "integrity": "sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "enhanced-resolve": "^5.7.0", + "tapable": "^2.2.1", + "tsconfig-paths": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tsyringe": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/tsyringe/-/tsyringe-4.10.0.tgz", + "integrity": "sha512-axr3IdNuVIxnaK5XGEUFTu3YmAQ6lllgrvqfEoR16g/HGnYY/6We4oWENtAnzK6/LpJ2ur9PAb80RBt7/U4ugw==", + "license": "MIT", + "dependencies": { + "tslib": "^1.9.3" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/tsyringe/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "license": "0BSD" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/type-is": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", + "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==", + "license": "MIT", + "dependencies": { + "content-type": "^1.0.5", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", + "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "license": "MIT" + }, + "node_modules/typeorm": { + "version": "0.3.28", + "resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.28.tgz", + "integrity": "sha512-6GH7wXhtfq2D33ZuRXYwIsl/qM5685WZcODZb7noOOcRMteM9KF2x2ap3H0EBjnSV0VO4gNAfJT5Ukp0PkOlvg==", + "license": "MIT", + "dependencies": { + "@sqltools/formatter": "^1.2.5", + "ansis": "^4.2.0", + "app-root-path": "^3.1.0", + "buffer": "^6.0.3", + "dayjs": "^1.11.19", + "debug": "^4.4.3", + "dedent": "^1.7.0", + "dotenv": "^16.6.1", + "glob": "^10.5.0", + "reflect-metadata": "^0.2.2", + "sha.js": "^2.4.12", + "sql-highlight": "^6.1.0", + "tslib": "^2.8.1", + "uuid": "^11.1.0", + "yargs": "^17.7.2" + }, + "bin": { + "typeorm": "cli.js", + "typeorm-ts-node-commonjs": "cli-ts-node-commonjs.js", + "typeorm-ts-node-esm": "cli-ts-node-esm.js" + }, + "engines": { + "node": ">=16.13.0" + }, + "funding": { + "url": "https://opencollective.com/typeorm" + }, + "peerDependencies": { + "@google-cloud/spanner": "^5.18.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", + "@sap/hana-client": "^2.14.22", + "better-sqlite3": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0", + "ioredis": "^5.0.4", + "mongodb": "^5.8.0 || ^6.0.0", + "mssql": "^9.1.1 || ^10.0.0 || ^11.0.0 || ^12.0.0", + "mysql2": "^2.2.5 || ^3.0.1", + "oracledb": "^6.3.0", + "pg": "^8.5.1", + "pg-native": "^3.0.0", + "pg-query-stream": "^4.0.0", + "redis": "^3.1.1 || ^4.0.0 || ^5.0.14", + "sql.js": "^1.4.0", + "sqlite3": "^5.0.3", + "ts-node": "^10.7.0", + "typeorm-aurora-data-api-driver": "^2.0.0 || ^3.0.0" + }, + "peerDependenciesMeta": { + "@google-cloud/spanner": { + "optional": true + }, + "@sap/hana-client": { + "optional": true + }, + "better-sqlite3": { + "optional": true + }, + "ioredis": { + "optional": true + }, + "mongodb": { + "optional": true + }, + "mssql": { + "optional": true + }, + "mysql2": { + "optional": true + }, + "oracledb": { + "optional": true + }, + "pg": { + "optional": true + }, + "pg-native": { + "optional": true + }, + "pg-query-stream": { + "optional": true + }, + "redis": { + "optional": true + }, + "sql.js": { + "optional": true + }, + "sqlite3": { + "optional": true + }, + "ts-node": { + "optional": true + }, + "typeorm-aurora-data-api-driver": { + "optional": true + } + } + }, + "node_modules/typeorm/node_modules/brace-expansion": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", + "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/typeorm/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/typeorm/node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/typeorm/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typeorm/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, + "node_modules/typeorm/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typeorm/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.59.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.59.0.tgz", + "integrity": "sha512-BU3ONW9X+v90EcCH9ZS6LMackcVtxRLlI3XrYyqZIwVSHIk7Qf7bFw1z0M9Q0IUxhTMZCf8piY9hTYaNEIASrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.59.0", + "@typescript-eslint/parser": "8.59.0", + "@typescript-eslint/typescript-estree": "8.59.0", + "@typescript-eslint/utils": "8.59.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/uid": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/uid/-/uid-2.0.2.tgz", + "integrity": "sha512-u3xV3X7uzvi5b1MncmZo3i2Aw222Zk1keqLA1YkHldREkAhAqi65wuPfe7lHx8H/Wzy+8CE7S7uS3jekIM5s8g==", + "license": "MIT", + "dependencies": { + "@lukeed/csprng": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/uint8array-extras": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/uint8array-extras/-/uint8array-extras-1.5.0.tgz", + "integrity": "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "license": "MIT" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unrs-resolver": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz", + "integrity": "sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "napi-postinstall": "^0.3.0" + }, + "funding": { + "url": "https://opencollective.com/unrs-resolver" + }, + "optionalDependencies": { + "@unrs/resolver-binding-android-arm-eabi": "1.11.1", + "@unrs/resolver-binding-android-arm64": "1.11.1", + "@unrs/resolver-binding-darwin-arm64": "1.11.1", + "@unrs/resolver-binding-darwin-x64": "1.11.1", + "@unrs/resolver-binding-freebsd-x64": "1.11.1", + "@unrs/resolver-binding-linux-arm-gnueabihf": "1.11.1", + "@unrs/resolver-binding-linux-arm-musleabihf": "1.11.1", + "@unrs/resolver-binding-linux-arm64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-arm64-musl": "1.11.1", + "@unrs/resolver-binding-linux-ppc64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-riscv64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-riscv64-musl": "1.11.1", + "@unrs/resolver-binding-linux-s390x-gnu": "1.11.1", + "@unrs/resolver-binding-linux-x64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-x64-musl": "1.11.1", + "@unrs/resolver-binding-wasm32-wasi": "1.11.1", + "@unrs/resolver-binding-win32-arm64-msvc": "1.11.1", + "@unrs/resolver-binding-win32-ia32-msvc": "1.11.1", + "@unrs/resolver-binding-win32-x64-msvc": "1.11.1" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/uuid": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", + "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/watchpack": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.1.tgz", + "integrity": "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/webpack": { + "version": "5.106.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.2.tgz", + "integrity": "sha512-wGN3qcrBQIFmQ/c0AiOAQBvrZ5lmY8vbbMv4Mxfgzqd/B6+9pXtLo73WuS1dSGXM5QYY3hZnIbvx+K1xxe6FyA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.16.0", + "acorn-import-phases": "^1.0.3", + "browserslist": "^4.28.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.20.0", + "es-module-lexer": "^2.0.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "loader-runner": "^4.3.1", + "mime-db": "^1.54.0", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "terser-webpack-plugin": "^5.3.17", + "watchpack": "^2.5.1", + "webpack-sources": "^3.3.4" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-node-externals": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/webpack-node-externals/-/webpack-node-externals-3.0.0.tgz", + "integrity": "sha512-LnL6Z3GGDPht/AigwRh2dvL9PQPFQ8skEpVrWZXLWBYmqcaojHNN0onvHzie6rq7EWKrrBfPYqNEzTJgiwEQDQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/webpack-sources": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.4.0.tgz", + "integrity": "sha512-gHwIe1cgBvvfLeu1Yz/dcFpmHfKDVxxyqI+kzqmuxZED81z2ChxpyqPaWcNqigPywhaEke7AjSGga+kxY55gjQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/webpack/node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/webpack/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/webpack/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/webpack/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/webpack/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT", + "peer": true + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", + "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.20", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.20.tgz", + "integrity": "sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==", + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ws": { + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors-cjs": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", + "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", + "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/server-nest/package.json b/server-nest/package.json new file mode 100644 index 00000000..a67a5900 --- /dev/null +++ b/server-nest/package.json @@ -0,0 +1,87 @@ +{ + "name": "server-nest-2", + "version": "0.0.1", + "description": "", + "author": "", + "private": true, + "license": "UNLICENSED", + "scripts": { + "build": "nest build", + "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", + "start": "nest start", + "start:dev": "nest start --watch", + "start:debug": "nest start --debug --watch", + "start:prod": "node dist/main", + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", + "test": "jest", + "test:watch": "jest --watch", + "test:cov": "jest --coverage", + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", + "test:e2e": "jest --config ./test/jest-e2e.json" + }, + "dependencies": { + "@better-auth/oauth-provider": "^1.6.9", + "@better-auth/passkey": "^1.6.9", + "@hedystia/better-auth-typeorm": "^0.8.2", + "@nestjs/common": "^11.1.19", + "@nestjs/config": "^4.0.4", + "@nestjs/core": "^11.1.19", + "@nestjs/platform-express": "^11.1.19", + "@nestjs/platform-socket.io": "^11.1.19", + "@nestjs/throttler": "^6.5.0", + "@nestjs/typeorm": "^11.0.1", + "@nestjs/websockets": "^11.1.19", + "@thallesp/nestjs-better-auth": "^2.6.0", + "better-auth": "^1.6.9", + "better-sqlite3": "^12.9.0", + "csrf-csrf": "^4.0.3", + "helmet": "^8.1.0", + "mysql2": "^3.22.2", + "pg": "^8.20.0", + "reflect-metadata": "^0.2.2", + "rxjs": "^7.8.2", + "typeorm": "^0.3.28" + }, + "devDependencies": { + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "^9.18.0", + "@nestjs/cli": "^11.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.1", + "@types/express": "^5.0.0", + "@types/jest": "^30.0.0", + "@types/node": "^24.0.0", + "@types/supertest": "^7.0.0", + "eslint": "^9.18.0", + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-prettier": "^5.2.2", + "globals": "^17.0.0", + "jest": "^30.0.0", + "prettier": "^3.4.2", + "source-map-support": "^0.5.21", + "supertest": "^7.0.0", + "ts-jest": "^29.2.5", + "ts-loader": "^9.5.2", + "ts-node": "^10.9.2", + "tsconfig-paths": "^4.2.0", + "typescript": "^5.7.3", + "typescript-eslint": "^8.20.0" + }, + "jest": { + "moduleFileExtensions": [ + "js", + "json", + "ts" + ], + "rootDir": "src", + "testRegex": ".*\\.spec\\.ts$", + "transform": { + "^.+\\.(t|j)s$": "ts-jest" + }, + "collectCoverageFrom": [ + "**/*.(t|j)s" + ], + "coverageDirectory": "../coverage", + "testEnvironment": "node" + } +} diff --git a/server-nest/src/app.module.ts b/server-nest/src/app.module.ts new file mode 100644 index 00000000..18125d6d --- /dev/null +++ b/server-nest/src/app.module.ts @@ -0,0 +1,46 @@ +import authConfig from './config/auth.config.js'; +import { Module } from '@nestjs/common'; +import { ConfigModule, ConfigService } from '@nestjs/config'; +import { TypeOrmModule } from '@nestjs/typeorm'; +import { AuthModule } from './auth/auth.module.js'; + +type SupportedDbType = 'mysql' | 'mariadb' | 'postgres' | 'sqlite'; + +function resolveDriver(type: SupportedDbType) { + switch (type) { + case 'mysql': + case 'mariadb': + return require('mysql2'); + case 'postgres': + return require('pg'); + case 'sqlite': + return require('better-sqlite3'); + } +} + +@Module({ + imports: [ + ConfigModule.forRoot({ isGlobal: true, load: [authConfig] }), + AuthModule, + TypeOrmModule.forRootAsync({ + imports: [ConfigModule], + useFactory: (config: ConfigService) => { + const type = config.get('DB_TYPE', 'sqlite'); + + return { + type, + driver: resolveDriver(type), + host: config.get('DB_HOST', 'localhost'), + port: config.get('DB_PORT', 5432), + username: config.get('DB_USER', 'usr'), + password: config.get('DB_PASS', 'pwd'), + database: config.get('DB_NAME', 'data/travel.db'), + autoLoadEntities: true, + synchronize: config.get('NODE_ENV') !== 'production', + }; + }, + inject: [ConfigService], + }), + ], +}) +export class AppModule {} diff --git a/server-nest/src/auth/auth.factory.ts b/server-nest/src/auth/auth.factory.ts new file mode 100644 index 00000000..046c7d1c --- /dev/null +++ b/server-nest/src/auth/auth.factory.ts @@ -0,0 +1,20 @@ +import { betterAuth } from 'better-auth'; +import { typeormAdapter } from '@hedystia/better-auth-typeorm'; +import { DataSource } from 'typeorm'; +import { AuthConfig } from '../config/auth.config.js'; + +export function createAuth(dataSource: DataSource, cfg: AuthConfig) { + return betterAuth({ + database: typeormAdapter(dataSource, { debugLogs: cfg.debugLogs }), + secret: cfg.secret, + baseURL: cfg.baseURL, + basePath: '/api/auth', + trustedOrigins: cfg.frontendUrl ? [cfg.frontendUrl] : [], + advanced: { + cookies: { session_token: { name: 'trek_session' } }, + useSecureCookies: cfg.cookieSecure, + }, + emailAndPassword: { enabled: true }, + plugins: [], + }); +} diff --git a/server-nest/src/auth/auth.generate.ts b/server-nest/src/auth/auth.generate.ts new file mode 100644 index 00000000..7ab87ce0 --- /dev/null +++ b/server-nest/src/auth/auth.generate.ts @@ -0,0 +1,39 @@ +import { betterAuth } from 'better-auth'; +import { typeormAdapter } from '@hedystia/better-auth-typeorm'; +import { magicLink } from 'better-auth/plugins/magic-link'; +import { genericOAuth } from 'better-auth/plugins/generic-oauth'; +import { jwt } from 'better-auth/plugins/jwt'; +import { oauthProvider } from '@better-auth/oauth-provider'; +import { passkey } from '@better-auth/passkey'; +import { DataSource } from 'typeorm'; + +// Used only by `npx @better-auth/cli generate`. +// Not imported at runtime — auth.factory.ts uses the DI DataSource. +const dataSource = new DataSource({ + type: 'better-sqlite3', + database: ':memory:', +}); + +export const auth = betterAuth({ + baseURL: 'http://localhost:3000', + database: typeormAdapter(dataSource, { + entitiesDir: './src/models/entities/auth', + migrationsDir: './src/database/migrations', + }), + emailAndPassword: { + enabled: true, + requireEmailVerification: true, + sendVerificationEmail: async () => {}, + sendResetPassword: async () => {}, + }, + emailVerification: { + sendVerificationEmail: async () => {}, + }, + plugins: [ + jwt(), + magicLink({ sendMagicLink: async () => {} }), + genericOAuth({ config: [] }), + oauthProvider({ loginPage: '/login' }), + passkey(), + ], +}); diff --git a/server-nest/src/auth/auth.module.ts b/server-nest/src/auth/auth.module.ts new file mode 100644 index 00000000..e7615565 --- /dev/null +++ b/server-nest/src/auth/auth.module.ts @@ -0,0 +1,43 @@ +import { Module } from '@nestjs/common'; +import { ConfigModule, ConfigService } from '@nestjs/config'; +import { TypeOrmModule } from '@nestjs/typeorm'; +import { AuthModule as BetterAuthNestModule } from '@thallesp/nestjs-better-auth'; +import { DataSource } from 'typeorm'; +import { createAuth } from './auth.factory.js'; +import { AuthConfig } from '../config/auth.config.js'; +import { User } from '../models/entities/auth/User.js'; +import { Account } from '../models/entities/auth/Account.js'; +import { Session } from '../models/entities/auth/Session.js'; +import { Verification } from '../models/entities/auth/Verification.js'; +import { Passkey } from '../models/entities/auth/Passkey.js'; +import { Jwks } from '../models/entities/auth/Jwks.js'; +import { OauthClient } from '../models/entities/auth/OauthClient.js'; +import { OauthAccessToken } from '../models/entities/auth/OauthAccessToken.js'; +import { OauthRefreshToken } from '../models/entities/auth/OauthRefreshToken.js'; +import { OauthConsent } from '../models/entities/auth/OauthConsent.js'; + +@Module({ + imports: [ + TypeOrmModule.forFeature([ + User, + Account, + Session, + Verification, + Passkey, + Jwks, + OauthClient, + OauthAccessToken, + OauthRefreshToken, + OauthConsent, + ]), + BetterAuthNestModule.forRootAsync({ + imports: [ConfigModule], + inject: [DataSource, ConfigService], + useFactory: (ds: DataSource, config: ConfigService) => ({ + auth: createAuth(ds, config.get('auth')!), + }), + }), + ], + exports: [BetterAuthNestModule], +}) +export class AuthModule {} diff --git a/server-nest/src/config/auth.config.ts b/server-nest/src/config/auth.config.ts new file mode 100644 index 00000000..8f0410b2 --- /dev/null +++ b/server-nest/src/config/auth.config.ts @@ -0,0 +1,26 @@ +import { registerAs } from '@nestjs/config'; +import { boolean } from 'better-auth'; + +export interface AuthConfig { + secret: string; + baseURL: string; + frontendUrl: string | undefined; + cookieSecure: boolean; + debugLogs: boolean; +} + +export default registerAs( + 'auth', + (): AuthConfig => ({ + secret: process.env.BETTER_AUTH_SECRET ?? 'changeme', + baseURL: process.env.BETTER_AUTH_URL ?? 'http://localhost:3000', + frontendUrl: process.env.BASE_URL, + cookieSecure: + process.env.COOKIE_SECURE === 'true' && + process.env.NODE_ENV === 'production' && + process.env.BASE_URL?.startsWith('https') === true, + debugLogs: + process.env.BETTER_AUTH_DEBUG_LOGS === 'true' || + process.env.NODE_ENV === 'development', + }), +); diff --git a/server-nest/src/database/migrations/1777216318138-create-account.ts b/server-nest/src/database/migrations/1777216318138-create-account.ts new file mode 100644 index 00000000..8a962e26 --- /dev/null +++ b/server-nest/src/database/migrations/1777216318138-create-account.ts @@ -0,0 +1,103 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateAccount1777216318138 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'account', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accountId', + type: 'text', + }, + { + name: 'providerId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + }, + { + name: 'idToken', + type: 'text', + isNullable: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scope', + type: 'text', + isNullable: true, + }, + { + name: 'password', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'account', + new TableIndex({ + name: 'account_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'account', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('account'); + } +} diff --git a/server-nest/src/database/migrations/1777216318138-create-session.ts b/server-nest/src/database/migrations/1777216318138-create-session.ts new file mode 100644 index 00000000..99c0605e --- /dev/null +++ b/server-nest/src/database/migrations/1777216318138-create-session.ts @@ -0,0 +1,79 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateSession1777216318138 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'session', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + { + name: 'ipAddress', + type: 'text', + isNullable: true, + }, + { + name: 'userAgent', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'session', + new TableIndex({ + name: 'session_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'session', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('session'); + } +} diff --git a/server-nest/src/database/migrations/1777216318138-create-user.ts b/server-nest/src/database/migrations/1777216318138-create-user.ts new file mode 100644 index 00000000..21f1e1ab --- /dev/null +++ b/server-nest/src/database/migrations/1777216318138-create-user.ts @@ -0,0 +1,58 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateUser1777216318138 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'user', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + }, + { + name: 'email', + type: 'text', + isUnique: true, + }, + { + name: 'emailVerified', + type: 'boolean', + default: false, + }, + { + name: 'image', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('user'); + } +} diff --git a/server-nest/src/database/migrations/1777216318138-create-verification.ts b/server-nest/src/database/migrations/1777216318138-create-verification.ts new file mode 100644 index 00000000..ef2d112f --- /dev/null +++ b/server-nest/src/database/migrations/1777216318138-create-verification.ts @@ -0,0 +1,59 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateVerification1777216318138 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'verification', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'identifier', + type: 'text', + }, + { + name: 'value', + type: 'text', + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'verification', + new TableIndex({ + name: 'verification_identifier_idx', + columnNames: ['identifier'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('verification'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-account.ts b/server-nest/src/database/migrations/1777217712285-create-account.ts new file mode 100644 index 00000000..98f0c48a --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-account.ts @@ -0,0 +1,103 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateAccount1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'account', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accountId', + type: 'text', + }, + { + name: 'providerId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + }, + { + name: 'idToken', + type: 'text', + isNullable: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scope', + type: 'text', + isNullable: true, + }, + { + name: 'password', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'account', + new TableIndex({ + name: 'account_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'account', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('account'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-oauthAccessToken.ts b/server-nest/src/database/migrations/1777217712285-create-oauthAccessToken.ts new file mode 100644 index 00000000..13937391 --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-oauthAccessToken.ts @@ -0,0 +1,112 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthAccessToken1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthAccessToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'clientId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'oauthAccessToken', + new TableIndex({ + name: 'oauthAccessToken_clientId_idx', + columnNames: ['clientId'], + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthApplication', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'oauthAccessToken', + new TableIndex({ + name: 'oauthAccessToken_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthAccessToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-oauthApplication.ts b/server-nest/src/database/migrations/1777217712285-create-oauthApplication.ts new file mode 100644 index 00000000..12c3a50d --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-oauthApplication.ts @@ -0,0 +1,104 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthApplication1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthApplication', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'icon', + type: 'text', + isNullable: true, + }, + { + name: 'metadata', + type: 'text', + isNullable: true, + }, + { + name: 'clientId', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'clientSecret', + type: 'text', + isNullable: true, + }, + { + name: 'redirectUrls', + type: 'text', + isNullable: true, + }, + { + name: 'type', + type: 'text', + isNullable: true, + }, + { + name: 'disabled', + type: 'boolean', + isNullable: true, + default: false, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'oauthApplication', + new TableIndex({ + name: 'oauthApplication_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'oauthApplication', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthApplication'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-oauthConsent.ts b/server-nest/src/database/migrations/1777217712285-create-oauthConsent.ts new file mode 100644 index 00000000..fde55971 --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-oauthConsent.ts @@ -0,0 +1,95 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthConsent1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthConsent', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'consentGiven', + type: 'boolean', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'oauthConsent', + new TableIndex({ + name: 'oauthConsent_clientId_idx', + columnNames: ['clientId'], + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthApplication', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'oauthConsent', + new TableIndex({ + name: 'oauthConsent_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthConsent'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-passkey.ts b/server-nest/src/database/migrations/1777217712285-create-passkey.ts new file mode 100644 index 00000000..dcc0dda0 --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-passkey.ts @@ -0,0 +1,99 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreatePasskey1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'passkey', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'credentialID', + type: 'text', + }, + { + name: 'counter', + type: 'integer', + }, + { + name: 'deviceType', + type: 'text', + }, + { + name: 'backedUp', + type: 'boolean', + }, + { + name: 'transports', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'aaguid', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'passkey', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_credentialID_idx', + columnNames: ['credentialID'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('passkey'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-session.ts b/server-nest/src/database/migrations/1777217712285-create-session.ts new file mode 100644 index 00000000..6136bdd0 --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-session.ts @@ -0,0 +1,79 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateSession1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'session', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + { + name: 'ipAddress', + type: 'text', + isNullable: true, + }, + { + name: 'userAgent', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'session', + new TableIndex({ + name: 'session_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'session', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('session'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-user.ts b/server-nest/src/database/migrations/1777217712285-create-user.ts new file mode 100644 index 00000000..5d632a1c --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-user.ts @@ -0,0 +1,58 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateUser1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'user', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + }, + { + name: 'email', + type: 'text', + isUnique: true, + }, + { + name: 'emailVerified', + type: 'boolean', + default: false, + }, + { + name: 'image', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('user'); + } +} diff --git a/server-nest/src/database/migrations/1777217712285-create-verification.ts b/server-nest/src/database/migrations/1777217712285-create-verification.ts new file mode 100644 index 00000000..b12c58e8 --- /dev/null +++ b/server-nest/src/database/migrations/1777217712285-create-verification.ts @@ -0,0 +1,59 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateVerification1777217712285 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'verification', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'identifier', + type: 'text', + }, + { + name: 'value', + type: 'text', + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'verification', + new TableIndex({ + name: 'verification_identifier_idx', + columnNames: ['identifier'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('verification'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-account.ts b/server-nest/src/database/migrations/1777217820713-create-account.ts new file mode 100644 index 00000000..d986edd1 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-account.ts @@ -0,0 +1,103 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateAccount1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'account', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accountId', + type: 'text', + }, + { + name: 'providerId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + }, + { + name: 'idToken', + type: 'text', + isNullable: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scope', + type: 'text', + isNullable: true, + }, + { + name: 'password', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'account', + new TableIndex({ + name: 'account_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'account', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('account'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-oauthAccessToken.ts b/server-nest/src/database/migrations/1777217820713-create-oauthAccessToken.ts new file mode 100644 index 00000000..52d61c48 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-oauthAccessToken.ts @@ -0,0 +1,113 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthAccessToken1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthAccessToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'refreshId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['refreshId'], + referencedTableName: 'oauthRefreshToken', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthAccessToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-oauthClient.ts b/server-nest/src/database/migrations/1777217820713-create-oauthClient.ts new file mode 100644 index 00000000..036eb38a --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-oauthClient.ts @@ -0,0 +1,184 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthClient1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthClient', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + isUnique: true, + }, + { + name: 'clientSecret', + type: 'text', + isNullable: true, + }, + { + name: 'disabled', + type: 'boolean', + isNullable: true, + default: false, + }, + { + name: 'skipConsent', + type: 'boolean', + isNullable: true, + }, + { + name: 'enableEndSession', + type: 'boolean', + isNullable: true, + }, + { + name: 'subjectType', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'uri', + type: 'text', + isNullable: true, + }, + { + name: 'icon', + type: 'text', + isNullable: true, + }, + { + name: 'contacts', + type: 'text', + isNullable: true, + }, + { + name: 'tos', + type: 'text', + isNullable: true, + }, + { + name: 'policy', + type: 'text', + isNullable: true, + }, + { + name: 'softwareId', + type: 'text', + isNullable: true, + }, + { + name: 'softwareVersion', + type: 'text', + isNullable: true, + }, + { + name: 'softwareStatement', + type: 'text', + isNullable: true, + }, + { + name: 'redirectUris', + type: 'text', + }, + { + name: 'postLogoutRedirectUris', + type: 'text', + isNullable: true, + }, + { + name: 'tokenEndpointAuthMethod', + type: 'text', + isNullable: true, + }, + { + name: 'grantTypes', + type: 'text', + isNullable: true, + }, + { + name: 'responseTypes', + type: 'text', + isNullable: true, + }, + { + name: 'public', + type: 'boolean', + isNullable: true, + }, + { + name: 'type', + type: 'text', + isNullable: true, + }, + { + name: 'requirePKCE', + type: 'boolean', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'metadata', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthClient', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthClient'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-oauthConsent.ts b/server-nest/src/database/migrations/1777217820713-create-oauthConsent.ts new file mode 100644 index 00000000..8b5e39b0 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-oauthConsent.ts @@ -0,0 +1,77 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthConsent1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthConsent', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthConsent'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-oauthRefreshToken.ts b/server-nest/src/database/migrations/1777217820713-create-oauthRefreshToken.ts new file mode 100644 index 00000000..c4857324 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-oauthRefreshToken.ts @@ -0,0 +1,106 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthRefreshToken1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthRefreshToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'revoked', + type: 'datetime', + isNullable: true, + }, + { + name: 'authTime', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthRefreshToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-passkey.ts b/server-nest/src/database/migrations/1777217820713-create-passkey.ts new file mode 100644 index 00000000..76a05d59 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-passkey.ts @@ -0,0 +1,99 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreatePasskey1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'passkey', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'credentialID', + type: 'text', + }, + { + name: 'counter', + type: 'integer', + }, + { + name: 'deviceType', + type: 'text', + }, + { + name: 'backedUp', + type: 'boolean', + }, + { + name: 'transports', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'aaguid', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'passkey', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_credentialID_idx', + columnNames: ['credentialID'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('passkey'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-session.ts b/server-nest/src/database/migrations/1777217820713-create-session.ts new file mode 100644 index 00000000..0c4a2d2a --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-session.ts @@ -0,0 +1,79 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateSession1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'session', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + { + name: 'ipAddress', + type: 'text', + isNullable: true, + }, + { + name: 'userAgent', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'session', + new TableIndex({ + name: 'session_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'session', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('session'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-user.ts b/server-nest/src/database/migrations/1777217820713-create-user.ts new file mode 100644 index 00000000..ebdb7ecd --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-user.ts @@ -0,0 +1,58 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateUser1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'user', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + }, + { + name: 'email', + type: 'text', + isUnique: true, + }, + { + name: 'emailVerified', + type: 'boolean', + default: false, + }, + { + name: 'image', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('user'); + } +} diff --git a/server-nest/src/database/migrations/1777217820713-create-verification.ts b/server-nest/src/database/migrations/1777217820713-create-verification.ts new file mode 100644 index 00000000..cb29e1c1 --- /dev/null +++ b/server-nest/src/database/migrations/1777217820713-create-verification.ts @@ -0,0 +1,59 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateVerification1777217820713 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'verification', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'identifier', + type: 'text', + }, + { + name: 'value', + type: 'text', + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'verification', + new TableIndex({ + name: 'verification_identifier_idx', + columnNames: ['identifier'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('verification'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-account.ts b/server-nest/src/database/migrations/1777217882945-create-account.ts new file mode 100644 index 00000000..99b87f36 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-account.ts @@ -0,0 +1,103 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateAccount1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'account', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accountId', + type: 'text', + }, + { + name: 'providerId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + }, + { + name: 'idToken', + type: 'text', + isNullable: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scope', + type: 'text', + isNullable: true, + }, + { + name: 'password', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'account', + new TableIndex({ + name: 'account_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'account', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('account'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-jwks.ts b/server-nest/src/database/migrations/1777217882945-create-jwks.ts new file mode 100644 index 00000000..2f3f9023 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-jwks.ts @@ -0,0 +1,46 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateJwks1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'jwks', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'privateKey', + type: 'text', + }, + { + name: 'createdAt', + type: 'datetime', + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('jwks'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-oauthAccessToken.ts b/server-nest/src/database/migrations/1777217882945-create-oauthAccessToken.ts new file mode 100644 index 00000000..c11906fc --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-oauthAccessToken.ts @@ -0,0 +1,113 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthAccessToken1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthAccessToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'refreshId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['refreshId'], + referencedTableName: 'oauthRefreshToken', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthAccessToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-oauthClient.ts b/server-nest/src/database/migrations/1777217882945-create-oauthClient.ts new file mode 100644 index 00000000..5cc98d62 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-oauthClient.ts @@ -0,0 +1,184 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthClient1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthClient', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + isUnique: true, + }, + { + name: 'clientSecret', + type: 'text', + isNullable: true, + }, + { + name: 'disabled', + type: 'boolean', + isNullable: true, + default: false, + }, + { + name: 'skipConsent', + type: 'boolean', + isNullable: true, + }, + { + name: 'enableEndSession', + type: 'boolean', + isNullable: true, + }, + { + name: 'subjectType', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'uri', + type: 'text', + isNullable: true, + }, + { + name: 'icon', + type: 'text', + isNullable: true, + }, + { + name: 'contacts', + type: 'text', + isNullable: true, + }, + { + name: 'tos', + type: 'text', + isNullable: true, + }, + { + name: 'policy', + type: 'text', + isNullable: true, + }, + { + name: 'softwareId', + type: 'text', + isNullable: true, + }, + { + name: 'softwareVersion', + type: 'text', + isNullable: true, + }, + { + name: 'softwareStatement', + type: 'text', + isNullable: true, + }, + { + name: 'redirectUris', + type: 'text', + }, + { + name: 'postLogoutRedirectUris', + type: 'text', + isNullable: true, + }, + { + name: 'tokenEndpointAuthMethod', + type: 'text', + isNullable: true, + }, + { + name: 'grantTypes', + type: 'text', + isNullable: true, + }, + { + name: 'responseTypes', + type: 'text', + isNullable: true, + }, + { + name: 'public', + type: 'boolean', + isNullable: true, + }, + { + name: 'type', + type: 'text', + isNullable: true, + }, + { + name: 'requirePKCE', + type: 'boolean', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'metadata', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthClient', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthClient'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-oauthConsent.ts b/server-nest/src/database/migrations/1777217882945-create-oauthConsent.ts new file mode 100644 index 00000000..357fb296 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-oauthConsent.ts @@ -0,0 +1,77 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthConsent1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthConsent', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthConsent'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-oauthRefreshToken.ts b/server-nest/src/database/migrations/1777217882945-create-oauthRefreshToken.ts new file mode 100644 index 00000000..2cbc08e9 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-oauthRefreshToken.ts @@ -0,0 +1,106 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthRefreshToken1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthRefreshToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'revoked', + type: 'datetime', + isNullable: true, + }, + { + name: 'authTime', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthRefreshToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-passkey.ts b/server-nest/src/database/migrations/1777217882945-create-passkey.ts new file mode 100644 index 00000000..e26fea9f --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-passkey.ts @@ -0,0 +1,99 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreatePasskey1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'passkey', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'credentialID', + type: 'text', + }, + { + name: 'counter', + type: 'integer', + }, + { + name: 'deviceType', + type: 'text', + }, + { + name: 'backedUp', + type: 'boolean', + }, + { + name: 'transports', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'aaguid', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'passkey', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_credentialID_idx', + columnNames: ['credentialID'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('passkey'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-session.ts b/server-nest/src/database/migrations/1777217882945-create-session.ts new file mode 100644 index 00000000..9df6c3a5 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-session.ts @@ -0,0 +1,79 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateSession1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'session', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + { + name: 'ipAddress', + type: 'text', + isNullable: true, + }, + { + name: 'userAgent', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'session', + new TableIndex({ + name: 'session_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'session', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('session'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-user.ts b/server-nest/src/database/migrations/1777217882945-create-user.ts new file mode 100644 index 00000000..5af93f65 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-user.ts @@ -0,0 +1,58 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateUser1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'user', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + }, + { + name: 'email', + type: 'text', + isUnique: true, + }, + { + name: 'emailVerified', + type: 'boolean', + default: false, + }, + { + name: 'image', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('user'); + } +} diff --git a/server-nest/src/database/migrations/1777217882945-create-verification.ts b/server-nest/src/database/migrations/1777217882945-create-verification.ts new file mode 100644 index 00000000..120570e8 --- /dev/null +++ b/server-nest/src/database/migrations/1777217882945-create-verification.ts @@ -0,0 +1,59 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateVerification1777217882945 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'verification', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'identifier', + type: 'text', + }, + { + name: 'value', + type: 'text', + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'verification', + new TableIndex({ + name: 'verification_identifier_idx', + columnNames: ['identifier'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('verification'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-account.ts b/server-nest/src/database/migrations/1777217895075-create-account.ts new file mode 100644 index 00000000..39c8d8e4 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-account.ts @@ -0,0 +1,103 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateAccount1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'account', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'accountId', + type: 'text', + }, + { + name: 'providerId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'accessToken', + type: 'text', + isNullable: true, + }, + { + name: 'refreshToken', + type: 'text', + isNullable: true, + }, + { + name: 'idToken', + type: 'text', + isNullable: true, + }, + { + name: 'accessTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'refreshTokenExpiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scope', + type: 'text', + isNullable: true, + }, + { + name: 'password', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'account', + new TableIndex({ + name: 'account_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'account', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('account'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-jwks.ts b/server-nest/src/database/migrations/1777217895075-create-jwks.ts new file mode 100644 index 00000000..2503ce09 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-jwks.ts @@ -0,0 +1,46 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateJwks1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'jwks', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'privateKey', + type: 'text', + }, + { + name: 'createdAt', + type: 'datetime', + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('jwks'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-oauthAccessToken.ts b/server-nest/src/database/migrations/1777217895075-create-oauthAccessToken.ts new file mode 100644 index 00000000..81f96219 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-oauthAccessToken.ts @@ -0,0 +1,113 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthAccessToken1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthAccessToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isNullable: true, + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'refreshId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthAccessToken', + new TableForeignKey({ + columnNames: ['refreshId'], + referencedTableName: 'oauthRefreshToken', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthAccessToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-oauthClient.ts b/server-nest/src/database/migrations/1777217895075-create-oauthClient.ts new file mode 100644 index 00000000..c29ac360 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-oauthClient.ts @@ -0,0 +1,184 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthClient1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthClient', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + isUnique: true, + }, + { + name: 'clientSecret', + type: 'text', + isNullable: true, + }, + { + name: 'disabled', + type: 'boolean', + isNullable: true, + default: false, + }, + { + name: 'skipConsent', + type: 'boolean', + isNullable: true, + }, + { + name: 'enableEndSession', + type: 'boolean', + isNullable: true, + }, + { + name: 'subjectType', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'uri', + type: 'text', + isNullable: true, + }, + { + name: 'icon', + type: 'text', + isNullable: true, + }, + { + name: 'contacts', + type: 'text', + isNullable: true, + }, + { + name: 'tos', + type: 'text', + isNullable: true, + }, + { + name: 'policy', + type: 'text', + isNullable: true, + }, + { + name: 'softwareId', + type: 'text', + isNullable: true, + }, + { + name: 'softwareVersion', + type: 'text', + isNullable: true, + }, + { + name: 'softwareStatement', + type: 'text', + isNullable: true, + }, + { + name: 'redirectUris', + type: 'text', + }, + { + name: 'postLogoutRedirectUris', + type: 'text', + isNullable: true, + }, + { + name: 'tokenEndpointAuthMethod', + type: 'text', + isNullable: true, + }, + { + name: 'grantTypes', + type: 'text', + isNullable: true, + }, + { + name: 'responseTypes', + type: 'text', + isNullable: true, + }, + { + name: 'public', + type: 'boolean', + isNullable: true, + }, + { + name: 'type', + type: 'text', + isNullable: true, + }, + { + name: 'requirePKCE', + type: 'boolean', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'metadata', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthClient', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthClient'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-oauthConsent.ts b/server-nest/src/database/migrations/1777217895075-create-oauthConsent.ts new file mode 100644 index 00000000..1033f239 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-oauthConsent.ts @@ -0,0 +1,77 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthConsent1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthConsent', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'userId', + type: 'text', + isNullable: true, + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'updatedAt', + type: 'datetime', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthConsent', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthConsent'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-oauthRefreshToken.ts b/server-nest/src/database/migrations/1777217895075-create-oauthRefreshToken.ts new file mode 100644 index 00000000..f45441d2 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-oauthRefreshToken.ts @@ -0,0 +1,106 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateOauthRefreshToken1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'oauthRefreshToken', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'clientId', + type: 'text', + }, + { + name: 'sessionId', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'referenceId', + type: 'text', + isNullable: true, + }, + { + name: 'expiresAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'revoked', + type: 'datetime', + isNullable: true, + }, + { + name: 'authTime', + type: 'datetime', + isNullable: true, + }, + { + name: 'scopes', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['clientId'], + referencedTableName: 'oauthClient', + referencedColumnNames: ['clientId'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['sessionId'], + referencedTableName: 'session', + referencedColumnNames: ['id'], + onDelete: 'SET NULL', + }), + ); + + await queryRunner.createForeignKey( + 'oauthRefreshToken', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('oauthRefreshToken'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-passkey.ts b/server-nest/src/database/migrations/1777217895075-create-passkey.ts new file mode 100644 index 00000000..336aab5f --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-passkey.ts @@ -0,0 +1,99 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreatePasskey1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'passkey', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + isNullable: true, + }, + { + name: 'publicKey', + type: 'text', + }, + { + name: 'userId', + type: 'text', + }, + { + name: 'credentialID', + type: 'text', + }, + { + name: 'counter', + type: 'integer', + }, + { + name: 'deviceType', + type: 'text', + }, + { + name: 'backedUp', + type: 'boolean', + }, + { + name: 'transports', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + isNullable: true, + }, + { + name: 'aaguid', + type: 'text', + isNullable: true, + }, + ], + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'passkey', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + + await queryRunner.createIndex( + 'passkey', + new TableIndex({ + name: 'passkey_credentialID_idx', + columnNames: ['credentialID'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('passkey'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-session.ts b/server-nest/src/database/migrations/1777217895075-create-session.ts new file mode 100644 index 00000000..e649d7a3 --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-session.ts @@ -0,0 +1,79 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateSession1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'session', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'token', + type: 'text', + isUnique: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + }, + { + name: 'ipAddress', + type: 'text', + isNullable: true, + }, + { + name: 'userAgent', + type: 'text', + isNullable: true, + }, + { + name: 'userId', + type: 'text', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'session', + new TableIndex({ + name: 'session_userId_idx', + columnNames: ['userId'], + }), + ); + + await queryRunner.createForeignKey( + 'session', + new TableForeignKey({ + columnNames: ['userId'], + referencedTableName: 'user', + referencedColumnNames: ['id'], + onDelete: 'CASCADE', + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('session'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-user.ts b/server-nest/src/database/migrations/1777217895075-create-user.ts new file mode 100644 index 00000000..8b51567e --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-user.ts @@ -0,0 +1,58 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateUser1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'user', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'name', + type: 'text', + }, + { + name: 'email', + type: 'text', + isUnique: true, + }, + { + name: 'emailVerified', + type: 'boolean', + default: false, + }, + { + name: 'image', + type: 'text', + isNullable: true, + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('user'); + } +} diff --git a/server-nest/src/database/migrations/1777217895075-create-verification.ts b/server-nest/src/database/migrations/1777217895075-create-verification.ts new file mode 100644 index 00000000..516a63de --- /dev/null +++ b/server-nest/src/database/migrations/1777217895075-create-verification.ts @@ -0,0 +1,59 @@ +import { + type MigrationInterface, + type QueryRunner, + Table, + TableColumn, + TableForeignKey, + TableIndex, +} from 'typeorm'; + +export class CreateVerification1777217895075 implements MigrationInterface { + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.createTable( + new Table({ + name: 'verification', + columns: [ + { + name: 'id', + type: 'text', + isPrimary: true, + }, + { + name: 'identifier', + type: 'text', + }, + { + name: 'value', + type: 'text', + }, + { + name: 'expiresAt', + type: 'datetime', + }, + { + name: 'createdAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + { + name: 'updatedAt', + type: 'datetime', + default: 'CURRENT_TIMESTAMP', + }, + ], + }), + ); + + await queryRunner.createIndex( + 'verification', + new TableIndex({ + name: 'verification_identifier_idx', + columnNames: ['identifier'], + }), + ); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.dropTable('verification'); + } +} diff --git a/server-nest/src/main.ts b/server-nest/src/main.ts new file mode 100644 index 00000000..b7918171 --- /dev/null +++ b/server-nest/src/main.ts @@ -0,0 +1,8 @@ +import { NestFactory } from '@nestjs/core'; +import { AppModule } from './app.module'; + +async function bootstrap() { + const app = await NestFactory.create(AppModule, { bodyParser: false }); + await app.listen(process.env.PORT ?? 3001); +} +bootstrap(); diff --git a/server-nest/src/models/dtos/.gitkeep b/server-nest/src/models/dtos/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/server-nest/src/models/entities/atlas/BucketList.ts b/server-nest/src/models/entities/atlas/BucketList.ts new file mode 100644 index 00000000..dff6ffed --- /dev/null +++ b/server-nest/src/models/entities/atlas/BucketList.ts @@ -0,0 +1,34 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('bucket_list') +export class BucketList extends IntBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'lat', nullable: true }) + lat: number | null; + + @Column({ name: 'lng', nullable: true }) + lng: number | null; + + @Column({ name: 'country_code', nullable: true }) + countryCode: string | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @Column({ + name: 'target_date', + nullable: true, + default: null, + }) + targetDate: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.bucketLists, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/atlas/VisitedCountries.ts b/server-nest/src/models/entities/atlas/VisitedCountries.ts new file mode 100644 index 00000000..d6b098d5 --- /dev/null +++ b/server-nest/src/models/entities/atlas/VisitedCountries.ts @@ -0,0 +1,15 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('visited_countries') +export class VisitedCountries extends IntBaseEntity { + @Column('text', { name: 'country_code' }) + countryCode: string; + + @ManyToOne(() => SqliteUsers, (users) => users.visitedCountries, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/atlas/VisitedRegions.ts b/server-nest/src/models/entities/atlas/VisitedRegions.ts new file mode 100644 index 00000000..71d8d9e6 --- /dev/null +++ b/server-nest/src/models/entities/atlas/VisitedRegions.ts @@ -0,0 +1,22 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_visited_regions_country', ['countryCode'], {}) +@Entity('visited_regions') +export class VisitedRegions extends IntBaseEntity { + @Column({ name: 'region_code' }) + regionCode: string; + + @Column({ name: 'region_name' }) + regionName: string; + + @Column({ name: 'country_code' }) + countryCode: string; + + @ManyToOne(() => SqliteUsers, (users) => users.visitedRegions, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/auth/Account.ts b/server-nest/src/models/entities/auth/Account.ts new file mode 100644 index 00000000..8a3f1205 --- /dev/null +++ b/server-nest/src/models/entities/auth/Account.ts @@ -0,0 +1,59 @@ +/** + * AUTOGENERATED + */ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { User } from './User'; + +@Entity('account') +export class Account { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'accountId' }) + accountId: string; + + @Column('text', { name: 'providerId' }) + providerId: string; + + @Index('account_userId_idx') + @Column('text', { name: 'userId' }) + userId: string; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user: User; + + @Column('text', { name: 'accessToken', nullable: true }) + accessToken: string | null; + + @Column('text', { name: 'refreshToken', nullable: true }) + refreshToken: string | null; + + @Column('text', { name: 'idToken', nullable: true }) + idToken: string | null; + + @Column({ type: 'timestamp', name: 'accessTokenExpiresAt', nullable: true }) + accessTokenExpiresAt: Date | null; + + @Column({ type: 'timestamp', name: 'refreshTokenExpiresAt', nullable: true }) + refreshTokenExpiresAt: Date | null; + + @Column('text', { name: 'scope', nullable: true }) + scope: string | null; + + @Column('text', { name: 'password', nullable: true }) + password: string | null; + + @Column({ type: 'timestamp', name: 'createdAt' }) + createdAt: Date; + + @Column({ type: 'timestamp', name: 'updatedAt' }) + updatedAt: Date; +} diff --git a/server-nest/src/models/entities/auth/Jwks.ts b/server-nest/src/models/entities/auth/Jwks.ts new file mode 100644 index 00000000..ac66fc4d --- /dev/null +++ b/server-nest/src/models/entities/auth/Jwks.ts @@ -0,0 +1,22 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, PrimaryColumn } from 'typeorm'; + +@Entity('jwks') +export class Jwks { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'publicKey' }) + publicKey: string; + + @Column('text', { name: 'privateKey' }) + privateKey: string; + + @Column({ type: 'timestamp', name: 'createdAt' }) + createdAt: Date; + + @Column({ type: 'timestamp', name: 'expiresAt', nullable: true }) + expiresAt: Date | null; +} diff --git a/server-nest/src/models/entities/auth/OauthAccessToken.ts b/server-nest/src/models/entities/auth/OauthAccessToken.ts new file mode 100644 index 00000000..ba4f03af --- /dev/null +++ b/server-nest/src/models/entities/auth/OauthAccessToken.ts @@ -0,0 +1,57 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { OauthClient } from './OauthClient'; +import { OauthRefreshToken } from './OauthRefreshToken'; +import { Session } from './Session'; +import { User } from './User'; + +@Entity('oauthAccessToken') +export class OauthAccessToken { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'token', nullable: true, unique: true }) + token: string | null; + + @Column('text', { name: 'clientId' }) + clientId: string; + + @ManyToOne(() => OauthClient, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'clientId', referencedColumnName: 'clientId' }) + client: OauthClient; + + @Column('text', { name: 'sessionId', nullable: true }) + sessionId: string | null; + + @ManyToOne(() => Session, { onDelete: 'SET NULL', nullable: true }) + @JoinColumn({ name: 'sessionId', referencedColumnName: 'id' }) + session?: Session; + + @Column('text', { name: 'userId', nullable: true }) + userId: string | null; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: true }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user?: User; + + @Column('text', { name: 'referenceId', nullable: true }) + referenceId: string | null; + + @Column('text', { name: 'refreshId', nullable: true }) + refreshId: string | null; + + @ManyToOne(() => OauthRefreshToken, { onDelete: 'CASCADE', nullable: true }) + @JoinColumn({ name: 'refreshId', referencedColumnName: 'id' }) + refresh?: OauthRefreshToken; + + @Column({ type: 'timestamp', name: 'expiresAt', nullable: true }) + expiresAt: Date | null; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column('text', { name: 'scopes' }) + scopes: string; +} diff --git a/server-nest/src/models/entities/auth/OauthApplication.ts b/server-nest/src/models/entities/auth/OauthApplication.ts new file mode 100644 index 00000000..ede0c12d --- /dev/null +++ b/server-nest/src/models/entities/auth/OauthApplication.ts @@ -0,0 +1,56 @@ +/** + * AUTOGENERATED + */ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { User } from './User'; + +@Entity('oauthApplication') +export class OauthApplication { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'name', nullable: true }) + name: string | null; + + @Column('text', { name: 'icon', nullable: true }) + icon: string | null; + + @Column('text', { name: 'metadata', nullable: true }) + metadata: string | null; + + @Column('text', { name: 'clientId', nullable: true, unique: true }) + clientId: string | null; + + @Column('text', { name: 'clientSecret', nullable: true }) + clientSecret: string | null; + + @Column('text', { name: 'redirectUrls', nullable: true }) + redirectUrls: string | null; + + @Column('text', { name: 'type', nullable: true }) + type: string | null; + + @Column('boolean', { name: 'disabled', nullable: true, default: false }) + disabled: boolean | null; + + @Index('oauthApplication_userId_idx') + @Column('text', { name: 'userId', nullable: true }) + userId: string | null; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: true }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user?: User; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column({ type: 'timestamp', name: 'updatedAt', nullable: true }) + updatedAt: Date | null; +} diff --git a/server-nest/src/models/entities/auth/OauthClient.ts b/server-nest/src/models/entities/auth/OauthClient.ts new file mode 100644 index 00000000..0235d8f6 --- /dev/null +++ b/server-nest/src/models/entities/auth/OauthClient.ts @@ -0,0 +1,102 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { User } from './User'; + +@Entity('oauthClient') +export class OauthClient { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'clientId', unique: true }) + clientId: string; + + @Column('text', { name: 'clientSecret', nullable: true }) + clientSecret: string | null; + + @Column('boolean', { name: 'disabled', nullable: true, default: false }) + disabled: boolean | null; + + @Column('boolean', { name: 'skipConsent', nullable: true }) + skipConsent: boolean | null; + + @Column('boolean', { name: 'enableEndSession', nullable: true }) + enableEndSession: boolean | null; + + @Column('text', { name: 'subjectType', nullable: true }) + subjectType: string | null; + + @Column('text', { name: 'scopes', nullable: true }) + scopes: string | null; + + @Column('text', { name: 'userId', nullable: true }) + userId: string | null; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: true }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user?: User; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column({ type: 'timestamp', name: 'updatedAt', nullable: true }) + updatedAt: Date | null; + + @Column('text', { name: 'name', nullable: true }) + name: string | null; + + @Column('text', { name: 'uri', nullable: true }) + uri: string | null; + + @Column('text', { name: 'icon', nullable: true }) + icon: string | null; + + @Column('text', { name: 'contacts', nullable: true }) + contacts: string | null; + + @Column('text', { name: 'tos', nullable: true }) + tos: string | null; + + @Column('text', { name: 'policy', nullable: true }) + policy: string | null; + + @Column('text', { name: 'softwareId', nullable: true }) + softwareId: string | null; + + @Column('text', { name: 'softwareVersion', nullable: true }) + softwareVersion: string | null; + + @Column('text', { name: 'softwareStatement', nullable: true }) + softwareStatement: string | null; + + @Column('text', { name: 'redirectUris' }) + redirectUris: string; + + @Column('text', { name: 'postLogoutRedirectUris', nullable: true }) + postLogoutRedirectUris: string | null; + + @Column('text', { name: 'tokenEndpointAuthMethod', nullable: true }) + tokenEndpointAuthMethod: string | null; + + @Column('text', { name: 'grantTypes', nullable: true }) + grantTypes: string | null; + + @Column('text', { name: 'responseTypes', nullable: true }) + responseTypes: string | null; + + @Column('boolean', { name: 'public', nullable: true }) + public: boolean | null; + + @Column('text', { name: 'type', nullable: true }) + type: string | null; + + @Column('boolean', { name: 'requirePKCE', nullable: true }) + requirePKCE: boolean | null; + + @Column('text', { name: 'referenceId', nullable: true }) + referenceId: string | null; + + @Column('text', { name: 'metadata', nullable: true }) + metadata: string | null; +} diff --git a/server-nest/src/models/entities/auth/OauthConsent.ts b/server-nest/src/models/entities/auth/OauthConsent.ts new file mode 100644 index 00000000..e7d05c23 --- /dev/null +++ b/server-nest/src/models/entities/auth/OauthConsent.ts @@ -0,0 +1,38 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { OauthClient } from './OauthClient'; +import { User } from './User'; + +@Entity('oauthConsent') +export class OauthConsent { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'clientId' }) + clientId: string; + + @ManyToOne(() => OauthClient, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'clientId', referencedColumnName: 'clientId' }) + client: OauthClient; + + @Column('text', { name: 'userId', nullable: true }) + userId: string | null; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: true }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user?: User; + + @Column('text', { name: 'referenceId', nullable: true }) + referenceId: string | null; + + @Column('text', { name: 'scopes' }) + scopes: string; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column({ type: 'timestamp', name: 'updatedAt', nullable: true }) + updatedAt: Date | null; +} diff --git a/server-nest/src/models/entities/auth/OauthRefreshToken.ts b/server-nest/src/models/entities/auth/OauthRefreshToken.ts new file mode 100644 index 00000000..3f80274d --- /dev/null +++ b/server-nest/src/models/entities/auth/OauthRefreshToken.ts @@ -0,0 +1,55 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { OauthClient } from './OauthClient'; +import { Session } from './Session'; +import { User } from './User'; + +@Entity('oauthRefreshToken') +export class OauthRefreshToken { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'token', unique: true }) + token: string; + + @Column('text', { name: 'clientId' }) + clientId: string; + + @ManyToOne(() => OauthClient, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'clientId', referencedColumnName: 'clientId' }) + client: OauthClient; + + @Column('text', { name: 'sessionId', nullable: true }) + sessionId: string | null; + + @ManyToOne(() => Session, { onDelete: 'SET NULL', nullable: true }) + @JoinColumn({ name: 'sessionId', referencedColumnName: 'id' }) + session?: Session; + + @Column('text', { name: 'userId' }) + userId: string; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user: User; + + @Column('text', { name: 'referenceId', nullable: true }) + referenceId: string | null; + + @Column({ type: 'timestamp', name: 'expiresAt', nullable: true }) + expiresAt: Date | null; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column({ type: 'timestamp', name: 'revoked', nullable: true }) + revoked: Date | null; + + @Column({ type: 'timestamp', name: 'authTime', nullable: true }) + authTime: Date | null; + + @Column('text', { name: 'scopes' }) + scopes: string; +} diff --git a/server-nest/src/models/entities/auth/Passkey.ts b/server-nest/src/models/entities/auth/Passkey.ts new file mode 100644 index 00000000..a62877b4 --- /dev/null +++ b/server-nest/src/models/entities/auth/Passkey.ts @@ -0,0 +1,54 @@ +/** + * AUTOGENERATED + */ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { User } from './User'; + +@Entity('passkey') +export class Passkey { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'name', nullable: true }) + name: string | null; + + @Column('text', { name: 'publicKey' }) + publicKey: string; + + @Index('passkey_userId_idx') + @Column('text', { name: 'userId' }) + userId: string; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user: User; + + @Index('passkey_credentialID_idx') + @Column('text', { name: 'credentialID' }) + credentialID: string; + + @Column('integer', { name: 'counter' }) + counter: number; + + @Column('text', { name: 'deviceType' }) + deviceType: string; + + @Column('boolean', { name: 'backedUp' }) + backedUp: boolean; + + @Column('text', { name: 'transports', nullable: true }) + transports: string | null; + + @Column({ type: 'timestamp', name: 'createdAt', nullable: true }) + createdAt: Date | null; + + @Column('text', { name: 'aaguid', nullable: true }) + aaguid: string | null; +} diff --git a/server-nest/src/models/entities/auth/Session.ts b/server-nest/src/models/entities/auth/Session.ts new file mode 100644 index 00000000..0b4fa585 --- /dev/null +++ b/server-nest/src/models/entities/auth/Session.ts @@ -0,0 +1,44 @@ +/** + * AUTOGENERATED + */ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { User } from './User'; + +@Entity('session') +export class Session { + @PrimaryColumn('text') + id: string; + + @Column({ type: 'timestamp', name: 'expiresAt' }) + expiresAt: Date; + + @Column('text', { name: 'token', unique: true }) + token: string; + + @Column({ type: 'timestamp', name: 'createdAt' }) + createdAt: Date; + + @Column({ type: 'timestamp', name: 'updatedAt' }) + updatedAt: Date; + + @Column('text', { name: 'ipAddress', nullable: true }) + ipAddress: string | null; + + @Column('text', { name: 'userAgent', nullable: true }) + userAgent: string | null; + + @Index('session_userId_idx') + @Column('text', { name: 'userId' }) + userId: string; + + @ManyToOne(() => User, { onDelete: 'CASCADE', nullable: false }) + @JoinColumn({ name: 'userId', referencedColumnName: 'id' }) + user: User; +} diff --git a/server-nest/src/models/entities/auth/User.ts b/server-nest/src/models/entities/auth/User.ts new file mode 100644 index 00000000..de181bf9 --- /dev/null +++ b/server-nest/src/models/entities/auth/User.ts @@ -0,0 +1,28 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, PrimaryColumn } from 'typeorm'; + +@Entity('user') +export class User { + @PrimaryColumn('text') + id: string; + + @Column('text', { name: 'name' }) + name: string; + + @Column('text', { name: 'email', unique: true }) + email: string; + + @Column('boolean', { name: 'emailVerified', default: false }) + emailVerified: boolean; + + @Column('text', { name: 'image', nullable: true }) + image: string | null; + + @Column({ type: 'timestamp', name: 'createdAt' }) + createdAt: Date; + + @Column({ type: 'timestamp', name: 'updatedAt' }) + updatedAt: Date; +} diff --git a/server-nest/src/models/entities/auth/Verification.ts b/server-nest/src/models/entities/auth/Verification.ts new file mode 100644 index 00000000..b0ea88ca --- /dev/null +++ b/server-nest/src/models/entities/auth/Verification.ts @@ -0,0 +1,26 @@ +/** + * AUTOGENERATED + */ +import { Column, Entity, Index, PrimaryColumn } from 'typeorm'; + +@Entity('verification') +export class Verification { + @PrimaryColumn('text') + id: string; + + @Index('verification_identifier_idx') + @Column('text', { name: 'identifier' }) + identifier: string; + + @Column('text', { name: 'value' }) + value: string; + + @Column({ type: 'timestamp', name: 'expiresAt' }) + expiresAt: Date; + + @Column({ type: 'timestamp', name: 'createdAt' }) + createdAt: Date; + + @Column({ type: 'timestamp', name: 'updatedAt' }) + updatedAt: Date; +} diff --git a/server-nest/src/models/entities/base/BaseEntity.ts b/server-nest/src/models/entities/base/BaseEntity.ts new file mode 100644 index 00000000..46a5e854 --- /dev/null +++ b/server-nest/src/models/entities/base/BaseEntity.ts @@ -0,0 +1,62 @@ +import { + Column, + CreateDateColumn, + DeleteDateColumn, + PrimaryColumn, + PrimaryGeneratedColumn, + UpdateDateColumn, +} from 'typeorm'; + +// Layer 1 — timestamps only, always present +export abstract class TimestampedEntity { + @CreateDateColumn({ name: 'created_at' }) + createdAt: Date; + + @UpdateDateColumn({ name: 'updated_at' }) + updatedAt: Date; +} + +export abstract class TimestampedSortableEntity extends TimestampedEntity { + @Column('int', { name: 'sort_order', default: 0 }) + sortOrder: number; +} + +// Layer 2 — adds soft delete +export abstract class SoftDeletableEntity extends TimestampedEntity { + @DeleteDateColumn({ name: 'deleted_at', nullable: true }) + deletedAt: Date | null; +} + +// Layer 3a — adds integer PK to timestamped entity +export abstract class IntBaseEntity extends TimestampedEntity { + @PrimaryGeneratedColumn() + id: number; +} + +export abstract class IntSortableBaseEntity extends IntBaseEntity { + @Column('int', { name: 'sort_order', default: 0 }) + sortOrder: number; +} + +// Layer 3b — adds integer PK + soft delete +export abstract class SoftDeletableIntBaseEntity extends SoftDeletableEntity { + @PrimaryGeneratedColumn() + id: number; +} + +// Layer 3c — natural/business string PK (e.g. country code, slug) +export abstract class StringBaseEntity extends TimestampedEntity { + @PrimaryColumn({ name: 'id' }) + id: string; +} + +export abstract class StringSortableBaseEntity extends StringBaseEntity { + @Column('int', { name: 'sort_order', default: 0 }) + sortOrder: number; +} + +// Layer 3d — natural string PK + soft delete +export abstract class SoftDeletableStringBaseEntity extends SoftDeletableEntity { + @PrimaryColumn({ name: 'id' }) + id: string; +} diff --git a/server-nest/src/models/entities/mcp/McpTokens.ts b/server-nest/src/models/entities/mcp/McpTokens.ts new file mode 100644 index 00000000..47a3bbbf --- /dev/null +++ b/server-nest/src/models/entities/mcp/McpTokens.ts @@ -0,0 +1,25 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_mcp_tokens_hash', ['tokenHash'], { unique: true }) +@Entity('mcp_tokens') +export class McpTokens extends IntBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'token_hash', unique: true }) + tokenHash: string; + + @Column({ name: 'token_prefix' }) + tokenPrefix: string; + + @Column({ name: 'last_used_at', nullable: true }) + lastUsedAt: Date | null; + + @ManyToOne(() => SqliteUsers, (users) => users.mcpTokens, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/notification/NotificationChannelPreferences.ts b/server-nest/src/models/entities/notification/NotificationChannelPreferences.ts new file mode 100644 index 00000000..2207954e --- /dev/null +++ b/server-nest/src/models/entities/notification/NotificationChannelPreferences.ts @@ -0,0 +1,35 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_ncp_user', ['userId'], {}) +@Entity('notification_channel_preferences') +export class NotificationChannelPreferences { + @PrimaryColumn('int', { name: 'user_id' }) + userId: number; + + @PrimaryColumn({ name: 'event_type' }) + eventType: string; + + @PrimaryColumn({ name: 'channel' }) + channel: string; + + @Column({ name: 'enabled', default: true }) + enabled: boolean; + + @ManyToOne( + () => SqliteUsers, + (users) => users.notificationChannelPreferences, + { + onDelete: 'CASCADE', + }, + ) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/notification/Notifications.ts b/server-nest/src/models/entities/notification/Notifications.ts new file mode 100644 index 00000000..9562759f --- /dev/null +++ b/server-nest/src/models/entities/notification/Notifications.ts @@ -0,0 +1,81 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_notifications_target_scope', ['target', 'scope'], {}) +@Index('idx_notifications_recipient_created', ['recipientId', 'createdAt'], {}) +@Index( + 'idx_notifications_recipient', + ['recipientId', 'isRead', 'createdAt'], + {}, +) +@Entity('notifications') +export class Notifications extends IntBaseEntity { + @Column({ name: 'type' }) + type: string; + + @Column({ name: 'scope' }) + scope: string; + + @Column('int', { name: 'target' }) + target: number; + + @Column('int', { name: 'recipient_id' }) + recipientId: number; + + @Column({ name: 'title_key' }) + titleKey: string; + + @Column('simple-json', { + name: 'title_params', + nullable: true, + default: {}, + }) + titleParams: Record | null; + + @Column({ name: 'text_key' }) + textKey: string; + + @Column('simple-json', { + name: 'text_params', + nullable: true, + default: {}, + }) + textParams: Record | null; + + @Column({ name: 'positive_text_key', nullable: true }) + positiveTextKey: string | null; + + @Column({ name: 'negative_text_key', nullable: true }) + negativeTextKey: string | null; + + @Column({ name: 'positive_callback', nullable: true }) + positiveCallback: string | null; + + @Column({ name: 'negative_callback', nullable: true }) + negativeCallback: string | null; + + @Column({ name: 'response', nullable: true }) + response: string | null; + + @Column({ name: 'navigate_text_key', nullable: true }) + navigateTextKey: string | null; + + @Column({ name: 'navigate_target', nullable: true }) + navigateTarget: string | null; + + @Column({ name: 'is_read', nullable: true, default: false }) + isRead: boolean | null; + + @ManyToOne(() => SqliteUsers, (users) => users.notifications, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'recipient_id', referencedColumnName: 'id' }]) + recipient: SqliteUsers; + + @ManyToOne(() => SqliteUsers, (users) => users.notifications2, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'sender_id', referencedColumnName: 'id' }]) + sender: SqliteUsers; +} diff --git a/server-nest/src/models/entities/old-entities/OldOauthClients.ts b/server-nest/src/models/entities/old-entities/OldOauthClients.ts new file mode 100644 index 00000000..28e01ea8 --- /dev/null +++ b/server-nest/src/models/entities/old-entities/OldOauthClients.ts @@ -0,0 +1,53 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { OldOauthConsents } from './OldOauthConsents'; +import { OldOauthTokens } from './OldOauthTokens'; +import { SqliteUsers } from './SqliteUsers'; +import { StringBaseEntity } from '../base/BaseEntity'; + +@Index('idx_oauth_clients_client_id', ['clientId'], { unique: true }) +@Index('idx_oauth_clients_user', ['userId'], {}) +@Entity('oauth_clients') +export class OldOauthClients extends StringBaseEntity { + @Column('int', { name: 'user_id', nullable: true }) + userId: number | null; + + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'client_id', unique: true }) + clientId: string; + + @Column({ name: 'client_secret_hash' }) + clientSecretHash: string; + + @Column('simple-array', { name: 'redirect_uris', default: [] }) + redirectUris: string[]; + + @Column('simple-array', { name: 'allowed_scopes', default: [] }) + allowedScopes: string[]; + + @Column({ name: 'is_public', default: false }) + isPublic: boolean; + + @Column({ name: 'created_via', default: 'settings_ui' }) + createdVia: string; + + @OneToMany(() => OldOauthConsents, (oauthConsents) => oauthConsents.client) + oauthConsents: OldOauthConsents[]; + + @OneToMany(() => OldOauthTokens, (oauthTokens) => oauthTokens.client) + oauthTokens: OldOauthTokens[]; + + @ManyToOne(() => SqliteUsers, (users) => users.oauthClients, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/old-entities/OldOauthConsents.ts b/server-nest/src/models/entities/old-entities/OldOauthConsents.ts new file mode 100644 index 00000000..ab8c1c21 --- /dev/null +++ b/server-nest/src/models/entities/old-entities/OldOauthConsents.ts @@ -0,0 +1,26 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { SqliteUsers } from './SqliteUsers'; +import { OldOauthClients } from './OldOauthClients'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Entity('oauth_consents') +export class OldOauthConsents extends IntBaseEntity { + @Column('simple-array', { name: 'scopes', default: [] }) + scopes: string[]; + + @ManyToOne(() => SqliteUsers, (users) => users.oauthConsents, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne( + () => OldOauthClients, + (oauthClients) => oauthClients.oauthConsents, + { + onDelete: 'CASCADE', + }, + ) + @JoinColumn([{ name: 'client_id', referencedColumnName: 'clientId' }]) + client: OldOauthClients; +} diff --git a/server-nest/src/models/entities/old-entities/OldOauthTokens.ts b/server-nest/src/models/entities/old-entities/OldOauthTokens.ts new file mode 100644 index 00000000..8760077b --- /dev/null +++ b/server-nest/src/models/entities/old-entities/OldOauthTokens.ts @@ -0,0 +1,68 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { SqliteUsers } from './SqliteUsers'; +import { OldOauthClients } from './OldOauthClients'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Index('idx_oauth_tokens_parent', ['parentTokenId'], {}) +@Index('idx_oauth_tokens_refresh', ['refreshTokenHash'], { unique: true }) +@Index('idx_oauth_tokens_access', ['accessTokenHash'], { unique: true }) +@Index('idx_oauth_tokens_user', ['userId'], {}) +@Entity('oauth_tokens') +export class OldOauthTokens extends IntBaseEntity { + @Column('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'access_token_hash', unique: true }) + accessTokenHash: string; + + @Column({ name: 'refresh_token_hash', unique: true }) + refreshTokenHash: string; + + @Column('simple-array', { name: 'scopes', default: [] }) + scopes: string[]; + + @Column('datetime', { name: 'access_token_expires_at' }) + accessTokenExpiresAt: Date; + + @Column('datetime', { name: 'refresh_token_expires_at' }) + refreshTokenExpiresAt: Date; + + @Column('datetime', { name: 'revoked_at', nullable: true }) + revokedAt: Date | null; + + @Column('int', { name: 'parent_token_id', nullable: true }) + parentTokenId: number | null; + + @Column({ name: 'audience', nullable: true }) + audience: string | null; + + @ManyToOne(() => OldOauthTokens, (oauthTokens) => oauthTokens.oauthTokens) + @JoinColumn([{ name: 'parent_token_id', referencedColumnName: 'id' }]) + parentToken: OldOauthTokens; + + @OneToMany(() => OldOauthTokens, (oauthTokens) => oauthTokens.parentToken) + oauthTokens: OldOauthTokens[]; + + @ManyToOne(() => SqliteUsers, (users) => users.oauthTokens, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne( + () => OldOauthClients, + (oauthClients) => oauthClients.oauthTokens, + { + onDelete: 'CASCADE', + }, + ) + @JoinColumn([{ name: 'client_id', referencedColumnName: 'clientId' }]) + client: OldOauthClients; +} diff --git a/server-nest/src/models/entities/old-entities/OldPasswordResetTokens.ts b/server-nest/src/models/entities/old-entities/OldPasswordResetTokens.ts new file mode 100644 index 00000000..7abc288c --- /dev/null +++ b/server-nest/src/models/entities/old-entities/OldPasswordResetTokens.ts @@ -0,0 +1,29 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { SqliteUsers } from './SqliteUsers'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Index('idx_prt_hash', ['tokenHash'], {}) +@Index('idx_prt_user', ['userId'], {}) +@Entity('password_reset_tokens') +export class OldPasswordResetTokens extends IntBaseEntity { + @Column('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'token_hash', unique: true }) + tokenHash: string; + + @Column({ name: 'expires_at' }) + expiresAt: Date; + + @Column({ name: 'consumed_at', nullable: true }) + consumedAt: Date | null; + + @Column({ name: 'created_ip', nullable: true }) + createdIp: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.passwordResetTokens, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/old-entities/SqliteUsers.ts b/server-nest/src/models/entities/old-entities/SqliteUsers.ts new file mode 100644 index 00000000..30ae5ba9 --- /dev/null +++ b/server-nest/src/models/entities/old-entities/SqliteUsers.ts @@ -0,0 +1,341 @@ +import { + Column, + Entity, + Index, + JoinTable, + ManyToMany, + OneToMany, + OneToOne, +} from 'typeorm'; +import { OldPasswordResetTokens } from './OldPasswordResetTokens'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { Settings } from '../system/Settings'; +import { Trips } from '../trip/Trips'; +import { Categories } from '../trip/Categories'; +import { Tags } from '../trip/Tags'; +import { TripFiles } from '../trip/files/TripFiles'; +import { BudgetItems } from '../trip/budget/BudgetItems'; +import { VacayPlans } from '../vacay/VacayPlans'; +import { TripMembers } from '../trip/TripMembers'; +import { VacayPlanMembers } from '../vacay/VacayPlanMembers'; +import { VacayUserColors } from '../vacay/VacayUserColors'; +import { VacayUserYears } from '../vacay/VacayUserYears'; +import { VacayEntries } from '../vacay/VacayEntries'; +import { CollabNotes } from '../trip/collab/CollabNotes'; +import { CollabPolls } from '../trip/collab/CollabPolls'; +import { CollabPollVotes } from '../trip/collab/CollabPollVotes'; +import { CollabMessages } from '../trip/collab/CollabMessages'; +import { AssignmentParticipants } from '../trip/AssignmentParticipants'; +import { AuditLog } from '../system/AuditLog'; +import { Notifications } from '../notification/Notifications'; +import { NotificationChannelPreferences } from '../notification/NotificationChannelPreferences'; +import { BudgetItemMembers } from '../trip/budget/BudgetItemMembers'; +import { CollabMessageReactions } from '../trip/collab/CollabMessageReactions'; +import { InviteTokens } from '../system/InviteTokens'; +import { PackingCategoryAssignees } from '../trip/lists/PackingCategoryAssignees'; +import { PackingTemplates } from '../trip/lists/PackingTemplates'; +import { PackingBags } from '../trip/lists/PackingBags'; +import { VisitedCountries } from '../atlas/VisitedCountries'; +import { BucketList } from '../atlas/BucketList'; +import { ShareTokens } from '../trip/ShareTokens'; +import { McpTokens } from '../mcp/McpTokens'; +import { TripAlbumLinks } from '../trip/journey/TripAlbumLinks'; +import { TodoItems } from '../trip/lists/TodoItems'; +import { TodoCategoryAssignees } from '../trip/lists/TodoCategoryAssignees'; +import { VisitedRegions } from '../atlas/VisitedRegions'; +import { OldOauthConsents } from './OldOauthConsents'; +import { OldOauthTokens } from './OldOauthTokens'; +import { Journeys } from '../trip/journey/Journeys'; +import { JourneyEntries } from '../trip/journey/JourneyEntries'; +import { JourneyContributors } from '../trip/journey/JourneyContributors'; +import { JourneyShareTokens } from '../trip/journey/JourneyShareTokens'; +import { TrekPhotos } from '../trip/journey/TrekPhotos'; +import { TripPhotos } from '../trip/TripPhotos'; +import { UserNoticeDismissals } from '../system/UserNoticeDismissals'; +import { IdempotencyKeys } from '../system/IdempotencyKeys'; +import { OldOauthClients } from './OldOauthClients'; + +@Index('idx_users_email', ['email'], {}) +@Entity('users') +export class SqliteUsers extends IntBaseEntity { + @Column({ name: 'username', unique: true }) + username: string; + + @Column({ name: 'email', unique: true }) + email: string; + + @Column({ name: 'password_hash' }) + passwordHash: string; + + @Column({ name: 'role', default: 'user' }) + role: string; + + @Column({ name: 'maps_api_key', nullable: true }) + mapsApiKey: string | null; + + @Column({ name: 'unsplash_api_key', nullable: true }) + unsplashApiKey: string | null; + + @Column({ name: 'openweather_api_key', nullable: true }) + openweatherApiKey: string | null; + + @Column({ name: 'avatar', nullable: true }) + avatar: string | null; + + @Column({ name: 'oidc_sub', nullable: true }) + oidcSub: string | null; + + @Column({ name: 'oidc_issuer', nullable: true }) + oidcIssuer: string | null; + + @Column({ name: 'last_login', nullable: true }) + lastLogin: Date | null; + + @Column({ + name: 'mfa_enabled', + default: false, + }) + mfaEnabled: boolean; + + @Column({ name: 'mfa_secret', nullable: true }) + mfaSecret: string | null; + + @Column({ name: 'mfa_backup_codes', nullable: true }) + mfaBackupCodes: string | null; + + @Column({ name: 'immich_url', nullable: true }) + immichUrl: string | null; + + @Column({ name: 'immich_access_token', nullable: true }) + immichAccessToken: string | null; + + @Column({ name: 'synology_url', nullable: true }) + synologyUrl: string | null; + + @Column({ name: 'synology_username', nullable: true }) + synologyUsername: string | null; + + @Column({ name: 'synology_password', nullable: true }) + synologyPassword: string | null; + + @Column({ name: 'synology_sid', nullable: true }) + synologySid: string | null; + + @Column({ + name: 'must_change_password', + default: false, + }) + mustChangePassword: boolean; + + @Column('int', { name: 'password_version', default: 0 }) + passwordVersion: number; + + @Column({ name: 'immich_api_key', nullable: true }) + immichApiKey: string | null; + + @Column({ name: 'synology_skip_ssl', default: false }) + synologySkipSsl: boolean; + + @Column({ name: 'synology_did', nullable: true }) + synologyDid: string | null; + + @Column('text', { name: 'first_seen_version', default: '0.0.0' }) + firstSeenVersion: string; + + @Column('int', { name: 'login_count', default: 0 }) + loginCount: number; + + @Column({ name: 'immich_auto_upload', default: false }) + immichAutoUpload: boolean; + + @OneToMany( + () => OldPasswordResetTokens, + (passwordResetTokens) => passwordResetTokens.user, + ) + passwordResetTokens: OldPasswordResetTokens[]; + + @OneToMany(() => Settings, (settings) => settings.user) + settings: Settings[]; + + @OneToMany(() => Trips, (trips) => trips.user) + trips: Trips[]; + + @OneToMany(() => Categories, (categories) => categories.user) + categories: Categories[]; + + @OneToMany(() => Tags, (tags) => tags.user) + tags: Tags[]; + + @OneToMany(() => TripFiles, (tripFiles) => tripFiles.uploadedBy) + tripFiles: TripFiles[]; + + @OneToMany(() => TripMembers, (tripMembers) => tripMembers.invitedBy) + tripMembers: TripMembers[]; + + @OneToMany(() => TripMembers, (tripMembers) => tripMembers.user) + tripMembers2: TripMembers[]; + + @OneToMany(() => BudgetItems, (budgetItems) => budgetItems.paidByUser) + budgetItems: BudgetItems[]; + + @OneToOne(() => VacayPlans, (vacayPlans) => vacayPlans.owner) + vacayPlans: VacayPlans; + + @OneToMany( + () => VacayPlanMembers, + (vacayPlanMembers) => vacayPlanMembers.user, + ) + vacayPlanMembers: VacayPlanMembers[]; + + @OneToMany(() => VacayUserColors, (vacayUserColors) => vacayUserColors.user) + vacayUserColors: VacayUserColors[]; + + @OneToMany(() => VacayUserYears, (vacayUserYears) => vacayUserYears.user) + vacayUserYears: VacayUserYears[]; + + @OneToMany(() => VacayEntries, (vacayEntries) => vacayEntries.user) + vacayEntries: VacayEntries[]; + + @OneToMany(() => CollabNotes, (collabNotes) => collabNotes.user) + collabNotes: CollabNotes[]; + + @OneToMany(() => CollabPolls, (collabPolls) => collabPolls.user) + collabPolls: CollabPolls[]; + + @OneToMany(() => CollabPollVotes, (collabPollVotes) => collabPollVotes.user) + collabPollVotes: CollabPollVotes[]; + + @OneToMany(() => CollabMessages, (collabMessages) => collabMessages.user) + collabMessages: CollabMessages[]; + + @OneToMany( + () => AssignmentParticipants, + (assignmentParticipants) => assignmentParticipants.user, + ) + assignmentParticipants: AssignmentParticipants[]; + + @OneToMany(() => AuditLog, (auditLog) => auditLog.user) + auditLogs: AuditLog[]; + + @OneToMany(() => Notifications, (notifications) => notifications.recipient) + notifications: Notifications[]; + + @OneToMany(() => Notifications, (notifications) => notifications.sender) + notifications2: Notifications[]; + + @OneToMany( + () => NotificationChannelPreferences, + (notificationChannelPreferences) => notificationChannelPreferences.user, + ) + notificationChannelPreferences: NotificationChannelPreferences[]; + + @OneToMany( + () => BudgetItemMembers, + (budgetItemMembers) => budgetItemMembers.user, + ) + budgetItemMembers: BudgetItemMembers[]; + + @OneToMany( + () => CollabMessageReactions, + (collabMessageReactions) => collabMessageReactions.user, + ) + collabMessageReactions: CollabMessageReactions[]; + + @OneToMany(() => InviteTokens, (inviteTokens) => inviteTokens.createdBy) + inviteTokens: InviteTokens[]; + + @OneToMany( + () => PackingCategoryAssignees, + (packingCategoryAssignees) => packingCategoryAssignees.user, + ) + packingCategoryAssignees: PackingCategoryAssignees[]; + + @OneToMany( + () => PackingTemplates, + (packingTemplates) => packingTemplates.createdBy, + ) + packingTemplates: PackingTemplates[]; + + @OneToMany(() => PackingBags, (packingBags) => packingBags.user) + packingBags: PackingBags[]; + + @OneToMany( + () => VisitedCountries, + (visitedCountries) => visitedCountries.user, + ) + visitedCountries: VisitedCountries[]; + + @OneToMany(() => BucketList, (bucketList) => bucketList.user) + bucketLists: BucketList[]; + + @OneToMany(() => ShareTokens, (shareTokens) => shareTokens.createdBy) + shareTokens: ShareTokens[]; + + @OneToMany(() => McpTokens, (mcpTokens) => mcpTokens.user) + mcpTokens: McpTokens[]; + + @OneToMany(() => TripAlbumLinks, (tripAlbumLinks) => tripAlbumLinks.user) + tripAlbumLinks: TripAlbumLinks[]; + + @OneToMany(() => TodoItems, (todoItems) => todoItems.assignedUser) + todoItems: TodoItems[]; + + @OneToMany( + () => TodoCategoryAssignees, + (todoCategoryAssignees) => todoCategoryAssignees.user, + ) + todoCategoryAssignees: TodoCategoryAssignees[]; + + @OneToMany(() => VisitedRegions, (visitedRegions) => visitedRegions.user) + visitedRegions: VisitedRegions[]; + + @ManyToMany(() => PackingBags, (packingBags) => packingBags.users) + @JoinTable({ + name: 'packing_bag_members', + joinColumns: [{ name: 'user_id', referencedColumnName: 'id' }], + inverseJoinColumns: [{ name: 'bag_id', referencedColumnName: 'id' }], + }) + packingBags2: PackingBags[]; + + @OneToMany(() => OldOauthConsents, (oauthConsents) => oauthConsents.user) + oauthConsents: OldOauthConsents[]; + + @OneToMany(() => OldOauthTokens, (oauthTokens) => oauthTokens.user) + oauthTokens: OldOauthTokens[]; + + @OneToMany(() => Journeys, (journeys) => journeys.user) + journeys: Journeys[]; + + @OneToMany(() => JourneyEntries, (journeyEntries) => journeyEntries.author) + journeyEntries: JourneyEntries[]; + + @OneToMany( + () => JourneyContributors, + (journeyContributors) => journeyContributors.user, + ) + journeyContributors: JourneyContributors[]; + + @OneToMany( + () => JourneyShareTokens, + (journeyShareTokens) => journeyShareTokens.createdBy, + ) + journeyShareTokens: JourneyShareTokens[]; + + @OneToMany(() => TrekPhotos, (trekPhotos) => trekPhotos.owner) + trekPhotos: TrekPhotos[]; + + @OneToMany(() => TripPhotos, (tripPhotos) => tripPhotos.user) + tripPhotos: TripPhotos[]; + + @OneToMany( + () => UserNoticeDismissals, + (userNoticeDismissals) => userNoticeDismissals.user, + ) + userNoticeDismissals: UserNoticeDismissals[]; + + @OneToMany(() => IdempotencyKeys, (idempotencyKeys) => idempotencyKeys.user) + idempotencyKeys: IdempotencyKeys[]; + + @OneToMany(() => OldOauthClients, (oauthClients) => oauthClients.user) + oauthClients: OldOauthClients[]; +} diff --git a/server-nest/src/models/entities/system/Addons.ts b/server-nest/src/models/entities/system/Addons.ts new file mode 100644 index 00000000..43bbe8ed --- /dev/null +++ b/server-nest/src/models/entities/system/Addons.ts @@ -0,0 +1,23 @@ +import { Column, Entity } from 'typeorm'; +import { StringSortableBaseEntity } from '../base/BaseEntity'; + +@Entity('addons') +export class Addons extends StringSortableBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'description', nullable: true }) + description: string | null; + + @Column({ name: 'type', default: 'global' }) + type: string; + + @Column({ name: 'icon', default: 'Puzzle' }) + icon: string | null; + + @Column('int', { name: 'enabled', default: 0 }) + enabled: number; + + @Column('simple-json', { name: 'config', nullable: true, default: null }) + config: Record | null; +} diff --git a/server-nest/src/models/entities/system/AppSettings.ts b/server-nest/src/models/entities/system/AppSettings.ts new file mode 100644 index 00000000..8f11b048 --- /dev/null +++ b/server-nest/src/models/entities/system/AppSettings.ts @@ -0,0 +1,10 @@ +import { Column, Entity, PrimaryColumn } from 'typeorm'; + +@Entity('app_settings') +export class AppSettings { + @PrimaryColumn({ name: 'key' }) + declare id: string; + + @Column({ name: 'value', nullable: true }) + value: string | null; +} diff --git a/server-nest/src/models/entities/system/AuditLog.ts b/server-nest/src/models/entities/system/AuditLog.ts new file mode 100644 index 00000000..acb44f4f --- /dev/null +++ b/server-nest/src/models/entities/system/AuditLog.ts @@ -0,0 +1,25 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_audit_log_created', ['createdAt'], {}) +@Entity('audit_log') +export class AuditLog extends IntBaseEntity { + @Column({ name: 'action' }) + action: string; + + @Column({ name: 'resource', nullable: true }) + resource: string | null; + + @Column('simple-json', { name: 'details', nullable: true }) + details: Record | null; + + @Column({ name: 'ip', nullable: true }) + ip: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.auditLogs, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/system/FileLinks.ts b/server-nest/src/models/entities/system/FileLinks.ts new file mode 100644 index 00000000..df4b5fe7 --- /dev/null +++ b/server-nest/src/models/entities/system/FileLinks.ts @@ -0,0 +1,35 @@ +import { Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { Places } from '../trip/Places'; +import { Reservations } from '../trip/reservation/Reservations'; +import { TripFiles } from '../trip/files/TripFiles'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { DayAssignments } from '../trip/DayAssignments'; + +@Entity('file_links') +export class FileLinks extends IntBaseEntity { + @ManyToOne(() => Places, (places) => places.fileLinks, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne( + () => DayAssignments, + (dayAssignments) => dayAssignments.fileLinks, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'assignment_id', referencedColumnName: 'id' }]) + assignment: DayAssignments; + + @ManyToOne(() => Reservations, (reservations) => reservations.fileLinks, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'reservation_id', referencedColumnName: 'id' }]) + reservation: Reservations; + + @ManyToOne(() => TripFiles, (tripFiles) => tripFiles.fileLinks, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'file_id', referencedColumnName: 'id' }]) + file: TripFiles; +} diff --git a/server-nest/src/models/entities/system/IdempotencyKeys.ts b/server-nest/src/models/entities/system/IdempotencyKeys.ts new file mode 100644 index 00000000..294ee309 --- /dev/null +++ b/server-nest/src/models/entities/system/IdempotencyKeys.ts @@ -0,0 +1,38 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { TimestampedEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_idempotency_keys_created', ['createdAt'], {}) +@Entity('idempotency_keys') +export class IdempotencyKeys extends TimestampedEntity { + @PrimaryColumn({ name: 'key' }) + key: string; + + @PrimaryColumn('int', { name: 'user_id' }) + userId: number; + + @PrimaryColumn({ name: 'method' }) + method: string; + + @PrimaryColumn('text', { name: 'path' }) + path: string; + + @Column('int', { name: 'status_code' }) + statusCode: number; + + @Column('text', { name: 'response_body' }) + responseBody: string; + + @ManyToOne(() => SqliteUsers, (users) => users.idempotencyKeys, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/system/InviteTokens.ts b/server-nest/src/models/entities/system/InviteTokens.ts new file mode 100644 index 00000000..e39a0b5a --- /dev/null +++ b/server-nest/src/models/entities/system/InviteTokens.ts @@ -0,0 +1,24 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('invite_tokens') +export class InviteTokens extends IntBaseEntity { + @Column({ name: 'token', unique: true }) + token: string; + + @Column('int', { name: 'max_uses', default: 1 }) + maxUses: number; + + @Column('int', { name: 'used_count', default: 0 }) + usedCount: number; + + @Column({ name: 'expires_at', nullable: true }) + expiresAt: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.inviteTokens, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'created_by', referencedColumnName: 'id' }]) + createdBy: SqliteUsers; +} diff --git a/server-nest/src/models/entities/system/SchemaVersion.ts b/server-nest/src/models/entities/system/SchemaVersion.ts new file mode 100644 index 00000000..d6f24d68 --- /dev/null +++ b/server-nest/src/models/entities/system/SchemaVersion.ts @@ -0,0 +1,10 @@ +import { Column, Entity, PrimaryColumn } from 'typeorm'; + +@Entity('schema_version') +export class SchemaVersion { + @PrimaryColumn('int', { name: 'id' }) + id: number | null; + + @Column('int', { name: 'version' }) + version: number; +} diff --git a/server-nest/src/models/entities/system/Settings.ts b/server-nest/src/models/entities/system/Settings.ts new file mode 100644 index 00000000..309ded3f --- /dev/null +++ b/server-nest/src/models/entities/system/Settings.ts @@ -0,0 +1,18 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('settings') +export class Settings extends IntBaseEntity { + @Column({ name: 'key' }) + key: string; + + @Column({ name: 'value', nullable: true }) + value: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.settings, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/system/UserNoticeDismissals.ts b/server-nest/src/models/entities/system/UserNoticeDismissals.ts new file mode 100644 index 00000000..f79e19d0 --- /dev/null +++ b/server-nest/src/models/entities/system/UserNoticeDismissals.ts @@ -0,0 +1,21 @@ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { TimestampedEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('user_notice_dismissals') +export class UserNoticeDismissals extends TimestampedEntity { + @PrimaryColumn('int', { name: 'user_id' }) + userId: number; + + @PrimaryColumn({ name: 'notice_id' }) + noticeId: string; + + @Column('int', { name: 'dismissed_at' }) + dismissedAt: number; + + @ManyToOne(() => SqliteUsers, (users) => users.userNoticeDismissals, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/trip/AssignmentParticipants.ts b/server-nest/src/models/entities/trip/AssignmentParticipants.ts new file mode 100644 index 00000000..8c2d802d --- /dev/null +++ b/server-nest/src/models/entities/trip/AssignmentParticipants.ts @@ -0,0 +1,25 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { DayAssignments } from './DayAssignments'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_assignment_participants_assignment', ['assignmentId'], {}) +@Entity('assignment_participants') +export class AssignmentParticipants extends IntBaseEntity { + @Column('int', { name: 'assignment_id' }) + assignmentId: number; + + @ManyToOne(() => SqliteUsers, (users) => users.assignmentParticipants, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne( + () => DayAssignments, + (dayAssignments) => dayAssignments.assignmentParticipants, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'assignment_id', referencedColumnName: 'id' }]) + assignment: DayAssignments; +} diff --git a/server-nest/src/models/entities/trip/Categories.ts b/server-nest/src/models/entities/trip/Categories.ts new file mode 100644 index 00000000..2cf00de5 --- /dev/null +++ b/server-nest/src/models/entities/trip/Categories.ts @@ -0,0 +1,25 @@ +import { Column, Entity, JoinColumn, ManyToOne, OneToMany } from 'typeorm'; +import { Places } from './Places'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('categories') +export class Categories extends IntBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'color', nullable: true, default: '#6366f1' }) + color: string | null; + + @Column({ name: 'icon', nullable: true, default: '📍' }) + icon: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.categories, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @OneToMany(() => Places, (places) => places.category) + places: Places[]; +} diff --git a/server-nest/src/models/entities/trip/DayAccommodations.ts b/server-nest/src/models/entities/trip/DayAccommodations.ts new file mode 100644 index 00000000..2be529a4 --- /dev/null +++ b/server-nest/src/models/entities/trip/DayAccommodations.ts @@ -0,0 +1,59 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Days } from './Days'; +import { Places } from './Places'; +import { Trips } from './Trips'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Index('idx_day_accommodations_end_day_id', ['endDayId'], {}) +@Index('idx_day_accommodations_start_day_id', ['startDayId'], {}) +@Index('idx_day_accommodations_trip_id', ['tripId'], {}) +@Entity('day_accommodations') +export class DayAccommodations extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'start_day_id' }) + startDayId: number; + + @Column('int', { name: 'end_day_id' }) + endDayId: number; + + @Column({ name: 'check_in', nullable: true }) + checkIn: string | null; + + @Column({ name: 'check_in_end', nullable: true }) + checkInEnd: string | null; + + @Column({ name: 'check_out', nullable: true }) + checkOut: string | null; + + @Column({ name: 'confirmation', nullable: true }) + confirmation: string | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @ManyToOne(() => Days, (days) => days.dayAccommodations, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'end_day_id', referencedColumnName: 'id' }]) + endDay: Days; + + @ManyToOne(() => Days, (days) => days.dayAccommodations2, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'start_day_id', referencedColumnName: 'id' }]) + startDay: Days; + + @ManyToOne(() => Places, (places) => places.dayAccommodations, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne(() => Trips, (trips) => trips.dayAccommodations, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/DayAssignments.ts b/server-nest/src/models/entities/trip/DayAssignments.ts new file mode 100644 index 00000000..77f861de --- /dev/null +++ b/server-nest/src/models/entities/trip/DayAssignments.ts @@ -0,0 +1,76 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Places } from './Places'; +import { Days } from './Days'; +import { AssignmentParticipants } from './AssignmentParticipants'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { Reservations } from './reservation/Reservations'; +import { FileLinks } from '../system/FileLinks'; + +@Index('idx_day_assignments_place_id', ['placeId'], {}) +@Index('idx_day_assignments_day_id', ['dayId'], {}) +@Entity('day_assignments') +export class DayAssignments extends IntBaseEntity { + @Column('int', { name: 'day_id' }) + dayId: number; + + @Column('int', { name: 'place_id' }) + placeId: number; + + @Column('int', { + name: 'order_index', + nullable: true, + default: 0, + }) + orderIndex: number | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @Column({ + name: 'reservation_status', + nullable: true, + default: 'none', + }) + reservationStatus: string | null; + + @Column('text', { name: 'reservation_notes', nullable: true }) + reservationNotes: string | null; + + @Column({ name: 'reservation_datetime', nullable: true }) + reservationDatetime: string | null; + + @Column({ name: 'assignment_time', nullable: true }) + assignmentTime: string | null; + + @Column({ name: 'assignment_end_time', nullable: true }) + assignmentEndTime: string | null; + + @ManyToOne(() => Places, (places) => places.dayAssignments, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne(() => Days, (days) => days.dayAssignments, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'day_id', referencedColumnName: 'id' }]) + day: Days; + + @OneToMany(() => Reservations, (reservations) => reservations.assignment) + reservations: Reservations[]; + + @OneToMany( + () => AssignmentParticipants, + (assignmentParticipants) => assignmentParticipants.assignment, + ) + assignmentParticipants: AssignmentParticipants[]; + + @OneToMany(() => FileLinks, (fileLinks) => fileLinks.assignment) + fileLinks: FileLinks[]; +} diff --git a/server-nest/src/models/entities/trip/DayNotes.ts b/server-nest/src/models/entities/trip/DayNotes.ts new file mode 100644 index 00000000..de7f76f5 --- /dev/null +++ b/server-nest/src/models/entities/trip/DayNotes.ts @@ -0,0 +1,28 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from './Trips'; +import { Days } from './Days'; +import { IntSortableBaseEntity } from '../base/BaseEntity'; + +@Index('idx_day_notes_day_id', ['dayId'], {}) +@Entity('day_notes') +export class DayNotes extends IntSortableBaseEntity { + @Column('int', { name: 'day_id' }) + dayId: number; + + @Column('text', { name: 'text' }) + text: string; + + @Column({ name: 'time', nullable: true }) + time: string | null; + + @Column({ name: 'icon', nullable: true, default: '📝' }) + icon: string | null; + + @ManyToOne(() => Trips, (trips) => trips.dayNotes, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @ManyToOne(() => Days, (days) => days.dayNotes, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'day_id', referencedColumnName: 'id' }]) + day: Days; +} diff --git a/server-nest/src/models/entities/trip/Days.ts b/server-nest/src/models/entities/trip/Days.ts new file mode 100644 index 00000000..916da79e --- /dev/null +++ b/server-nest/src/models/entities/trip/Days.ts @@ -0,0 +1,72 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Trips } from './Trips'; +import { DayAssignments } from './DayAssignments'; +import { DayNotes } from './DayNotes'; +import { DayAccommodations } from './DayAccommodations'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { Photos } from './journey/Photos'; +import { Reservations } from './reservation/Reservations'; +import { ReservationDayPositions } from './reservation/ReservationDayPositions'; + +@Index('idx_days_trip_id', ['tripId'], {}) +@Entity('days') +export class Days extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'day_number' }) + dayNumber: number; + + @Column({ name: 'date', nullable: true }) + date: string | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @Column({ name: 'title', nullable: true }) + title: string | null; + + @ManyToOne(() => Trips, (trips) => trips.days, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany(() => DayAssignments, (dayAssignments) => dayAssignments.day) + dayAssignments: DayAssignments[]; + + @OneToMany(() => Photos, (photos) => photos.day) + photos: Photos[]; + + @OneToMany(() => Reservations, (reservations) => reservations.endDay) + reservations: Reservations[]; + + @OneToMany(() => Reservations, (reservations) => reservations.day) + reservations2: Reservations[]; + + @OneToMany(() => DayNotes, (dayNotes) => dayNotes.day) + dayNotes: DayNotes[]; + + @OneToMany( + () => ReservationDayPositions, + (reservationDayPositions) => reservationDayPositions.day, + ) + reservationDayPositions: ReservationDayPositions[]; + + @OneToMany( + () => DayAccommodations, + (dayAccommodations) => dayAccommodations.endDay, + ) + dayAccommodations: DayAccommodations[]; + + @OneToMany( + () => DayAccommodations, + (dayAccommodations) => dayAccommodations.startDay, + ) + dayAccommodations2: DayAccommodations[]; +} diff --git a/server-nest/src/models/entities/trip/GooglePlacePhotoMeta.ts b/server-nest/src/models/entities/trip/GooglePlacePhotoMeta.ts new file mode 100644 index 00000000..c6b6631d --- /dev/null +++ b/server-nest/src/models/entities/trip/GooglePlacePhotoMeta.ts @@ -0,0 +1,17 @@ +import { Column, Entity, PrimaryColumn } from 'typeorm'; +import { TimestampedEntity } from '../base/BaseEntity'; + +@Entity('google_place_photo_meta') +export class GooglePlacePhotoMeta extends TimestampedEntity { + @PrimaryColumn({ name: 'place_id' }) + placeId: string; + + @Column({ name: 'attribution', nullable: true }) + attribution: string | null; + + @Column('int', { name: 'fetched_at' }) + fetchedAt: number; + + @Column('int', { name: 'error_at', nullable: true }) + errorAt: number | null; +} diff --git a/server-nest/src/models/entities/trip/PlaceDetailsCache.ts b/server-nest/src/models/entities/trip/PlaceDetailsCache.ts new file mode 100644 index 00000000..4d624033 --- /dev/null +++ b/server-nest/src/models/entities/trip/PlaceDetailsCache.ts @@ -0,0 +1,20 @@ +import { Column, Entity, PrimaryColumn } from 'typeorm'; +import { TimestampedEntity } from '../base/BaseEntity'; + +@Entity('place_details_cache') +export class PlaceDetailsCache extends TimestampedEntity { + @PrimaryColumn({ name: 'place_id' }) + placeId: string; + + @PrimaryColumn({ name: 'lang', default: '' }) + lang: string; + + @PrimaryColumn('int', { name: 'expanded', default: 0 }) + expanded: number; + + @Column('simple-json', { name: 'payload_json' }) + payloadJson: Record; + + @Column('int', { name: 'fetched_at' }) + fetchedAt: number; +} diff --git a/server-nest/src/models/entities/trip/PlaceRegions.ts b/server-nest/src/models/entities/trip/PlaceRegions.ts new file mode 100644 index 00000000..be9c6237 --- /dev/null +++ b/server-nest/src/models/entities/trip/PlaceRegions.ts @@ -0,0 +1,23 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Places } from './Places'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Index('idx_place_regions_region', ['regionCode'], {}) +@Index('idx_place_regions_country', ['countryCode'], {}) +@Entity('place_regions') +export class PlaceRegions extends IntBaseEntity { + @Column({ name: 'country_code' }) + countryCode: string; + + @Column({ name: 'region_code' }) + regionCode: string; + + @Column({ name: 'region_name' }) + regionName: string; + + @ManyToOne(() => Places, (places) => places.placeRegions, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; +} diff --git a/server-nest/src/models/entities/trip/Places.ts b/server-nest/src/models/entities/trip/Places.ts new file mode 100644 index 00000000..86151b3f --- /dev/null +++ b/server-nest/src/models/entities/trip/Places.ts @@ -0,0 +1,150 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToMany, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Categories } from './Categories'; +import { Trips } from './Trips'; +import { Tags } from './Tags'; +import { DayAssignments } from './DayAssignments'; +import { Photos } from './journey/Photos'; +import { TripFiles } from './files/TripFiles'; +import { Reservations } from './reservation/Reservations'; +import { FileLinks } from '../system/FileLinks'; +import { PlaceRegions } from './PlaceRegions'; +import { JourneyEntries } from './journey/JourneyEntries'; +import { DayAccommodations } from './DayAccommodations'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Index('idx_places_category_id', ['categoryId'], {}) +@Index('idx_places_trip_id', ['tripId'], {}) +@Entity('places') +export class Places extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'name' }) + name: string; + + @Column('text', { name: 'description', nullable: true }) + description: string | null; + + @Column({ name: 'lat', nullable: true }) + lat: number | null; + + @Column({ name: 'lng', nullable: true }) + lng: number | null; + + @Column({ name: 'address', nullable: true }) + address: string | null; + + @Column('int', { name: 'category_id', nullable: true }) + categoryId: number | null; + + @Column({ name: 'price', nullable: true }) + price: number | null; + + @Column({ name: 'currency', nullable: true }) + currency: string | null; + + @Column({ + name: 'reservation_status', + nullable: true, + default: 'none', + }) + reservationStatus: string | null; + + @Column('text', { name: 'reservation_notes', nullable: true }) + reservationNotes: string | null; + + @Column({ name: 'reservation_datetime', nullable: true }) + reservationDatetime: string | null; + + @Column({ name: 'place_time', nullable: true }) + placeTime: string | null; + + @Column({ name: 'end_time', nullable: true }) + endTime: string | null; + + @Column('int', { + name: 'duration_minutes', + nullable: true, + default: 60, + }) + durationMinutes: number | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @Column('text', { name: 'image_url', nullable: true }) + imageUrl: string | null; + + @Column({ name: 'google_place_id', nullable: true }) + googlePlaceId: string | null; + + @Column({ name: 'website', nullable: true }) + website: string | null; + + @Column('text', { name: 'phone', nullable: true }) + phone: string | null; + + @Column({ + name: 'transport_mode', + nullable: true, + default: 'walking', + }) + transportMode: string | null; + + @Column({ name: 'osm_id', nullable: true }) + osmId: string | null; + + @Column('text', { name: 'route_geometry', nullable: true }) + routeGeometry: string | null; + + @ManyToOne(() => Categories, (categories) => categories.places, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'category_id', referencedColumnName: 'id' }]) + category: Categories; + + @ManyToOne(() => Trips, (trips) => trips.places, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @ManyToMany(() => Tags, (tags) => tags.places) + tags: Tags[]; + + @OneToMany(() => DayAssignments, (dayAssignments) => dayAssignments.place) + dayAssignments: DayAssignments[]; + + @OneToMany(() => Photos, (photos) => photos.place) + photos: Photos[]; + + @OneToMany(() => TripFiles, (tripFiles) => tripFiles.place) + tripFiles: TripFiles[]; + + @OneToMany(() => Reservations, (reservations) => reservations.place) + reservations: Reservations[]; + + @OneToMany(() => FileLinks, (fileLinks) => fileLinks.place) + fileLinks: FileLinks[]; + + @OneToMany(() => PlaceRegions, (placeRegions) => placeRegions.place) + placeRegions: PlaceRegions[]; + + @OneToMany( + () => JourneyEntries, + (journeyEntries) => journeyEntries.sourcePlace, + ) + journeyEntries: JourneyEntries[]; + + @OneToMany( + () => DayAccommodations, + (dayAccommodations) => dayAccommodations.place, + ) + dayAccommodations: DayAccommodations[]; +} diff --git a/server-nest/src/models/entities/trip/ShareTokens.ts b/server-nest/src/models/entities/trip/ShareTokens.ts new file mode 100644 index 00000000..31d2584d --- /dev/null +++ b/server-nest/src/models/entities/trip/ShareTokens.ts @@ -0,0 +1,49 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from './Trips'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_share_tokens_token', ['token'], {}) +@Entity('share_tokens') +export class ShareTokens extends IntBaseEntity { + @Column({ name: 'token', unique: true }) + token: string; + + @Column({ name: 'share_map', default: true }) + shareMap: boolean; + + @Column({ + name: 'share_bookings', + default: true, + }) + shareBookings: boolean; + + @Column({ + name: 'share_packing', + default: false, + }) + sharePacking: boolean; + + @Column({ + name: 'share_budget', + default: false, + }) + shareBudget: boolean; + + @Column({ + name: 'share_collab', + default: false, + }) + shareCollab: boolean; + + @Column({ name: 'expires_at', nullable: true }) + expiresAt: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.shareTokens) + @JoinColumn([{ name: 'created_by', referencedColumnName: 'id' }]) + createdBy: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.shareTokens, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/Tags.ts b/server-nest/src/models/entities/trip/Tags.ts new file mode 100644 index 00000000..cc7c638f --- /dev/null +++ b/server-nest/src/models/entities/trip/Tags.ts @@ -0,0 +1,32 @@ +import { + Column, + Entity, + JoinColumn, + JoinTable, + ManyToMany, + ManyToOne, +} from 'typeorm'; +import { Places } from './Places'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('tags') +export class Tags extends IntBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'color', nullable: true, default: () => "'#10b981'" }) + color: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.tags, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToMany(() => Places, (places) => places.tags) + @JoinTable({ + name: 'place_tags', + joinColumns: [{ name: 'tag_id', referencedColumnName: 'id' }], + inverseJoinColumns: [{ name: 'place_id', referencedColumnName: 'id' }], + }) + places: Places[]; +} diff --git a/server-nest/src/models/entities/trip/TripMembers.ts b/server-nest/src/models/entities/trip/TripMembers.ts new file mode 100644 index 00000000..3e5efd0c --- /dev/null +++ b/server-nest/src/models/entities/trip/TripMembers.ts @@ -0,0 +1,29 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from './Trips'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_trip_members_user_id', ['userId'], {}) +@Index('idx_trip_members_trip_id', ['tripId'], {}) +@Entity('trip_members') +export class TripMembers extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'user_id' }) + userId: number; + + @ManyToOne(() => SqliteUsers, (users) => users.tripMembers) + @JoinColumn([{ name: 'invited_by', referencedColumnName: 'id' }]) + invitedBy: SqliteUsers; + + @ManyToOne(() => SqliteUsers, (users) => users.tripMembers2, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.tripMembers, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/TripPhotos.ts b/server-nest/src/models/entities/trip/TripPhotos.ts new file mode 100644 index 00000000..d17a7e04 --- /dev/null +++ b/server-nest/src/models/entities/trip/TripPhotos.ts @@ -0,0 +1,44 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { TripAlbumLinks } from './journey/TripAlbumLinks'; +import { TrekPhotos } from './journey/TrekPhotos'; +import { Trips } from './Trips'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Index('idx_trip_photos_photo', ['photoId'], {}) +@Index('idx_trip_photos_trip', ['tripId'], {}) +@Entity('trip_photos') +export class TripPhotos extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'photo_id' }) + photoId: number; + + @Column({ name: 'shared', default: true }) + shared: boolean; + + @ManyToOne( + () => TripAlbumLinks, + (tripAlbumLinks) => tripAlbumLinks.tripPhotos, + { onDelete: 'SET NULL' }, + ) + @JoinColumn([{ name: 'album_link_id', referencedColumnName: 'id' }]) + albumLink: TripAlbumLinks; + + @ManyToOne(() => TrekPhotos, (trekPhotos) => trekPhotos.tripPhotos, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'photo_id', referencedColumnName: 'id' }]) + photo: TrekPhotos; + + @ManyToOne(() => SqliteUsers, (users) => users.tripPhotos, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.tripPhotos, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/Trips.ts b/server-nest/src/models/entities/trip/Trips.ts new file mode 100644 index 00000000..b065d77b --- /dev/null +++ b/server-nest/src/models/entities/trip/Trips.ts @@ -0,0 +1,161 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Days } from './Days'; +import { Places } from './Places'; +import { PackingItems } from './lists/PackingItems'; +import { Photos } from './journey/Photos'; +import { TripFiles } from './files/TripFiles'; +import { Reservations } from './reservation/Reservations'; +import { TripMembers } from './TripMembers'; +import { DayNotes } from './DayNotes'; +import { PackingCategoryAssignees } from './lists/PackingCategoryAssignees'; +import { PackingBags } from './lists/PackingBags'; +import { ShareTokens } from './ShareTokens'; +import { TripAlbumLinks } from './journey/TripAlbumLinks'; +import { TodoItems } from './lists/TodoItems'; +import { TodoCategoryAssignees } from './lists/TodoCategoryAssignees'; +import { JourneyTrips } from './journey/JourneyTrips'; +import { JourneyEntries } from './journey/JourneyEntries'; +import { TripPhotos } from './TripPhotos'; +import { DayAccommodations } from './DayAccommodations'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; +import { BudgetItems } from './budget/BudgetItems'; +import { CollabNotes } from './collab/CollabNotes'; +import { CollabPolls } from './collab/CollabPolls'; +import { CollabMessages } from './collab/CollabMessages'; +import { BudgetCategoryOrder } from './budget/BudgetCategoryOrder'; + +@Index('idx_trips_created_at', ['createdAt'], {}) +@Index('idx_trips_user_id', ['userId'], {}) +@Entity('trips') +export class Trips extends IntBaseEntity { + @Column('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'title' }) + title: string; + + @Column('text', { name: 'description', nullable: true }) + description: string | null; + + @Column({ name: 'start_date', nullable: true }) + startDate: string | null; + + @Column({ name: 'end_date', nullable: true }) + endDate: string | null; + + @Column({ name: 'currency', nullable: true, default: 'EUR' }) + currency: string | null; + + @Column({ name: 'cover_image', nullable: true }) + coverImage: string | null; + + @Column({ + name: 'is_archived', + nullable: true, + default: false, + }) + isArchived: boolean; + + @Column('int', { + name: 'reminder_days', + nullable: true, + default: 3, + }) + reminderDays: number | null; + + @ManyToOne(() => SqliteUsers, (users) => users.trips, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @OneToMany(() => Days, (days) => days.trip) + days: Days[]; + + @OneToMany(() => Places, (places) => places.trip) + places: Places[]; + + @OneToMany(() => PackingItems, (packingItems) => packingItems.trip) + packingItems: PackingItems[]; + + @OneToMany(() => Photos, (photos) => photos.trip) + photos: Photos[]; + + @OneToMany(() => TripFiles, (tripFiles) => tripFiles.trip) + tripFiles: TripFiles[]; + + @OneToMany(() => Reservations, (reservations) => reservations.trip) + reservations: Reservations[]; + + @OneToMany(() => TripMembers, (tripMembers) => tripMembers.trip) + tripMembers: TripMembers[]; + + @OneToMany(() => DayNotes, (dayNotes) => dayNotes.trip) + dayNotes: DayNotes[]; + + @OneToMany(() => BudgetItems, (budgetItems) => budgetItems.trip) + budgetItems: BudgetItems[]; + + @OneToMany(() => CollabNotes, (collabNotes) => collabNotes.trip) + collabNotes: CollabNotes[]; + + @OneToMany(() => CollabPolls, (collabPolls) => collabPolls.trip) + collabPolls: CollabPolls[]; + + @OneToMany(() => CollabMessages, (collabMessages) => collabMessages.trip) + collabMessages: CollabMessages[]; + + @OneToMany( + () => PackingCategoryAssignees, + (packingCategoryAssignees) => packingCategoryAssignees.trip, + ) + packingCategoryAssignees: PackingCategoryAssignees[]; + + @OneToMany(() => PackingBags, (packingBags) => packingBags.trip) + packingBags: PackingBags[]; + + @OneToMany(() => ShareTokens, (shareTokens) => shareTokens.trip) + shareTokens: ShareTokens[]; + + @OneToMany(() => TripAlbumLinks, (tripAlbumLinks) => tripAlbumLinks.trip) + tripAlbumLinks: TripAlbumLinks[]; + + @OneToMany(() => TodoItems, (todoItems) => todoItems.trip) + todoItems: TodoItems[]; + + @OneToMany( + () => TodoCategoryAssignees, + (todoCategoryAssignees) => todoCategoryAssignees.trip, + ) + todoCategoryAssignees: TodoCategoryAssignees[]; + + @OneToMany( + () => BudgetCategoryOrder, + (budgetCategoryOrder) => budgetCategoryOrder.trip, + ) + budgetCategoryOrders: BudgetCategoryOrder[]; + + @OneToMany(() => JourneyTrips, (journeyTrips) => journeyTrips.trip) + journeyTrips: JourneyTrips[]; + + @OneToMany( + () => JourneyEntries, + (journeyEntries) => journeyEntries.sourceTrip, + ) + journeyEntries: JourneyEntries[]; + + @OneToMany(() => TripPhotos, (tripPhotos) => tripPhotos.trip) + tripPhotos: TripPhotos[]; + + @OneToMany( + () => DayAccommodations, + (dayAccommodations) => dayAccommodations.trip, + ) + dayAccommodations: DayAccommodations[]; +} diff --git a/server-nest/src/models/entities/trip/budget/BudgetCategoryOrder.ts b/server-nest/src/models/entities/trip/budget/BudgetCategoryOrder.ts new file mode 100644 index 00000000..fd7a0abd --- /dev/null +++ b/server-nest/src/models/entities/trip/budget/BudgetCategoryOrder.ts @@ -0,0 +1,18 @@ +import { Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { Trips } from '../Trips'; +import { TimestampedSortableEntity } from '../../base/BaseEntity'; + +@Entity('budget_category_order') +export class BudgetCategoryOrder extends TimestampedSortableEntity { + @PrimaryColumn('int', { name: 'trip_id' }) + tripId: number; + + @PrimaryColumn({ name: 'category' }) + category: string; + + @ManyToOne(() => Trips, (trips) => trips.budgetCategoryOrders, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/budget/BudgetItemMembers.ts b/server-nest/src/models/entities/trip/budget/BudgetItemMembers.ts new file mode 100644 index 00000000..b8eb0c94 --- /dev/null +++ b/server-nest/src/models/entities/trip/budget/BudgetItemMembers.ts @@ -0,0 +1,32 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { BudgetItems } from './BudgetItems'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { IntBaseEntity } from '../../base/BaseEntity'; + +@Index('idx_budget_item_members_user', ['userId'], {}) +@Index('idx_budget_item_members_item', ['budgetItemId'], {}) +@Entity('budget_item_members') +export class BudgetItemMembers extends IntBaseEntity { + @Column('int', { name: 'budget_item_id' }) + budgetItemId: number; + + @Column('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'paid', default: false }) + paid: boolean; + + @ManyToOne(() => SqliteUsers, (users) => users.budgetItemMembers, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne( + () => BudgetItems, + (budgetItems) => budgetItems.budgetItemMembers, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'budget_item_id', referencedColumnName: 'id' }]) + budgetItem: BudgetItems; +} diff --git a/server-nest/src/models/entities/trip/budget/BudgetItems.ts b/server-nest/src/models/entities/trip/budget/BudgetItems.ts new file mode 100644 index 00000000..c20fc9d9 --- /dev/null +++ b/server-nest/src/models/entities/trip/budget/BudgetItems.ts @@ -0,0 +1,65 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; +import { Reservations } from '../reservation/Reservations'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { Trips } from '../Trips'; +import { BudgetItemMembers } from './BudgetItemMembers'; + +@Index('idx_budget_items_trip_id', ['tripId'], {}) +@Entity('budget_items') +export class BudgetItems extends IntSortableBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'category', default: 'Other' }) + category: string; + + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'total_price', default: 0 }) + totalPrice: number; + + @Column('int', { name: 'persons', nullable: true, default: null }) + persons: number | null; + + @Column('int', { name: 'days', nullable: true, default: null }) + days: number | null; + + @Column('text', { name: 'note', nullable: true }) + note: string | null; + + @Column({ + name: 'expense_date', + nullable: true, + default: null, + }) + expenseDate: string | null; + + @ManyToOne(() => Reservations, (reservations) => reservations.budgetItems, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'reservation_id', referencedColumnName: 'id' }]) + reservation: Reservations; + + @ManyToOne(() => SqliteUsers, (users) => users.budgetItems) + @JoinColumn([{ name: 'paid_by_user_id', referencedColumnName: 'id' }]) + paidByUser: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.budgetItems, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany( + () => BudgetItemMembers, + (budgetItemMembers) => budgetItemMembers.budgetItem, + ) + budgetItemMembers: BudgetItemMembers[]; +} diff --git a/server-nest/src/models/entities/trip/collab/CollabMessageReactions.ts b/server-nest/src/models/entities/trip/collab/CollabMessageReactions.ts new file mode 100644 index 00000000..c581a568 --- /dev/null +++ b/server-nest/src/models/entities/trip/collab/CollabMessageReactions.ts @@ -0,0 +1,28 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { CollabMessages } from './CollabMessages'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_collab_reactions_msg', ['messageId'], {}) +@Entity('collab_message_reactions') +export class CollabMessageReactions extends IntBaseEntity { + @Column('int', { name: 'message_id' }) + messageId: number; + + @Column({ name: 'emoji' }) + emoji: string; + + @ManyToOne(() => SqliteUsers, (users) => users.collabMessageReactions, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne( + () => CollabMessages, + (collabMessages) => collabMessages.collabMessageReactions, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'message_id', referencedColumnName: 'id' }]) + message: CollabMessages; +} diff --git a/server-nest/src/models/entities/trip/collab/CollabMessages.ts b/server-nest/src/models/entities/trip/collab/CollabMessages.ts new file mode 100644 index 00000000..515ac540 --- /dev/null +++ b/server-nest/src/models/entities/trip/collab/CollabMessages.ts @@ -0,0 +1,51 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { CollabMessageReactions } from './CollabMessageReactions'; +import { SoftDeletableIntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { Trips } from '../Trips'; + +@Index('idx_collab_messages_trip', ['tripId'], {}) +@Entity('collab_messages') +export class CollabMessages extends SoftDeletableIntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('text', { name: 'text' }) + text: string; + + @ManyToOne( + () => CollabMessages, + (collabMessages) => collabMessages.collabMessages, + { onDelete: 'SET NULL' }, + ) + @JoinColumn([{ name: 'reply_to', referencedColumnName: 'id' }]) + replyTo: CollabMessages; + + @OneToMany(() => CollabMessages, (collabMessages) => collabMessages.replyTo) + collabMessages: CollabMessages[]; + + @ManyToOne(() => SqliteUsers, (users) => users.collabMessages, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.collabMessages, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany( + () => CollabMessageReactions, + (collabMessageReactions) => collabMessageReactions.message, + ) + collabMessageReactions: CollabMessageReactions[]; +} diff --git a/server-nest/src/models/entities/trip/collab/CollabNotes.ts b/server-nest/src/models/entities/trip/collab/CollabNotes.ts new file mode 100644 index 00000000..60fe4289 --- /dev/null +++ b/server-nest/src/models/entities/trip/collab/CollabNotes.ts @@ -0,0 +1,54 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { TripFiles } from '../files/TripFiles'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { Trips } from '../Trips'; + +@Index('idx_collab_notes_trip', ['tripId'], {}) +@Entity('collab_notes') +export class CollabNotes extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ + name: 'category', + nullable: true, + default: 'General', + }) + category: string | null; + + @Column({ name: 'title' }) + title: string; + + @Column('text', { name: 'content', nullable: true }) + content: string | null; + + @Column({ name: 'color', nullable: true, default: '#6366f1' }) + color: string | null; + + @Column('int', { name: 'pinned', nullable: true, default: 0 }) + pinned: number | null; + + @Column({ name: 'website', nullable: true }) + website: string | null; + + @OneToMany(() => TripFiles, (tripFiles) => tripFiles.note) + tripFiles: TripFiles[]; + + @ManyToOne(() => SqliteUsers, (users) => users.collabNotes, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.collabNotes, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/collab/CollabPollVotes.ts b/server-nest/src/models/entities/trip/collab/CollabPollVotes.ts new file mode 100644 index 00000000..038f9275 --- /dev/null +++ b/server-nest/src/models/entities/trip/collab/CollabPollVotes.ts @@ -0,0 +1,22 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { CollabPolls } from './CollabPolls'; + +@Entity('collab_poll_votes') +export class CollabPollVotes extends IntBaseEntity { + @Column('int', { name: 'option_index' }) + optionIndex: number; + + @ManyToOne(() => SqliteUsers, (users) => users.collabPollVotes, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => CollabPolls, (collabPolls) => collabPolls.collabPollVotes, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'poll_id', referencedColumnName: 'id' }]) + poll: CollabPolls; +} diff --git a/server-nest/src/models/entities/trip/collab/CollabPolls.ts b/server-nest/src/models/entities/trip/collab/CollabPolls.ts new file mode 100644 index 00000000..c61c06a2 --- /dev/null +++ b/server-nest/src/models/entities/trip/collab/CollabPolls.ts @@ -0,0 +1,47 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { Trips } from '../Trips'; +import { CollabPollVotes } from './CollabPollVotes'; + +@Index('idx_collab_polls_trip', ['tripId'], {}) +@Entity('collab_polls') +export class CollabPolls extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'question' }) + question: string; + + @Column({ name: 'options' }) + options: string; + + @Column('int', { name: 'multiple', nullable: true, default: 0 }) + multiple: number | null; + + @Column('int', { name: 'closed', nullable: true, default: 0 }) + closed: number | null; + + @Column({ name: 'deadline', nullable: true }) + deadline: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.collabPolls, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.collabPolls, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany(() => CollabPollVotes, (collabPollVotes) => collabPollVotes.poll) + collabPollVotes: CollabPollVotes[]; +} diff --git a/server-nest/src/models/entities/trip/files/TripFiles.ts b/server-nest/src/models/entities/trip/files/TripFiles.ts new file mode 100644 index 00000000..3256721c --- /dev/null +++ b/server-nest/src/models/entities/trip/files/TripFiles.ts @@ -0,0 +1,71 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Reservations } from '../reservation/Reservations'; +import { Places } from '../Places'; +import { Trips } from '../Trips'; +import { FileLinks } from '../../system/FileLinks'; +import { SoftDeletableIntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; +import { CollabNotes } from '../collab/CollabNotes'; + +@Index('idx_trip_files_trip_id', ['tripId'], {}) +@Entity('trip_files') +export class TripFiles extends SoftDeletableIntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'filename' }) + filename: string; + + @Column({ name: 'original_name' }) + originalName: string; + + @Column('int', { name: 'file_size', nullable: true }) + fileSize: number | null; + + @Column({ name: 'mime_type', nullable: true }) + mimeType: string | null; + + @Column('text', { name: 'description', nullable: true }) + description: string | null; + + @Column({ name: 'starred', nullable: true, default: false }) + starred: boolean; + + @ManyToOne(() => SqliteUsers, (users) => users.tripFiles, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'uploaded_by', referencedColumnName: 'id' }]) + uploadedBy: SqliteUsers; + + @ManyToOne(() => CollabNotes, (collabNotes) => collabNotes.tripFiles, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'note_id', referencedColumnName: 'id' }]) + note: CollabNotes; + + @ManyToOne(() => Reservations, (reservations) => reservations.tripFiles, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'reservation_id', referencedColumnName: 'id' }]) + reservation: Reservations; + + @ManyToOne(() => Places, (places) => places.tripFiles, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne(() => Trips, (trips) => trips.tripFiles, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany(() => FileLinks, (fileLinks) => fileLinks.file) + fileLinks: FileLinks[]; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyContributors.ts b/server-nest/src/models/entities/trip/journey/JourneyContributors.ts new file mode 100644 index 00000000..06488218 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyContributors.ts @@ -0,0 +1,37 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + PrimaryColumn, +} from 'typeorm'; +import { Journeys } from './Journeys'; +import { TimestampedEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_journey_contributors_user', ['userId'], {}) +@Entity('journey_contributors') +export class JourneyContributors extends TimestampedEntity { + @PrimaryColumn('int', { name: 'journey_id' }) + journeyId: number; + + @PrimaryColumn('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'role' }) + role: string; + + @Column({ name: 'hide_skeletons', default: false }) + hideSkeletons: boolean; + + @ManyToOne(() => SqliteUsers, (users) => users.journeyContributors) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Journeys, (journeys) => journeys.journeyContributors, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'journey_id', referencedColumnName: 'id' }]) + journey: Journeys; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyEntries.ts b/server-nest/src/models/entities/trip/journey/JourneyEntries.ts new file mode 100644 index 00000000..27235ff2 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyEntries.ts @@ -0,0 +1,97 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Places } from '../Places'; +import { Trips } from '../Trips'; +import { Journeys } from './Journeys'; +import { JourneyEntryPhotos } from './JourneyEntryPhotos'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_journey_entries_order', ['journeyId', 'entryDate', 'sortOrder'], {}) +@Index('idx_journey_entries_source', ['sourcePlaceId'], {}) +@Index('idx_journey_entries_journey', ['journeyId', 'entryDate'], {}) +@Entity('journey_entries') +export class JourneyEntries extends IntSortableBaseEntity { + @Column('int', { name: 'journey_id' }) + journeyId: number; + + @Column('int', { name: 'source_place_id', nullable: true }) + sourcePlaceId: number | null; + + @Column({ name: 'type' }) + type: string; + + @Column({ name: 'title', nullable: true }) + title: string | null; + + @Column('text', { name: 'story', nullable: true }) + story: string | null; + + @Column({ name: 'entry_date' }) + entryDate: string; + + @Column({ name: 'entry_time', nullable: true }) + entryTime: string | null; + + @Column({ name: 'location_name', nullable: true }) + locationName: string | null; + + @Column({ name: 'location_lat', nullable: true }) + locationLat: number | null; + + @Column({ name: 'location_lng', nullable: true }) + locationLng: number | null; + + @Column({ name: 'mood', nullable: true }) + mood: string | null; + + @Column({ name: 'weather', nullable: true }) + weather: string | null; + + @Column({ name: 'tags', nullable: true }) + tags: string | null; + + @Column({ + name: 'visibility', + nullable: true, + default: 'private', + }) + visibility: string | null; + + @Column('text', { name: 'pros_cons', nullable: true }) + prosCons: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.journeyEntries) + @JoinColumn([{ name: 'author_id', referencedColumnName: 'id' }]) + author: SqliteUsers; + + @ManyToOne(() => Places, (places) => places.journeyEntries, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'source_place_id', referencedColumnName: 'id' }]) + sourcePlace: Places; + + @ManyToOne(() => Trips, (trips) => trips.journeyEntries, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'source_trip_id', referencedColumnName: 'id' }]) + sourceTrip: Trips; + + @ManyToOne(() => Journeys, (journeys) => journeys.journeyEntries, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'journey_id', referencedColumnName: 'id' }]) + journey: Journeys; + + @OneToMany( + () => JourneyEntryPhotos, + (journeyEntryPhotos) => journeyEntryPhotos.entry, + ) + journeyEntryPhotos: JourneyEntryPhotos[]; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyEntryPhotos.ts b/server-nest/src/models/entities/trip/journey/JourneyEntryPhotos.ts new file mode 100644 index 00000000..2211c1e1 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyEntryPhotos.ts @@ -0,0 +1,31 @@ +import { Entity, Index, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { JourneyPhotos } from './JourneyPhotos'; +import { JourneyEntries } from './JourneyEntries'; +import { TimestampedSortableEntity } from '../../base/BaseEntity'; + +@Index('idx_journey_entry_photos_photo', ['journeyPhotoId'], {}) +@Index('idx_journey_entry_photos_entry', ['entryId'], {}) +@Entity('journey_entry_photos') +export class JourneyEntryPhotos extends TimestampedSortableEntity { + @PrimaryColumn('int', { name: 'entry_id' }) + entryId: number; + + @PrimaryColumn('int', { name: 'journey_photo_id' }) + journeyPhotoId: number; + + @ManyToOne( + () => JourneyPhotos, + (journeyPhotos) => journeyPhotos.journeyEntryPhotos, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'journey_photo_id', referencedColumnName: 'id' }]) + journeyPhoto: JourneyPhotos; + + @ManyToOne( + () => JourneyEntries, + (journeyEntries) => journeyEntries.journeyEntryPhotos, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'entry_id', referencedColumnName: 'id' }]) + entry: JourneyEntries; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyPhotos.ts b/server-nest/src/models/entities/trip/journey/JourneyPhotos.ts new file mode 100644 index 00000000..873ca963 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyPhotos.ts @@ -0,0 +1,52 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { TrekPhotos } from './TrekPhotos'; +import { Journeys } from './Journeys'; +import { JourneyEntryPhotos } from './JourneyEntryPhotos'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Index('idx_journey_photos_journey', ['journeyId'], {}) +@Entity('journey_photos') +export class JourneyPhotos extends IntSortableBaseEntity { + @Column('int', { name: 'journey_id' }) + journeyId: number; + + @Column({ name: 'caption', nullable: true }) + caption: string | null; + + @Column({ name: 'shared', default: false }) + shared: boolean; + + @Column({ name: 'provider', nullable: true }) + provider: string | null; + + @Column({ name: 'asset_id', nullable: true }) + assetId: string | null; + + @Column('int', { name: 'owner_id', nullable: true }) + ownerId: number | null; + + @ManyToOne(() => TrekPhotos, (trekPhotos) => trekPhotos.journeyPhotos, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'photo_id', referencedColumnName: 'id' }]) + photo: TrekPhotos; + + @ManyToOne(() => Journeys, (journeys) => journeys.journeyPhotos, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'journey_id', referencedColumnName: 'id' }]) + journey: Journeys; + + @OneToMany( + () => JourneyEntryPhotos, + (journeyEntryPhotos) => journeyEntryPhotos.journeyPhoto, + ) + journeyEntryPhotos: JourneyEntryPhotos[]; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyShareTokens.ts b/server-nest/src/models/entities/trip/journey/JourneyShareTokens.ts new file mode 100644 index 00000000..20acfc50 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyShareTokens.ts @@ -0,0 +1,48 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToOne, +} from 'typeorm'; +import { Journeys } from './Journeys'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_journey_share_journey', ['journeyId'], { unique: true }) +@Entity('journey_share_tokens') +export class JourneyShareTokens extends IntBaseEntity { + @Column('int', { name: 'journey_id', unique: true }) + journeyId: number; + + @Column({ name: 'token', unique: true }) + token: string; + + @Column({ + name: 'share_timeline', + nullable: true, + default: true, + }) + shareTimeline: boolean | null; + + @Column({ + name: 'share_gallery', + nullable: true, + default: true, + }) + shareGallery: boolean | null; + + @Column({ name: 'share_map', nullable: true, default: true }) + shareMap: boolean | null; + + @ManyToOne(() => SqliteUsers, (users) => users.journeyShareTokens) + @JoinColumn([{ name: 'created_by', referencedColumnName: 'id' }]) + createdBy: SqliteUsers; + + @OneToOne(() => Journeys, (journeys) => journeys.journeyShareTokens, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'journey_id', referencedColumnName: 'id' }]) + journey: Journeys; +} diff --git a/server-nest/src/models/entities/trip/journey/JourneyTrips.ts b/server-nest/src/models/entities/trip/journey/JourneyTrips.ts new file mode 100644 index 00000000..b4fe7b1d --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/JourneyTrips.ts @@ -0,0 +1,26 @@ +import { Entity, Index, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { Trips } from '../Trips'; +import { Journeys } from './Journeys'; +import { TimestampedEntity } from '../../base/BaseEntity'; + +@Index('idx_journey_trips_journey', ['journeyId'], {}) +@Entity('journey_trips') +export class JourneyTrips extends TimestampedEntity { + @PrimaryColumn('int', { name: 'journey_id' }) + journeyId: number; + + @PrimaryColumn('int', { name: 'trip_id' }) + tripId: number; + + @ManyToOne(() => Trips, (trips) => trips.journeyTrips, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @ManyToOne(() => Journeys, (journeys) => journeys.journeyTrips, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'journey_id', referencedColumnName: 'id' }]) + journey: Journeys; +} diff --git a/server-nest/src/models/entities/trip/journey/Journeys.ts b/server-nest/src/models/entities/trip/journey/Journeys.ts new file mode 100644 index 00000000..f4e592ef --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/Journeys.ts @@ -0,0 +1,63 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, + OneToOne, +} from 'typeorm'; +import { JourneyTrips } from './JourneyTrips'; +import { JourneyEntries } from './JourneyEntries'; +import { JourneyContributors } from './JourneyContributors'; +import { JourneyShareTokens } from './JourneyShareTokens'; +import { JourneyPhotos } from './JourneyPhotos'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_journeys_user', ['userId'], {}) +@Entity('journeys') +export class Journeys extends IntBaseEntity { + @Column('int', { name: 'user_id' }) + userId: number; + + @Column({ name: 'title' }) + title: string; + + @Column({ name: 'subtitle', nullable: true }) + subtitle: string | null; + + @Column({ name: 'cover_gradient', nullable: true }) + coverGradient: string | null; + + @Column({ name: 'status', nullable: true, default: 'draft' }) + status: string | null; + + @Column({ name: 'cover_image', nullable: true }) + coverImage: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.journeys) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @OneToMany(() => JourneyTrips, (journeyTrips) => journeyTrips.journey) + journeyTrips: JourneyTrips[]; + + @OneToMany(() => JourneyEntries, (journeyEntries) => journeyEntries.journey) + journeyEntries: JourneyEntries[]; + + @OneToMany( + () => JourneyContributors, + (journeyContributors) => journeyContributors.journey, + ) + journeyContributors: JourneyContributors[]; + + @OneToOne( + () => JourneyShareTokens, + (journeyShareTokens) => journeyShareTokens.journey, + ) + journeyShareTokens: JourneyShareTokens; + + @OneToMany(() => JourneyPhotos, (journeyPhotos) => journeyPhotos.journey) + journeyPhotos: JourneyPhotos[]; +} diff --git a/server-nest/src/models/entities/trip/journey/PhotoProviderFields.ts b/server-nest/src/models/entities/trip/journey/PhotoProviderFields.ts new file mode 100644 index 00000000..edbad549 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/PhotoProviderFields.ts @@ -0,0 +1,41 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { PhotoProviders } from './PhotoProviders'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Entity('photo_provider_fields') +export class PhotoProviderFields extends IntSortableBaseEntity { + @Column({ name: 'field_key' }) + fieldKey: string; + + @Column({ name: 'label' }) + label: string; + + @Column({ name: 'input_type', default: 'text' }) + inputType: string; + + @Column({ name: 'placeholder', nullable: true }) + placeholder: string | null; + + @Column({ name: 'hint', nullable: true }) + hint: string | null; + + @Column({ name: 'required', nullable: true, default: false }) + required: boolean; + + @Column({ name: 'secret', nullable: true, default: false }) + secret: boolean; + + @Column({ name: 'settings_key', nullable: true }) + settingsKey: string | null; + + @Column({ name: 'payload_key', nullable: true }) + payloadKey: string | null; + + @ManyToOne( + () => PhotoProviders, + (photoProviders) => photoProviders.photoProviderFields, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'provider_id', referencedColumnName: 'id' }]) + provider: PhotoProviders; +} diff --git a/server-nest/src/models/entities/trip/journey/PhotoProviders.ts b/server-nest/src/models/entities/trip/journey/PhotoProviders.ts new file mode 100644 index 00000000..8a8d03be --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/PhotoProviders.ts @@ -0,0 +1,24 @@ +import { Column, Entity, OneToMany } from 'typeorm'; +import { PhotoProviderFields } from './PhotoProviderFields'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Entity('photo_providers') +export class PhotoProviders extends IntSortableBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column('text', { name: 'description', nullable: true }) + description: string | null; + + @Column({ name: 'icon', nullable: true, default: 'Image' }) + icon: string | null; + + @Column({ name: 'enabled', nullable: true, default: false }) + enabled: boolean; + + @OneToMany( + () => PhotoProviderFields, + (photoProviderFields) => photoProviderFields.provider, + ) + photoProviderFields: PhotoProviderFields[]; +} diff --git a/server-nest/src/models/entities/trip/journey/Photos.ts b/server-nest/src/models/entities/trip/journey/Photos.ts new file mode 100644 index 00000000..527f4e44 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/Photos.ts @@ -0,0 +1,50 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Places } from '../Places'; +import { Trips } from '../Trips'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { Days } from '../Days'; + +@Index('idx_photos_place_id', ['placeId'], {}) +@Index('idx_photos_day_id', ['dayId'], {}) +@Index('idx_photos_trip_id', ['tripId'], {}) +@Entity('photos') +export class Photos extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'day_id', nullable: true }) + dayId: number | null; + + @Column('int', { name: 'place_id', nullable: true }) + placeId: number | null; + + @Column({ name: 'filename' }) + filename: string; + + @Column({ name: 'original_name' }) + originalName: string; + + @Column('int', { name: 'file_size', nullable: true }) + fileSize: number | null; + + @Column({ name: 'mime_type', nullable: true }) + mimeType: string | null; + + @Column({ name: 'caption', nullable: true }) + caption: string | null; + + @Column({ name: 'taken_at', nullable: true }) + takenAt: string | null; + + @ManyToOne(() => Places, (places) => places.photos, { onDelete: 'SET NULL' }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne(() => Days, (days) => days.photos, { onDelete: 'SET NULL' }) + @JoinColumn([{ name: 'day_id', referencedColumnName: 'id' }]) + day: Days; + + @ManyToOne(() => Trips, (trips) => trips.photos, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/journey/TrekPhotoCacheMeta.ts b/server-nest/src/models/entities/trip/journey/TrekPhotoCacheMeta.ts new file mode 100644 index 00000000..720268b4 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/TrekPhotoCacheMeta.ts @@ -0,0 +1,14 @@ +import { Column, Entity, Index, PrimaryColumn } from 'typeorm'; + +@Index('idx_trek_photo_cache_meta_fetched_at', ['fetchedAt'], {}) +@Entity('trek_photo_cache_meta') +export class TrekPhotoCacheMeta { + @PrimaryColumn({ name: 'cache_key' }) + cacheKey: string; + + @Column({ name: 'content_type', default: 'image/jpeg' }) + contentType: string; + + @Column('int', { name: 'fetched_at' }) + fetchedAt: number; +} diff --git a/server-nest/src/models/entities/trip/journey/TrekPhotos.ts b/server-nest/src/models/entities/trip/journey/TrekPhotos.ts new file mode 100644 index 00000000..4de73d07 --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/TrekPhotos.ts @@ -0,0 +1,55 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { TripPhotos } from '../TripPhotos'; +import { JourneyPhotos } from './JourneyPhotos'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_trek_photos_owner', ['ownerId'], {}) +@Index('idx_trek_photos_provider_asset', ['provider', 'assetId', 'ownerId'], { + unique: true, +}) +@Entity('trek_photos') +export class TrekPhotos extends IntBaseEntity { + @Column({ name: 'provider' }) + provider: string; + + @Column({ name: 'asset_id', nullable: true }) + assetId: string | null; + + @Column('int', { name: 'owner_id', nullable: true }) + ownerId: number | null; + + @Column({ name: 'file_path', nullable: true }) + filePath: string | null; + + @Column({ name: 'thumbnail_path', nullable: true }) + thumbnailPath: string | null; + + @Column('int', { name: 'width', nullable: true }) + width: number | null; + + @Column('int', { name: 'height', nullable: true }) + height: number | null; + + @Column({ name: 'passphrase', nullable: true, default: null }) + passphrase: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.trekPhotos, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'owner_id', referencedColumnName: 'id' }]) + owner: SqliteUsers; + + @OneToMany(() => TripPhotos, (tripPhotos) => tripPhotos.photo) + tripPhotos: TripPhotos[]; + + @OneToMany(() => JourneyPhotos, (journeyPhotos) => journeyPhotos.photo) + journeyPhotos: JourneyPhotos[]; +} diff --git a/server-nest/src/models/entities/trip/journey/TripAlbumLinks.ts b/server-nest/src/models/entities/trip/journey/TripAlbumLinks.ts new file mode 100644 index 00000000..1da0a08c --- /dev/null +++ b/server-nest/src/models/entities/trip/journey/TripAlbumLinks.ts @@ -0,0 +1,52 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { Trips } from '../Trips'; +import { TripPhotos } from '../TripPhotos'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_trip_album_links_trip', ['tripId'], {}) +@Entity('trip_album_links') +export class TripAlbumLinks extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'provider' }) + provider: string; + + @Column({ name: 'album_id' }) + albumId: string; + + @Column({ name: 'album_name', default: '' }) + albumName: string; + + @Column({ name: 'sync_enabled', default: true }) + syncEnabled: boolean; + + @Column('datetime', { name: 'last_synced_at', nullable: true }) + lastSyncedAt: Date | null; + + @Column({ name: 'passphrase', nullable: true, default: null }) + passphrase: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.tripAlbumLinks, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.tripAlbumLinks, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany(() => TripPhotos, (tripPhotos) => tripPhotos.albumLink) + tripPhotos: TripPhotos[]; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingBags.ts b/server-nest/src/models/entities/trip/lists/PackingBags.ts new file mode 100644 index 00000000..3786c9bb --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingBags.ts @@ -0,0 +1,40 @@ +import { + Column, + Entity, + JoinColumn, + ManyToMany, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { PackingItems } from './PackingItems'; +import { Trips } from '../Trips'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Entity('packing_bags') +export class PackingBags extends IntSortableBaseEntity { + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'color', default: () => "'#6366f1'" }) + color: string; + + @Column('int', { name: 'weight_limit_grams', nullable: true }) + weightLimitGrams: number | null; + + @OneToMany(() => PackingItems, (packingItems) => packingItems.bag) + packingItems: PackingItems[]; + + @ManyToOne(() => SqliteUsers, (users) => users.packingBags, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.packingBags, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @ManyToMany(() => SqliteUsers, (users) => users.packingBags2) + users: SqliteUsers[]; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingCategoryAssignees.ts b/server-nest/src/models/entities/trip/lists/PackingCategoryAssignees.ts new file mode 100644 index 00000000..b1264e79 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingCategoryAssignees.ts @@ -0,0 +1,22 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from '../Trips'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Entity('packing_category_assignees') +export class PackingCategoryAssignees extends IntBaseEntity { + @Column({ name: 'category_name' }) + categoryName: string; + + @ManyToOne(() => SqliteUsers, (users) => users.packingCategoryAssignees, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.packingCategoryAssignees, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingItems.ts b/server-nest/src/models/entities/trip/lists/PackingItems.ts new file mode 100644 index 00000000..b0f73494 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingItems.ts @@ -0,0 +1,38 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { PackingBags } from './PackingBags'; +import { Trips } from '../Trips'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Index('idx_packing_items_trip_id', ['tripId'], {}) +@Entity('packing_items') +export class PackingItems extends IntSortableBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'checked', nullable: true, default: false }) + checked: boolean; + + @Column({ name: 'category', nullable: true }) + category: string | null; + + @Column('int', { name: 'weight_grams', nullable: true }) + weightGrams: number | null; + + @Column('int', { name: 'quantity', default: 1 }) + quantity: number; + + @ManyToOne(() => PackingBags, (packingBags) => packingBags.packingItems, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'bag_id', referencedColumnName: 'id' }]) + bag: PackingBags; + + @ManyToOne(() => Trips, (trips) => trips.packingItems, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingTemplateCategories.ts b/server-nest/src/models/entities/trip/lists/PackingTemplateCategories.ts new file mode 100644 index 00000000..ecf8facf --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingTemplateCategories.ts @@ -0,0 +1,24 @@ +import { Column, Entity, JoinColumn, ManyToOne, OneToMany } from 'typeorm'; +import { PackingTemplates } from './PackingTemplates'; +import { PackingTemplateItems } from './PackingTemplateItems'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Entity('packing_template_categories') +export class PackingTemplateCategories extends IntSortableBaseEntity { + @Column({ name: 'name' }) + name: string; + + @ManyToOne( + () => PackingTemplates, + (packingTemplates) => packingTemplates.packingTemplateCategories, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'template_id', referencedColumnName: 'id' }]) + template: PackingTemplates; + + @OneToMany( + () => PackingTemplateItems, + (packingTemplateItems) => packingTemplateItems.category, + ) + packingTemplateItems: PackingTemplateItems[]; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingTemplateItems.ts b/server-nest/src/models/entities/trip/lists/PackingTemplateItems.ts new file mode 100644 index 00000000..4aaa1147 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingTemplateItems.ts @@ -0,0 +1,18 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { PackingTemplateCategories } from './PackingTemplateCategories'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; + +@Entity('packing_template_items') +export class PackingTemplateItems extends IntSortableBaseEntity { + @Column({ name: 'name' }) + name: string; + + @ManyToOne( + () => PackingTemplateCategories, + (packingTemplateCategories) => + packingTemplateCategories.packingTemplateItems, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'category_id', referencedColumnName: 'id' }]) + category: PackingTemplateCategories; +} diff --git a/server-nest/src/models/entities/trip/lists/PackingTemplates.ts b/server-nest/src/models/entities/trip/lists/PackingTemplates.ts new file mode 100644 index 00000000..fcafcd47 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/PackingTemplates.ts @@ -0,0 +1,22 @@ +import { Column, Entity, JoinColumn, ManyToOne, OneToMany } from 'typeorm'; +import { PackingTemplateCategories } from './PackingTemplateCategories'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Entity('packing_templates') +export class PackingTemplates extends IntBaseEntity { + @Column({ name: 'name' }) + name: string; + + @ManyToOne(() => SqliteUsers, (users) => users.packingTemplates, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'created_by', referencedColumnName: 'id' }]) + createdBy: SqliteUsers; + + @OneToMany( + () => PackingTemplateCategories, + (packingTemplateCategories) => packingTemplateCategories.template, + ) + packingTemplateCategories: PackingTemplateCategories[]; +} diff --git a/server-nest/src/models/entities/trip/lists/TodoCategoryAssignees.ts b/server-nest/src/models/entities/trip/lists/TodoCategoryAssignees.ts new file mode 100644 index 00000000..3482b666 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/TodoCategoryAssignees.ts @@ -0,0 +1,22 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from '../Trips'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Entity('todo_category_assignees') +export class TodoCategoryAssignees extends IntBaseEntity { + @Column({ name: 'category_name' }) + categoryName: string; + + @ManyToOne(() => SqliteUsers, (users) => users.todoCategoryAssignees, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.todoCategoryAssignees, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/lists/TodoItems.ts b/server-nest/src/models/entities/trip/lists/TodoItems.ts new file mode 100644 index 00000000..949d2304 --- /dev/null +++ b/server-nest/src/models/entities/trip/lists/TodoItems.ts @@ -0,0 +1,42 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Trips } from '../Trips'; +import { IntSortableBaseEntity } from '../../base/BaseEntity'; +import { SqliteUsers } from '../../old-entities/SqliteUsers'; + +@Index('idx_todo_items_trip_id', ['tripId'], {}) +@Entity('todo_items') +export class TodoItems extends IntSortableBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'checked', nullable: true, default: false }) + checked: boolean; + + @Column({ name: 'category', nullable: true }) + category: string | null; + + @Column({ name: 'due_date', nullable: true }) + dueDate: string | null; + + @Column('text', { name: 'description', nullable: true }) + description: string | null; + + @Column('int', { name: 'priority', default: 0 }) + priority: number; + + @Column('datetime', { name: 'reminded_at', nullable: true }) + remindedAt: Date | null; + + @ManyToOne(() => SqliteUsers, (users) => users.todoItems, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'assigned_user_id', referencedColumnName: 'id' }]) + assignedUser: SqliteUsers; + + @ManyToOne(() => Trips, (trips) => trips.todoItems, { onDelete: 'CASCADE' }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; +} diff --git a/server-nest/src/models/entities/trip/reservation/ReservationDayPositions.ts b/server-nest/src/models/entities/trip/reservation/ReservationDayPositions.ts new file mode 100644 index 00000000..6dce4597 --- /dev/null +++ b/server-nest/src/models/entities/trip/reservation/ReservationDayPositions.ts @@ -0,0 +1,30 @@ +import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm'; +import { Reservations } from './Reservations'; +import { TimestampedEntity } from '../../base/BaseEntity'; +import { Days } from '../Days'; + +@Entity('reservation_day_positions') +export class ReservationDayPositions extends TimestampedEntity { + @PrimaryColumn('int', { name: 'reservation_id' }) + reservationId: number; + + @PrimaryColumn('int', { name: 'day_id' }) + dayId: number; + + @Column({ name: 'position' }) + position: number; + + @ManyToOne(() => Days, (days) => days.reservationDayPositions, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'day_id', referencedColumnName: 'id' }]) + day: Days; + + @ManyToOne( + () => Reservations, + (reservations) => reservations.reservationDayPositions, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'reservation_id', referencedColumnName: 'id' }]) + reservation: Reservations; +} diff --git a/server-nest/src/models/entities/trip/reservation/ReservationEndpoints.ts b/server-nest/src/models/entities/trip/reservation/ReservationEndpoints.ts new file mode 100644 index 00000000..9b0ae8ef --- /dev/null +++ b/server-nest/src/models/entities/trip/reservation/ReservationEndpoints.ts @@ -0,0 +1,45 @@ +import { Column, Entity, Index, JoinColumn, ManyToOne } from 'typeorm'; +import { Reservations } from './Reservations'; +import { IntBaseEntity } from '../../base/BaseEntity'; + +@Index('idx_reservation_endpoints_reservation_id', ['reservationId'], {}) +@Entity('reservation_endpoints') +export class ReservationEndpoints extends IntBaseEntity { + @Column('int', { name: 'reservation_id' }) + reservationId: number; + + @Column({ name: 'role' }) + role: string; + + @Column('int', { name: 'sequence', default: 0 }) + sequence: number; + + @Column({ name: 'name' }) + name: string; + + @Column({ name: 'code', nullable: true }) + code: string | null; + + @Column({ name: 'lat' }) + lat: number; + + @Column({ name: 'lng' }) + lng: number; + + @Column({ name: 'timezone', nullable: true }) + timezone: string | null; + + @Column('text', { name: 'local_time', nullable: true }) + localTime: string | null; + + @Column('text', { name: 'local_date', nullable: true }) + localDate: string | null; + + @ManyToOne( + () => Reservations, + (reservations) => reservations.reservationEndpoints, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'reservation_id', referencedColumnName: 'id' }]) + reservation: Reservations; +} diff --git a/server-nest/src/models/entities/trip/reservation/Reservations.ts b/server-nest/src/models/entities/trip/reservation/Reservations.ts new file mode 100644 index 00000000..3b61f67b --- /dev/null +++ b/server-nest/src/models/entities/trip/reservation/Reservations.ts @@ -0,0 +1,122 @@ +import { + Column, + Entity, + Index, + JoinColumn, + ManyToOne, + OneToMany, +} from 'typeorm'; +import { TripFiles } from '../files/TripFiles'; +import { Places } from '../Places'; +import { Trips } from '../Trips'; +import { FileLinks } from '../../system/FileLinks'; +import { ReservationDayPositions } from './ReservationDayPositions'; +import { ReservationEndpoints } from './ReservationEndpoints'; +import { IntBaseEntity } from '../../base/BaseEntity'; +import { DayAssignments } from '../DayAssignments'; +import { Days } from '../Days'; +import { BudgetItems } from '../budget/BudgetItems'; + +@Index('idx_reservations_day_id', ['dayId'], {}) +@Index('idx_reservations_trip_id', ['tripId'], {}) +@Entity('reservations') +export class Reservations extends IntBaseEntity { + @Column('int', { name: 'trip_id' }) + tripId: number; + + @Column('int', { name: 'day_id', nullable: true }) + dayId: number | null; + + @Column({ name: 'title' }) + title: string; + + @Column('int', { name: 'accommodation_id', nullable: true }) + accommodationId: number | null; + + @Column({ name: 'reservation_time', nullable: true }) + reservationTime: string | null; + + @Column({ name: 'reservation_end_time', nullable: true }) + reservationEndTime: string | null; + + @Column('text', { name: 'location', nullable: true }) + location: string | null; + + @Column({ name: 'confirmation_number', nullable: true }) + confirmationNumber: string | null; + + @Column('text', { name: 'notes', nullable: true }) + notes: string | null; + + @Column({ + name: 'status', + nullable: true, + default: 'pending', + }) + status: string | null; + + @Column({ name: 'type', nullable: true, default: 'other' }) + type: string | null; + + @Column('text', { name: 'metadata', nullable: true }) + metadata: string | null; + + @Column({ + name: 'day_plan_position', + nullable: true, + default: null, + }) + dayPlanPosition: number | null; + + @Column({ name: 'needs_review', default: false }) + needsReview: boolean; + + @OneToMany(() => TripFiles, (tripFiles) => tripFiles.reservation) + tripFiles: TripFiles[]; + + @ManyToOne( + () => DayAssignments, + (dayAssignments) => dayAssignments.reservations, + { onDelete: 'SET NULL' }, + ) + @JoinColumn([{ name: 'assignment_id', referencedColumnName: 'id' }]) + assignment: DayAssignments; + + @ManyToOne(() => Places, (places) => places.reservations, { + onDelete: 'SET NULL', + }) + @JoinColumn([{ name: 'place_id', referencedColumnName: 'id' }]) + place: Places; + + @ManyToOne(() => Days, (days) => days.reservations, { onDelete: 'SET NULL' }) + @JoinColumn([{ name: 'end_day_id', referencedColumnName: 'id' }]) + endDay: Days; + + @ManyToOne(() => Days, (days) => days.reservations2, { onDelete: 'SET NULL' }) + @JoinColumn([{ name: 'day_id', referencedColumnName: 'id' }]) + day: Days; + + @ManyToOne(() => Trips, (trips) => trips.reservations, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'trip_id', referencedColumnName: 'id' }]) + trip: Trips; + + @OneToMany(() => BudgetItems, (budgetItems) => budgetItems.reservation) + budgetItems: BudgetItems[]; + + @OneToMany(() => FileLinks, (fileLinks) => fileLinks.reservation) + fileLinks: FileLinks[]; + + @OneToMany( + () => ReservationDayPositions, + (reservationDayPositions) => reservationDayPositions.reservation, + ) + reservationDayPositions: ReservationDayPositions[]; + + @OneToMany( + () => ReservationEndpoints, + (reservationEndpoints) => reservationEndpoints.reservation, + ) + reservationEndpoints: ReservationEndpoints[]; +} diff --git a/server-nest/src/models/entities/vacay/VacayCompanyHolidays.ts b/server-nest/src/models/entities/vacay/VacayCompanyHolidays.ts new file mode 100644 index 00000000..7aabef58 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayCompanyHolidays.ts @@ -0,0 +1,20 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Entity('vacay_company_holidays') +export class VacayCompanyHolidays extends IntBaseEntity { + @Column({ name: 'date' }) + date: string; + + @Column('text', { name: 'note', nullable: true, default: '' }) + note: string | null; + + @ManyToOne( + () => VacayPlans, + (vacayPlans) => vacayPlans.vacayCompanyHolidays, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; +} diff --git a/server-nest/src/models/entities/vacay/VacayEntries.ts b/server-nest/src/models/entities/vacay/VacayEntries.ts new file mode 100644 index 00000000..072da99b --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayEntries.ts @@ -0,0 +1,25 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('vacay_entries') +export class VacayEntries extends IntBaseEntity { + @Column({ name: 'date' }) + date: string; + + @Column('text', { name: 'note', nullable: true, default: '' }) + note: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.vacayEntries, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => VacayPlans, (vacayPlans) => vacayPlans.vacayEntries, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; +} diff --git a/server-nest/src/models/entities/vacay/VacayHolidayCalendars.ts b/server-nest/src/models/entities/vacay/VacayHolidayCalendars.ts new file mode 100644 index 00000000..6c363594 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayHolidayCalendars.ts @@ -0,0 +1,23 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntSortableBaseEntity } from '../base/BaseEntity'; + +@Entity('vacay_holiday_calendars') +export class VacayHolidayCalendars extends IntSortableBaseEntity { + @Column({ name: 'region' }) + region: string; + + @Column({ name: 'label', nullable: true }) + label: string | null; + + @Column({ name: 'color', default: '#fecaca' }) + color: string; + + @ManyToOne( + () => VacayPlans, + (vacayPlans) => vacayPlans.vacayHolidayCalendars, + { onDelete: 'CASCADE' }, + ) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; +} diff --git a/server-nest/src/models/entities/vacay/VacayPlanMembers.ts b/server-nest/src/models/entities/vacay/VacayPlanMembers.ts new file mode 100644 index 00000000..6fd38846 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayPlanMembers.ts @@ -0,0 +1,26 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('vacay_plan_members') +export class VacayPlanMembers extends IntBaseEntity { + @Column({ + name: 'status', + nullable: true, + default: 'pending', + }) + status: string | null; + + @ManyToOne(() => SqliteUsers, (users) => users.vacayPlanMembers, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; + + @ManyToOne(() => VacayPlans, (vacayPlans) => vacayPlans.vacayPlanMembers, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; +} diff --git a/server-nest/src/models/entities/vacay/VacayPlans.ts b/server-nest/src/models/entities/vacay/VacayPlans.ts new file mode 100644 index 00000000..e5e3a139 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayPlans.ts @@ -0,0 +1,94 @@ +import { Column, Entity, JoinColumn, OneToMany, OneToOne } from 'typeorm'; +import { VacayPlanMembers } from './VacayPlanMembers'; +import { VacayUserColors } from './VacayUserColors'; +import { VacayYears } from './VacayYears'; +import { VacayUserYears } from './VacayUserYears'; +import { VacayEntries } from './VacayEntries'; +import { VacayCompanyHolidays } from './VacayCompanyHolidays'; +import { VacayHolidayCalendars } from './VacayHolidayCalendars'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('vacay_plans') +export class VacayPlans extends IntBaseEntity { + @Column({ + name: 'block_weekends', + nullable: true, + default: true, + }) + blockWeekends: boolean; + + @Column({ + name: 'holidays_enabled', + nullable: true, + default: false, + }) + holidaysEnabled: boolean; + + @Column({ + name: 'holidays_region', + nullable: true, + default: '', + }) + holidaysRegion: string | null; + + @Column({ + name: 'company_holidays_enabled', + nullable: true, + default: true, + }) + companyHolidaysEnabled: boolean; + + @Column({ + name: 'carry_over_enabled', + nullable: true, + default: true, + }) + carryOverEnabled: boolean; + + @Column({ + name: 'weekend_days', + nullable: true, + default: '0,6', + }) + weekendDays: string | null; + + @Column('int', { name: 'week_start', default: 1 }) + weekStart: number; + + @OneToOne(() => SqliteUsers, (users) => users.vacayPlans, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'owner_id', referencedColumnName: 'id' }]) + owner: SqliteUsers; + + @OneToMany( + () => VacayPlanMembers, + (vacayPlanMembers) => vacayPlanMembers.plan, + ) + vacayPlanMembers: VacayPlanMembers[]; + + @OneToMany(() => VacayUserColors, (vacayUserColors) => vacayUserColors.plan) + vacayUserColors: VacayUserColors[]; + + @OneToMany(() => VacayYears, (vacayYears) => vacayYears.plan) + vacayYears: VacayYears[]; + + @OneToMany(() => VacayUserYears, (vacayUserYears) => vacayUserYears.plan) + vacayUserYears: VacayUserYears[]; + + @OneToMany(() => VacayEntries, (vacayEntries) => vacayEntries.plan) + vacayEntries: VacayEntries[]; + + @OneToMany( + () => VacayCompanyHolidays, + (vacayCompanyHolidays) => vacayCompanyHolidays.plan, + ) + vacayCompanyHolidays: VacayCompanyHolidays[]; + + @OneToMany( + () => VacayHolidayCalendars, + (vacayHolidayCalendars) => vacayHolidayCalendars.plan, + ) + vacayHolidayCalendars: VacayHolidayCalendars[]; +} diff --git a/server-nest/src/models/entities/vacay/VacayUserColors.ts b/server-nest/src/models/entities/vacay/VacayUserColors.ts new file mode 100644 index 00000000..d12fc974 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayUserColors.ts @@ -0,0 +1,22 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('vacay_user_colors') +export class VacayUserColors extends IntBaseEntity { + @Column({ name: 'color', nullable: true, default: '#6366f1' }) + color: string | null; + + @ManyToOne(() => VacayPlans, (vacayPlans) => vacayPlans.vacayUserColors, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; + + @ManyToOne(() => SqliteUsers, (users) => users.vacayUserColors, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/vacay/VacayUserYears.ts b/server-nest/src/models/entities/vacay/VacayUserYears.ts new file mode 100644 index 00000000..c8946392 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayUserYears.ts @@ -0,0 +1,36 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; +import { SqliteUsers } from '../old-entities/SqliteUsers'; + +@Entity('vacay_user_years') +export class VacayUserYears extends IntBaseEntity { + @Column('int', { name: 'year' }) + year: number; + + @Column('int', { + name: 'vacation_days', + nullable: true, + default: 30, + }) + vacationDays: number | null; + + @Column('int', { + name: 'carried_over', + nullable: true, + default: 0, + }) + carriedOver: number | null; + + @ManyToOne(() => VacayPlans, (vacayPlans) => vacayPlans.vacayUserYears, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; + + @ManyToOne(() => SqliteUsers, (users) => users.vacayUserYears, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'user_id', referencedColumnName: 'id' }]) + user: SqliteUsers; +} diff --git a/server-nest/src/models/entities/vacay/VacayYears.ts b/server-nest/src/models/entities/vacay/VacayYears.ts new file mode 100644 index 00000000..78a48144 --- /dev/null +++ b/server-nest/src/models/entities/vacay/VacayYears.ts @@ -0,0 +1,15 @@ +import { Column, Entity, JoinColumn, ManyToOne } from 'typeorm'; +import { VacayPlans } from './VacayPlans'; +import { IntBaseEntity } from '../base/BaseEntity'; + +@Entity('vacay_years') +export class VacayYears extends IntBaseEntity { + @Column('integer', { name: 'year' }) + year: number; + + @ManyToOne(() => VacayPlans, (vacayPlans) => vacayPlans.vacayYears, { + onDelete: 'CASCADE', + }) + @JoinColumn([{ name: 'plan_id', referencedColumnName: 'id' }]) + plan: VacayPlans; +} diff --git a/server-nest/src/repositories/.gitkeep b/server-nest/src/repositories/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/server-nest/test/app.e2e-spec.ts b/server-nest/test/app.e2e-spec.ts new file mode 100644 index 00000000..a767839c --- /dev/null +++ b/server-nest/test/app.e2e-spec.ts @@ -0,0 +1,29 @@ +import { Test, TestingModule } from '@nestjs/testing'; +import { INestApplication } from '@nestjs/common'; +import request from 'supertest'; +import { App } from 'supertest/types'; +import { AppModule } from './../src/app.module'; + +describe('AppController (e2e)', () => { + let app: INestApplication; + + beforeEach(async () => { + const moduleFixture: TestingModule = await Test.createTestingModule({ + imports: [AppModule], + }).compile(); + + app = moduleFixture.createNestApplication(); + await app.init(); + }); + + it('/ (GET)', () => { + return request(app.getHttpServer()) + .get('/') + .expect(200) + .expect('Hello World!'); + }); + + afterEach(async () => { + await app.close(); + }); +}); diff --git a/server-nest/test/jest-e2e.json b/server-nest/test/jest-e2e.json new file mode 100644 index 00000000..e9d912f3 --- /dev/null +++ b/server-nest/test/jest-e2e.json @@ -0,0 +1,9 @@ +{ + "moduleFileExtensions": ["js", "json", "ts"], + "rootDir": ".", + "testEnvironment": "node", + "testRegex": ".e2e-spec.ts$", + "transform": { + "^.+\\.(t|j)s$": "ts-jest" + } +} diff --git a/server-nest/tsconfig.build.json b/server-nest/tsconfig.build.json new file mode 100644 index 00000000..64f86c6b --- /dev/null +++ b/server-nest/tsconfig.build.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] +} diff --git a/server-nest/tsconfig.json b/server-nest/tsconfig.json new file mode 100644 index 00000000..5e69479c --- /dev/null +++ b/server-nest/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "nodenext", + "moduleResolution": "nodenext", + "resolvePackageJsonExports": true, + "esModuleInterop": true, + "isolatedModules": true, + "declaration": true, + "removeComments": true, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "allowSyntheticDefaultImports": true, + "target": "ES2023", + "sourceMap": true, + "outDir": "./dist", + "baseUrl": "./", + "incremental": true, + "skipLibCheck": true, + "strictNullChecks": true, + "forceConsistentCasingInFileNames": true, + "noImplicitAny": false, + "strictBindCallApply": false, + "noFallthroughCasesInSwitch": false, + "strictPropertyInitialization": false, + "types": ["jest", "node", "supertest"] + } +} diff --git a/server-nest/typeorm/changelog.txt b/server-nest/typeorm/changelog.txt new file mode 100644 index 00000000..d311b289 --- /dev/null +++ b/server-nest/typeorm/changelog.txt @@ -0,0 +1,32 @@ +# TypeORM Schema Changes - 2026-04-26T15:38:15.075Z + +- CREATE Migration: migrations/1777217895075-create-user.ts +- Entity: entities/User.ts + +- CREATE Migration: migrations/1777217895075-create-session.ts +- Entity: entities/Session.ts + +- CREATE Migration: migrations/1777217895075-create-account.ts +- Entity: entities/Account.ts + +- CREATE Migration: migrations/1777217895075-create-verification.ts +- Entity: entities/Verification.ts + +- CREATE Migration: migrations/1777217895075-create-jwks.ts +- Entity: entities/Jwks.ts + +- CREATE Migration: migrations/1777217895075-create-oauthClient.ts +- Entity: entities/OauthClient.ts + +- CREATE Migration: migrations/1777217895075-create-oauthRefreshToken.ts +- Entity: entities/OauthRefreshToken.ts + +- CREATE Migration: migrations/1777217895075-create-oauthAccessToken.ts +- Entity: entities/OauthAccessToken.ts + +- CREATE Migration: migrations/1777217895075-create-oauthConsent.ts +- Entity: entities/OauthConsent.ts + +- CREATE Migration: migrations/1777217895075-create-passkey.ts +- Entity: entities/Passkey.ts + diff --git a/server/src/generated/prisma/browser.ts b/server/src/generated/prisma/browser.ts new file mode 100644 index 00000000..053b1e5b --- /dev/null +++ b/server/src/generated/prisma/browser.ts @@ -0,0 +1,409 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file should be your main import to use Prisma-related types and utilities in a browser. + * Use it to get access to models, enums, and input types. + * + * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. + * See `client.ts` for the standard, server-side entry point. + * + * 🟢 You can import this file directly. + */ + +import * as Prisma from './internal/prismaNamespaceBrowser' +export { Prisma } +export * as $Enums from './enums' +export * from './enums'; +/** + * Model addons + * + */ +export type addons = Prisma.addonsModel +/** + * Model app_settings + * + */ +export type app_settings = Prisma.app_settingsModel +/** + * Model assignment_participants + * + */ +export type assignment_participants = Prisma.assignment_participantsModel +/** + * Model audit_log + * + */ +export type audit_log = Prisma.audit_logModel +/** + * Model bucket_list + * + */ +export type bucket_list = Prisma.bucket_listModel +/** + * Model budget_category_order + * + */ +export type budget_category_order = Prisma.budget_category_orderModel +/** + * Model budget_item_members + * + */ +export type budget_item_members = Prisma.budget_item_membersModel +/** + * Model budget_items + * + */ +export type budget_items = Prisma.budget_itemsModel +/** + * Model categories + * + */ +export type categories = Prisma.categoriesModel +/** + * Model collab_message_reactions + * + */ +export type collab_message_reactions = Prisma.collab_message_reactionsModel +/** + * Model collab_messages + * + */ +export type collab_messages = Prisma.collab_messagesModel +/** + * Model collab_notes + * + */ +export type collab_notes = Prisma.collab_notesModel +/** + * Model collab_poll_votes + * + */ +export type collab_poll_votes = Prisma.collab_poll_votesModel +/** + * Model collab_polls + * + */ +export type collab_polls = Prisma.collab_pollsModel +/** + * Model day_accommodations + * + */ +export type day_accommodations = Prisma.day_accommodationsModel +/** + * Model day_assignments + * + */ +export type day_assignments = Prisma.day_assignmentsModel +/** + * Model day_notes + * + */ +export type day_notes = Prisma.day_notesModel +/** + * Model days + * + */ +export type days = Prisma.daysModel +/** + * Model file_links + * + */ +export type file_links = Prisma.file_linksModel +/** + * Model google_place_photo_meta + * + */ +export type google_place_photo_meta = Prisma.google_place_photo_metaModel +/** + * Model idempotency_keys + * + */ +export type idempotency_keys = Prisma.idempotency_keysModel +/** + * Model invite_tokens + * + */ +export type invite_tokens = Prisma.invite_tokensModel +/** + * Model journey_contributors + * + */ +export type journey_contributors = Prisma.journey_contributorsModel +/** + * Model journey_entries + * + */ +export type journey_entries = Prisma.journey_entriesModel +/** + * Model journey_entry_photos + * + */ +export type journey_entry_photos = Prisma.journey_entry_photosModel +/** + * Model journey_photos + * + */ +export type journey_photos = Prisma.journey_photosModel +/** + * Model journey_share_tokens + * + */ +export type journey_share_tokens = Prisma.journey_share_tokensModel +/** + * Model journey_trips + * + */ +export type journey_trips = Prisma.journey_tripsModel +/** + * Model journeys + * + */ +export type journeys = Prisma.journeysModel +/** + * Model mcp_tokens + * + */ +export type mcp_tokens = Prisma.mcp_tokensModel +/** + * Model notification_channel_preferences + * + */ +export type notification_channel_preferences = Prisma.notification_channel_preferencesModel +/** + * Model notifications + * + */ +export type notifications = Prisma.notificationsModel +/** + * Model oauth_clients + * + */ +export type oauth_clients = Prisma.oauth_clientsModel +/** + * Model oauth_consents + * + */ +export type oauth_consents = Prisma.oauth_consentsModel +/** + * Model oauth_tokens + * + */ +export type oauth_tokens = Prisma.oauth_tokensModel +/** + * Model packing_bag_members + * + */ +export type packing_bag_members = Prisma.packing_bag_membersModel +/** + * Model packing_bags + * + */ +export type packing_bags = Prisma.packing_bagsModel +/** + * Model packing_category_assignees + * + */ +export type packing_category_assignees = Prisma.packing_category_assigneesModel +/** + * Model packing_items + * + */ +export type packing_items = Prisma.packing_itemsModel +/** + * Model packing_template_categories + * + */ +export type packing_template_categories = Prisma.packing_template_categoriesModel +/** + * Model packing_template_items + * + */ +export type packing_template_items = Prisma.packing_template_itemsModel +/** + * Model packing_templates + * + */ +export type packing_templates = Prisma.packing_templatesModel +/** + * Model password_reset_tokens + * + */ +export type password_reset_tokens = Prisma.password_reset_tokensModel +/** + * Model photo_provider_fields + * + */ +export type photo_provider_fields = Prisma.photo_provider_fieldsModel +/** + * Model photo_providers + * + */ +export type photo_providers = Prisma.photo_providersModel +/** + * Model photos + * + */ +export type photos = Prisma.photosModel +/** + * Model place_details_cache + * + */ +export type place_details_cache = Prisma.place_details_cacheModel +/** + * Model place_regions + * + */ +export type place_regions = Prisma.place_regionsModel +/** + * Model place_tags + * + */ +export type place_tags = Prisma.place_tagsModel +/** + * Model places + * + */ +export type places = Prisma.placesModel +/** + * Model reservation_day_positions + * + */ +export type reservation_day_positions = Prisma.reservation_day_positionsModel +/** + * Model reservation_endpoints + * + */ +export type reservation_endpoints = Prisma.reservation_endpointsModel +/** + * Model reservations + * + */ +export type reservations = Prisma.reservationsModel +/** + * Model schema_version + * + */ +export type schema_version = Prisma.schema_versionModel +/** + * Model settings + * + */ +export type settings = Prisma.settingsModel +/** + * Model share_tokens + * + */ +export type share_tokens = Prisma.share_tokensModel +/** + * Model tags + * + */ +export type tags = Prisma.tagsModel +/** + * Model todo_category_assignees + * + */ +export type todo_category_assignees = Prisma.todo_category_assigneesModel +/** + * Model todo_items + * + */ +export type todo_items = Prisma.todo_itemsModel +/** + * Model trek_photo_cache_meta + * + */ +export type trek_photo_cache_meta = Prisma.trek_photo_cache_metaModel +/** + * Model trek_photos + * + */ +export type trek_photos = Prisma.trek_photosModel +/** + * Model trip_album_links + * + */ +export type trip_album_links = Prisma.trip_album_linksModel +/** + * Model trip_files + * + */ +export type trip_files = Prisma.trip_filesModel +/** + * Model trip_members + * + */ +export type trip_members = Prisma.trip_membersModel +/** + * Model trip_photos + * + */ +export type trip_photos = Prisma.trip_photosModel +/** + * Model trips + * + */ +export type trips = Prisma.tripsModel +/** + * Model user_notice_dismissals + * + */ +export type user_notice_dismissals = Prisma.user_notice_dismissalsModel +/** + * Model users + * + */ +export type users = Prisma.usersModel +/** + * Model vacay_company_holidays + * + */ +export type vacay_company_holidays = Prisma.vacay_company_holidaysModel +/** + * Model vacay_entries + * + */ +export type vacay_entries = Prisma.vacay_entriesModel +/** + * Model vacay_holiday_calendars + * + */ +export type vacay_holiday_calendars = Prisma.vacay_holiday_calendarsModel +/** + * Model vacay_plan_members + * + */ +export type vacay_plan_members = Prisma.vacay_plan_membersModel +/** + * Model vacay_plans + * + */ +export type vacay_plans = Prisma.vacay_plansModel +/** + * Model vacay_user_colors + * + */ +export type vacay_user_colors = Prisma.vacay_user_colorsModel +/** + * Model vacay_user_years + * + */ +export type vacay_user_years = Prisma.vacay_user_yearsModel +/** + * Model vacay_years + * + */ +export type vacay_years = Prisma.vacay_yearsModel +/** + * Model visited_countries + * + */ +export type visited_countries = Prisma.visited_countriesModel +/** + * Model visited_regions + * + */ +export type visited_regions = Prisma.visited_regionsModel diff --git a/server/src/generated/prisma/client.ts b/server/src/generated/prisma/client.ts new file mode 100644 index 00000000..a3911c78 --- /dev/null +++ b/server/src/generated/prisma/client.ts @@ -0,0 +1,431 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. + * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. + * + * 🟢 You can import this file directly. + */ + +import * as process from 'node:process' +import * as path from 'node:path' + +import * as runtime from "@prisma/client/runtime/client" +import * as $Enums from "./enums" +import * as $Class from "./internal/class" +import * as Prisma from "./internal/prismaNamespace" + +export * as $Enums from './enums' +export * from "./enums" +/** + * ## Prisma Client + * + * Type-safe database client for TypeScript + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) + * }) + * // Fetch zero or more Addons + * const addons = await prisma.addons.findMany() + * ``` + * + * Read more in our [docs](https://pris.ly/d/client). + */ +export const PrismaClient = $Class.getPrismaClientClass() +export type PrismaClient = $Class.PrismaClient +export { Prisma } + +/** + * Model addons + * + */ +export type addons = Prisma.addonsModel +/** + * Model app_settings + * + */ +export type app_settings = Prisma.app_settingsModel +/** + * Model assignment_participants + * + */ +export type assignment_participants = Prisma.assignment_participantsModel +/** + * Model audit_log + * + */ +export type audit_log = Prisma.audit_logModel +/** + * Model bucket_list + * + */ +export type bucket_list = Prisma.bucket_listModel +/** + * Model budget_category_order + * + */ +export type budget_category_order = Prisma.budget_category_orderModel +/** + * Model budget_item_members + * + */ +export type budget_item_members = Prisma.budget_item_membersModel +/** + * Model budget_items + * + */ +export type budget_items = Prisma.budget_itemsModel +/** + * Model categories + * + */ +export type categories = Prisma.categoriesModel +/** + * Model collab_message_reactions + * + */ +export type collab_message_reactions = Prisma.collab_message_reactionsModel +/** + * Model collab_messages + * + */ +export type collab_messages = Prisma.collab_messagesModel +/** + * Model collab_notes + * + */ +export type collab_notes = Prisma.collab_notesModel +/** + * Model collab_poll_votes + * + */ +export type collab_poll_votes = Prisma.collab_poll_votesModel +/** + * Model collab_polls + * + */ +export type collab_polls = Prisma.collab_pollsModel +/** + * Model day_accommodations + * + */ +export type day_accommodations = Prisma.day_accommodationsModel +/** + * Model day_assignments + * + */ +export type day_assignments = Prisma.day_assignmentsModel +/** + * Model day_notes + * + */ +export type day_notes = Prisma.day_notesModel +/** + * Model days + * + */ +export type days = Prisma.daysModel +/** + * Model file_links + * + */ +export type file_links = Prisma.file_linksModel +/** + * Model google_place_photo_meta + * + */ +export type google_place_photo_meta = Prisma.google_place_photo_metaModel +/** + * Model idempotency_keys + * + */ +export type idempotency_keys = Prisma.idempotency_keysModel +/** + * Model invite_tokens + * + */ +export type invite_tokens = Prisma.invite_tokensModel +/** + * Model journey_contributors + * + */ +export type journey_contributors = Prisma.journey_contributorsModel +/** + * Model journey_entries + * + */ +export type journey_entries = Prisma.journey_entriesModel +/** + * Model journey_entry_photos + * + */ +export type journey_entry_photos = Prisma.journey_entry_photosModel +/** + * Model journey_photos + * + */ +export type journey_photos = Prisma.journey_photosModel +/** + * Model journey_share_tokens + * + */ +export type journey_share_tokens = Prisma.journey_share_tokensModel +/** + * Model journey_trips + * + */ +export type journey_trips = Prisma.journey_tripsModel +/** + * Model journeys + * + */ +export type journeys = Prisma.journeysModel +/** + * Model mcp_tokens + * + */ +export type mcp_tokens = Prisma.mcp_tokensModel +/** + * Model notification_channel_preferences + * + */ +export type notification_channel_preferences = Prisma.notification_channel_preferencesModel +/** + * Model notifications + * + */ +export type notifications = Prisma.notificationsModel +/** + * Model oauth_clients + * + */ +export type oauth_clients = Prisma.oauth_clientsModel +/** + * Model oauth_consents + * + */ +export type oauth_consents = Prisma.oauth_consentsModel +/** + * Model oauth_tokens + * + */ +export type oauth_tokens = Prisma.oauth_tokensModel +/** + * Model packing_bag_members + * + */ +export type packing_bag_members = Prisma.packing_bag_membersModel +/** + * Model packing_bags + * + */ +export type packing_bags = Prisma.packing_bagsModel +/** + * Model packing_category_assignees + * + */ +export type packing_category_assignees = Prisma.packing_category_assigneesModel +/** + * Model packing_items + * + */ +export type packing_items = Prisma.packing_itemsModel +/** + * Model packing_template_categories + * + */ +export type packing_template_categories = Prisma.packing_template_categoriesModel +/** + * Model packing_template_items + * + */ +export type packing_template_items = Prisma.packing_template_itemsModel +/** + * Model packing_templates + * + */ +export type packing_templates = Prisma.packing_templatesModel +/** + * Model password_reset_tokens + * + */ +export type password_reset_tokens = Prisma.password_reset_tokensModel +/** + * Model photo_provider_fields + * + */ +export type photo_provider_fields = Prisma.photo_provider_fieldsModel +/** + * Model photo_providers + * + */ +export type photo_providers = Prisma.photo_providersModel +/** + * Model photos + * + */ +export type photos = Prisma.photosModel +/** + * Model place_details_cache + * + */ +export type place_details_cache = Prisma.place_details_cacheModel +/** + * Model place_regions + * + */ +export type place_regions = Prisma.place_regionsModel +/** + * Model place_tags + * + */ +export type place_tags = Prisma.place_tagsModel +/** + * Model places + * + */ +export type places = Prisma.placesModel +/** + * Model reservation_day_positions + * + */ +export type reservation_day_positions = Prisma.reservation_day_positionsModel +/** + * Model reservation_endpoints + * + */ +export type reservation_endpoints = Prisma.reservation_endpointsModel +/** + * Model reservations + * + */ +export type reservations = Prisma.reservationsModel +/** + * Model schema_version + * + */ +export type schema_version = Prisma.schema_versionModel +/** + * Model settings + * + */ +export type settings = Prisma.settingsModel +/** + * Model share_tokens + * + */ +export type share_tokens = Prisma.share_tokensModel +/** + * Model tags + * + */ +export type tags = Prisma.tagsModel +/** + * Model todo_category_assignees + * + */ +export type todo_category_assignees = Prisma.todo_category_assigneesModel +/** + * Model todo_items + * + */ +export type todo_items = Prisma.todo_itemsModel +/** + * Model trek_photo_cache_meta + * + */ +export type trek_photo_cache_meta = Prisma.trek_photo_cache_metaModel +/** + * Model trek_photos + * + */ +export type trek_photos = Prisma.trek_photosModel +/** + * Model trip_album_links + * + */ +export type trip_album_links = Prisma.trip_album_linksModel +/** + * Model trip_files + * + */ +export type trip_files = Prisma.trip_filesModel +/** + * Model trip_members + * + */ +export type trip_members = Prisma.trip_membersModel +/** + * Model trip_photos + * + */ +export type trip_photos = Prisma.trip_photosModel +/** + * Model trips + * + */ +export type trips = Prisma.tripsModel +/** + * Model user_notice_dismissals + * + */ +export type user_notice_dismissals = Prisma.user_notice_dismissalsModel +/** + * Model users + * + */ +export type users = Prisma.usersModel +/** + * Model vacay_company_holidays + * + */ +export type vacay_company_holidays = Prisma.vacay_company_holidaysModel +/** + * Model vacay_entries + * + */ +export type vacay_entries = Prisma.vacay_entriesModel +/** + * Model vacay_holiday_calendars + * + */ +export type vacay_holiday_calendars = Prisma.vacay_holiday_calendarsModel +/** + * Model vacay_plan_members + * + */ +export type vacay_plan_members = Prisma.vacay_plan_membersModel +/** + * Model vacay_plans + * + */ +export type vacay_plans = Prisma.vacay_plansModel +/** + * Model vacay_user_colors + * + */ +export type vacay_user_colors = Prisma.vacay_user_colorsModel +/** + * Model vacay_user_years + * + */ +export type vacay_user_years = Prisma.vacay_user_yearsModel +/** + * Model vacay_years + * + */ +export type vacay_years = Prisma.vacay_yearsModel +/** + * Model visited_countries + * + */ +export type visited_countries = Prisma.visited_countriesModel +/** + * Model visited_regions + * + */ +export type visited_regions = Prisma.visited_regionsModel diff --git a/server/src/generated/prisma/commonInputTypes.ts b/server/src/generated/prisma/commonInputTypes.ts new file mode 100644 index 00000000..496b7d22 --- /dev/null +++ b/server/src/generated/prisma/commonInputTypes.ts @@ -0,0 +1,462 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports various common sort, input & filter types that are not directly linked to a particular model. + * + * 🟢 You can import this file directly. + */ + +import type * as runtime from "@prisma/client/runtime/client" +import * as $Enums from "./enums" +import type * as Prisma from "./internal/prismaNamespace" + + +export type StringFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] + notIn?: string[] + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringFilter<$PrismaModel> | string +} + +export type StringNullableFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | null + notIn?: string[] | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null +} + +export type IntNullableFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null +} + +export type SortOrderInput = { + sort: Prisma.SortOrder + nulls?: Prisma.NullsOrder +} + +export type StringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] + notIn?: string[] + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedStringFilter<$PrismaModel> + _max?: Prisma.NestedStringFilter<$PrismaModel> +} + +export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | null + notIn?: string[] | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> +} + +export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> +} + +export type IntFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntFilter<$PrismaModel> | number +} + +export type IntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedIntFilter<$PrismaModel> + _max?: Prisma.NestedIntFilter<$PrismaModel> +} + +export type DateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | null + notIn?: Date[] | string[] | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null +} + +export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | null + notIn?: Date[] | string[] | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> +} + +export type FloatNullableFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null +} + +export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _min?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _max?: Prisma.NestedFloatNullableFilter<$PrismaModel> +} + +export type FloatFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatFilter<$PrismaModel> | number +} + +export type FloatWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedFloatFilter<$PrismaModel> + _min?: Prisma.NestedFloatFilter<$PrismaModel> + _max?: Prisma.NestedFloatFilter<$PrismaModel> +} + +export type DateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] + notIn?: Date[] | string[] + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string +} + +export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] + notIn?: Date[] | string[] + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> +} + +export type NestedStringFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] + notIn?: string[] + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringFilter<$PrismaModel> | string +} + +export type NestedStringNullableFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | null + notIn?: string[] | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null +} + +export type NestedIntNullableFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null +} + +export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> + in?: string[] + notIn?: string[] + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedStringFilter<$PrismaModel> + _max?: Prisma.NestedStringFilter<$PrismaModel> +} + +export type NestedIntFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntFilter<$PrismaModel> | number +} + +export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null + in?: string[] | null + notIn?: string[] | null + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> + not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> +} + +export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> +} + +export type NestedFloatNullableFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null +} + +export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> + not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedIntFilter<$PrismaModel> + _max?: Prisma.NestedIntFilter<$PrismaModel> +} + +export type NestedFloatFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatFilter<$PrismaModel> | number +} + +export type NestedDateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | null + notIn?: Date[] | string[] | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null +} + +export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | null + notIn?: Date[] | string[] | null + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> +} + +export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null + in?: number[] | null + notIn?: number[] | null + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _min?: Prisma.NestedFloatNullableFilter<$PrismaModel> + _max?: Prisma.NestedFloatNullableFilter<$PrismaModel> +} + +export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> + in?: number[] + notIn?: number[] + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> + not?: Prisma.NestedFloatWithAggregatesFilter<$PrismaModel> | number + _count?: Prisma.NestedIntFilter<$PrismaModel> + _avg?: Prisma.NestedFloatFilter<$PrismaModel> + _sum?: Prisma.NestedFloatFilter<$PrismaModel> + _min?: Prisma.NestedFloatFilter<$PrismaModel> + _max?: Prisma.NestedFloatFilter<$PrismaModel> +} + +export type NestedDateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] + notIn?: Date[] | string[] + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string +} + +export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] + notIn?: Date[] | string[] + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: Prisma.NestedIntFilter<$PrismaModel> + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> +} + + diff --git a/server/src/generated/prisma/enums.ts b/server/src/generated/prisma/enums.ts new file mode 100644 index 00000000..043572d9 --- /dev/null +++ b/server/src/generated/prisma/enums.ts @@ -0,0 +1,15 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* +* This file exports all enum related types from the schema. +* +* 🟢 You can import this file directly. +*/ + + + +// This file is empty because there are no enums in the schema. +export {} diff --git a/server/src/generated/prisma/internal/class.ts b/server/src/generated/prisma/internal/class.ts new file mode 100644 index 00000000..7b3ad0b2 --- /dev/null +++ b/server/src/generated/prisma/internal/class.ts @@ -0,0 +1,976 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * WARNING: This is an internal file that is subject to change! + * + * 🛑 Under no circumstances should you import this file directly! 🛑 + * + * Please import the `PrismaClient` class from the `client.ts` file instead. + */ + +import * as runtime from "@prisma/client/runtime/client" +import type * as Prisma from "./prismaNamespace" + + +const config: runtime.GetPrismaClientConfig = { + "previewFeatures": [ + "partialIndexes" + ], + "clientVersion": "7.8.0", + "engineVersion": "3c6e192761c0362d496ed980de936e2f3cebcd3a", + "activeProvider": "sqlite", + "inlineSchema": "generator client {\n provider = \"prisma-client\"\n output = \"../src/generated/prisma\"\n previewFeatures = [\"partialIndexes\"]\n}\n\ndatasource db {\n provider = \"sqlite\"\n}\n\nmodel addons {\n id String @id\n name String\n description String?\n type String @default(\"global\")\n icon String? @default(\"Puzzle\")\n enabled Int? @default(0)\n config String? @default(\"{}\")\n sort_order Int? @default(0)\n}\n\nmodel app_settings {\n key String @id\n value String?\n}\n\nmodel assignment_participants {\n id Int @id @default(autoincrement())\n assignment_id Int\n user_id Int\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n day_assignments day_assignments @relation(fields: [assignment_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([assignment_id, user_id], map: \"sqlite_autoindex_assignment_participants_1\")\n @@index([assignment_id], map: \"idx_assignment_participants_assignment\")\n}\n\nmodel audit_log {\n id Int @id @default(autoincrement())\n created_at DateTime? @default(now())\n user_id Int?\n action String\n resource String?\n details String?\n ip String?\n users users? @relation(fields: [user_id], references: [id], onUpdate: NoAction)\n\n @@index([created_at(sort: Desc)], map: \"idx_audit_log_created\")\n}\n\nmodel bucket_list {\n id Int @id @default(autoincrement())\n user_id Int\n name String\n lat Float?\n lng Float?\n country_code String?\n notes String?\n created_at DateTime? @default(now())\n target_date String?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel budget_category_order {\n trip_id Int\n category String\n sort_order Int @default(0)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([trip_id, category])\n}\n\nmodel budget_item_members {\n id Int @id @default(autoincrement())\n budget_item_id Int\n user_id Int\n paid Int @default(0)\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n budget_items budget_items @relation(fields: [budget_item_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([budget_item_id, user_id], map: \"sqlite_autoindex_budget_item_members_1\")\n @@index([user_id], map: \"idx_budget_item_members_user\")\n @@index([budget_item_id], map: \"idx_budget_item_members_item\")\n}\n\nmodel budget_items {\n id Int @id @default(autoincrement())\n trip_id Int\n category String @default(\"Other\")\n name String\n total_price Float @default(0)\n persons Int?\n days Int?\n note String?\n sort_order Int? @default(0)\n created_at DateTime? @default(now())\n paid_by_user_id Int?\n expense_date String?\n reservation_id Int?\n budget_item_members budget_item_members[]\n reservations reservations? @relation(fields: [reservation_id], references: [id], onUpdate: NoAction)\n users users? @relation(fields: [paid_by_user_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_budget_items_trip_id\")\n}\n\nmodel categories {\n id Int @id @default(autoincrement())\n name String\n color String? @default(\"#6366f1\")\n icon String? @default(\"📍\")\n user_id Int?\n created_at DateTime? @default(now())\n users users? @relation(fields: [user_id], references: [id], onUpdate: NoAction)\n places places[]\n}\n\nmodel collab_message_reactions {\n id Int @id @default(autoincrement())\n message_id Int\n user_id Int\n emoji String\n created_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n collab_messages collab_messages @relation(fields: [message_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([message_id, user_id, emoji], map: \"sqlite_autoindex_collab_message_reactions_1\")\n @@index([message_id], map: \"idx_collab_reactions_msg\")\n}\n\nmodel collab_messages {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n text String\n reply_to Int?\n created_at DateTime? @default(now())\n deleted Int? @default(0)\n collab_message_reactions collab_message_reactions[]\n collab_messages collab_messages? @relation(\"collab_messagesTocollab_messages\", fields: [reply_to], references: [id], onUpdate: NoAction)\n other_collab_messages collab_messages[] @relation(\"collab_messagesTocollab_messages\")\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_collab_messages_trip\")\n}\n\nmodel collab_notes {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n category String? @default(\"General\")\n title String\n content String?\n color String? @default(\"#6366f1\")\n pinned Int? @default(0)\n created_at DateTime? @default(now())\n updated_at DateTime? @default(now())\n website String?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trip_files trip_files[]\n\n @@index([trip_id], map: \"idx_collab_notes_trip\")\n}\n\nmodel collab_poll_votes {\n id Int @id @default(autoincrement())\n poll_id Int\n user_id Int\n option_index Int\n created_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n collab_polls collab_polls @relation(fields: [poll_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([poll_id, user_id, option_index], map: \"sqlite_autoindex_collab_poll_votes_1\")\n}\n\nmodel collab_polls {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n question String\n options String\n multiple Int? @default(0)\n closed Int? @default(0)\n deadline String?\n created_at DateTime? @default(now())\n collab_poll_votes collab_poll_votes[]\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_collab_polls_trip\")\n}\n\nmodel day_accommodations {\n id Int @id @default(autoincrement())\n trip_id Int\n place_id Int?\n start_day_id Int\n end_day_id Int\n check_in String?\n check_in_end String?\n check_out String?\n confirmation String?\n notes String?\n created_at DateTime? @default(now())\n days_day_accommodations_end_day_idTodays days @relation(\"day_accommodations_end_day_idTodays\", fields: [end_day_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n days_day_accommodations_start_day_idTodays days @relation(\"day_accommodations_start_day_idTodays\", fields: [start_day_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n places places? @relation(fields: [place_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([end_day_id], map: \"idx_day_accommodations_end_day_id\")\n @@index([start_day_id], map: \"idx_day_accommodations_start_day_id\")\n @@index([trip_id], map: \"idx_day_accommodations_trip_id\")\n}\n\nmodel day_assignments {\n id Int @id @default(autoincrement())\n day_id Int\n place_id Int\n order_index Int? @default(0)\n notes String?\n reservation_status String? @default(\"none\")\n reservation_notes String?\n reservation_datetime String?\n created_at DateTime? @default(now())\n assignment_time String?\n assignment_end_time String?\n assignment_participants assignment_participants[]\n places places @relation(fields: [place_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n days days @relation(fields: [day_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n file_links file_links[]\n reservations reservations[]\n\n @@index([place_id], map: \"idx_day_assignments_place_id\")\n @@index([day_id], map: \"idx_day_assignments_day_id\")\n}\n\nmodel day_notes {\n id Int @id @default(autoincrement())\n day_id Int\n trip_id Int\n text String\n time String?\n icon String? @default(\"📝\")\n sort_order Float? @default(0)\n created_at DateTime? @default(now())\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n days days @relation(fields: [day_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([day_id], map: \"idx_day_notes_day_id\")\n}\n\nmodel days {\n id Int @id @default(autoincrement())\n trip_id Int\n day_number Int\n date String?\n notes String?\n title String?\n day_accommodations_day_accommodations_end_day_idTodays day_accommodations[] @relation(\"day_accommodations_end_day_idTodays\")\n day_accommodations_day_accommodations_start_day_idTodays day_accommodations[] @relation(\"day_accommodations_start_day_idTodays\")\n day_assignments day_assignments[]\n day_notes day_notes[]\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n photos photos[]\n reservation_day_positions reservation_day_positions[]\n reservations_reservations_end_day_idTodays reservations[] @relation(\"reservations_end_day_idTodays\")\n reservations_reservations_day_idTodays reservations[] @relation(\"reservations_day_idTodays\")\n\n @@unique([trip_id, day_number], map: \"sqlite_autoindex_days_1\")\n @@index([trip_id], map: \"idx_days_trip_id\")\n}\n\nmodel file_links {\n id Int @id @default(autoincrement())\n file_id Int\n reservation_id Int?\n assignment_id Int?\n place_id Int?\n created_at DateTime? @default(now())\n places places? @relation(fields: [place_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n day_assignments day_assignments? @relation(fields: [assignment_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n reservations reservations? @relation(fields: [reservation_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trip_files trip_files @relation(fields: [file_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([file_id, place_id], map: \"sqlite_autoindex_file_links_3\")\n @@unique([file_id, assignment_id], map: \"sqlite_autoindex_file_links_2\")\n @@unique([file_id, reservation_id], map: \"sqlite_autoindex_file_links_1\")\n}\n\nmodel google_place_photo_meta {\n place_id String @id\n attribution String?\n fetched_at Int\n error_at Int?\n}\n\nmodel idempotency_keys {\n key String\n user_id Int\n method String\n path String\n status_code Int\n response_body String\n created_at Int @default(dbgenerated(\"strftime('%s','now')\"))\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([key, user_id, method, path])\n @@index([created_at], map: \"idx_idempotency_keys_created\")\n}\n\nmodel invite_tokens {\n id Int @id @default(autoincrement())\n token String @unique(map: \"sqlite_autoindex_invite_tokens_1\")\n max_uses Int @default(1)\n used_count Int @default(0)\n expires_at String?\n created_by Int\n created_at DateTime? @default(now())\n users users @relation(fields: [created_by], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel journey_contributors {\n journey_id Int\n user_id Int\n role String\n added_at Int\n hide_skeletons Int @default(0)\n users users @relation(fields: [user_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n journeys journeys @relation(fields: [journey_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([journey_id, user_id])\n @@index([user_id], map: \"idx_journey_contributors_user\")\n}\n\nmodel journey_entries {\n id Int @id @default(autoincrement())\n journey_id Int\n source_trip_id Int?\n source_place_id Int?\n author_id Int\n type String\n title String?\n story String?\n entry_date String\n entry_time String?\n location_name String?\n location_lat Float?\n location_lng Float?\n mood String?\n weather String?\n tags String?\n visibility String? @default(\"private\")\n sort_order Int? @default(0)\n created_at Int\n updated_at Int\n pros_cons String?\n users users @relation(fields: [author_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n places places? @relation(fields: [source_place_id], references: [id], onUpdate: NoAction)\n trips trips? @relation(fields: [source_trip_id], references: [id], onUpdate: NoAction)\n journeys journeys @relation(fields: [journey_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n journey_entry_photos journey_entry_photos[]\n\n @@index([journey_id, entry_date, sort_order], map: \"idx_journey_entries_order\")\n @@index([source_place_id], map: \"idx_journey_entries_source\")\n @@index([journey_id, entry_date], map: \"idx_journey_entries_journey\")\n}\n\nmodel journey_entry_photos {\n entry_id Int\n journey_photo_id Int\n sort_order Int? @default(0)\n created_at Int\n journey_photos journey_photos @relation(fields: [journey_photo_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n journey_entries journey_entries @relation(fields: [entry_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([entry_id, journey_photo_id])\n @@index([journey_photo_id], map: \"idx_journey_entry_photos_photo\")\n @@index([entry_id], map: \"idx_journey_entry_photos_entry\")\n}\n\nmodel journey_photos {\n id Int @id @default(autoincrement())\n journey_id Int\n photo_id Int\n caption String?\n shared Int? @default(0)\n sort_order Int? @default(0)\n provider String?\n asset_id String?\n owner_id Int?\n created_at Int\n journey_entry_photos journey_entry_photos[]\n trek_photos trek_photos @relation(fields: [photo_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n journeys journeys @relation(fields: [journey_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([journey_id, photo_id], map: \"sqlite_autoindex_journey_photos_1\")\n @@index([journey_id], map: \"idx_journey_photos_journey\")\n}\n\nmodel journey_share_tokens {\n id Int @id @default(autoincrement())\n journey_id Int @unique(map: \"idx_journey_share_journey\")\n token String @unique(map: \"sqlite_autoindex_journey_share_tokens_1\")\n created_by Int\n share_timeline Int? @default(1)\n share_gallery Int? @default(1)\n share_map Int? @default(1)\n created_at DateTime? @default(now())\n users users @relation(fields: [created_by], references: [id], onDelete: NoAction, onUpdate: NoAction)\n journeys journeys @relation(fields: [journey_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel journey_trips {\n journey_id Int\n trip_id Int\n added_at Int\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n journeys journeys @relation(fields: [journey_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([journey_id, trip_id])\n @@index([journey_id], map: \"idx_journey_trips_journey\")\n}\n\nmodel journeys {\n id Int @id @default(autoincrement())\n user_id Int\n title String\n subtitle String?\n cover_gradient String?\n status String? @default(\"draft\")\n created_at Int\n updated_at Int\n cover_image String?\n journey_contributors journey_contributors[]\n journey_entries journey_entries[]\n journey_photos journey_photos[]\n journey_share_tokens journey_share_tokens?\n journey_trips journey_trips[]\n users users @relation(fields: [user_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n\n @@index([user_id], map: \"idx_journeys_user\")\n}\n\nmodel mcp_tokens {\n id Int @id @default(autoincrement())\n user_id Int\n name String\n token_hash String @unique(map: \"idx_mcp_tokens_hash\")\n token_prefix String\n created_at DateTime? @default(now())\n last_used_at DateTime?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel notification_channel_preferences {\n user_id Int\n event_type String\n channel String\n enabled Int @default(1)\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([user_id, event_type, channel])\n @@index([user_id], map: \"idx_ncp_user\")\n}\n\nmodel notifications {\n id Int @id @default(autoincrement())\n type String\n scope String\n target Int\n sender_id Int?\n recipient_id Int\n title_key String\n title_params String? @default(\"{}\")\n text_key String\n text_params String? @default(\"{}\")\n positive_text_key String?\n negative_text_key String?\n positive_callback String?\n negative_callback String?\n response String?\n navigate_text_key String?\n navigate_target String?\n is_read Int? @default(0)\n created_at DateTime? @default(now())\n users_notifications_recipient_idTousers users @relation(\"notifications_recipient_idTousers\", fields: [recipient_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n users_notifications_sender_idTousers users? @relation(\"notifications_sender_idTousers\", fields: [sender_id], references: [id], onUpdate: NoAction)\n\n @@index([target, scope], map: \"idx_notifications_target_scope\")\n @@index([recipient_id, created_at(sort: Desc)], map: \"idx_notifications_recipient_created\")\n @@index([recipient_id, is_read, created_at(sort: Desc)], map: \"idx_notifications_recipient\")\n}\n\nmodel oauth_clients {\n id String @id\n user_id Int?\n name String\n client_id String @unique(map: \"idx_oauth_clients_client_id\")\n client_secret_hash String\n redirect_uris String @default(\"[]\")\n allowed_scopes String @default(\"[]\")\n created_at DateTime? @default(now())\n is_public Int @default(0)\n created_via String @default(\"settings_ui\")\n users users? @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n oauth_consents oauth_consents[]\n oauth_tokens oauth_tokens[]\n\n @@index([user_id], map: \"idx_oauth_clients_user\")\n}\n\nmodel oauth_consents {\n id Int @id @default(autoincrement())\n client_id String\n user_id Int\n scopes String @default(\"[]\")\n updated_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n oauth_clients oauth_clients @relation(fields: [client_id], references: [client_id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([client_id, user_id], map: \"sqlite_autoindex_oauth_consents_1\")\n}\n\nmodel oauth_tokens {\n id Int @id @default(autoincrement())\n client_id String\n user_id Int\n access_token_hash String @unique(map: \"idx_oauth_tokens_access\")\n refresh_token_hash String @unique(map: \"idx_oauth_tokens_refresh\")\n scopes String @default(\"[]\")\n access_token_expires_at DateTime\n refresh_token_expires_at DateTime\n revoked_at DateTime?\n created_at DateTime? @default(now())\n parent_token_id Int?\n audience String?\n oauth_tokens oauth_tokens? @relation(\"oauth_tokensTooauth_tokens\", fields: [parent_token_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n other_oauth_tokens oauth_tokens[] @relation(\"oauth_tokensTooauth_tokens\")\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n oauth_clients oauth_clients @relation(fields: [client_id], references: [client_id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([parent_token_id], map: \"idx_oauth_tokens_parent\")\n @@index([user_id], map: \"idx_oauth_tokens_user\")\n}\n\nmodel packing_bag_members {\n bag_id Int\n user_id Int\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n packing_bags packing_bags @relation(fields: [bag_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([bag_id, user_id])\n @@index([bag_id], map: \"idx_packing_bag_members_bag\")\n}\n\nmodel packing_bags {\n id Int @id @default(autoincrement())\n trip_id Int\n name String\n color String @default(\"#6366f1\")\n weight_limit_grams Int?\n sort_order Int? @default(0)\n created_at DateTime? @default(now())\n user_id Int?\n packing_bag_members packing_bag_members[]\n users users? @relation(fields: [user_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n packing_items packing_items[]\n}\n\nmodel packing_category_assignees {\n id Int @id @default(autoincrement())\n trip_id Int\n category_name String\n user_id Int\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([trip_id, category_name, user_id], map: \"sqlite_autoindex_packing_category_assignees_1\")\n}\n\nmodel packing_items {\n id Int @id @default(autoincrement())\n trip_id Int\n name String\n checked Int? @default(0)\n category String?\n sort_order Int? @default(0)\n created_at DateTime? @default(now())\n weight_grams Int?\n bag_id Int?\n quantity Int @default(1)\n packing_bags packing_bags? @relation(fields: [bag_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_packing_items_trip_id\")\n}\n\nmodel packing_template_categories {\n id Int @id @default(autoincrement())\n template_id Int\n name String\n sort_order Int @default(0)\n packing_templates packing_templates @relation(fields: [template_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n packing_template_items packing_template_items[]\n}\n\nmodel packing_template_items {\n id Int @id @default(autoincrement())\n category_id Int\n name String\n sort_order Int @default(0)\n packing_template_categories packing_template_categories @relation(fields: [category_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel packing_templates {\n id Int @id @default(autoincrement())\n name String\n created_by Int\n created_at DateTime? @default(now())\n packing_template_categories packing_template_categories[]\n users users @relation(fields: [created_by], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel password_reset_tokens {\n id Int @id @default(autoincrement())\n user_id Int\n token_hash String @unique(map: \"sqlite_autoindex_password_reset_tokens_1\")\n expires_at DateTime\n consumed_at DateTime?\n created_at DateTime? @default(now())\n created_ip String?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([token_hash], map: \"idx_prt_hash\")\n @@index([user_id], map: \"idx_prt_user\")\n}\n\nmodel photo_provider_fields {\n id Int @id @default(autoincrement())\n provider_id String\n field_key String\n label String\n input_type String @default(\"text\")\n placeholder String?\n hint String?\n required Int? @default(0)\n secret Int? @default(0)\n settings_key String?\n payload_key String?\n sort_order Int? @default(0)\n photo_providers photo_providers @relation(fields: [provider_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([provider_id, field_key], map: \"sqlite_autoindex_photo_provider_fields_1\")\n}\n\nmodel photo_providers {\n id String @id\n name String\n description String?\n icon String? @default(\"Image\")\n enabled Int? @default(0)\n sort_order Int? @default(0)\n photo_provider_fields photo_provider_fields[]\n}\n\nmodel photos {\n id Int @id @default(autoincrement())\n trip_id Int\n day_id Int?\n place_id Int?\n filename String\n original_name String\n file_size Int?\n mime_type String?\n caption String?\n taken_at String?\n created_at DateTime? @default(now())\n places places? @relation(fields: [place_id], references: [id], onUpdate: NoAction)\n days days? @relation(fields: [day_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([place_id], map: \"idx_photos_place_id\")\n @@index([day_id], map: \"idx_photos_day_id\")\n @@index([trip_id], map: \"idx_photos_trip_id\")\n}\n\nmodel place_details_cache {\n place_id String\n lang String @default(\"\")\n expanded Int @default(0)\n payload_json String\n fetched_at Int\n\n @@id([place_id, lang, expanded])\n}\n\nmodel place_regions {\n place_id Int @id @default(autoincrement())\n country_code String\n region_code String\n region_name String\n places places @relation(fields: [place_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([region_code], map: \"idx_place_regions_region\")\n @@index([country_code], map: \"idx_place_regions_country\")\n}\n\nmodel place_tags {\n place_id Int\n tag_id Int\n tags tags @relation(fields: [tag_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n places places @relation(fields: [place_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([place_id, tag_id])\n @@index([tag_id], map: \"idx_place_tags_tag_id\")\n @@index([place_id], map: \"idx_place_tags_place_id\")\n}\n\nmodel places {\n id Int @id @default(autoincrement())\n trip_id Int\n name String\n description String?\n lat Float?\n lng Float?\n address String?\n category_id Int?\n price Float?\n currency String?\n reservation_status String? @default(\"none\")\n reservation_notes String?\n reservation_datetime String?\n place_time String?\n end_time String?\n duration_minutes Int? @default(60)\n notes String?\n image_url String?\n google_place_id String?\n website String?\n phone String?\n transport_mode String? @default(\"walking\")\n created_at DateTime? @default(now())\n updated_at DateTime? @default(now())\n osm_id String?\n route_geometry String?\n day_accommodations day_accommodations[]\n day_assignments day_assignments[]\n file_links file_links[]\n journey_entries journey_entries[]\n photos photos[]\n place_regions place_regions?\n place_tags place_tags[]\n categories categories? @relation(fields: [category_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n reservations reservations[]\n trip_files trip_files[]\n\n @@index([category_id], map: \"idx_places_category_id\")\n @@index([trip_id], map: \"idx_places_trip_id\")\n}\n\nmodel reservation_day_positions {\n reservation_id Int\n day_id Int\n position Float\n days days @relation(fields: [day_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n reservations reservations @relation(fields: [reservation_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([reservation_id, day_id])\n}\n\nmodel reservation_endpoints {\n id Int @id @default(autoincrement())\n reservation_id Int\n role String\n sequence Int @default(0)\n name String\n code String?\n lat Float\n lng Float\n timezone String?\n local_time String?\n local_date String?\n created_at DateTime? @default(now())\n reservations reservations @relation(fields: [reservation_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([reservation_id], map: \"idx_reservation_endpoints_reservation_id\")\n}\n\nmodel reservations {\n id Int @id @default(autoincrement())\n trip_id Int\n day_id Int?\n end_day_id Int?\n place_id Int?\n assignment_id Int?\n title String\n accommodation_id String?\n reservation_time String?\n reservation_end_time String?\n location String?\n confirmation_number String?\n notes String?\n status String? @default(\"pending\")\n type String? @default(\"other\")\n created_at DateTime? @default(now())\n metadata String?\n day_plan_position Float?\n needs_review Int @default(0)\n budget_items budget_items[]\n file_links file_links[]\n reservation_day_positions reservation_day_positions[]\n reservation_endpoints reservation_endpoints[]\n day_assignments day_assignments? @relation(fields: [assignment_id], references: [id], onUpdate: NoAction)\n places places? @relation(fields: [place_id], references: [id], onUpdate: NoAction)\n days_reservations_end_day_idTodays days? @relation(\"reservations_end_day_idTodays\", fields: [end_day_id], references: [id], onUpdate: NoAction)\n days_reservations_day_idTodays days? @relation(\"reservations_day_idTodays\", fields: [day_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trip_files trip_files[]\n\n @@index([day_id], map: \"idx_reservations_day_id\")\n @@index([trip_id], map: \"idx_reservations_trip_id\")\n}\n\nmodel schema_version {\n id Int @id @default(autoincrement())\n version Int\n}\n\nmodel settings {\n id Int @id @default(autoincrement())\n user_id Int\n key String\n value String?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, key], map: \"sqlite_autoindex_settings_1\")\n}\n\nmodel share_tokens {\n id Int @id @default(autoincrement())\n trip_id Int\n token String @unique(map: \"sqlite_autoindex_share_tokens_1\")\n created_by Int\n share_map Int? @default(1)\n share_bookings Int? @default(1)\n share_packing Int? @default(0)\n share_budget Int? @default(0)\n share_collab Int? @default(0)\n created_at DateTime? @default(now())\n expires_at String?\n users users @relation(fields: [created_by], references: [id], onDelete: NoAction, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([token], map: \"idx_share_tokens_token\")\n}\n\nmodel tags {\n id Int @id @default(autoincrement())\n user_id Int\n name String\n color String? @default(\"#10b981\")\n created_at DateTime? @default(now())\n place_tags place_tags[]\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel todo_category_assignees {\n id Int @id @default(autoincrement())\n trip_id Int\n category_name String\n user_id Int\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([trip_id, category_name, user_id], map: \"sqlite_autoindex_todo_category_assignees_1\")\n}\n\nmodel todo_items {\n id Int @id @default(autoincrement())\n trip_id Int\n name String\n checked Int? @default(0)\n category String?\n sort_order Int? @default(0)\n due_date String?\n description String?\n assigned_user_id Int?\n priority Int? @default(0)\n created_at DateTime? @default(now())\n reminded_at DateTime?\n users users? @relation(fields: [assigned_user_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_todo_items_trip_id\")\n}\n\nmodel trek_photo_cache_meta {\n cache_key String @id\n content_type String @default(\"image/jpeg\")\n fetched_at Int\n\n @@index([fetched_at], map: \"idx_trek_photo_cache_meta_fetched_at\")\n}\n\nmodel trek_photos {\n id Int @id @default(autoincrement())\n provider String\n asset_id String?\n owner_id Int?\n file_path String?\n thumbnail_path String?\n width Int?\n height Int?\n created_at DateTime? @default(now())\n passphrase String?\n journey_photos journey_photos[]\n users users? @relation(fields: [owner_id], references: [id], onUpdate: NoAction)\n trip_photos trip_photos[]\n\n @@unique([provider, asset_id, owner_id], map: \"idx_trek_photos_provider_asset\", where: raw(\"asset_id IS NOT NULL\"))\n @@index([owner_id], map: \"idx_trek_photos_owner\")\n}\n\nmodel trip_album_links {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n provider String\n album_id String\n album_name String @default(\"\")\n sync_enabled Int @default(1)\n last_synced_at DateTime?\n created_at DateTime? @default(now())\n passphrase String?\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trip_photos trip_photos[]\n\n @@unique([trip_id, user_id, provider, album_id], map: \"sqlite_autoindex_trip_album_links_1\")\n @@index([trip_id], map: \"idx_trip_album_links_trip\")\n}\n\nmodel trip_files {\n id Int @id @default(autoincrement())\n trip_id Int\n place_id Int?\n reservation_id Int?\n filename String\n original_name String\n file_size Int?\n mime_type String?\n description String?\n created_at DateTime? @default(now())\n note_id Int?\n uploaded_by Int?\n starred Int? @default(0)\n deleted_at String?\n file_links file_links[]\n users users? @relation(fields: [uploaded_by], references: [id], onUpdate: NoAction)\n collab_notes collab_notes? @relation(fields: [note_id], references: [id], onUpdate: NoAction)\n reservations reservations? @relation(fields: [reservation_id], references: [id], onUpdate: NoAction)\n places places? @relation(fields: [place_id], references: [id], onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([trip_id], map: \"idx_trip_files_trip_id\")\n}\n\nmodel trip_members {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n invited_by Int?\n added_at DateTime? @default(now())\n users_trip_members_invited_byTousers users? @relation(\"trip_members_invited_byTousers\", fields: [invited_by], references: [id], onDelete: NoAction, onUpdate: NoAction)\n users_trip_members_user_idTousers users @relation(\"trip_members_user_idTousers\", fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([trip_id, user_id], map: \"sqlite_autoindex_trip_members_1\")\n @@index([user_id], map: \"idx_trip_members_user_id\")\n @@index([trip_id], map: \"idx_trip_members_trip_id\")\n}\n\nmodel trip_photos {\n id Int @id @default(autoincrement())\n trip_id Int\n user_id Int\n photo_id Int\n shared Int @default(1)\n album_link_id Int?\n added_at DateTime? @default(now())\n trip_album_links trip_album_links? @relation(fields: [album_link_id], references: [id], onUpdate: NoAction)\n trek_photos trek_photos @relation(fields: [photo_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n trips trips @relation(fields: [trip_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([trip_id, user_id, photo_id], map: \"sqlite_autoindex_trip_photos_1\")\n @@index([photo_id], map: \"idx_trip_photos_photo\")\n @@index([trip_id], map: \"idx_trip_photos_trip\")\n}\n\nmodel trips {\n id Int @id @default(autoincrement())\n user_id Int\n title String\n description String?\n start_date String?\n end_date String?\n currency String? @default(\"EUR\")\n cover_image String?\n is_archived Int? @default(0)\n reminder_days Int? @default(3)\n created_at DateTime? @default(now())\n updated_at DateTime? @default(now())\n budget_category_order budget_category_order[]\n budget_items budget_items[]\n collab_messages collab_messages[]\n collab_notes collab_notes[]\n collab_polls collab_polls[]\n day_accommodations day_accommodations[]\n day_notes day_notes[]\n days days[]\n journey_entries journey_entries[]\n journey_trips journey_trips[]\n packing_bags packing_bags[]\n packing_category_assignees packing_category_assignees[]\n packing_items packing_items[]\n photos photos[]\n places places[]\n reservations reservations[]\n share_tokens share_tokens[]\n todo_category_assignees todo_category_assignees[]\n todo_items todo_items[]\n trip_album_links trip_album_links[]\n trip_files trip_files[]\n trip_members trip_members[]\n trip_photos trip_photos[]\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@index([created_at(sort: Desc)], map: \"idx_trips_created_at\")\n @@index([user_id], map: \"idx_trips_user_id\")\n}\n\nmodel user_notice_dismissals {\n user_id Int\n notice_id String\n dismissed_at Int\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@id([user_id, notice_id])\n}\n\nmodel users {\n id Int @id @default(autoincrement())\n username String @unique(map: \"sqlite_autoindex_users_1\")\n email String @unique(map: \"sqlite_autoindex_users_2\")\n password_hash String\n role String @default(\"user\")\n maps_api_key String?\n unsplash_api_key String?\n openweather_api_key String?\n avatar String?\n oidc_sub String?\n oidc_issuer String?\n last_login DateTime?\n mfa_enabled Int? @default(0)\n mfa_secret String?\n mfa_backup_codes String?\n immich_url String?\n immich_access_token String?\n synology_url String?\n synology_username String?\n synology_password String?\n synology_sid String?\n must_change_password Int? @default(0)\n password_version Int @default(0)\n created_at DateTime? @default(now())\n updated_at DateTime? @default(now())\n immich_api_key String?\n synology_skip_ssl Int @default(0)\n synology_did String?\n first_seen_version String @default(\"0.0.0\")\n login_count Int @default(0)\n immich_auto_upload Int @default(0)\n assignment_participants assignment_participants[]\n audit_log audit_log[]\n bucket_list bucket_list[]\n budget_item_members budget_item_members[]\n budget_items budget_items[]\n categories categories[]\n collab_message_reactions collab_message_reactions[]\n collab_messages collab_messages[]\n collab_notes collab_notes[]\n collab_poll_votes collab_poll_votes[]\n collab_polls collab_polls[]\n idempotency_keys idempotency_keys[]\n invite_tokens invite_tokens[]\n journey_contributors journey_contributors[]\n journey_entries journey_entries[]\n journey_share_tokens journey_share_tokens[]\n journeys journeys[]\n mcp_tokens mcp_tokens[]\n notification_channel_preferences notification_channel_preferences[]\n notifications_notifications_recipient_idTousers notifications[] @relation(\"notifications_recipient_idTousers\")\n notifications_notifications_sender_idTousers notifications[] @relation(\"notifications_sender_idTousers\")\n oauth_clients oauth_clients[]\n oauth_consents oauth_consents[]\n oauth_tokens oauth_tokens[]\n packing_bag_members packing_bag_members[]\n packing_bags packing_bags[]\n packing_category_assignees packing_category_assignees[]\n packing_templates packing_templates[]\n password_reset_tokens password_reset_tokens[]\n settings settings[]\n share_tokens share_tokens[]\n tags tags[]\n todo_category_assignees todo_category_assignees[]\n todo_items todo_items[]\n trek_photos trek_photos[]\n trip_album_links trip_album_links[]\n trip_files trip_files[]\n trip_members_trip_members_invited_byTousers trip_members[] @relation(\"trip_members_invited_byTousers\")\n trip_members_trip_members_user_idTousers trip_members[] @relation(\"trip_members_user_idTousers\")\n trip_photos trip_photos[]\n trips trips[]\n user_notice_dismissals user_notice_dismissals[]\n vacay_entries vacay_entries[]\n vacay_plan_members vacay_plan_members[]\n vacay_plans vacay_plans?\n vacay_user_colors vacay_user_colors[]\n vacay_user_years vacay_user_years[]\n visited_countries visited_countries[]\n visited_regions visited_regions[]\n\n @@index([email], map: \"idx_users_email\")\n}\n\nmodel vacay_company_holidays {\n id Int @id @default(autoincrement())\n plan_id Int\n date String\n note String? @default(\"\")\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([plan_id, date], map: \"sqlite_autoindex_vacay_company_holidays_1\")\n}\n\nmodel vacay_entries {\n id Int @id @default(autoincrement())\n plan_id Int\n user_id Int\n date String\n note String? @default(\"\")\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, plan_id, date], map: \"sqlite_autoindex_vacay_entries_1\")\n}\n\nmodel vacay_holiday_calendars {\n id Int @id @default(autoincrement())\n plan_id Int\n region String\n label String?\n color String @default(\"#fecaca\")\n sort_order Int @default(0)\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n}\n\nmodel vacay_plan_members {\n id Int @id @default(autoincrement())\n plan_id Int\n user_id Int\n status String? @default(\"pending\")\n created_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([plan_id, user_id], map: \"sqlite_autoindex_vacay_plan_members_1\")\n}\n\nmodel vacay_plans {\n id Int @id @default(autoincrement())\n owner_id Int @unique(map: \"sqlite_autoindex_vacay_plans_1\")\n block_weekends Int? @default(1)\n holidays_enabled Int? @default(0)\n holidays_region String? @default(\"\")\n company_holidays_enabled Int? @default(1)\n carry_over_enabled Int? @default(1)\n created_at DateTime? @default(now())\n weekend_days String? @default(\"0,6\")\n week_start Int @default(1)\n vacay_company_holidays vacay_company_holidays[]\n vacay_entries vacay_entries[]\n vacay_holiday_calendars vacay_holiday_calendars[]\n vacay_plan_members vacay_plan_members[]\n users users @relation(fields: [owner_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n vacay_user_colors vacay_user_colors[]\n vacay_user_years vacay_user_years[]\n vacay_years vacay_years[]\n}\n\nmodel vacay_user_colors {\n id Int @id @default(autoincrement())\n user_id Int\n plan_id Int\n color String? @default(\"#6366f1\")\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, plan_id], map: \"sqlite_autoindex_vacay_user_colors_1\")\n}\n\nmodel vacay_user_years {\n id Int @id @default(autoincrement())\n user_id Int\n plan_id Int\n year Int\n vacation_days Int? @default(30)\n carried_over Int? @default(0)\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, plan_id, year], map: \"sqlite_autoindex_vacay_user_years_1\")\n}\n\nmodel vacay_years {\n id Int @id @default(autoincrement())\n plan_id Int\n year Int\n vacay_plans vacay_plans @relation(fields: [plan_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([plan_id, year], map: \"sqlite_autoindex_vacay_years_1\")\n}\n\nmodel visited_countries {\n id Int @id @default(autoincrement())\n user_id Int\n country_code String\n created_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, country_code], map: \"sqlite_autoindex_visited_countries_1\")\n}\n\nmodel visited_regions {\n id Int @id @default(autoincrement())\n user_id Int\n region_code String\n region_name String\n country_code String\n created_at DateTime? @default(now())\n users users @relation(fields: [user_id], references: [id], onDelete: Cascade, onUpdate: NoAction)\n\n @@unique([user_id, region_code], map: \"sqlite_autoindex_visited_regions_1\")\n @@index([country_code], map: \"idx_visited_regions_country\")\n}\n", + "runtimeDataModel": { + "models": {}, + "enums": {}, + "types": {} + }, + "parameterizationSchema": { + "strings": [], + "graph": "" + } +} + +config.runtimeDataModel = JSON.parse("{\"models\":{\"addons\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icon\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"}],\"dbName\":null},\"app_settings\":{\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":null},\"assignment_participants\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"assignment_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"assignment_participantsTousers\"},{\"name\":\"day_assignments\",\"kind\":\"object\",\"type\":\"day_assignments\",\"relationName\":\"assignment_participantsToday_assignments\"}],\"dbName\":null},\"audit_log\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"action\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"resource\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"details\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"ip\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"audit_logTousers\"}],\"dbName\":null},\"bucket_list\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lat\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"lng\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"country_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"target_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"bucket_listTousers\"}],\"dbName\":null},\"budget_category_order\":{\"fields\":[{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"budget_category_orderTotrips\"}],\"dbName\":null},\"budget_item_members\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"budget_item_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paid\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"budget_item_membersTousers\"},{\"name\":\"budget_items\",\"kind\":\"object\",\"type\":\"budget_items\",\"relationName\":\"budget_item_membersTobudget_items\"}],\"dbName\":null},\"budget_items\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"total_price\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"persons\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"days\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"note\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"paid_by_user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"expense_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"budget_item_members\",\"kind\":\"object\",\"type\":\"budget_item_members\",\"relationName\":\"budget_item_membersTobudget_items\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"budget_itemsToreservations\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"budget_itemsTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"budget_itemsTotrips\"}],\"dbName\":null},\"categories\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icon\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"categoriesTousers\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"categoriesToplaces\"}],\"dbName\":null},\"collab_message_reactions\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"message_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"emoji\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"collab_message_reactionsTousers\"},{\"name\":\"collab_messages\",\"kind\":\"object\",\"type\":\"collab_messages\",\"relationName\":\"collab_message_reactionsTocollab_messages\"}],\"dbName\":null},\"collab_messages\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"text\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reply_to\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"deleted\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"collab_message_reactions\",\"kind\":\"object\",\"type\":\"collab_message_reactions\",\"relationName\":\"collab_message_reactionsTocollab_messages\"},{\"name\":\"collab_messages\",\"kind\":\"object\",\"type\":\"collab_messages\",\"relationName\":\"collab_messagesTocollab_messages\"},{\"name\":\"other_collab_messages\",\"kind\":\"object\",\"type\":\"collab_messages\",\"relationName\":\"collab_messagesTocollab_messages\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"collab_messagesTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"collab_messagesTotrips\"}],\"dbName\":null},\"collab_notes\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"content\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"pinned\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"website\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"collab_notesTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"collab_notesTotrips\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"collab_notesTotrip_files\"}],\"dbName\":null},\"collab_poll_votes\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"poll_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"option_index\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"collab_poll_votesTousers\"},{\"name\":\"collab_polls\",\"kind\":\"object\",\"type\":\"collab_polls\",\"relationName\":\"collab_poll_votesTocollab_polls\"}],\"dbName\":null},\"collab_polls\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"question\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"options\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"multiple\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"closed\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"deadline\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"collab_poll_votes\",\"kind\":\"object\",\"type\":\"collab_poll_votes\",\"relationName\":\"collab_poll_votesTocollab_polls\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"collab_pollsTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"collab_pollsTotrips\"}],\"dbName\":null},\"day_accommodations\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"start_day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"end_day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"check_in\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"check_in_end\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"check_out\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"confirmation\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"days_day_accommodations_end_day_idTodays\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"day_accommodations_end_day_idTodays\"},{\"name\":\"days_day_accommodations_start_day_idTodays\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"day_accommodations_start_day_idTodays\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"day_accommodationsToplaces\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"day_accommodationsTotrips\"}],\"dbName\":null},\"day_assignments\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"order_index\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_datetime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"assignment_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"assignment_end_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"assignment_participants\",\"kind\":\"object\",\"type\":\"assignment_participants\",\"relationName\":\"assignment_participantsToday_assignments\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"day_assignmentsToplaces\"},{\"name\":\"days\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"day_assignmentsTodays\"},{\"name\":\"file_links\",\"kind\":\"object\",\"type\":\"file_links\",\"relationName\":\"day_assignmentsTofile_links\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"day_assignmentsToreservations\"}],\"dbName\":null},\"day_notes\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"text\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icon\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"day_notesTotrips\"},{\"name\":\"days\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"day_notesTodays\"}],\"dbName\":null},\"days\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_number\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"day_accommodations_day_accommodations_end_day_idTodays\",\"kind\":\"object\",\"type\":\"day_accommodations\",\"relationName\":\"day_accommodations_end_day_idTodays\"},{\"name\":\"day_accommodations_day_accommodations_start_day_idTodays\",\"kind\":\"object\",\"type\":\"day_accommodations\",\"relationName\":\"day_accommodations_start_day_idTodays\"},{\"name\":\"day_assignments\",\"kind\":\"object\",\"type\":\"day_assignments\",\"relationName\":\"day_assignmentsTodays\"},{\"name\":\"day_notes\",\"kind\":\"object\",\"type\":\"day_notes\",\"relationName\":\"day_notesTodays\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"daysTotrips\"},{\"name\":\"photos\",\"kind\":\"object\",\"type\":\"photos\",\"relationName\":\"daysTophotos\"},{\"name\":\"reservation_day_positions\",\"kind\":\"object\",\"type\":\"reservation_day_positions\",\"relationName\":\"daysToreservation_day_positions\"},{\"name\":\"reservations_reservations_end_day_idTodays\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservations_end_day_idTodays\"},{\"name\":\"reservations_reservations_day_idTodays\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservations_day_idTodays\"}],\"dbName\":null},\"file_links\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"file_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"reservation_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"assignment_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"file_linksToplaces\"},{\"name\":\"day_assignments\",\"kind\":\"object\",\"type\":\"day_assignments\",\"relationName\":\"day_assignmentsTofile_links\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"file_linksToreservations\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"file_linksTotrip_files\"}],\"dbName\":null},\"google_place_photo_meta\":{\"fields\":[{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"attribution\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fetched_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"error_at\",\"kind\":\"scalar\",\"type\":\"Int\"}],\"dbName\":null},\"idempotency_keys\":{\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"method\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status_code\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"response_body\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"idempotency_keysTousers\"}],\"dbName\":null},\"invite_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"max_uses\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"used_count\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"invite_tokensTousers\"}],\"dbName\":null},\"journey_contributors\":{\"fields\":[{\"name\":\"journey_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"role\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"added_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"hide_skeletons\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"journey_contributorsTousers\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journey_contributorsTojourneys\"}],\"dbName\":null},\"journey_entries\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"source_trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"source_place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"author_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"story\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"entry_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"entry_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"location_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"location_lat\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"location_lng\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"mood\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"weather\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"tags\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"visibility\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"pros_cons\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"journey_entriesTousers\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"journey_entriesToplaces\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"journey_entriesTotrips\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journey_entriesTojourneys\"},{\"name\":\"journey_entry_photos\",\"kind\":\"object\",\"type\":\"journey_entry_photos\",\"relationName\":\"journey_entriesTojourney_entry_photos\"}],\"dbName\":null},\"journey_entry_photos\":{\"fields\":[{\"name\":\"entry_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_photo_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_photos\",\"kind\":\"object\",\"type\":\"journey_photos\",\"relationName\":\"journey_entry_photosTojourney_photos\"},{\"name\":\"journey_entries\",\"kind\":\"object\",\"type\":\"journey_entries\",\"relationName\":\"journey_entriesTojourney_entry_photos\"}],\"dbName\":null},\"journey_photos\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"photo_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"caption\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"shared\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"provider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"asset_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"owner_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_entry_photos\",\"kind\":\"object\",\"type\":\"journey_entry_photos\",\"relationName\":\"journey_entry_photosTojourney_photos\"},{\"name\":\"trek_photos\",\"kind\":\"object\",\"type\":\"trek_photos\",\"relationName\":\"journey_photosTotrek_photos\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journey_photosTojourneys\"}],\"dbName\":null},\"journey_share_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"journey_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_timeline\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_gallery\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_map\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"journey_share_tokensTousers\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journey_share_tokensTojourneys\"}],\"dbName\":null},\"journey_trips\":{\"fields\":[{\"name\":\"journey_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"added_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"journey_tripsTotrips\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journey_tripsTojourneys\"}],\"dbName\":null},\"journeys\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"subtitle\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"cover_gradient\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"cover_image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"journey_contributors\",\"kind\":\"object\",\"type\":\"journey_contributors\",\"relationName\":\"journey_contributorsTojourneys\"},{\"name\":\"journey_entries\",\"kind\":\"object\",\"type\":\"journey_entries\",\"relationName\":\"journey_entriesTojourneys\"},{\"name\":\"journey_photos\",\"kind\":\"object\",\"type\":\"journey_photos\",\"relationName\":\"journey_photosTojourneys\"},{\"name\":\"journey_share_tokens\",\"kind\":\"object\",\"type\":\"journey_share_tokens\",\"relationName\":\"journey_share_tokensTojourneys\"},{\"name\":\"journey_trips\",\"kind\":\"object\",\"type\":\"journey_trips\",\"relationName\":\"journey_tripsTojourneys\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"journeysTousers\"}],\"dbName\":null},\"mcp_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"token_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"token_prefix\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"last_used_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"mcp_tokensTousers\"}],\"dbName\":null},\"notification_channel_preferences\":{\"fields\":[{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"event_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"channel\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"notification_channel_preferencesTousers\"}],\"dbName\":null},\"notifications\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"scope\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"target\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"sender_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"recipient_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title_params\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"text_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"text_params\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"positive_text_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"negative_text_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"positive_callback\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"negative_callback\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"response\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"navigate_text_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"navigate_target\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"is_read\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users_notifications_recipient_idTousers\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"notifications_recipient_idTousers\"},{\"name\":\"users_notifications_sender_idTousers\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"notifications_sender_idTousers\"}],\"dbName\":null},\"oauth_clients\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"client_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"client_secret_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"redirect_uris\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allowed_scopes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"is_public\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_via\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"oauth_clientsTousers\"},{\"name\":\"oauth_consents\",\"kind\":\"object\",\"type\":\"oauth_consents\",\"relationName\":\"oauth_clientsTooauth_consents\"},{\"name\":\"oauth_tokens\",\"kind\":\"object\",\"type\":\"oauth_tokens\",\"relationName\":\"oauth_clientsTooauth_tokens\"}],\"dbName\":null},\"oauth_consents\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"client_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"scopes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"oauth_consentsTousers\"},{\"name\":\"oauth_clients\",\"kind\":\"object\",\"type\":\"oauth_clients\",\"relationName\":\"oauth_clientsTooauth_consents\"}],\"dbName\":null},\"oauth_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"client_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"access_token_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"refresh_token_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"scopes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"access_token_expires_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"refresh_token_expires_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"revoked_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"parent_token_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"audience\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"oauth_tokens\",\"kind\":\"object\",\"type\":\"oauth_tokens\",\"relationName\":\"oauth_tokensTooauth_tokens\"},{\"name\":\"other_oauth_tokens\",\"kind\":\"object\",\"type\":\"oauth_tokens\",\"relationName\":\"oauth_tokensTooauth_tokens\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"oauth_tokensTousers\"},{\"name\":\"oauth_clients\",\"kind\":\"object\",\"type\":\"oauth_clients\",\"relationName\":\"oauth_clientsTooauth_tokens\"}],\"dbName\":null},\"packing_bag_members\":{\"fields\":[{\"name\":\"bag_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"packing_bag_membersTousers\"},{\"name\":\"packing_bags\",\"kind\":\"object\",\"type\":\"packing_bags\",\"relationName\":\"packing_bag_membersTopacking_bags\"}],\"dbName\":null},\"packing_bags\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"weight_limit_grams\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"packing_bag_members\",\"kind\":\"object\",\"type\":\"packing_bag_members\",\"relationName\":\"packing_bag_membersTopacking_bags\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"packing_bagsTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"packing_bagsTotrips\"},{\"name\":\"packing_items\",\"kind\":\"object\",\"type\":\"packing_items\",\"relationName\":\"packing_bagsTopacking_items\"}],\"dbName\":null},\"packing_category_assignees\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"packing_category_assigneesTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"packing_category_assigneesTotrips\"}],\"dbName\":null},\"packing_items\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"checked\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"weight_grams\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"bag_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"quantity\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"packing_bags\",\"kind\":\"object\",\"type\":\"packing_bags\",\"relationName\":\"packing_bagsTopacking_items\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"packing_itemsTotrips\"}],\"dbName\":null},\"packing_template_categories\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"template_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"packing_templates\",\"kind\":\"object\",\"type\":\"packing_templates\",\"relationName\":\"packing_template_categoriesTopacking_templates\"},{\"name\":\"packing_template_items\",\"kind\":\"object\",\"type\":\"packing_template_items\",\"relationName\":\"packing_template_categoriesTopacking_template_items\"}],\"dbName\":null},\"packing_template_items\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"packing_template_categories\",\"kind\":\"object\",\"type\":\"packing_template_categories\",\"relationName\":\"packing_template_categoriesTopacking_template_items\"}],\"dbName\":null},\"packing_templates\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"packing_template_categories\",\"kind\":\"object\",\"type\":\"packing_template_categories\",\"relationName\":\"packing_template_categoriesTopacking_templates\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"packing_templatesTousers\"}],\"dbName\":null},\"password_reset_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"token_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"consumed_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"created_ip\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"password_reset_tokensTousers\"}],\"dbName\":null},\"photo_provider_fields\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"provider_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"field_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"label\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"input_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"placeholder\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"hint\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"required\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"secret\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"settings_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"payload_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"photo_providers\",\"kind\":\"object\",\"type\":\"photo_providers\",\"relationName\":\"photo_provider_fieldsTophoto_providers\"}],\"dbName\":null},\"photo_providers\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"icon\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"photo_provider_fields\",\"kind\":\"object\",\"type\":\"photo_provider_fields\",\"relationName\":\"photo_provider_fieldsTophoto_providers\"}],\"dbName\":null},\"photos\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"original_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"file_size\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"mime_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"caption\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"taken_at\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"photosToplaces\"},{\"name\":\"days\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"daysTophotos\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"photosTotrips\"}],\"dbName\":null},\"place_details_cache\":{\"fields\":[{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lang\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expanded\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"payload_json\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fetched_at\",\"kind\":\"scalar\",\"type\":\"Int\"}],\"dbName\":null},\"place_regions\":{\"fields\":[{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"country_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"region_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"region_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"place_regionsToplaces\"}],\"dbName\":null},\"place_tags\":{\"fields\":[{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"tag_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"tags\",\"kind\":\"object\",\"type\":\"tags\",\"relationName\":\"place_tagsTotags\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"place_tagsToplaces\"}],\"dbName\":null},\"places\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lat\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"lng\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"address\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"category_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"price\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"currency\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_datetime\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"place_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"end_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"duration_minutes\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"image_url\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"google_place_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"website\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"phone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"transport_mode\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"osm_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"route_geometry\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"day_accommodations\",\"kind\":\"object\",\"type\":\"day_accommodations\",\"relationName\":\"day_accommodationsToplaces\"},{\"name\":\"day_assignments\",\"kind\":\"object\",\"type\":\"day_assignments\",\"relationName\":\"day_assignmentsToplaces\"},{\"name\":\"file_links\",\"kind\":\"object\",\"type\":\"file_links\",\"relationName\":\"file_linksToplaces\"},{\"name\":\"journey_entries\",\"kind\":\"object\",\"type\":\"journey_entries\",\"relationName\":\"journey_entriesToplaces\"},{\"name\":\"photos\",\"kind\":\"object\",\"type\":\"photos\",\"relationName\":\"photosToplaces\"},{\"name\":\"place_regions\",\"kind\":\"object\",\"type\":\"place_regions\",\"relationName\":\"place_regionsToplaces\"},{\"name\":\"place_tags\",\"kind\":\"object\",\"type\":\"place_tags\",\"relationName\":\"place_tagsToplaces\"},{\"name\":\"categories\",\"kind\":\"object\",\"type\":\"categories\",\"relationName\":\"categoriesToplaces\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"placesTotrips\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"placesToreservations\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"placesTotrip_files\"}],\"dbName\":null},\"reservation_day_positions\":{\"fields\":[{\"name\":\"reservation_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"position\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"days\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"daysToreservation_day_positions\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservation_day_positionsToreservations\"}],\"dbName\":null},\"reservation_endpoints\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"reservation_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"role\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sequence\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lat\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"lng\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"timezone\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"local_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"local_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservation_endpointsToreservations\"}],\"dbName\":null},\"reservations\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"end_day_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"assignment_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"accommodation_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"reservation_end_time\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"location\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"confirmation_number\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"notes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"metadata\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"day_plan_position\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"needs_review\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"budget_items\",\"kind\":\"object\",\"type\":\"budget_items\",\"relationName\":\"budget_itemsToreservations\"},{\"name\":\"file_links\",\"kind\":\"object\",\"type\":\"file_links\",\"relationName\":\"file_linksToreservations\"},{\"name\":\"reservation_day_positions\",\"kind\":\"object\",\"type\":\"reservation_day_positions\",\"relationName\":\"reservation_day_positionsToreservations\"},{\"name\":\"reservation_endpoints\",\"kind\":\"object\",\"type\":\"reservation_endpoints\",\"relationName\":\"reservation_endpointsToreservations\"},{\"name\":\"day_assignments\",\"kind\":\"object\",\"type\":\"day_assignments\",\"relationName\":\"day_assignmentsToreservations\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"placesToreservations\"},{\"name\":\"days_reservations_end_day_idTodays\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"reservations_end_day_idTodays\"},{\"name\":\"days_reservations_day_idTodays\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"reservations_day_idTodays\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"reservationsTotrips\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"reservationsTotrip_files\"}],\"dbName\":null},\"schema_version\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"version\",\"kind\":\"scalar\",\"type\":\"Int\"}],\"dbName\":null},\"settings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"settingsTousers\"}],\"dbName\":null},\"share_tokens\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_map\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_bookings\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_packing\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_budget\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"share_collab\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"expires_at\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"share_tokensTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"share_tokensTotrips\"}],\"dbName\":null},\"tags\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"place_tags\",\"kind\":\"object\",\"type\":\"place_tags\",\"relationName\":\"place_tagsTotags\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"tagsTousers\"}],\"dbName\":null},\"todo_category_assignees\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"todo_category_assigneesTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"todo_category_assigneesTotrips\"}],\"dbName\":null},\"todo_items\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"checked\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"category\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"due_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"assigned_user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"priority\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"reminded_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"todo_itemsTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"todo_itemsTotrips\"}],\"dbName\":null},\"trek_photo_cache_meta\":{\"fields\":[{\"name\":\"cache_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"content_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fetched_at\",\"kind\":\"scalar\",\"type\":\"Int\"}],\"dbName\":null},\"trek_photos\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"provider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"asset_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"owner_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"file_path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"thumbnail_path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"width\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"height\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"passphrase\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"journey_photos\",\"kind\":\"object\",\"type\":\"journey_photos\",\"relationName\":\"journey_photosTotrek_photos\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trek_photosTousers\"},{\"name\":\"trip_photos\",\"kind\":\"object\",\"type\":\"trip_photos\",\"relationName\":\"trek_photosTotrip_photos\"}],\"dbName\":null},\"trip_album_links\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"provider\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"album_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"album_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sync_enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"last_synced_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"passphrase\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trip_album_linksTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"trip_album_linksTotrips\"},{\"name\":\"trip_photos\",\"kind\":\"object\",\"type\":\"trip_photos\",\"relationName\":\"trip_album_linksTotrip_photos\"}],\"dbName\":null},\"trip_files\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"place_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"reservation_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"filename\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"original_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"file_size\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"mime_type\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"note_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"uploaded_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"starred\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"deleted_at\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"file_links\",\"kind\":\"object\",\"type\":\"file_links\",\"relationName\":\"file_linksTotrip_files\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trip_filesTousers\"},{\"name\":\"collab_notes\",\"kind\":\"object\",\"type\":\"collab_notes\",\"relationName\":\"collab_notesTotrip_files\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservationsTotrip_files\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"placesTotrip_files\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"trip_filesTotrips\"}],\"dbName\":null},\"trip_members\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"invited_by\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"added_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users_trip_members_invited_byTousers\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trip_members_invited_byTousers\"},{\"name\":\"users_trip_members_user_idTousers\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trip_members_user_idTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"trip_membersTotrips\"}],\"dbName\":null},\"trip_photos\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"trip_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"photo_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"shared\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"album_link_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"added_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"trip_album_links\",\"kind\":\"object\",\"type\":\"trip_album_links\",\"relationName\":\"trip_album_linksTotrip_photos\"},{\"name\":\"trek_photos\",\"kind\":\"object\",\"type\":\"trek_photos\",\"relationName\":\"trek_photosTotrip_photos\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"trip_photosTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"trip_photosTotrips\"}],\"dbName\":null},\"trips\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"start_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"end_date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"currency\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"cover_image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"is_archived\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"reminder_days\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"budget_category_order\",\"kind\":\"object\",\"type\":\"budget_category_order\",\"relationName\":\"budget_category_orderTotrips\"},{\"name\":\"budget_items\",\"kind\":\"object\",\"type\":\"budget_items\",\"relationName\":\"budget_itemsTotrips\"},{\"name\":\"collab_messages\",\"kind\":\"object\",\"type\":\"collab_messages\",\"relationName\":\"collab_messagesTotrips\"},{\"name\":\"collab_notes\",\"kind\":\"object\",\"type\":\"collab_notes\",\"relationName\":\"collab_notesTotrips\"},{\"name\":\"collab_polls\",\"kind\":\"object\",\"type\":\"collab_polls\",\"relationName\":\"collab_pollsTotrips\"},{\"name\":\"day_accommodations\",\"kind\":\"object\",\"type\":\"day_accommodations\",\"relationName\":\"day_accommodationsTotrips\"},{\"name\":\"day_notes\",\"kind\":\"object\",\"type\":\"day_notes\",\"relationName\":\"day_notesTotrips\"},{\"name\":\"days\",\"kind\":\"object\",\"type\":\"days\",\"relationName\":\"daysTotrips\"},{\"name\":\"journey_entries\",\"kind\":\"object\",\"type\":\"journey_entries\",\"relationName\":\"journey_entriesTotrips\"},{\"name\":\"journey_trips\",\"kind\":\"object\",\"type\":\"journey_trips\",\"relationName\":\"journey_tripsTotrips\"},{\"name\":\"packing_bags\",\"kind\":\"object\",\"type\":\"packing_bags\",\"relationName\":\"packing_bagsTotrips\"},{\"name\":\"packing_category_assignees\",\"kind\":\"object\",\"type\":\"packing_category_assignees\",\"relationName\":\"packing_category_assigneesTotrips\"},{\"name\":\"packing_items\",\"kind\":\"object\",\"type\":\"packing_items\",\"relationName\":\"packing_itemsTotrips\"},{\"name\":\"photos\",\"kind\":\"object\",\"type\":\"photos\",\"relationName\":\"photosTotrips\"},{\"name\":\"places\",\"kind\":\"object\",\"type\":\"places\",\"relationName\":\"placesTotrips\"},{\"name\":\"reservations\",\"kind\":\"object\",\"type\":\"reservations\",\"relationName\":\"reservationsTotrips\"},{\"name\":\"share_tokens\",\"kind\":\"object\",\"type\":\"share_tokens\",\"relationName\":\"share_tokensTotrips\"},{\"name\":\"todo_category_assignees\",\"kind\":\"object\",\"type\":\"todo_category_assignees\",\"relationName\":\"todo_category_assigneesTotrips\"},{\"name\":\"todo_items\",\"kind\":\"object\",\"type\":\"todo_items\",\"relationName\":\"todo_itemsTotrips\"},{\"name\":\"trip_album_links\",\"kind\":\"object\",\"type\":\"trip_album_links\",\"relationName\":\"trip_album_linksTotrips\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"trip_filesTotrips\"},{\"name\":\"trip_members\",\"kind\":\"object\",\"type\":\"trip_members\",\"relationName\":\"trip_membersTotrips\"},{\"name\":\"trip_photos\",\"kind\":\"object\",\"type\":\"trip_photos\",\"relationName\":\"trip_photosTotrips\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"tripsTousers\"}],\"dbName\":null},\"user_notice_dismissals\":{\"fields\":[{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"notice_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"dismissed_at\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"user_notice_dismissalsTousers\"}],\"dbName\":null},\"users\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password_hash\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"maps_api_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"unsplash_api_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"openweather_api_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"avatar\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"oidc_sub\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"oidc_issuer\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"last_login\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"mfa_enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"mfa_secret\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mfa_backup_codes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"immich_url\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"immich_access_token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"synology_url\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"synology_username\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"synology_password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"synology_sid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"must_change_password\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"password_version\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"immich_api_key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"synology_skip_ssl\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"synology_did\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"first_seen_version\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"login_count\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"immich_auto_upload\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"assignment_participants\",\"kind\":\"object\",\"type\":\"assignment_participants\",\"relationName\":\"assignment_participantsTousers\"},{\"name\":\"audit_log\",\"kind\":\"object\",\"type\":\"audit_log\",\"relationName\":\"audit_logTousers\"},{\"name\":\"bucket_list\",\"kind\":\"object\",\"type\":\"bucket_list\",\"relationName\":\"bucket_listTousers\"},{\"name\":\"budget_item_members\",\"kind\":\"object\",\"type\":\"budget_item_members\",\"relationName\":\"budget_item_membersTousers\"},{\"name\":\"budget_items\",\"kind\":\"object\",\"type\":\"budget_items\",\"relationName\":\"budget_itemsTousers\"},{\"name\":\"categories\",\"kind\":\"object\",\"type\":\"categories\",\"relationName\":\"categoriesTousers\"},{\"name\":\"collab_message_reactions\",\"kind\":\"object\",\"type\":\"collab_message_reactions\",\"relationName\":\"collab_message_reactionsTousers\"},{\"name\":\"collab_messages\",\"kind\":\"object\",\"type\":\"collab_messages\",\"relationName\":\"collab_messagesTousers\"},{\"name\":\"collab_notes\",\"kind\":\"object\",\"type\":\"collab_notes\",\"relationName\":\"collab_notesTousers\"},{\"name\":\"collab_poll_votes\",\"kind\":\"object\",\"type\":\"collab_poll_votes\",\"relationName\":\"collab_poll_votesTousers\"},{\"name\":\"collab_polls\",\"kind\":\"object\",\"type\":\"collab_polls\",\"relationName\":\"collab_pollsTousers\"},{\"name\":\"idempotency_keys\",\"kind\":\"object\",\"type\":\"idempotency_keys\",\"relationName\":\"idempotency_keysTousers\"},{\"name\":\"invite_tokens\",\"kind\":\"object\",\"type\":\"invite_tokens\",\"relationName\":\"invite_tokensTousers\"},{\"name\":\"journey_contributors\",\"kind\":\"object\",\"type\":\"journey_contributors\",\"relationName\":\"journey_contributorsTousers\"},{\"name\":\"journey_entries\",\"kind\":\"object\",\"type\":\"journey_entries\",\"relationName\":\"journey_entriesTousers\"},{\"name\":\"journey_share_tokens\",\"kind\":\"object\",\"type\":\"journey_share_tokens\",\"relationName\":\"journey_share_tokensTousers\"},{\"name\":\"journeys\",\"kind\":\"object\",\"type\":\"journeys\",\"relationName\":\"journeysTousers\"},{\"name\":\"mcp_tokens\",\"kind\":\"object\",\"type\":\"mcp_tokens\",\"relationName\":\"mcp_tokensTousers\"},{\"name\":\"notification_channel_preferences\",\"kind\":\"object\",\"type\":\"notification_channel_preferences\",\"relationName\":\"notification_channel_preferencesTousers\"},{\"name\":\"notifications_notifications_recipient_idTousers\",\"kind\":\"object\",\"type\":\"notifications\",\"relationName\":\"notifications_recipient_idTousers\"},{\"name\":\"notifications_notifications_sender_idTousers\",\"kind\":\"object\",\"type\":\"notifications\",\"relationName\":\"notifications_sender_idTousers\"},{\"name\":\"oauth_clients\",\"kind\":\"object\",\"type\":\"oauth_clients\",\"relationName\":\"oauth_clientsTousers\"},{\"name\":\"oauth_consents\",\"kind\":\"object\",\"type\":\"oauth_consents\",\"relationName\":\"oauth_consentsTousers\"},{\"name\":\"oauth_tokens\",\"kind\":\"object\",\"type\":\"oauth_tokens\",\"relationName\":\"oauth_tokensTousers\"},{\"name\":\"packing_bag_members\",\"kind\":\"object\",\"type\":\"packing_bag_members\",\"relationName\":\"packing_bag_membersTousers\"},{\"name\":\"packing_bags\",\"kind\":\"object\",\"type\":\"packing_bags\",\"relationName\":\"packing_bagsTousers\"},{\"name\":\"packing_category_assignees\",\"kind\":\"object\",\"type\":\"packing_category_assignees\",\"relationName\":\"packing_category_assigneesTousers\"},{\"name\":\"packing_templates\",\"kind\":\"object\",\"type\":\"packing_templates\",\"relationName\":\"packing_templatesTousers\"},{\"name\":\"password_reset_tokens\",\"kind\":\"object\",\"type\":\"password_reset_tokens\",\"relationName\":\"password_reset_tokensTousers\"},{\"name\":\"settings\",\"kind\":\"object\",\"type\":\"settings\",\"relationName\":\"settingsTousers\"},{\"name\":\"share_tokens\",\"kind\":\"object\",\"type\":\"share_tokens\",\"relationName\":\"share_tokensTousers\"},{\"name\":\"tags\",\"kind\":\"object\",\"type\":\"tags\",\"relationName\":\"tagsTousers\"},{\"name\":\"todo_category_assignees\",\"kind\":\"object\",\"type\":\"todo_category_assignees\",\"relationName\":\"todo_category_assigneesTousers\"},{\"name\":\"todo_items\",\"kind\":\"object\",\"type\":\"todo_items\",\"relationName\":\"todo_itemsTousers\"},{\"name\":\"trek_photos\",\"kind\":\"object\",\"type\":\"trek_photos\",\"relationName\":\"trek_photosTousers\"},{\"name\":\"trip_album_links\",\"kind\":\"object\",\"type\":\"trip_album_links\",\"relationName\":\"trip_album_linksTousers\"},{\"name\":\"trip_files\",\"kind\":\"object\",\"type\":\"trip_files\",\"relationName\":\"trip_filesTousers\"},{\"name\":\"trip_members_trip_members_invited_byTousers\",\"kind\":\"object\",\"type\":\"trip_members\",\"relationName\":\"trip_members_invited_byTousers\"},{\"name\":\"trip_members_trip_members_user_idTousers\",\"kind\":\"object\",\"type\":\"trip_members\",\"relationName\":\"trip_members_user_idTousers\"},{\"name\":\"trip_photos\",\"kind\":\"object\",\"type\":\"trip_photos\",\"relationName\":\"trip_photosTousers\"},{\"name\":\"trips\",\"kind\":\"object\",\"type\":\"trips\",\"relationName\":\"tripsTousers\"},{\"name\":\"user_notice_dismissals\",\"kind\":\"object\",\"type\":\"user_notice_dismissals\",\"relationName\":\"user_notice_dismissalsTousers\"},{\"name\":\"vacay_entries\",\"kind\":\"object\",\"type\":\"vacay_entries\",\"relationName\":\"usersTovacay_entries\"},{\"name\":\"vacay_plan_members\",\"kind\":\"object\",\"type\":\"vacay_plan_members\",\"relationName\":\"usersTovacay_plan_members\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"usersTovacay_plans\"},{\"name\":\"vacay_user_colors\",\"kind\":\"object\",\"type\":\"vacay_user_colors\",\"relationName\":\"usersTovacay_user_colors\"},{\"name\":\"vacay_user_years\",\"kind\":\"object\",\"type\":\"vacay_user_years\",\"relationName\":\"usersTovacay_user_years\"},{\"name\":\"visited_countries\",\"kind\":\"object\",\"type\":\"visited_countries\",\"relationName\":\"usersTovisited_countries\"},{\"name\":\"visited_regions\",\"kind\":\"object\",\"type\":\"visited_regions\",\"relationName\":\"usersTovisited_regions\"}],\"dbName\":null},\"vacay_company_holidays\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"note\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_company_holidaysTovacay_plans\"}],\"dbName\":null},\"vacay_entries\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"date\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"note\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovacay_entries\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_entriesTovacay_plans\"}],\"dbName\":null},\"vacay_holiday_calendars\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"region\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"label\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sort_order\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_holiday_calendarsTovacay_plans\"}],\"dbName\":null},\"vacay_plan_members\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovacay_plan_members\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_plan_membersTovacay_plans\"}],\"dbName\":null},\"vacay_plans\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"owner_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"block_weekends\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"holidays_enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"holidays_region\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"company_holidays_enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"carry_over_enabled\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"weekend_days\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"week_start\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vacay_company_holidays\",\"kind\":\"object\",\"type\":\"vacay_company_holidays\",\"relationName\":\"vacay_company_holidaysTovacay_plans\"},{\"name\":\"vacay_entries\",\"kind\":\"object\",\"type\":\"vacay_entries\",\"relationName\":\"vacay_entriesTovacay_plans\"},{\"name\":\"vacay_holiday_calendars\",\"kind\":\"object\",\"type\":\"vacay_holiday_calendars\",\"relationName\":\"vacay_holiday_calendarsTovacay_plans\"},{\"name\":\"vacay_plan_members\",\"kind\":\"object\",\"type\":\"vacay_plan_members\",\"relationName\":\"vacay_plan_membersTovacay_plans\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovacay_plans\"},{\"name\":\"vacay_user_colors\",\"kind\":\"object\",\"type\":\"vacay_user_colors\",\"relationName\":\"vacay_plansTovacay_user_colors\"},{\"name\":\"vacay_user_years\",\"kind\":\"object\",\"type\":\"vacay_user_years\",\"relationName\":\"vacay_plansTovacay_user_years\"},{\"name\":\"vacay_years\",\"kind\":\"object\",\"type\":\"vacay_years\",\"relationName\":\"vacay_plansTovacay_years\"}],\"dbName\":null},\"vacay_user_colors\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"color\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_plansTovacay_user_colors\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovacay_user_colors\"}],\"dbName\":null},\"vacay_user_years\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"year\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vacation_days\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"carried_over\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_plansTovacay_user_years\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovacay_user_years\"}],\"dbName\":null},\"vacay_years\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"plan_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"year\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"vacay_plans\",\"kind\":\"object\",\"type\":\"vacay_plans\",\"relationName\":\"vacay_plansTovacay_years\"}],\"dbName\":null},\"visited_countries\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"country_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovisited_countries\"}],\"dbName\":null},\"visited_regions\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user_id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"region_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"region_name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"country_code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"created_at\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"users\",\"kind\":\"object\",\"type\":\"users\",\"relationName\":\"usersTovisited_regions\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}") +config.parameterizationSchema = { + strings: JSON.parse("[\"where\",\"addons.findUnique\",\"addons.findUniqueOrThrow\",\"orderBy\",\"cursor\",\"addons.findFirst\",\"addons.findFirstOrThrow\",\"addons.findMany\",\"data\",\"addons.createOne\",\"addons.createMany\",\"addons.createManyAndReturn\",\"addons.updateOne\",\"addons.updateMany\",\"addons.updateManyAndReturn\",\"create\",\"update\",\"addons.upsertOne\",\"addons.deleteOne\",\"addons.deleteMany\",\"having\",\"_count\",\"_avg\",\"_sum\",\"_min\",\"_max\",\"addons.groupBy\",\"addons.aggregate\",\"app_settings.findUnique\",\"app_settings.findUniqueOrThrow\",\"app_settings.findFirst\",\"app_settings.findFirstOrThrow\",\"app_settings.findMany\",\"app_settings.createOne\",\"app_settings.createMany\",\"app_settings.createManyAndReturn\",\"app_settings.updateOne\",\"app_settings.updateMany\",\"app_settings.updateManyAndReturn\",\"app_settings.upsertOne\",\"app_settings.deleteOne\",\"app_settings.deleteMany\",\"app_settings.groupBy\",\"app_settings.aggregate\",\"assignment_participants\",\"users\",\"audit_log\",\"bucket_list\",\"budget_item_members\",\"budget_items\",\"day_accommodations_day_accommodations_end_day_idTodays\",\"day_accommodations_day_accommodations_start_day_idTodays\",\"places\",\"days\",\"file_links\",\"reservations\",\"day_assignments\",\"trips\",\"budget_category_order\",\"collab_messages\",\"collab_message_reactions\",\"other_collab_messages\",\"collab_notes\",\"trip_files\",\"collab_polls\",\"collab_poll_votes\",\"day_accommodations\",\"day_notes\",\"journeys\",\"journey_contributors\",\"journey_entries\",\"journey_photos\",\"journey_entry_photos\",\"trip_photos\",\"trip_album_links\",\"trek_photos\",\"journey_share_tokens\",\"journey_trips\",\"packing_bags\",\"packing_bag_members\",\"packing_items\",\"packing_category_assignees\",\"photos\",\"share_tokens\",\"todo_category_assignees\",\"todo_items\",\"users_trip_members_invited_byTousers\",\"users_trip_members_user_idTousers\",\"trip_members\",\"reservation_day_positions\",\"reservations_reservations_end_day_idTodays\",\"reservations_reservations_day_idTodays\",\"days_day_accommodations_end_day_idTodays\",\"days_day_accommodations_start_day_idTodays\",\"place_regions\",\"place_tags\",\"tags\",\"categories\",\"reservation_endpoints\",\"days_reservations_end_day_idTodays\",\"days_reservations_day_idTodays\",\"idempotency_keys\",\"invite_tokens\",\"mcp_tokens\",\"notification_channel_preferences\",\"users_notifications_recipient_idTousers\",\"users_notifications_sender_idTousers\",\"notifications_notifications_recipient_idTousers\",\"notifications_notifications_sender_idTousers\",\"oauth_clients\",\"oauth_consents\",\"oauth_tokens\",\"other_oauth_tokens\",\"packing_templates\",\"packing_template_categories\",\"packing_template_items\",\"password_reset_tokens\",\"settings\",\"trip_members_trip_members_invited_byTousers\",\"trip_members_trip_members_user_idTousers\",\"user_notice_dismissals\",\"vacay_plans\",\"vacay_company_holidays\",\"vacay_entries\",\"vacay_holiday_calendars\",\"vacay_plan_members\",\"vacay_user_colors\",\"vacay_user_years\",\"vacay_years\",\"visited_countries\",\"visited_regions\",\"assignment_participants.findUnique\",\"assignment_participants.findUniqueOrThrow\",\"assignment_participants.findFirst\",\"assignment_participants.findFirstOrThrow\",\"assignment_participants.findMany\",\"assignment_participants.createOne\",\"assignment_participants.createMany\",\"assignment_participants.createManyAndReturn\",\"assignment_participants.updateOne\",\"assignment_participants.updateMany\",\"assignment_participants.updateManyAndReturn\",\"assignment_participants.upsertOne\",\"assignment_participants.deleteOne\",\"assignment_participants.deleteMany\",\"assignment_participants.groupBy\",\"assignment_participants.aggregate\",\"audit_log.findUnique\",\"audit_log.findUniqueOrThrow\",\"audit_log.findFirst\",\"audit_log.findFirstOrThrow\",\"audit_log.findMany\",\"audit_log.createOne\",\"audit_log.createMany\",\"audit_log.createManyAndReturn\",\"audit_log.updateOne\",\"audit_log.updateMany\",\"audit_log.updateManyAndReturn\",\"audit_log.upsertOne\",\"audit_log.deleteOne\",\"audit_log.deleteMany\",\"audit_log.groupBy\",\"audit_log.aggregate\",\"bucket_list.findUnique\",\"bucket_list.findUniqueOrThrow\",\"bucket_list.findFirst\",\"bucket_list.findFirstOrThrow\",\"bucket_list.findMany\",\"bucket_list.createOne\",\"bucket_list.createMany\",\"bucket_list.createManyAndReturn\",\"bucket_list.updateOne\",\"bucket_list.updateMany\",\"bucket_list.updateManyAndReturn\",\"bucket_list.upsertOne\",\"bucket_list.deleteOne\",\"bucket_list.deleteMany\",\"bucket_list.groupBy\",\"bucket_list.aggregate\",\"budget_category_order.findUnique\",\"budget_category_order.findUniqueOrThrow\",\"budget_category_order.findFirst\",\"budget_category_order.findFirstOrThrow\",\"budget_category_order.findMany\",\"budget_category_order.createOne\",\"budget_category_order.createMany\",\"budget_category_order.createManyAndReturn\",\"budget_category_order.updateOne\",\"budget_category_order.updateMany\",\"budget_category_order.updateManyAndReturn\",\"budget_category_order.upsertOne\",\"budget_category_order.deleteOne\",\"budget_category_order.deleteMany\",\"budget_category_order.groupBy\",\"budget_category_order.aggregate\",\"budget_item_members.findUnique\",\"budget_item_members.findUniqueOrThrow\",\"budget_item_members.findFirst\",\"budget_item_members.findFirstOrThrow\",\"budget_item_members.findMany\",\"budget_item_members.createOne\",\"budget_item_members.createMany\",\"budget_item_members.createManyAndReturn\",\"budget_item_members.updateOne\",\"budget_item_members.updateMany\",\"budget_item_members.updateManyAndReturn\",\"budget_item_members.upsertOne\",\"budget_item_members.deleteOne\",\"budget_item_members.deleteMany\",\"budget_item_members.groupBy\",\"budget_item_members.aggregate\",\"budget_items.findUnique\",\"budget_items.findUniqueOrThrow\",\"budget_items.findFirst\",\"budget_items.findFirstOrThrow\",\"budget_items.findMany\",\"budget_items.createOne\",\"budget_items.createMany\",\"budget_items.createManyAndReturn\",\"budget_items.updateOne\",\"budget_items.updateMany\",\"budget_items.updateManyAndReturn\",\"budget_items.upsertOne\",\"budget_items.deleteOne\",\"budget_items.deleteMany\",\"budget_items.groupBy\",\"budget_items.aggregate\",\"categories.findUnique\",\"categories.findUniqueOrThrow\",\"categories.findFirst\",\"categories.findFirstOrThrow\",\"categories.findMany\",\"categories.createOne\",\"categories.createMany\",\"categories.createManyAndReturn\",\"categories.updateOne\",\"categories.updateMany\",\"categories.updateManyAndReturn\",\"categories.upsertOne\",\"categories.deleteOne\",\"categories.deleteMany\",\"categories.groupBy\",\"categories.aggregate\",\"collab_message_reactions.findUnique\",\"collab_message_reactions.findUniqueOrThrow\",\"collab_message_reactions.findFirst\",\"collab_message_reactions.findFirstOrThrow\",\"collab_message_reactions.findMany\",\"collab_message_reactions.createOne\",\"collab_message_reactions.createMany\",\"collab_message_reactions.createManyAndReturn\",\"collab_message_reactions.updateOne\",\"collab_message_reactions.updateMany\",\"collab_message_reactions.updateManyAndReturn\",\"collab_message_reactions.upsertOne\",\"collab_message_reactions.deleteOne\",\"collab_message_reactions.deleteMany\",\"collab_message_reactions.groupBy\",\"collab_message_reactions.aggregate\",\"collab_messages.findUnique\",\"collab_messages.findUniqueOrThrow\",\"collab_messages.findFirst\",\"collab_messages.findFirstOrThrow\",\"collab_messages.findMany\",\"collab_messages.createOne\",\"collab_messages.createMany\",\"collab_messages.createManyAndReturn\",\"collab_messages.updateOne\",\"collab_messages.updateMany\",\"collab_messages.updateManyAndReturn\",\"collab_messages.upsertOne\",\"collab_messages.deleteOne\",\"collab_messages.deleteMany\",\"collab_messages.groupBy\",\"collab_messages.aggregate\",\"collab_notes.findUnique\",\"collab_notes.findUniqueOrThrow\",\"collab_notes.findFirst\",\"collab_notes.findFirstOrThrow\",\"collab_notes.findMany\",\"collab_notes.createOne\",\"collab_notes.createMany\",\"collab_notes.createManyAndReturn\",\"collab_notes.updateOne\",\"collab_notes.updateMany\",\"collab_notes.updateManyAndReturn\",\"collab_notes.upsertOne\",\"collab_notes.deleteOne\",\"collab_notes.deleteMany\",\"collab_notes.groupBy\",\"collab_notes.aggregate\",\"collab_poll_votes.findUnique\",\"collab_poll_votes.findUniqueOrThrow\",\"collab_poll_votes.findFirst\",\"collab_poll_votes.findFirstOrThrow\",\"collab_poll_votes.findMany\",\"collab_poll_votes.createOne\",\"collab_poll_votes.createMany\",\"collab_poll_votes.createManyAndReturn\",\"collab_poll_votes.updateOne\",\"collab_poll_votes.updateMany\",\"collab_poll_votes.updateManyAndReturn\",\"collab_poll_votes.upsertOne\",\"collab_poll_votes.deleteOne\",\"collab_poll_votes.deleteMany\",\"collab_poll_votes.groupBy\",\"collab_poll_votes.aggregate\",\"collab_polls.findUnique\",\"collab_polls.findUniqueOrThrow\",\"collab_polls.findFirst\",\"collab_polls.findFirstOrThrow\",\"collab_polls.findMany\",\"collab_polls.createOne\",\"collab_polls.createMany\",\"collab_polls.createManyAndReturn\",\"collab_polls.updateOne\",\"collab_polls.updateMany\",\"collab_polls.updateManyAndReturn\",\"collab_polls.upsertOne\",\"collab_polls.deleteOne\",\"collab_polls.deleteMany\",\"collab_polls.groupBy\",\"collab_polls.aggregate\",\"day_accommodations.findUnique\",\"day_accommodations.findUniqueOrThrow\",\"day_accommodations.findFirst\",\"day_accommodations.findFirstOrThrow\",\"day_accommodations.findMany\",\"day_accommodations.createOne\",\"day_accommodations.createMany\",\"day_accommodations.createManyAndReturn\",\"day_accommodations.updateOne\",\"day_accommodations.updateMany\",\"day_accommodations.updateManyAndReturn\",\"day_accommodations.upsertOne\",\"day_accommodations.deleteOne\",\"day_accommodations.deleteMany\",\"day_accommodations.groupBy\",\"day_accommodations.aggregate\",\"day_assignments.findUnique\",\"day_assignments.findUniqueOrThrow\",\"day_assignments.findFirst\",\"day_assignments.findFirstOrThrow\",\"day_assignments.findMany\",\"day_assignments.createOne\",\"day_assignments.createMany\",\"day_assignments.createManyAndReturn\",\"day_assignments.updateOne\",\"day_assignments.updateMany\",\"day_assignments.updateManyAndReturn\",\"day_assignments.upsertOne\",\"day_assignments.deleteOne\",\"day_assignments.deleteMany\",\"day_assignments.groupBy\",\"day_assignments.aggregate\",\"day_notes.findUnique\",\"day_notes.findUniqueOrThrow\",\"day_notes.findFirst\",\"day_notes.findFirstOrThrow\",\"day_notes.findMany\",\"day_notes.createOne\",\"day_notes.createMany\",\"day_notes.createManyAndReturn\",\"day_notes.updateOne\",\"day_notes.updateMany\",\"day_notes.updateManyAndReturn\",\"day_notes.upsertOne\",\"day_notes.deleteOne\",\"day_notes.deleteMany\",\"day_notes.groupBy\",\"day_notes.aggregate\",\"days.findUnique\",\"days.findUniqueOrThrow\",\"days.findFirst\",\"days.findFirstOrThrow\",\"days.findMany\",\"days.createOne\",\"days.createMany\",\"days.createManyAndReturn\",\"days.updateOne\",\"days.updateMany\",\"days.updateManyAndReturn\",\"days.upsertOne\",\"days.deleteOne\",\"days.deleteMany\",\"days.groupBy\",\"days.aggregate\",\"file_links.findUnique\",\"file_links.findUniqueOrThrow\",\"file_links.findFirst\",\"file_links.findFirstOrThrow\",\"file_links.findMany\",\"file_links.createOne\",\"file_links.createMany\",\"file_links.createManyAndReturn\",\"file_links.updateOne\",\"file_links.updateMany\",\"file_links.updateManyAndReturn\",\"file_links.upsertOne\",\"file_links.deleteOne\",\"file_links.deleteMany\",\"file_links.groupBy\",\"file_links.aggregate\",\"google_place_photo_meta.findUnique\",\"google_place_photo_meta.findUniqueOrThrow\",\"google_place_photo_meta.findFirst\",\"google_place_photo_meta.findFirstOrThrow\",\"google_place_photo_meta.findMany\",\"google_place_photo_meta.createOne\",\"google_place_photo_meta.createMany\",\"google_place_photo_meta.createManyAndReturn\",\"google_place_photo_meta.updateOne\",\"google_place_photo_meta.updateMany\",\"google_place_photo_meta.updateManyAndReturn\",\"google_place_photo_meta.upsertOne\",\"google_place_photo_meta.deleteOne\",\"google_place_photo_meta.deleteMany\",\"google_place_photo_meta.groupBy\",\"google_place_photo_meta.aggregate\",\"idempotency_keys.findUnique\",\"idempotency_keys.findUniqueOrThrow\",\"idempotency_keys.findFirst\",\"idempotency_keys.findFirstOrThrow\",\"idempotency_keys.findMany\",\"idempotency_keys.createOne\",\"idempotency_keys.createMany\",\"idempotency_keys.createManyAndReturn\",\"idempotency_keys.updateOne\",\"idempotency_keys.updateMany\",\"idempotency_keys.updateManyAndReturn\",\"idempotency_keys.upsertOne\",\"idempotency_keys.deleteOne\",\"idempotency_keys.deleteMany\",\"idempotency_keys.groupBy\",\"idempotency_keys.aggregate\",\"invite_tokens.findUnique\",\"invite_tokens.findUniqueOrThrow\",\"invite_tokens.findFirst\",\"invite_tokens.findFirstOrThrow\",\"invite_tokens.findMany\",\"invite_tokens.createOne\",\"invite_tokens.createMany\",\"invite_tokens.createManyAndReturn\",\"invite_tokens.updateOne\",\"invite_tokens.updateMany\",\"invite_tokens.updateManyAndReturn\",\"invite_tokens.upsertOne\",\"invite_tokens.deleteOne\",\"invite_tokens.deleteMany\",\"invite_tokens.groupBy\",\"invite_tokens.aggregate\",\"journey_contributors.findUnique\",\"journey_contributors.findUniqueOrThrow\",\"journey_contributors.findFirst\",\"journey_contributors.findFirstOrThrow\",\"journey_contributors.findMany\",\"journey_contributors.createOne\",\"journey_contributors.createMany\",\"journey_contributors.createManyAndReturn\",\"journey_contributors.updateOne\",\"journey_contributors.updateMany\",\"journey_contributors.updateManyAndReturn\",\"journey_contributors.upsertOne\",\"journey_contributors.deleteOne\",\"journey_contributors.deleteMany\",\"journey_contributors.groupBy\",\"journey_contributors.aggregate\",\"journey_entries.findUnique\",\"journey_entries.findUniqueOrThrow\",\"journey_entries.findFirst\",\"journey_entries.findFirstOrThrow\",\"journey_entries.findMany\",\"journey_entries.createOne\",\"journey_entries.createMany\",\"journey_entries.createManyAndReturn\",\"journey_entries.updateOne\",\"journey_entries.updateMany\",\"journey_entries.updateManyAndReturn\",\"journey_entries.upsertOne\",\"journey_entries.deleteOne\",\"journey_entries.deleteMany\",\"journey_entries.groupBy\",\"journey_entries.aggregate\",\"journey_entry_photos.findUnique\",\"journey_entry_photos.findUniqueOrThrow\",\"journey_entry_photos.findFirst\",\"journey_entry_photos.findFirstOrThrow\",\"journey_entry_photos.findMany\",\"journey_entry_photos.createOne\",\"journey_entry_photos.createMany\",\"journey_entry_photos.createManyAndReturn\",\"journey_entry_photos.updateOne\",\"journey_entry_photos.updateMany\",\"journey_entry_photos.updateManyAndReturn\",\"journey_entry_photos.upsertOne\",\"journey_entry_photos.deleteOne\",\"journey_entry_photos.deleteMany\",\"journey_entry_photos.groupBy\",\"journey_entry_photos.aggregate\",\"journey_photos.findUnique\",\"journey_photos.findUniqueOrThrow\",\"journey_photos.findFirst\",\"journey_photos.findFirstOrThrow\",\"journey_photos.findMany\",\"journey_photos.createOne\",\"journey_photos.createMany\",\"journey_photos.createManyAndReturn\",\"journey_photos.updateOne\",\"journey_photos.updateMany\",\"journey_photos.updateManyAndReturn\",\"journey_photos.upsertOne\",\"journey_photos.deleteOne\",\"journey_photos.deleteMany\",\"journey_photos.groupBy\",\"journey_photos.aggregate\",\"journey_share_tokens.findUnique\",\"journey_share_tokens.findUniqueOrThrow\",\"journey_share_tokens.findFirst\",\"journey_share_tokens.findFirstOrThrow\",\"journey_share_tokens.findMany\",\"journey_share_tokens.createOne\",\"journey_share_tokens.createMany\",\"journey_share_tokens.createManyAndReturn\",\"journey_share_tokens.updateOne\",\"journey_share_tokens.updateMany\",\"journey_share_tokens.updateManyAndReturn\",\"journey_share_tokens.upsertOne\",\"journey_share_tokens.deleteOne\",\"journey_share_tokens.deleteMany\",\"journey_share_tokens.groupBy\",\"journey_share_tokens.aggregate\",\"journey_trips.findUnique\",\"journey_trips.findUniqueOrThrow\",\"journey_trips.findFirst\",\"journey_trips.findFirstOrThrow\",\"journey_trips.findMany\",\"journey_trips.createOne\",\"journey_trips.createMany\",\"journey_trips.createManyAndReturn\",\"journey_trips.updateOne\",\"journey_trips.updateMany\",\"journey_trips.updateManyAndReturn\",\"journey_trips.upsertOne\",\"journey_trips.deleteOne\",\"journey_trips.deleteMany\",\"journey_trips.groupBy\",\"journey_trips.aggregate\",\"journeys.findUnique\",\"journeys.findUniqueOrThrow\",\"journeys.findFirst\",\"journeys.findFirstOrThrow\",\"journeys.findMany\",\"journeys.createOne\",\"journeys.createMany\",\"journeys.createManyAndReturn\",\"journeys.updateOne\",\"journeys.updateMany\",\"journeys.updateManyAndReturn\",\"journeys.upsertOne\",\"journeys.deleteOne\",\"journeys.deleteMany\",\"journeys.groupBy\",\"journeys.aggregate\",\"mcp_tokens.findUnique\",\"mcp_tokens.findUniqueOrThrow\",\"mcp_tokens.findFirst\",\"mcp_tokens.findFirstOrThrow\",\"mcp_tokens.findMany\",\"mcp_tokens.createOne\",\"mcp_tokens.createMany\",\"mcp_tokens.createManyAndReturn\",\"mcp_tokens.updateOne\",\"mcp_tokens.updateMany\",\"mcp_tokens.updateManyAndReturn\",\"mcp_tokens.upsertOne\",\"mcp_tokens.deleteOne\",\"mcp_tokens.deleteMany\",\"mcp_tokens.groupBy\",\"mcp_tokens.aggregate\",\"notification_channel_preferences.findUnique\",\"notification_channel_preferences.findUniqueOrThrow\",\"notification_channel_preferences.findFirst\",\"notification_channel_preferences.findFirstOrThrow\",\"notification_channel_preferences.findMany\",\"notification_channel_preferences.createOne\",\"notification_channel_preferences.createMany\",\"notification_channel_preferences.createManyAndReturn\",\"notification_channel_preferences.updateOne\",\"notification_channel_preferences.updateMany\",\"notification_channel_preferences.updateManyAndReturn\",\"notification_channel_preferences.upsertOne\",\"notification_channel_preferences.deleteOne\",\"notification_channel_preferences.deleteMany\",\"notification_channel_preferences.groupBy\",\"notification_channel_preferences.aggregate\",\"notifications.findUnique\",\"notifications.findUniqueOrThrow\",\"notifications.findFirst\",\"notifications.findFirstOrThrow\",\"notifications.findMany\",\"notifications.createOne\",\"notifications.createMany\",\"notifications.createManyAndReturn\",\"notifications.updateOne\",\"notifications.updateMany\",\"notifications.updateManyAndReturn\",\"notifications.upsertOne\",\"notifications.deleteOne\",\"notifications.deleteMany\",\"notifications.groupBy\",\"notifications.aggregate\",\"oauth_clients.findUnique\",\"oauth_clients.findUniqueOrThrow\",\"oauth_clients.findFirst\",\"oauth_clients.findFirstOrThrow\",\"oauth_clients.findMany\",\"oauth_clients.createOne\",\"oauth_clients.createMany\",\"oauth_clients.createManyAndReturn\",\"oauth_clients.updateOne\",\"oauth_clients.updateMany\",\"oauth_clients.updateManyAndReturn\",\"oauth_clients.upsertOne\",\"oauth_clients.deleteOne\",\"oauth_clients.deleteMany\",\"oauth_clients.groupBy\",\"oauth_clients.aggregate\",\"oauth_consents.findUnique\",\"oauth_consents.findUniqueOrThrow\",\"oauth_consents.findFirst\",\"oauth_consents.findFirstOrThrow\",\"oauth_consents.findMany\",\"oauth_consents.createOne\",\"oauth_consents.createMany\",\"oauth_consents.createManyAndReturn\",\"oauth_consents.updateOne\",\"oauth_consents.updateMany\",\"oauth_consents.updateManyAndReturn\",\"oauth_consents.upsertOne\",\"oauth_consents.deleteOne\",\"oauth_consents.deleteMany\",\"oauth_consents.groupBy\",\"oauth_consents.aggregate\",\"oauth_tokens.findUnique\",\"oauth_tokens.findUniqueOrThrow\",\"oauth_tokens.findFirst\",\"oauth_tokens.findFirstOrThrow\",\"oauth_tokens.findMany\",\"oauth_tokens.createOne\",\"oauth_tokens.createMany\",\"oauth_tokens.createManyAndReturn\",\"oauth_tokens.updateOne\",\"oauth_tokens.updateMany\",\"oauth_tokens.updateManyAndReturn\",\"oauth_tokens.upsertOne\",\"oauth_tokens.deleteOne\",\"oauth_tokens.deleteMany\",\"oauth_tokens.groupBy\",\"oauth_tokens.aggregate\",\"packing_bag_members.findUnique\",\"packing_bag_members.findUniqueOrThrow\",\"packing_bag_members.findFirst\",\"packing_bag_members.findFirstOrThrow\",\"packing_bag_members.findMany\",\"packing_bag_members.createOne\",\"packing_bag_members.createMany\",\"packing_bag_members.createManyAndReturn\",\"packing_bag_members.updateOne\",\"packing_bag_members.updateMany\",\"packing_bag_members.updateManyAndReturn\",\"packing_bag_members.upsertOne\",\"packing_bag_members.deleteOne\",\"packing_bag_members.deleteMany\",\"packing_bag_members.groupBy\",\"packing_bag_members.aggregate\",\"packing_bags.findUnique\",\"packing_bags.findUniqueOrThrow\",\"packing_bags.findFirst\",\"packing_bags.findFirstOrThrow\",\"packing_bags.findMany\",\"packing_bags.createOne\",\"packing_bags.createMany\",\"packing_bags.createManyAndReturn\",\"packing_bags.updateOne\",\"packing_bags.updateMany\",\"packing_bags.updateManyAndReturn\",\"packing_bags.upsertOne\",\"packing_bags.deleteOne\",\"packing_bags.deleteMany\",\"packing_bags.groupBy\",\"packing_bags.aggregate\",\"packing_category_assignees.findUnique\",\"packing_category_assignees.findUniqueOrThrow\",\"packing_category_assignees.findFirst\",\"packing_category_assignees.findFirstOrThrow\",\"packing_category_assignees.findMany\",\"packing_category_assignees.createOne\",\"packing_category_assignees.createMany\",\"packing_category_assignees.createManyAndReturn\",\"packing_category_assignees.updateOne\",\"packing_category_assignees.updateMany\",\"packing_category_assignees.updateManyAndReturn\",\"packing_category_assignees.upsertOne\",\"packing_category_assignees.deleteOne\",\"packing_category_assignees.deleteMany\",\"packing_category_assignees.groupBy\",\"packing_category_assignees.aggregate\",\"packing_items.findUnique\",\"packing_items.findUniqueOrThrow\",\"packing_items.findFirst\",\"packing_items.findFirstOrThrow\",\"packing_items.findMany\",\"packing_items.createOne\",\"packing_items.createMany\",\"packing_items.createManyAndReturn\",\"packing_items.updateOne\",\"packing_items.updateMany\",\"packing_items.updateManyAndReturn\",\"packing_items.upsertOne\",\"packing_items.deleteOne\",\"packing_items.deleteMany\",\"packing_items.groupBy\",\"packing_items.aggregate\",\"packing_template_categories.findUnique\",\"packing_template_categories.findUniqueOrThrow\",\"packing_template_categories.findFirst\",\"packing_template_categories.findFirstOrThrow\",\"packing_template_categories.findMany\",\"packing_template_categories.createOne\",\"packing_template_categories.createMany\",\"packing_template_categories.createManyAndReturn\",\"packing_template_categories.updateOne\",\"packing_template_categories.updateMany\",\"packing_template_categories.updateManyAndReturn\",\"packing_template_categories.upsertOne\",\"packing_template_categories.deleteOne\",\"packing_template_categories.deleteMany\",\"packing_template_categories.groupBy\",\"packing_template_categories.aggregate\",\"packing_template_items.findUnique\",\"packing_template_items.findUniqueOrThrow\",\"packing_template_items.findFirst\",\"packing_template_items.findFirstOrThrow\",\"packing_template_items.findMany\",\"packing_template_items.createOne\",\"packing_template_items.createMany\",\"packing_template_items.createManyAndReturn\",\"packing_template_items.updateOne\",\"packing_template_items.updateMany\",\"packing_template_items.updateManyAndReturn\",\"packing_template_items.upsertOne\",\"packing_template_items.deleteOne\",\"packing_template_items.deleteMany\",\"packing_template_items.groupBy\",\"packing_template_items.aggregate\",\"packing_templates.findUnique\",\"packing_templates.findUniqueOrThrow\",\"packing_templates.findFirst\",\"packing_templates.findFirstOrThrow\",\"packing_templates.findMany\",\"packing_templates.createOne\",\"packing_templates.createMany\",\"packing_templates.createManyAndReturn\",\"packing_templates.updateOne\",\"packing_templates.updateMany\",\"packing_templates.updateManyAndReturn\",\"packing_templates.upsertOne\",\"packing_templates.deleteOne\",\"packing_templates.deleteMany\",\"packing_templates.groupBy\",\"packing_templates.aggregate\",\"password_reset_tokens.findUnique\",\"password_reset_tokens.findUniqueOrThrow\",\"password_reset_tokens.findFirst\",\"password_reset_tokens.findFirstOrThrow\",\"password_reset_tokens.findMany\",\"password_reset_tokens.createOne\",\"password_reset_tokens.createMany\",\"password_reset_tokens.createManyAndReturn\",\"password_reset_tokens.updateOne\",\"password_reset_tokens.updateMany\",\"password_reset_tokens.updateManyAndReturn\",\"password_reset_tokens.upsertOne\",\"password_reset_tokens.deleteOne\",\"password_reset_tokens.deleteMany\",\"password_reset_tokens.groupBy\",\"password_reset_tokens.aggregate\",\"photo_provider_fields\",\"photo_providers\",\"photo_provider_fields.findUnique\",\"photo_provider_fields.findUniqueOrThrow\",\"photo_provider_fields.findFirst\",\"photo_provider_fields.findFirstOrThrow\",\"photo_provider_fields.findMany\",\"photo_provider_fields.createOne\",\"photo_provider_fields.createMany\",\"photo_provider_fields.createManyAndReturn\",\"photo_provider_fields.updateOne\",\"photo_provider_fields.updateMany\",\"photo_provider_fields.updateManyAndReturn\",\"photo_provider_fields.upsertOne\",\"photo_provider_fields.deleteOne\",\"photo_provider_fields.deleteMany\",\"photo_provider_fields.groupBy\",\"photo_provider_fields.aggregate\",\"photo_providers.findUnique\",\"photo_providers.findUniqueOrThrow\",\"photo_providers.findFirst\",\"photo_providers.findFirstOrThrow\",\"photo_providers.findMany\",\"photo_providers.createOne\",\"photo_providers.createMany\",\"photo_providers.createManyAndReturn\",\"photo_providers.updateOne\",\"photo_providers.updateMany\",\"photo_providers.updateManyAndReturn\",\"photo_providers.upsertOne\",\"photo_providers.deleteOne\",\"photo_providers.deleteMany\",\"photo_providers.groupBy\",\"photo_providers.aggregate\",\"photos.findUnique\",\"photos.findUniqueOrThrow\",\"photos.findFirst\",\"photos.findFirstOrThrow\",\"photos.findMany\",\"photos.createOne\",\"photos.createMany\",\"photos.createManyAndReturn\",\"photos.updateOne\",\"photos.updateMany\",\"photos.updateManyAndReturn\",\"photos.upsertOne\",\"photos.deleteOne\",\"photos.deleteMany\",\"photos.groupBy\",\"photos.aggregate\",\"place_details_cache.findUnique\",\"place_details_cache.findUniqueOrThrow\",\"place_details_cache.findFirst\",\"place_details_cache.findFirstOrThrow\",\"place_details_cache.findMany\",\"place_details_cache.createOne\",\"place_details_cache.createMany\",\"place_details_cache.createManyAndReturn\",\"place_details_cache.updateOne\",\"place_details_cache.updateMany\",\"place_details_cache.updateManyAndReturn\",\"place_details_cache.upsertOne\",\"place_details_cache.deleteOne\",\"place_details_cache.deleteMany\",\"place_details_cache.groupBy\",\"place_details_cache.aggregate\",\"place_regions.findUnique\",\"place_regions.findUniqueOrThrow\",\"place_regions.findFirst\",\"place_regions.findFirstOrThrow\",\"place_regions.findMany\",\"place_regions.createOne\",\"place_regions.createMany\",\"place_regions.createManyAndReturn\",\"place_regions.updateOne\",\"place_regions.updateMany\",\"place_regions.updateManyAndReturn\",\"place_regions.upsertOne\",\"place_regions.deleteOne\",\"place_regions.deleteMany\",\"place_regions.groupBy\",\"place_regions.aggregate\",\"place_tags.findUnique\",\"place_tags.findUniqueOrThrow\",\"place_tags.findFirst\",\"place_tags.findFirstOrThrow\",\"place_tags.findMany\",\"place_tags.createOne\",\"place_tags.createMany\",\"place_tags.createManyAndReturn\",\"place_tags.updateOne\",\"place_tags.updateMany\",\"place_tags.updateManyAndReturn\",\"place_tags.upsertOne\",\"place_tags.deleteOne\",\"place_tags.deleteMany\",\"place_tags.groupBy\",\"place_tags.aggregate\",\"places.findUnique\",\"places.findUniqueOrThrow\",\"places.findFirst\",\"places.findFirstOrThrow\",\"places.findMany\",\"places.createOne\",\"places.createMany\",\"places.createManyAndReturn\",\"places.updateOne\",\"places.updateMany\",\"places.updateManyAndReturn\",\"places.upsertOne\",\"places.deleteOne\",\"places.deleteMany\",\"places.groupBy\",\"places.aggregate\",\"reservation_day_positions.findUnique\",\"reservation_day_positions.findUniqueOrThrow\",\"reservation_day_positions.findFirst\",\"reservation_day_positions.findFirstOrThrow\",\"reservation_day_positions.findMany\",\"reservation_day_positions.createOne\",\"reservation_day_positions.createMany\",\"reservation_day_positions.createManyAndReturn\",\"reservation_day_positions.updateOne\",\"reservation_day_positions.updateMany\",\"reservation_day_positions.updateManyAndReturn\",\"reservation_day_positions.upsertOne\",\"reservation_day_positions.deleteOne\",\"reservation_day_positions.deleteMany\",\"reservation_day_positions.groupBy\",\"reservation_day_positions.aggregate\",\"reservation_endpoints.findUnique\",\"reservation_endpoints.findUniqueOrThrow\",\"reservation_endpoints.findFirst\",\"reservation_endpoints.findFirstOrThrow\",\"reservation_endpoints.findMany\",\"reservation_endpoints.createOne\",\"reservation_endpoints.createMany\",\"reservation_endpoints.createManyAndReturn\",\"reservation_endpoints.updateOne\",\"reservation_endpoints.updateMany\",\"reservation_endpoints.updateManyAndReturn\",\"reservation_endpoints.upsertOne\",\"reservation_endpoints.deleteOne\",\"reservation_endpoints.deleteMany\",\"reservation_endpoints.groupBy\",\"reservation_endpoints.aggregate\",\"reservations.findUnique\",\"reservations.findUniqueOrThrow\",\"reservations.findFirst\",\"reservations.findFirstOrThrow\",\"reservations.findMany\",\"reservations.createOne\",\"reservations.createMany\",\"reservations.createManyAndReturn\",\"reservations.updateOne\",\"reservations.updateMany\",\"reservations.updateManyAndReturn\",\"reservations.upsertOne\",\"reservations.deleteOne\",\"reservations.deleteMany\",\"reservations.groupBy\",\"reservations.aggregate\",\"schema_version.findUnique\",\"schema_version.findUniqueOrThrow\",\"schema_version.findFirst\",\"schema_version.findFirstOrThrow\",\"schema_version.findMany\",\"schema_version.createOne\",\"schema_version.createMany\",\"schema_version.createManyAndReturn\",\"schema_version.updateOne\",\"schema_version.updateMany\",\"schema_version.updateManyAndReturn\",\"schema_version.upsertOne\",\"schema_version.deleteOne\",\"schema_version.deleteMany\",\"schema_version.groupBy\",\"schema_version.aggregate\",\"settings.findUnique\",\"settings.findUniqueOrThrow\",\"settings.findFirst\",\"settings.findFirstOrThrow\",\"settings.findMany\",\"settings.createOne\",\"settings.createMany\",\"settings.createManyAndReturn\",\"settings.updateOne\",\"settings.updateMany\",\"settings.updateManyAndReturn\",\"settings.upsertOne\",\"settings.deleteOne\",\"settings.deleteMany\",\"settings.groupBy\",\"settings.aggregate\",\"share_tokens.findUnique\",\"share_tokens.findUniqueOrThrow\",\"share_tokens.findFirst\",\"share_tokens.findFirstOrThrow\",\"share_tokens.findMany\",\"share_tokens.createOne\",\"share_tokens.createMany\",\"share_tokens.createManyAndReturn\",\"share_tokens.updateOne\",\"share_tokens.updateMany\",\"share_tokens.updateManyAndReturn\",\"share_tokens.upsertOne\",\"share_tokens.deleteOne\",\"share_tokens.deleteMany\",\"share_tokens.groupBy\",\"share_tokens.aggregate\",\"tags.findUnique\",\"tags.findUniqueOrThrow\",\"tags.findFirst\",\"tags.findFirstOrThrow\",\"tags.findMany\",\"tags.createOne\",\"tags.createMany\",\"tags.createManyAndReturn\",\"tags.updateOne\",\"tags.updateMany\",\"tags.updateManyAndReturn\",\"tags.upsertOne\",\"tags.deleteOne\",\"tags.deleteMany\",\"tags.groupBy\",\"tags.aggregate\",\"todo_category_assignees.findUnique\",\"todo_category_assignees.findUniqueOrThrow\",\"todo_category_assignees.findFirst\",\"todo_category_assignees.findFirstOrThrow\",\"todo_category_assignees.findMany\",\"todo_category_assignees.createOne\",\"todo_category_assignees.createMany\",\"todo_category_assignees.createManyAndReturn\",\"todo_category_assignees.updateOne\",\"todo_category_assignees.updateMany\",\"todo_category_assignees.updateManyAndReturn\",\"todo_category_assignees.upsertOne\",\"todo_category_assignees.deleteOne\",\"todo_category_assignees.deleteMany\",\"todo_category_assignees.groupBy\",\"todo_category_assignees.aggregate\",\"todo_items.findUnique\",\"todo_items.findUniqueOrThrow\",\"todo_items.findFirst\",\"todo_items.findFirstOrThrow\",\"todo_items.findMany\",\"todo_items.createOne\",\"todo_items.createMany\",\"todo_items.createManyAndReturn\",\"todo_items.updateOne\",\"todo_items.updateMany\",\"todo_items.updateManyAndReturn\",\"todo_items.upsertOne\",\"todo_items.deleteOne\",\"todo_items.deleteMany\",\"todo_items.groupBy\",\"todo_items.aggregate\",\"trek_photo_cache_meta.findUnique\",\"trek_photo_cache_meta.findUniqueOrThrow\",\"trek_photo_cache_meta.findFirst\",\"trek_photo_cache_meta.findFirstOrThrow\",\"trek_photo_cache_meta.findMany\",\"trek_photo_cache_meta.createOne\",\"trek_photo_cache_meta.createMany\",\"trek_photo_cache_meta.createManyAndReturn\",\"trek_photo_cache_meta.updateOne\",\"trek_photo_cache_meta.updateMany\",\"trek_photo_cache_meta.updateManyAndReturn\",\"trek_photo_cache_meta.upsertOne\",\"trek_photo_cache_meta.deleteOne\",\"trek_photo_cache_meta.deleteMany\",\"trek_photo_cache_meta.groupBy\",\"trek_photo_cache_meta.aggregate\",\"trek_photos.findUnique\",\"trek_photos.findUniqueOrThrow\",\"trek_photos.findFirst\",\"trek_photos.findFirstOrThrow\",\"trek_photos.findMany\",\"trek_photos.createOne\",\"trek_photos.createMany\",\"trek_photos.createManyAndReturn\",\"trek_photos.updateOne\",\"trek_photos.updateMany\",\"trek_photos.updateManyAndReturn\",\"trek_photos.upsertOne\",\"trek_photos.deleteOne\",\"trek_photos.deleteMany\",\"trek_photos.groupBy\",\"trek_photos.aggregate\",\"trip_album_links.findUnique\",\"trip_album_links.findUniqueOrThrow\",\"trip_album_links.findFirst\",\"trip_album_links.findFirstOrThrow\",\"trip_album_links.findMany\",\"trip_album_links.createOne\",\"trip_album_links.createMany\",\"trip_album_links.createManyAndReturn\",\"trip_album_links.updateOne\",\"trip_album_links.updateMany\",\"trip_album_links.updateManyAndReturn\",\"trip_album_links.upsertOne\",\"trip_album_links.deleteOne\",\"trip_album_links.deleteMany\",\"trip_album_links.groupBy\",\"trip_album_links.aggregate\",\"trip_files.findUnique\",\"trip_files.findUniqueOrThrow\",\"trip_files.findFirst\",\"trip_files.findFirstOrThrow\",\"trip_files.findMany\",\"trip_files.createOne\",\"trip_files.createMany\",\"trip_files.createManyAndReturn\",\"trip_files.updateOne\",\"trip_files.updateMany\",\"trip_files.updateManyAndReturn\",\"trip_files.upsertOne\",\"trip_files.deleteOne\",\"trip_files.deleteMany\",\"trip_files.groupBy\",\"trip_files.aggregate\",\"trip_members.findUnique\",\"trip_members.findUniqueOrThrow\",\"trip_members.findFirst\",\"trip_members.findFirstOrThrow\",\"trip_members.findMany\",\"trip_members.createOne\",\"trip_members.createMany\",\"trip_members.createManyAndReturn\",\"trip_members.updateOne\",\"trip_members.updateMany\",\"trip_members.updateManyAndReturn\",\"trip_members.upsertOne\",\"trip_members.deleteOne\",\"trip_members.deleteMany\",\"trip_members.groupBy\",\"trip_members.aggregate\",\"trip_photos.findUnique\",\"trip_photos.findUniqueOrThrow\",\"trip_photos.findFirst\",\"trip_photos.findFirstOrThrow\",\"trip_photos.findMany\",\"trip_photos.createOne\",\"trip_photos.createMany\",\"trip_photos.createManyAndReturn\",\"trip_photos.updateOne\",\"trip_photos.updateMany\",\"trip_photos.updateManyAndReturn\",\"trip_photos.upsertOne\",\"trip_photos.deleteOne\",\"trip_photos.deleteMany\",\"trip_photos.groupBy\",\"trip_photos.aggregate\",\"trips.findUnique\",\"trips.findUniqueOrThrow\",\"trips.findFirst\",\"trips.findFirstOrThrow\",\"trips.findMany\",\"trips.createOne\",\"trips.createMany\",\"trips.createManyAndReturn\",\"trips.updateOne\",\"trips.updateMany\",\"trips.updateManyAndReturn\",\"trips.upsertOne\",\"trips.deleteOne\",\"trips.deleteMany\",\"trips.groupBy\",\"trips.aggregate\",\"user_notice_dismissals.findUnique\",\"user_notice_dismissals.findUniqueOrThrow\",\"user_notice_dismissals.findFirst\",\"user_notice_dismissals.findFirstOrThrow\",\"user_notice_dismissals.findMany\",\"user_notice_dismissals.createOne\",\"user_notice_dismissals.createMany\",\"user_notice_dismissals.createManyAndReturn\",\"user_notice_dismissals.updateOne\",\"user_notice_dismissals.updateMany\",\"user_notice_dismissals.updateManyAndReturn\",\"user_notice_dismissals.upsertOne\",\"user_notice_dismissals.deleteOne\",\"user_notice_dismissals.deleteMany\",\"user_notice_dismissals.groupBy\",\"user_notice_dismissals.aggregate\",\"users.findUnique\",\"users.findUniqueOrThrow\",\"users.findFirst\",\"users.findFirstOrThrow\",\"users.findMany\",\"users.createOne\",\"users.createMany\",\"users.createManyAndReturn\",\"users.updateOne\",\"users.updateMany\",\"users.updateManyAndReturn\",\"users.upsertOne\",\"users.deleteOne\",\"users.deleteMany\",\"users.groupBy\",\"users.aggregate\",\"vacay_company_holidays.findUnique\",\"vacay_company_holidays.findUniqueOrThrow\",\"vacay_company_holidays.findFirst\",\"vacay_company_holidays.findFirstOrThrow\",\"vacay_company_holidays.findMany\",\"vacay_company_holidays.createOne\",\"vacay_company_holidays.createMany\",\"vacay_company_holidays.createManyAndReturn\",\"vacay_company_holidays.updateOne\",\"vacay_company_holidays.updateMany\",\"vacay_company_holidays.updateManyAndReturn\",\"vacay_company_holidays.upsertOne\",\"vacay_company_holidays.deleteOne\",\"vacay_company_holidays.deleteMany\",\"vacay_company_holidays.groupBy\",\"vacay_company_holidays.aggregate\",\"vacay_entries.findUnique\",\"vacay_entries.findUniqueOrThrow\",\"vacay_entries.findFirst\",\"vacay_entries.findFirstOrThrow\",\"vacay_entries.findMany\",\"vacay_entries.createOne\",\"vacay_entries.createMany\",\"vacay_entries.createManyAndReturn\",\"vacay_entries.updateOne\",\"vacay_entries.updateMany\",\"vacay_entries.updateManyAndReturn\",\"vacay_entries.upsertOne\",\"vacay_entries.deleteOne\",\"vacay_entries.deleteMany\",\"vacay_entries.groupBy\",\"vacay_entries.aggregate\",\"vacay_holiday_calendars.findUnique\",\"vacay_holiday_calendars.findUniqueOrThrow\",\"vacay_holiday_calendars.findFirst\",\"vacay_holiday_calendars.findFirstOrThrow\",\"vacay_holiday_calendars.findMany\",\"vacay_holiday_calendars.createOne\",\"vacay_holiday_calendars.createMany\",\"vacay_holiday_calendars.createManyAndReturn\",\"vacay_holiday_calendars.updateOne\",\"vacay_holiday_calendars.updateMany\",\"vacay_holiday_calendars.updateManyAndReturn\",\"vacay_holiday_calendars.upsertOne\",\"vacay_holiday_calendars.deleteOne\",\"vacay_holiday_calendars.deleteMany\",\"vacay_holiday_calendars.groupBy\",\"vacay_holiday_calendars.aggregate\",\"vacay_plan_members.findUnique\",\"vacay_plan_members.findUniqueOrThrow\",\"vacay_plan_members.findFirst\",\"vacay_plan_members.findFirstOrThrow\",\"vacay_plan_members.findMany\",\"vacay_plan_members.createOne\",\"vacay_plan_members.createMany\",\"vacay_plan_members.createManyAndReturn\",\"vacay_plan_members.updateOne\",\"vacay_plan_members.updateMany\",\"vacay_plan_members.updateManyAndReturn\",\"vacay_plan_members.upsertOne\",\"vacay_plan_members.deleteOne\",\"vacay_plan_members.deleteMany\",\"vacay_plan_members.groupBy\",\"vacay_plan_members.aggregate\",\"vacay_plans.findUnique\",\"vacay_plans.findUniqueOrThrow\",\"vacay_plans.findFirst\",\"vacay_plans.findFirstOrThrow\",\"vacay_plans.findMany\",\"vacay_plans.createOne\",\"vacay_plans.createMany\",\"vacay_plans.createManyAndReturn\",\"vacay_plans.updateOne\",\"vacay_plans.updateMany\",\"vacay_plans.updateManyAndReturn\",\"vacay_plans.upsertOne\",\"vacay_plans.deleteOne\",\"vacay_plans.deleteMany\",\"vacay_plans.groupBy\",\"vacay_plans.aggregate\",\"vacay_user_colors.findUnique\",\"vacay_user_colors.findUniqueOrThrow\",\"vacay_user_colors.findFirst\",\"vacay_user_colors.findFirstOrThrow\",\"vacay_user_colors.findMany\",\"vacay_user_colors.createOne\",\"vacay_user_colors.createMany\",\"vacay_user_colors.createManyAndReturn\",\"vacay_user_colors.updateOne\",\"vacay_user_colors.updateMany\",\"vacay_user_colors.updateManyAndReturn\",\"vacay_user_colors.upsertOne\",\"vacay_user_colors.deleteOne\",\"vacay_user_colors.deleteMany\",\"vacay_user_colors.groupBy\",\"vacay_user_colors.aggregate\",\"vacay_user_years.findUnique\",\"vacay_user_years.findUniqueOrThrow\",\"vacay_user_years.findFirst\",\"vacay_user_years.findFirstOrThrow\",\"vacay_user_years.findMany\",\"vacay_user_years.createOne\",\"vacay_user_years.createMany\",\"vacay_user_years.createManyAndReturn\",\"vacay_user_years.updateOne\",\"vacay_user_years.updateMany\",\"vacay_user_years.updateManyAndReturn\",\"vacay_user_years.upsertOne\",\"vacay_user_years.deleteOne\",\"vacay_user_years.deleteMany\",\"vacay_user_years.groupBy\",\"vacay_user_years.aggregate\",\"vacay_years.findUnique\",\"vacay_years.findUniqueOrThrow\",\"vacay_years.findFirst\",\"vacay_years.findFirstOrThrow\",\"vacay_years.findMany\",\"vacay_years.createOne\",\"vacay_years.createMany\",\"vacay_years.createManyAndReturn\",\"vacay_years.updateOne\",\"vacay_years.updateMany\",\"vacay_years.updateManyAndReturn\",\"vacay_years.upsertOne\",\"vacay_years.deleteOne\",\"vacay_years.deleteMany\",\"vacay_years.groupBy\",\"vacay_years.aggregate\",\"visited_countries.findUnique\",\"visited_countries.findUniqueOrThrow\",\"visited_countries.findFirst\",\"visited_countries.findFirstOrThrow\",\"visited_countries.findMany\",\"visited_countries.createOne\",\"visited_countries.createMany\",\"visited_countries.createManyAndReturn\",\"visited_countries.updateOne\",\"visited_countries.updateMany\",\"visited_countries.updateManyAndReturn\",\"visited_countries.upsertOne\",\"visited_countries.deleteOne\",\"visited_countries.deleteMany\",\"visited_countries.groupBy\",\"visited_countries.aggregate\",\"visited_regions.findUnique\",\"visited_regions.findUniqueOrThrow\",\"visited_regions.findFirst\",\"visited_regions.findFirstOrThrow\",\"visited_regions.findMany\",\"visited_regions.createOne\",\"visited_regions.createMany\",\"visited_regions.createManyAndReturn\",\"visited_regions.updateOne\",\"visited_regions.updateMany\",\"visited_regions.updateManyAndReturn\",\"visited_regions.upsertOne\",\"visited_regions.deleteOne\",\"visited_regions.deleteMany\",\"visited_regions.groupBy\",\"visited_regions.aggregate\",\"AND\",\"OR\",\"NOT\",\"id\",\"user_id\",\"region_code\",\"region_name\",\"country_code\",\"created_at\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"contains\",\"startsWith\",\"endsWith\",\"plan_id\",\"year\",\"vacation_days\",\"carried_over\",\"color\",\"owner_id\",\"block_weekends\",\"holidays_enabled\",\"holidays_region\",\"company_holidays_enabled\",\"carry_over_enabled\",\"weekend_days\",\"week_start\",\"every\",\"some\",\"none\",\"status\",\"region\",\"label\",\"sort_order\",\"date\",\"note\",\"username\",\"email\",\"password_hash\",\"role\",\"maps_api_key\",\"unsplash_api_key\",\"openweather_api_key\",\"avatar\",\"oidc_sub\",\"oidc_issuer\",\"last_login\",\"mfa_enabled\",\"mfa_secret\",\"mfa_backup_codes\",\"immich_url\",\"immich_access_token\",\"synology_url\",\"synology_username\",\"synology_password\",\"synology_sid\",\"must_change_password\",\"password_version\",\"updated_at\",\"immich_api_key\",\"synology_skip_ssl\",\"synology_did\",\"first_seen_version\",\"login_count\",\"immich_auto_upload\",\"notice_id\",\"dismissed_at\",\"title\",\"description\",\"start_date\",\"end_date\",\"currency\",\"cover_image\",\"is_archived\",\"reminder_days\",\"trip_id\",\"photo_id\",\"shared\",\"album_link_id\",\"added_at\",\"invited_by\",\"place_id\",\"reservation_id\",\"filename\",\"original_name\",\"file_size\",\"mime_type\",\"note_id\",\"uploaded_by\",\"starred\",\"deleted_at\",\"provider\",\"album_id\",\"album_name\",\"sync_enabled\",\"last_synced_at\",\"passphrase\",\"asset_id\",\"file_path\",\"thumbnail_path\",\"width\",\"height\",\"cache_key\",\"content_type\",\"fetched_at\",\"name\",\"checked\",\"category\",\"due_date\",\"assigned_user_id\",\"priority\",\"reminded_at\",\"category_name\",\"token\",\"created_by\",\"share_map\",\"share_bookings\",\"share_packing\",\"share_budget\",\"share_collab\",\"expires_at\",\"key\",\"value\",\"version\",\"day_id\",\"end_day_id\",\"assignment_id\",\"accommodation_id\",\"reservation_time\",\"reservation_end_time\",\"location\",\"confirmation_number\",\"notes\",\"type\",\"metadata\",\"day_plan_position\",\"needs_review\",\"sequence\",\"code\",\"lat\",\"lng\",\"timezone\",\"local_time\",\"local_date\",\"position\",\"address\",\"category_id\",\"price\",\"reservation_status\",\"reservation_notes\",\"reservation_datetime\",\"place_time\",\"end_time\",\"duration_minutes\",\"image_url\",\"google_place_id\",\"website\",\"phone\",\"transport_mode\",\"osm_id\",\"route_geometry\",\"tag_id\",\"lang\",\"expanded\",\"payload_json\",\"place_id_lang_expanded\",\"caption\",\"taken_at\",\"icon\",\"enabled\",\"provider_id\",\"field_key\",\"input_type\",\"placeholder\",\"hint\",\"required\",\"secret\",\"settings_key\",\"payload_key\",\"provider_id_field_key\",\"token_hash\",\"consumed_at\",\"created_ip\",\"template_id\",\"weight_grams\",\"bag_id\",\"quantity\",\"weight_limit_grams\",\"client_id\",\"access_token_hash\",\"refresh_token_hash\",\"scopes\",\"access_token_expires_at\",\"refresh_token_expires_at\",\"revoked_at\",\"parent_token_id\",\"audience\",\"client_secret_hash\",\"redirect_uris\",\"allowed_scopes\",\"is_public\",\"created_via\",\"scope\",\"target\",\"sender_id\",\"recipient_id\",\"title_key\",\"title_params\",\"text_key\",\"text_params\",\"positive_text_key\",\"negative_text_key\",\"positive_callback\",\"negative_callback\",\"response\",\"navigate_text_key\",\"navigate_target\",\"is_read\",\"event_type\",\"channel\",\"token_prefix\",\"last_used_at\",\"subtitle\",\"cover_gradient\",\"journey_id\",\"share_timeline\",\"share_gallery\",\"entry_id\",\"journey_photo_id\",\"source_trip_id\",\"source_place_id\",\"author_id\",\"story\",\"entry_date\",\"entry_time\",\"location_name\",\"location_lat\",\"location_lng\",\"mood\",\"weather\",\"visibility\",\"pros_cons\",\"hide_skeletons\",\"max_uses\",\"used_count\",\"method\",\"path\",\"status_code\",\"response_body\",\"attribution\",\"error_at\",\"file_id\",\"day_number\",\"text\",\"time\",\"order_index\",\"assignment_time\",\"assignment_end_time\",\"start_day_id\",\"check_in\",\"check_in_end\",\"check_out\",\"confirmation\",\"question\",\"options\",\"multiple\",\"closed\",\"deadline\",\"poll_id\",\"option_index\",\"content\",\"pinned\",\"reply_to\",\"deleted\",\"message_id\",\"emoji\",\"total_price\",\"persons\",\"paid_by_user_id\",\"expense_date\",\"budget_item_id\",\"paid\",\"target_date\",\"action\",\"resource\",\"details\",\"ip\",\"user_id_region_code\",\"user_id_country_code\",\"plan_id_year\",\"user_id_plan_id_year\",\"user_id_plan_id\",\"plan_id_user_id\",\"plan_id_date\",\"user_id_plan_id_date\",\"user_id_notice_id\",\"provider_asset_id_owner_id\",\"user_id_key\",\"client_id_user_id\",\"user_id_event_type_channel\",\"key_user_id_method_path\",\"place_id_tag_id\",\"reservation_id_day_id\",\"trip_id_user_id\",\"trip_id_user_id_provider_album_id\",\"trip_id_category_name_user_id\",\"bag_id_user_id\",\"journey_id_trip_id\",\"trip_id_user_id_photo_id\",\"entry_id_journey_photo_id\",\"journey_id_photo_id\",\"journey_id_user_id\",\"trip_id_day_number\",\"poll_id_user_id_option_index\",\"message_id_user_id_emoji\",\"trip_id_category\",\"file_id_place_id\",\"file_id_assignment_id\",\"file_id_reservation_id\",\"budget_item_id_user_id\",\"assignment_id_user_id\",\"config\",\"is\",\"isNot\",\"connectOrCreate\",\"upsert\",\"createMany\",\"set\",\"disconnect\",\"delete\",\"connect\",\"updateMany\",\"deleteMany\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"), + graph: "lC2kBuAJC8UKAADFFAAwxgoAAAQAEMcKAADFFAAwyAoBAAAAAewKAgCVEgAhjwsBAJYSACG0CwEApxIAIdALAQCnEgAh8wsBAJYSACH0CwIAlRIAIYwNAQCWEgAhAQAAAAEAIAEAAAABACALxQoAAMUUADDGCgAABAAQxwoAAMUUADDICgEApxIAIewKAgCVEgAhjwsBAJYSACG0CwEApxIAIdALAQCnEgAh8wsBAJYSACH0CwIAlRIAIYwNAQCWEgAhBewKAADGFAAgjwsAAMYUACDzCwAAxhQAIPQLAADGFAAgjA0AAMYUACADAAAABAAgAwAABQAwBAAAAQAgAwAAAAQAIAMAAAUAMAQAAAEAIAMAAAAEACADAAAFADAEAAABACAIyAoBAAAAAewKAgAAAAGPCwEAAAABtAsBAAAAAdALAQAAAAHzCwEAAAAB9AsCAAAAAYwNAQAAAAEBCAAACQAgCMgKAQAAAAHsCgIAAAABjwsBAAAAAbQLAQAAAAHQCwEAAAAB8wsBAAAAAfQLAgAAAAGMDQEAAAABAQgAAAsAMAEIAAALADAIyAoBAMwUACHsCgIA5BQAIY8LAQDuFAAhtAsBAMwUACHQCwEAzBQAIfMLAQDuFAAh9AsCAOQUACGMDQEA7hQAIQIAAAABACAIAAAOACAIyAoBAMwUACHsCgIA5BQAIY8LAQDuFAAhtAsBAMwUACHQCwEAzBQAIfMLAQDuFAAh9AsCAOQUACGMDQEA7hQAIQIAAAAEACAIAAAQACACAAAABAAgCAAAEAAgAwAAAAEAIA8AAAkAIBAAAA4A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ACADAAAAlAIAIAMAAJUCADAEAACWAgAgAwAAAEcAIAMAAF8AMAQAAGAAIAMAAABHACADAABfADAEAABgACABAAAAUwAgAQAAAFMAIAEAAABZACABAAAAZQAgAQAAANsBACABAAAAlAIAIAEAAABHACABAAAARwAgAQAAAFEAIAMAAABZACADAABaADAEAABbACADAAAATQAgAwAATgAwBAAATwAgAwAAAJgBACADAACZAQAwBAAAmgEAIAMAAADbAQAgAwAA3AEAMAQAAN0BACAINAAA7hIAIMUKAADtEgAwxgoAAKcCABDHCgAA7RIAMMoKAQCnEgAhywoBAKcSACHMCgEApxIAIZwLAgCYEgAhAQAAAKcCACAHNAAA7hIAIGAAAO0TACDFCgAA7BMAMMYKAACpAgAQxwoAAOwTADCcCwIAmBIAIewLAgCYEgAhAjQAAMkkACBgAADvJgAgCDQAAO4SACBgAADtEwAgxQoAAOwTADDGCgAAqQIAEMcKAADsEwAwnAsCAJgSACHsCwIAmBIAIfgMAADrEwAgAwAAAKkCACADAACqAgAwBAAAqwIAIAMAAACpAgAgAwAAqgIAMAQAAKsCACABAAAAqQIAIAstAADIEwAgNAAAwxMAIMUKAADnEwAwxgoAAK8CABDHCgAA5xMAMMgKAgCYEgAhyQoCAJUSACHNCkAAlxIAId0KAQCWEgAhtAsBAKcSACHzCwEAlhIAIQEAAACvAgAgAQAAADwAIAMAAABRACADAADhAQAwBAAA4gEAIAEAAABRACADAAAARwAgAwAAXwAwBAAAYAAgAwAAAH4AIAMAAH8AMAQAAIABACABAAAAUwAgAQAAAFkAIAEAAABNACABAAAAmAEAIAEAAADbAQAgAQAAAKkCACABAAAARwAgAQAAAH4AIAEAAABZACABAAAARwAgAwAAAJQCACADAACVAgAwBAAAlgIAIBA3AADqEwAgxQoAAOgTADDGCgAAwQIAEMcKAADoEwAwyAoCAJgSACHNCkAAlxIAIfIKAQCnEgAhnQsCAJgSACG0CwEApxIAIdQLAgCYEgAh1QsBAJYSACHWCwgA6RMAIdcLCADpEwAh2AsBAJYSACHZCwEAlh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W2XCr0RbZgKvhFtmQq_EW2aCsERbZsKwxECnArEEYoGnQrGEW2eCsgRAp8KyRGLBqAKyhFtoQrLEW2iCswRAqMKzxGMBqQK0BGSBqUK0RFvpgrSEW-nCtMRb6gK1BFvqQrVEW-qCtcRb6sK2RECrAraEZMGrQrcEW-uCt4RAq8K3xGUBrAK4BFvsQrhEW-yCuIRArMK5RGVBrQK5hGbBrUK5xFwtgroEXC3CukRcLgK6hFwuQrrEXC6Cu0RcLsK7xECvArwEZwGvQryEXC-CvQRAr8K9RGdBsAK9hFwwQr3EXDCCvgRAsMK-xGeBsQK_BGkBg" +} + +async function decodeBase64AsWasm(wasmBase64: string): Promise { + const { Buffer } = await import('node:buffer') + const wasmArray = Buffer.from(wasmBase64, 'base64') + return new WebAssembly.Module(wasmArray) +} + +config.compilerWasm = { + getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.sqlite.js"), + + getQueryCompilerWasmModule: async () => { + const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.sqlite.wasm-base64.js") + return await decodeBase64AsWasm(wasm) + }, + + importName: "./query_compiler_fast_bg.js" +} + + + +export type LogOptions = + 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never + +export interface PrismaClientConstructor { + /** + * ## Prisma Client + * + * Type-safe database client for TypeScript + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) + * }) + * // Fetch zero or more Addons + * const addons = await prisma.addons.findMany() + * ``` + * + * Read more in our [docs](https://pris.ly/d/client). + */ + + new < + Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, + LogOpts extends LogOptions = LogOptions, + OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], + ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs + >(options: Prisma.Subset ): PrismaClient +} + +/** + * ## Prisma Client + * + * Type-safe database client for TypeScript + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) + * }) + * // Fetch zero or more Addons + * const addons = await prisma.addons.findMany() + * ``` + * + * Read more in our [docs](https://pris.ly/d/client). + */ + +export interface PrismaClient< + in LogOpts extends Prisma.LogLevel = never, + in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, + in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs +> { + [K: symbol]: { types: Prisma.TypeMap['other'] } + + $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; + + /** + * Connect with the database + */ + $connect(): runtime.Types.Utils.JsPromise; + + /** + * Disconnect from the database + */ + $disconnect(): runtime.Types.Utils.JsPromise; + +/** + * Executes a prepared raw query and returns the number of affected rows. + * @example + * ``` + * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; + + /** + * Executes a raw query and returns the number of affected rows. + * Susceptible to SQL injections, see documentation. + * @example + * ``` + * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; + + /** + * Performs a prepared raw query and returns the `SELECT` data. + * @example + * ``` + * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; + + /** + * Performs a raw query and returns the `SELECT` data. + * Susceptible to SQL injections, see documentation. + * @example + * ``` + * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') + * ``` + * + * Read more in our [docs](https://pris.ly/d/raw-queries). + */ + $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; + + + /** + * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. + * @example + * ``` + * const [george, bob, alice] = await prisma.$transaction([ + * prisma.user.create({ data: { name: 'George' } }), + * prisma.user.create({ data: { name: 'Bob' } }), + * prisma.user.create({ data: { name: 'Alice' } }), + * ]) + * ``` + * + * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions). + */ + $transaction

[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise> + + $transaction(fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise + + $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, runtime.Types.Utils.Call, { + extArgs: ExtArgs + }>> + + /** + * `prisma.addons`: Exposes CRUD operations for the **addons** model. + * Example usage: + * ```ts + * // Fetch zero or more Addons + * const addons = await prisma.addons.findMany() + * ``` + */ + get addons(): Prisma.addonsDelegate; + + /** + * `prisma.app_settings`: Exposes CRUD operations for the **app_settings** model. + * Example usage: + * ```ts + * // Fetch zero or more App_settings + * const app_settings = await prisma.app_settings.findMany() + * ``` + */ + get app_settings(): Prisma.app_settingsDelegate; + + /** + * `prisma.assignment_participants`: Exposes CRUD operations for the **assignment_participants** model. + * Example usage: + * ```ts + * // Fetch zero or more Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findMany() + * ``` + */ + get assignment_participants(): Prisma.assignment_participantsDelegate; + + /** + * `prisma.audit_log`: Exposes CRUD operations for the **audit_log** model. + * Example usage: + * ```ts + * // Fetch zero or more Audit_logs + * const audit_logs = await prisma.audit_log.findMany() + * ``` + */ + get audit_log(): Prisma.audit_logDelegate; + + /** + * `prisma.bucket_list`: Exposes CRUD operations for the **bucket_list** model. + * Example usage: + * ```ts + * // Fetch zero or more Bucket_lists + * const bucket_lists = await prisma.bucket_list.findMany() + * ``` + */ + get bucket_list(): Prisma.bucket_listDelegate; + + /** + * `prisma.budget_category_order`: Exposes CRUD operations for the **budget_category_order** model. + * Example usage: + * ```ts + * // Fetch zero or more Budget_category_orders + * const budget_category_orders = await prisma.budget_category_order.findMany() + * ``` + */ + get budget_category_order(): Prisma.budget_category_orderDelegate; + + /** + * `prisma.budget_item_members`: Exposes CRUD operations for the **budget_item_members** model. + * Example usage: + * ```ts + * // Fetch zero or more Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findMany() + * ``` + */ + get budget_item_members(): Prisma.budget_item_membersDelegate; + + /** + * `prisma.budget_items`: Exposes CRUD operations for the **budget_items** model. + * Example usage: + * ```ts + * // Fetch zero or more Budget_items + * const budget_items = await prisma.budget_items.findMany() + * ``` + */ + get budget_items(): Prisma.budget_itemsDelegate; + + /** + * `prisma.categories`: Exposes CRUD operations for the **categories** model. + * Example usage: + * ```ts + * // Fetch zero or more Categories + * const categories = await prisma.categories.findMany() + * ``` + */ + get categories(): Prisma.categoriesDelegate; + + /** + * `prisma.collab_message_reactions`: Exposes CRUD operations for the **collab_message_reactions** model. + * Example usage: + * ```ts + * // Fetch zero or more Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findMany() + * ``` + */ + get collab_message_reactions(): Prisma.collab_message_reactionsDelegate; + + /** + * `prisma.collab_messages`: Exposes CRUD operations for the **collab_messages** model. + * Example usage: + * ```ts + * // Fetch zero or more Collab_messages + * const collab_messages = await prisma.collab_messages.findMany() + * ``` + */ + get collab_messages(): Prisma.collab_messagesDelegate; + + /** + * `prisma.collab_notes`: Exposes CRUD operations for the **collab_notes** model. + * Example usage: + * ```ts + * // Fetch zero or more Collab_notes + * const collab_notes = await prisma.collab_notes.findMany() + * ``` + */ + get collab_notes(): Prisma.collab_notesDelegate; + + /** + * `prisma.collab_poll_votes`: Exposes CRUD operations for the **collab_poll_votes** model. + * Example usage: + * ```ts + * // Fetch zero or more Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findMany() + * ``` + */ + get collab_poll_votes(): Prisma.collab_poll_votesDelegate; + + /** + * `prisma.collab_polls`: Exposes CRUD operations for the **collab_polls** model. + * Example usage: + * ```ts + * // Fetch zero or more Collab_polls + * const collab_polls = await prisma.collab_polls.findMany() + * ``` + */ + get collab_polls(): Prisma.collab_pollsDelegate; + + /** + * `prisma.day_accommodations`: Exposes CRUD operations for the **day_accommodations** model. + * Example usage: + * ```ts + * // Fetch zero or more Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findMany() + * ``` + */ + get day_accommodations(): Prisma.day_accommodationsDelegate; + + /** + * `prisma.day_assignments`: Exposes CRUD operations for the **day_assignments** model. + * Example usage: + * ```ts + * // Fetch zero or more Day_assignments + * const day_assignments = await prisma.day_assignments.findMany() + * ``` + */ + get day_assignments(): Prisma.day_assignmentsDelegate; + + /** + * `prisma.day_notes`: Exposes CRUD operations for the **day_notes** model. + * Example usage: + * ```ts + * // Fetch zero or more Day_notes + * const day_notes = await prisma.day_notes.findMany() + * ``` + */ + get day_notes(): Prisma.day_notesDelegate; + + /** + * `prisma.days`: Exposes CRUD operations for the **days** model. + * Example usage: + * ```ts + * // Fetch zero or more Days + * const days = await prisma.days.findMany() + * ``` + */ + get days(): Prisma.daysDelegate; + + /** + * `prisma.file_links`: Exposes CRUD operations for the **file_links** model. + * Example usage: + * ```ts + * // Fetch zero or more File_links + * const file_links = await prisma.file_links.findMany() + * ``` + */ + get file_links(): Prisma.file_linksDelegate; + + /** + * `prisma.google_place_photo_meta`: Exposes CRUD operations for the **google_place_photo_meta** model. + * Example usage: + * ```ts + * // Fetch zero or more Google_place_photo_metas + * const google_place_photo_metas = await prisma.google_place_photo_meta.findMany() + * ``` + */ + get google_place_photo_meta(): Prisma.google_place_photo_metaDelegate; + + /** + * `prisma.idempotency_keys`: Exposes CRUD operations for the **idempotency_keys** model. + * Example usage: + * ```ts + * // Fetch zero or more Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findMany() + * ``` + */ + get idempotency_keys(): Prisma.idempotency_keysDelegate; + + /** + * `prisma.invite_tokens`: Exposes CRUD operations for the **invite_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findMany() + * ``` + */ + get invite_tokens(): Prisma.invite_tokensDelegate; + + /** + * `prisma.journey_contributors`: Exposes CRUD operations for the **journey_contributors** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findMany() + * ``` + */ + get journey_contributors(): Prisma.journey_contributorsDelegate; + + /** + * `prisma.journey_entries`: Exposes CRUD operations for the **journey_entries** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_entries + * const journey_entries = await prisma.journey_entries.findMany() + * ``` + */ + get journey_entries(): Prisma.journey_entriesDelegate; + + /** + * `prisma.journey_entry_photos`: Exposes CRUD operations for the **journey_entry_photos** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findMany() + * ``` + */ + get journey_entry_photos(): Prisma.journey_entry_photosDelegate; + + /** + * `prisma.journey_photos`: Exposes CRUD operations for the **journey_photos** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_photos + * const journey_photos = await prisma.journey_photos.findMany() + * ``` + */ + get journey_photos(): Prisma.journey_photosDelegate; + + /** + * `prisma.journey_share_tokens`: Exposes CRUD operations for the **journey_share_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findMany() + * ``` + */ + get journey_share_tokens(): Prisma.journey_share_tokensDelegate; + + /** + * `prisma.journey_trips`: Exposes CRUD operations for the **journey_trips** model. + * Example usage: + * ```ts + * // Fetch zero or more Journey_trips + * const journey_trips = await prisma.journey_trips.findMany() + * ``` + */ + get journey_trips(): Prisma.journey_tripsDelegate; + + /** + * `prisma.journeys`: Exposes CRUD operations for the **journeys** model. + * Example usage: + * ```ts + * // Fetch zero or more Journeys + * const journeys = await prisma.journeys.findMany() + * ``` + */ + get journeys(): Prisma.journeysDelegate; + + /** + * `prisma.mcp_tokens`: Exposes CRUD operations for the **mcp_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findMany() + * ``` + */ + get mcp_tokens(): Prisma.mcp_tokensDelegate; + + /** + * `prisma.notification_channel_preferences`: Exposes CRUD operations for the **notification_channel_preferences** model. + * Example usage: + * ```ts + * // Fetch zero or more Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findMany() + * ``` + */ + get notification_channel_preferences(): Prisma.notification_channel_preferencesDelegate; + + /** + * `prisma.notifications`: Exposes CRUD operations for the **notifications** model. + * Example usage: + * ```ts + * // Fetch zero or more Notifications + * const notifications = await prisma.notifications.findMany() + * ``` + */ + get notifications(): Prisma.notificationsDelegate; + + /** + * `prisma.oauth_clients`: Exposes CRUD operations for the **oauth_clients** model. + * Example usage: + * ```ts + * // Fetch zero or more Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findMany() + * ``` + */ + get oauth_clients(): Prisma.oauth_clientsDelegate; + + /** + * `prisma.oauth_consents`: Exposes CRUD operations for the **oauth_consents** model. + * Example usage: + * ```ts + * // Fetch zero or more Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findMany() + * ``` + */ + get oauth_consents(): Prisma.oauth_consentsDelegate; + + /** + * `prisma.oauth_tokens`: Exposes CRUD operations for the **oauth_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findMany() + * ``` + */ + get oauth_tokens(): Prisma.oauth_tokensDelegate; + + /** + * `prisma.packing_bag_members`: Exposes CRUD operations for the **packing_bag_members** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findMany() + * ``` + */ + get packing_bag_members(): Prisma.packing_bag_membersDelegate; + + /** + * `prisma.packing_bags`: Exposes CRUD operations for the **packing_bags** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_bags + * const packing_bags = await prisma.packing_bags.findMany() + * ``` + */ + get packing_bags(): Prisma.packing_bagsDelegate; + + /** + * `prisma.packing_category_assignees`: Exposes CRUD operations for the **packing_category_assignees** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findMany() + * ``` + */ + get packing_category_assignees(): Prisma.packing_category_assigneesDelegate; + + /** + * `prisma.packing_items`: Exposes CRUD operations for the **packing_items** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_items + * const packing_items = await prisma.packing_items.findMany() + * ``` + */ + get packing_items(): Prisma.packing_itemsDelegate; + + /** + * `prisma.packing_template_categories`: Exposes CRUD operations for the **packing_template_categories** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findMany() + * ``` + */ + get packing_template_categories(): Prisma.packing_template_categoriesDelegate; + + /** + * `prisma.packing_template_items`: Exposes CRUD operations for the **packing_template_items** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findMany() + * ``` + */ + get packing_template_items(): Prisma.packing_template_itemsDelegate; + + /** + * `prisma.packing_templates`: Exposes CRUD operations for the **packing_templates** model. + * Example usage: + * ```ts + * // Fetch zero or more Packing_templates + * const packing_templates = await prisma.packing_templates.findMany() + * ``` + */ + get packing_templates(): Prisma.packing_templatesDelegate; + + /** + * `prisma.password_reset_tokens`: Exposes CRUD operations for the **password_reset_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findMany() + * ``` + */ + get password_reset_tokens(): Prisma.password_reset_tokensDelegate; + + /** + * `prisma.photo_provider_fields`: Exposes CRUD operations for the **photo_provider_fields** model. + * Example usage: + * ```ts + * // Fetch zero or more Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findMany() + * ``` + */ + get photo_provider_fields(): Prisma.photo_provider_fieldsDelegate; + + /** + * `prisma.photo_providers`: Exposes CRUD operations for the **photo_providers** model. + * Example usage: + * ```ts + * // Fetch zero or more Photo_providers + * const photo_providers = await prisma.photo_providers.findMany() + * ``` + */ + get photo_providers(): Prisma.photo_providersDelegate; + + /** + * `prisma.photos`: Exposes CRUD operations for the **photos** model. + * Example usage: + * ```ts + * // Fetch zero or more Photos + * const photos = await prisma.photos.findMany() + * ``` + */ + get photos(): Prisma.photosDelegate; + + /** + * `prisma.place_details_cache`: Exposes CRUD operations for the **place_details_cache** model. + * Example usage: + * ```ts + * // Fetch zero or more Place_details_caches + * const place_details_caches = await prisma.place_details_cache.findMany() + * ``` + */ + get place_details_cache(): Prisma.place_details_cacheDelegate; + + /** + * `prisma.place_regions`: Exposes CRUD operations for the **place_regions** model. + * Example usage: + * ```ts + * // Fetch zero or more Place_regions + * const place_regions = await prisma.place_regions.findMany() + * ``` + */ + get place_regions(): Prisma.place_regionsDelegate; + + /** + * `prisma.place_tags`: Exposes CRUD operations for the **place_tags** model. + * Example usage: + * ```ts + * // Fetch zero or more Place_tags + * const place_tags = await prisma.place_tags.findMany() + * ``` + */ + get place_tags(): Prisma.place_tagsDelegate; + + /** + * `prisma.places`: Exposes CRUD operations for the **places** model. + * Example usage: + * ```ts + * // Fetch zero or more Places + * const places = await prisma.places.findMany() + * ``` + */ + get places(): Prisma.placesDelegate; + + /** + * `prisma.reservation_day_positions`: Exposes CRUD operations for the **reservation_day_positions** model. + * Example usage: + * ```ts + * // Fetch zero or more Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findMany() + * ``` + */ + get reservation_day_positions(): Prisma.reservation_day_positionsDelegate; + + /** + * `prisma.reservation_endpoints`: Exposes CRUD operations for the **reservation_endpoints** model. + * Example usage: + * ```ts + * // Fetch zero or more Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findMany() + * ``` + */ + get reservation_endpoints(): Prisma.reservation_endpointsDelegate; + + /** + * `prisma.reservations`: Exposes CRUD operations for the **reservations** model. + * Example usage: + * ```ts + * // Fetch zero or more Reservations + * const reservations = await prisma.reservations.findMany() + * ``` + */ + get reservations(): Prisma.reservationsDelegate; + + /** + * `prisma.schema_version`: Exposes CRUD operations for the **schema_version** model. + * Example usage: + * ```ts + * // Fetch zero or more Schema_versions + * const schema_versions = await prisma.schema_version.findMany() + * ``` + */ + get schema_version(): Prisma.schema_versionDelegate; + + /** + * `prisma.settings`: Exposes CRUD operations for the **settings** model. + * Example usage: + * ```ts + * // Fetch zero or more Settings + * const settings = await prisma.settings.findMany() + * ``` + */ + get settings(): Prisma.settingsDelegate; + + /** + * `prisma.share_tokens`: Exposes CRUD operations for the **share_tokens** model. + * Example usage: + * ```ts + * // Fetch zero or more Share_tokens + * const share_tokens = await prisma.share_tokens.findMany() + * ``` + */ + get share_tokens(): Prisma.share_tokensDelegate; + + /** + * `prisma.tags`: Exposes CRUD operations for the **tags** model. + * Example usage: + * ```ts + * // Fetch zero or more Tags + * const tags = await prisma.tags.findMany() + * ``` + */ + get tags(): Prisma.tagsDelegate; + + /** + * `prisma.todo_category_assignees`: Exposes CRUD operations for the **todo_category_assignees** model. + * Example usage: + * ```ts + * // Fetch zero or more Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findMany() + * ``` + */ + get todo_category_assignees(): Prisma.todo_category_assigneesDelegate; + + /** + * `prisma.todo_items`: Exposes CRUD operations for the **todo_items** model. + * Example usage: + * ```ts + * // Fetch zero or more Todo_items + * const todo_items = await prisma.todo_items.findMany() + * ``` + */ + get todo_items(): Prisma.todo_itemsDelegate; + + /** + * `prisma.trek_photo_cache_meta`: Exposes CRUD operations for the **trek_photo_cache_meta** model. + * Example usage: + * ```ts + * // Fetch zero or more Trek_photo_cache_metas + * const trek_photo_cache_metas = await prisma.trek_photo_cache_meta.findMany() + * ``` + */ + get trek_photo_cache_meta(): Prisma.trek_photo_cache_metaDelegate; + + /** + * `prisma.trek_photos`: Exposes CRUD operations for the **trek_photos** model. + * Example usage: + * ```ts + * // Fetch zero or more Trek_photos + * const trek_photos = await prisma.trek_photos.findMany() + * ``` + */ + get trek_photos(): Prisma.trek_photosDelegate; + + /** + * `prisma.trip_album_links`: Exposes CRUD operations for the **trip_album_links** model. + * Example usage: + * ```ts + * // Fetch zero or more Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findMany() + * ``` + */ + get trip_album_links(): Prisma.trip_album_linksDelegate; + + /** + * `prisma.trip_files`: Exposes CRUD operations for the **trip_files** model. + * Example usage: + * ```ts + * // Fetch zero or more Trip_files + * const trip_files = await prisma.trip_files.findMany() + * ``` + */ + get trip_files(): Prisma.trip_filesDelegate; + + /** + * `prisma.trip_members`: Exposes CRUD operations for the **trip_members** model. + * Example usage: + * ```ts + * // Fetch zero or more Trip_members + * const trip_members = await prisma.trip_members.findMany() + * ``` + */ + get trip_members(): Prisma.trip_membersDelegate; + + /** + * `prisma.trip_photos`: Exposes CRUD operations for the **trip_photos** model. + * Example usage: + * ```ts + * // Fetch zero or more Trip_photos + * const trip_photos = await prisma.trip_photos.findMany() + * ``` + */ + get trip_photos(): Prisma.trip_photosDelegate; + + /** + * `prisma.trips`: Exposes CRUD operations for the **trips** model. + * Example usage: + * ```ts + * // Fetch zero or more Trips + * const trips = await prisma.trips.findMany() + * ``` + */ + get trips(): Prisma.tripsDelegate; + + /** + * `prisma.user_notice_dismissals`: Exposes CRUD operations for the **user_notice_dismissals** model. + * Example usage: + * ```ts + * // Fetch zero or more User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findMany() + * ``` + */ + get user_notice_dismissals(): Prisma.user_notice_dismissalsDelegate; + + /** + * `prisma.users`: Exposes CRUD operations for the **users** model. + * Example usage: + * ```ts + * // Fetch zero or more Users + * const users = await prisma.users.findMany() + * ``` + */ + get users(): Prisma.usersDelegate; + + /** + * `prisma.vacay_company_holidays`: Exposes CRUD operations for the **vacay_company_holidays** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findMany() + * ``` + */ + get vacay_company_holidays(): Prisma.vacay_company_holidaysDelegate; + + /** + * `prisma.vacay_entries`: Exposes CRUD operations for the **vacay_entries** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findMany() + * ``` + */ + get vacay_entries(): Prisma.vacay_entriesDelegate; + + /** + * `prisma.vacay_holiday_calendars`: Exposes CRUD operations for the **vacay_holiday_calendars** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findMany() + * ``` + */ + get vacay_holiday_calendars(): Prisma.vacay_holiday_calendarsDelegate; + + /** + * `prisma.vacay_plan_members`: Exposes CRUD operations for the **vacay_plan_members** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findMany() + * ``` + */ + get vacay_plan_members(): Prisma.vacay_plan_membersDelegate; + + /** + * `prisma.vacay_plans`: Exposes CRUD operations for the **vacay_plans** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findMany() + * ``` + */ + get vacay_plans(): Prisma.vacay_plansDelegate; + + /** + * `prisma.vacay_user_colors`: Exposes CRUD operations for the **vacay_user_colors** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findMany() + * ``` + */ + get vacay_user_colors(): Prisma.vacay_user_colorsDelegate; + + /** + * `prisma.vacay_user_years`: Exposes CRUD operations for the **vacay_user_years** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findMany() + * ``` + */ + get vacay_user_years(): Prisma.vacay_user_yearsDelegate; + + /** + * `prisma.vacay_years`: Exposes CRUD operations for the **vacay_years** model. + * Example usage: + * ```ts + * // Fetch zero or more Vacay_years + * const vacay_years = await prisma.vacay_years.findMany() + * ``` + */ + get vacay_years(): Prisma.vacay_yearsDelegate; + + /** + * `prisma.visited_countries`: Exposes CRUD operations for the **visited_countries** model. + * Example usage: + * ```ts + * // Fetch zero or more Visited_countries + * const visited_countries = await prisma.visited_countries.findMany() + * ``` + */ + get visited_countries(): Prisma.visited_countriesDelegate; + + /** + * `prisma.visited_regions`: Exposes CRUD operations for the **visited_regions** model. + * Example usage: + * ```ts + * // Fetch zero or more Visited_regions + * const visited_regions = await prisma.visited_regions.findMany() + * ``` + */ + get visited_regions(): Prisma.visited_regionsDelegate; +} + +export function getPrismaClientClass(): PrismaClientConstructor { + return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor +} diff --git a/server/src/generated/prisma/internal/prismaNamespace.ts b/server/src/generated/prisma/internal/prismaNamespace.ts new file mode 100644 index 00000000..0df0c9e5 --- /dev/null +++ b/server/src/generated/prisma/internal/prismaNamespace.ts @@ -0,0 +1,7657 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @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! + */ + +import * as runtime from "@prisma/client/runtime/client" +import type * as Prisma from "../models" +import { type PrismaClient } from "./class" + +export type * from '../models' + +export type DMMF = typeof runtime.DMMF + +export type PrismaPromise = runtime.Types.Public.PrismaPromise + +/** + * Prisma Errors + */ + +export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError +export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError + +export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError +export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError + +export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError +export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError + +export const PrismaClientInitializationError = runtime.PrismaClientInitializationError +export type PrismaClientInitializationError = runtime.PrismaClientInitializationError + +export const PrismaClientValidationError = runtime.PrismaClientValidationError +export type PrismaClientValidationError = runtime.PrismaClientValidationError + +/** + * Re-export of sql-template-tag + */ +export const sql = runtime.sqltag +export const empty = runtime.empty +export const join = runtime.join +export const raw = runtime.raw +export const Sql = runtime.Sql +export type Sql = runtime.Sql + + + +/** + * Decimal.js + */ +export const Decimal = runtime.Decimal +export type Decimal = runtime.Decimal + +export type DecimalJsLike = runtime.DecimalJsLike + +/** +* Extensions +*/ +export type Extension = runtime.Types.Extensions.UserArgs +export const getExtensionContext = runtime.Extensions.getExtensionContext +export type Args = runtime.Types.Public.Args +export type Payload = runtime.Types.Public.Payload +export type Result = runtime.Types.Public.Result +export type Exact = runtime.Types.Public.Exact + +export type PrismaVersion = { + client: string + engine: string +} + +/** + * Prisma Client JS version: 7.8.0 + * Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a + */ +export const prismaVersion: PrismaVersion = { + client: "7.8.0", + engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a" +} + +/** + * Utility Types + */ + +export type Bytes = runtime.Bytes +export type JsonObject = runtime.JsonObject +export type JsonArray = runtime.JsonArray +export type JsonValue = runtime.JsonValue +export type InputJsonObject = runtime.InputJsonObject +export type InputJsonArray = runtime.InputJsonArray +export type InputJsonValue = runtime.InputJsonValue + + +export const NullTypes = { + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.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 + */ +export const DbNull = runtime.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 + */ +export const JsonNull = runtime.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 + */ +export const AnyNull = runtime.AnyNull + + +type SelectAndInclude = { + select: any + include: any +} + +type SelectAndOmit = { + select: any + omit: any +} + +/** + * From T, pick a set of properties whose keys are in the union K + */ +type Prisma__Pick = { + [P in K]: T[P]; +}; + +export type Enumerable = T | Array; + +/** + * Subset + * @desc From `T` pick properties that exist in `U`. Simple version of Intersection + */ +export type Subset = { + [key in keyof T]: key extends keyof U ? T[key] : never; +}; + +/** + * SelectSubset + * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. + * Additionally, it validates, if both select and include are present. If the case, it errors. + */ +export type SelectSubset = { + [key in keyof T]: key extends keyof U ? T[key] : never +} & + (T extends SelectAndInclude + ? 'Please either choose `select` or `include`.' + : T extends SelectAndOmit + ? 'Please either choose `select` or `omit`.' + : {}) + +/** + * Subset + Intersection + * @desc From `T` pick properties that exist in `U` and intersect `K` + */ +export type SubsetIntersection = { + [key in keyof T]: key extends keyof U ? T[key] : never +} & + K + +type Without = { [P in Exclude]?: never }; + +/** + * XOR is needed to have a real mutually exclusive union type + * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types + */ +export type XOR = + T extends object ? + U extends object ? + (Without & U) | (Without & T) + : U : T + + +/** + * Is T a Record? + */ +type IsObject = T extends Array +? False +: T extends Date +? False +: T extends Uint8Array +? False +: T extends BigInt +? False +: T extends object +? True +: False + + +/** + * If it's T[], return T + */ +export type UnEnumerate = T extends Array ? U : T + +/** + * From ts-toolbelt + */ + +type __Either = Omit & + { + // Merge all but K + [P in K]: Prisma__Pick // With K possibilities + }[K] + +type EitherStrict = Strict<__Either> + +type EitherLoose = ComputeRaw<__Either> + +type _Either< + O extends object, + K extends Key, + strict extends Boolean +> = { + 1: EitherStrict + 0: EitherLoose +}[strict] + +export type Either< + O extends object, + K extends Key, + strict extends Boolean = 1 +> = O extends unknown ? _Either : never + +export type Union = any + +export type PatchUndefined = { + [K in keyof O]: O[K] extends undefined ? At : O[K] +} & {} + +/** Helper Types for "Merge" **/ +export type IntersectOf = ( + U extends unknown ? (k: U) => void : never +) extends (k: infer I) => void + ? I + : never + +export type Overwrite = { + [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; +} & {}; + +type _Merge = IntersectOf; +}>>; + +type Key = string | number | symbol; +type AtStrict = O[K & keyof O]; +type AtLoose = O extends unknown ? AtStrict : never; +export type At = { + 1: AtStrict; + 0: AtLoose; +}[strict]; + +export type ComputeRaw = A extends Function ? A : { + [K in keyof A]: A[K]; +} & {}; + +export type OptionalFlat = { + [K in keyof O]?: O[K]; +} & {}; + +type _Record = { + [P in K]: T; +}; + +// cause typescript not to expand types and preserve names +type NoExpand = T extends unknown ? T : never; + +// this type assumes the passed object is entirely optional +export type AtLeast = NoExpand< + O extends unknown + ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) + | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O + : never>; + +type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; + +export type Strict = ComputeRaw<_Strict>; +/** End Helper Types for "Merge" **/ + +export type Merge = ComputeRaw<_Merge>>; + +export type Boolean = True | False + +export type True = 1 + +export type False = 0 + +export type Not = { + 0: 1 + 1: 0 +}[B] + +export type Extends = [A1] extends [never] + ? 0 // anything `never` is false + : A1 extends A2 + ? 1 + : 0 + +export type Has = Not< + Extends, U1> +> + +export type Or = { + 0: { + 0: 0 + 1: 1 + } + 1: { + 0: 1 + 1: 1 + } +}[B1][B2] + +export type Keys = U extends unknown ? keyof U : never + +export type GetScalarType = O extends object ? { + [P in keyof T]: P extends keyof O + ? O[P] + : never +} : never + +type FieldPaths< + T, + U = Omit +> = IsObject extends True ? U : T + +export type GetHavingFields = { + [K in keyof T]: Or< + Or, Extends<'AND', K>>, + Extends<'NOT', K> + > extends True + ? // infer is only needed to not hit TS limit + // based on the brilliant idea of Pierre-Antoine Mills + // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 + T[K] extends infer TK + ? GetHavingFields extends object ? Merge> : never> + : never + : {} extends FieldPaths + ? never + : K +}[keyof T] + +/** + * Convert tuple to union + */ +type _TupleToUnion = T extends (infer E)[] ? E : never +type TupleToUnion = _TupleToUnion +export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T + +/** + * Like `Pick`, but additionally can also accept an array of keys + */ +export type PickEnumerable | keyof T> = Prisma__Pick> + +/** + * Exclude all keys with underscores + */ +export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T + + +export type FieldRef = runtime.FieldRef + +type FieldRefInputType = Model extends never ? never : FieldRef + + +export const ModelName = { + addons: 'addons', + app_settings: 'app_settings', + assignment_participants: 'assignment_participants', + audit_log: 'audit_log', + bucket_list: 'bucket_list', + budget_category_order: 'budget_category_order', + budget_item_members: 'budget_item_members', + budget_items: 'budget_items', + categories: 'categories', + collab_message_reactions: 'collab_message_reactions', + collab_messages: 'collab_messages', + collab_notes: 'collab_notes', + collab_poll_votes: 'collab_poll_votes', + collab_polls: 'collab_polls', + day_accommodations: 'day_accommodations', + day_assignments: 'day_assignments', + day_notes: 'day_notes', + days: 'days', + file_links: 'file_links', + google_place_photo_meta: 'google_place_photo_meta', + idempotency_keys: 'idempotency_keys', + invite_tokens: 'invite_tokens', + journey_contributors: 'journey_contributors', + journey_entries: 'journey_entries', + journey_entry_photos: 'journey_entry_photos', + journey_photos: 'journey_photos', + journey_share_tokens: 'journey_share_tokens', + journey_trips: 'journey_trips', + journeys: 'journeys', + mcp_tokens: 'mcp_tokens', + notification_channel_preferences: 'notification_channel_preferences', + notifications: 'notifications', + oauth_clients: 'oauth_clients', + oauth_consents: 'oauth_consents', + oauth_tokens: 'oauth_tokens', + packing_bag_members: 'packing_bag_members', + packing_bags: 'packing_bags', + packing_category_assignees: 'packing_category_assignees', + packing_items: 'packing_items', + packing_template_categories: 'packing_template_categories', + packing_template_items: 'packing_template_items', + packing_templates: 'packing_templates', + password_reset_tokens: 'password_reset_tokens', + photo_provider_fields: 'photo_provider_fields', + photo_providers: 'photo_providers', + photos: 'photos', + place_details_cache: 'place_details_cache', + place_regions: 'place_regions', + place_tags: 'place_tags', + places: 'places', + reservation_day_positions: 'reservation_day_positions', + reservation_endpoints: 'reservation_endpoints', + reservations: 'reservations', + schema_version: 'schema_version', + settings: 'settings', + share_tokens: 'share_tokens', + tags: 'tags', + todo_category_assignees: 'todo_category_assignees', + todo_items: 'todo_items', + trek_photo_cache_meta: 'trek_photo_cache_meta', + trek_photos: 'trek_photos', + trip_album_links: 'trip_album_links', + trip_files: 'trip_files', + trip_members: 'trip_members', + trip_photos: 'trip_photos', + trips: 'trips', + user_notice_dismissals: 'user_notice_dismissals', + users: 'users', + vacay_company_holidays: 'vacay_company_holidays', + vacay_entries: 'vacay_entries', + vacay_holiday_calendars: 'vacay_holiday_calendars', + vacay_plan_members: 'vacay_plan_members', + vacay_plans: 'vacay_plans', + vacay_user_colors: 'vacay_user_colors', + vacay_user_years: 'vacay_user_years', + vacay_years: 'vacay_years', + visited_countries: 'visited_countries', + visited_regions: 'visited_regions' +} as const + +export type ModelName = (typeof ModelName)[keyof typeof ModelName] + + + +export interface TypeMapCb extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record> { + returns: TypeMap +} + +export type TypeMap = { + globalOmitOptions: { + omit: GlobalOmitOptions + } + meta: { + modelProps: "addons" | "app_settings" | "assignment_participants" | "audit_log" | "bucket_list" | "budget_category_order" | "budget_item_members" | "budget_items" | "categories" | "collab_message_reactions" | "collab_messages" | "collab_notes" | "collab_poll_votes" | "collab_polls" | "day_accommodations" | "day_assignments" | "day_notes" | "days" | "file_links" | "google_place_photo_meta" | "idempotency_keys" | "invite_tokens" | "journey_contributors" | "journey_entries" | "journey_entry_photos" | "journey_photos" | "journey_share_tokens" | "journey_trips" | "journeys" | "mcp_tokens" | "notification_channel_preferences" | "notifications" | "oauth_clients" | "oauth_consents" | "oauth_tokens" | "packing_bag_members" | "packing_bags" | "packing_category_assignees" | "packing_items" | "packing_template_categories" | "packing_template_items" | "packing_templates" | "password_reset_tokens" | "photo_provider_fields" | "photo_providers" | "photos" | "place_details_cache" | "place_regions" | "place_tags" | "places" | "reservation_day_positions" | "reservation_endpoints" | "reservations" | "schema_version" | "settings" | "share_tokens" | "tags" | "todo_category_assignees" | "todo_items" | "trek_photo_cache_meta" | "trek_photos" | "trip_album_links" | "trip_files" | "trip_members" | "trip_photos" | "trips" | "user_notice_dismissals" | "users" | "vacay_company_holidays" | "vacay_entries" | "vacay_holiday_calendars" | "vacay_plan_members" | "vacay_plans" | "vacay_user_colors" | "vacay_user_years" | "vacay_years" | "visited_countries" | "visited_regions" + txIsolationLevel: TransactionIsolationLevel + } + model: { + addons: { + payload: Prisma.$addonsPayload + fields: Prisma.addonsFieldRefs + operations: { + findUnique: { + args: Prisma.addonsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.addonsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.addonsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.addonsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.addonsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.addonsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.addonsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.addonsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.addonsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.addonsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.addonsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.addonsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.addonsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.addonsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.AddonsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.addonsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.addonsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + app_settings: { + payload: Prisma.$app_settingsPayload + fields: Prisma.app_settingsFieldRefs + operations: { + findUnique: { + args: Prisma.app_settingsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.app_settingsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.app_settingsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.app_settingsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.app_settingsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.app_settingsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.app_settingsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.app_settingsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.app_settingsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.app_settingsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.app_settingsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.app_settingsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.app_settingsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.app_settingsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.App_settingsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.app_settingsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.app_settingsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + assignment_participants: { + payload: Prisma.$assignment_participantsPayload + fields: Prisma.assignment_participantsFieldRefs + operations: { + findUnique: { + args: Prisma.assignment_participantsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.assignment_participantsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.assignment_participantsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.assignment_participantsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.assignment_participantsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.assignment_participantsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.assignment_participantsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.assignment_participantsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.assignment_participantsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.assignment_participantsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.assignment_participantsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.assignment_participantsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.assignment_participantsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.assignment_participantsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Assignment_participantsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.assignment_participantsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.assignment_participantsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + audit_log: { + payload: Prisma.$audit_logPayload + fields: Prisma.audit_logFieldRefs + operations: { + findUnique: { + args: Prisma.audit_logFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.audit_logFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.audit_logFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.audit_logFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.audit_logFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.audit_logCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.audit_logCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.audit_logCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.audit_logDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.audit_logUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.audit_logDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.audit_logUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.audit_logUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.audit_logUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Audit_logAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.audit_logGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.audit_logCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + bucket_list: { + payload: Prisma.$bucket_listPayload + fields: Prisma.bucket_listFieldRefs + operations: { + findUnique: { + args: Prisma.bucket_listFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.bucket_listFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.bucket_listFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.bucket_listFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.bucket_listFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.bucket_listCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.bucket_listCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.bucket_listCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.bucket_listDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.bucket_listUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.bucket_listDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.bucket_listUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.bucket_listUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.bucket_listUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Bucket_listAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.bucket_listGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.bucket_listCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + budget_category_order: { + payload: Prisma.$budget_category_orderPayload + fields: Prisma.budget_category_orderFieldRefs + operations: { + findUnique: { + args: Prisma.budget_category_orderFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.budget_category_orderFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.budget_category_orderFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.budget_category_orderFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.budget_category_orderFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.budget_category_orderCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.budget_category_orderCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.budget_category_orderCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.budget_category_orderDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.budget_category_orderUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.budget_category_orderDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.budget_category_orderUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.budget_category_orderUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.budget_category_orderUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Budget_category_orderAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.budget_category_orderGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.budget_category_orderCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + budget_item_members: { + payload: Prisma.$budget_item_membersPayload + fields: Prisma.budget_item_membersFieldRefs + operations: { + findUnique: { + args: Prisma.budget_item_membersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.budget_item_membersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.budget_item_membersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.budget_item_membersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.budget_item_membersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.budget_item_membersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.budget_item_membersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.budget_item_membersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.budget_item_membersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.budget_item_membersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.budget_item_membersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.budget_item_membersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.budget_item_membersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.budget_item_membersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Budget_item_membersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.budget_item_membersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.budget_item_membersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + budget_items: { + payload: Prisma.$budget_itemsPayload + fields: Prisma.budget_itemsFieldRefs + operations: { + findUnique: { + args: Prisma.budget_itemsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.budget_itemsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.budget_itemsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.budget_itemsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.budget_itemsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.budget_itemsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.budget_itemsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.budget_itemsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.budget_itemsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.budget_itemsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.budget_itemsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.budget_itemsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.budget_itemsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.budget_itemsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Budget_itemsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.budget_itemsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.budget_itemsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + categories: { + payload: Prisma.$categoriesPayload + fields: Prisma.categoriesFieldRefs + operations: { + findUnique: { + args: Prisma.categoriesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.categoriesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.categoriesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.categoriesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.categoriesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.categoriesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.categoriesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.categoriesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.categoriesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.categoriesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.categoriesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.categoriesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.categoriesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.categoriesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.CategoriesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.categoriesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.categoriesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + collab_message_reactions: { + payload: Prisma.$collab_message_reactionsPayload + fields: Prisma.collab_message_reactionsFieldRefs + operations: { + findUnique: { + args: Prisma.collab_message_reactionsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.collab_message_reactionsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.collab_message_reactionsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.collab_message_reactionsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.collab_message_reactionsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.collab_message_reactionsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.collab_message_reactionsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.collab_message_reactionsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.collab_message_reactionsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.collab_message_reactionsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.collab_message_reactionsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.collab_message_reactionsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.collab_message_reactionsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.collab_message_reactionsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Collab_message_reactionsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.collab_message_reactionsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.collab_message_reactionsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + collab_messages: { + payload: Prisma.$collab_messagesPayload + fields: Prisma.collab_messagesFieldRefs + operations: { + findUnique: { + args: Prisma.collab_messagesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.collab_messagesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.collab_messagesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.collab_messagesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.collab_messagesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.collab_messagesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.collab_messagesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.collab_messagesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.collab_messagesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.collab_messagesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.collab_messagesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.collab_messagesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.collab_messagesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.collab_messagesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Collab_messagesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.collab_messagesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.collab_messagesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + collab_notes: { + payload: Prisma.$collab_notesPayload + fields: Prisma.collab_notesFieldRefs + operations: { + findUnique: { + args: Prisma.collab_notesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.collab_notesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.collab_notesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.collab_notesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.collab_notesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.collab_notesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.collab_notesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.collab_notesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.collab_notesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.collab_notesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.collab_notesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.collab_notesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.collab_notesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.collab_notesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Collab_notesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.collab_notesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.collab_notesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + collab_poll_votes: { + payload: Prisma.$collab_poll_votesPayload + fields: Prisma.collab_poll_votesFieldRefs + operations: { + findUnique: { + args: Prisma.collab_poll_votesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.collab_poll_votesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.collab_poll_votesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.collab_poll_votesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.collab_poll_votesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.collab_poll_votesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.collab_poll_votesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.collab_poll_votesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.collab_poll_votesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.collab_poll_votesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.collab_poll_votesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.collab_poll_votesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.collab_poll_votesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.collab_poll_votesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Collab_poll_votesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.collab_poll_votesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.collab_poll_votesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + collab_polls: { + payload: Prisma.$collab_pollsPayload + fields: Prisma.collab_pollsFieldRefs + operations: { + findUnique: { + args: Prisma.collab_pollsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.collab_pollsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.collab_pollsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.collab_pollsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.collab_pollsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.collab_pollsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.collab_pollsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.collab_pollsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.collab_pollsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.collab_pollsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.collab_pollsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.collab_pollsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.collab_pollsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.collab_pollsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Collab_pollsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.collab_pollsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.collab_pollsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + day_accommodations: { + payload: Prisma.$day_accommodationsPayload + fields: Prisma.day_accommodationsFieldRefs + operations: { + findUnique: { + args: Prisma.day_accommodationsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.day_accommodationsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.day_accommodationsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.day_accommodationsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.day_accommodationsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.day_accommodationsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.day_accommodationsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.day_accommodationsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.day_accommodationsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.day_accommodationsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.day_accommodationsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.day_accommodationsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.day_accommodationsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.day_accommodationsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Day_accommodationsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.day_accommodationsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.day_accommodationsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + day_assignments: { + payload: Prisma.$day_assignmentsPayload + fields: Prisma.day_assignmentsFieldRefs + operations: { + findUnique: { + args: Prisma.day_assignmentsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.day_assignmentsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.day_assignmentsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.day_assignmentsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.day_assignmentsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.day_assignmentsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.day_assignmentsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.day_assignmentsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.day_assignmentsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.day_assignmentsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.day_assignmentsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.day_assignmentsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.day_assignmentsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.day_assignmentsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Day_assignmentsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.day_assignmentsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.day_assignmentsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + day_notes: { + payload: Prisma.$day_notesPayload + fields: Prisma.day_notesFieldRefs + operations: { + findUnique: { + args: Prisma.day_notesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.day_notesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.day_notesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.day_notesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.day_notesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.day_notesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.day_notesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.day_notesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.day_notesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.day_notesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.day_notesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.day_notesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.day_notesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.day_notesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Day_notesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.day_notesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.day_notesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + days: { + payload: Prisma.$daysPayload + fields: Prisma.daysFieldRefs + operations: { + findUnique: { + args: Prisma.daysFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.daysFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.daysFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.daysFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.daysFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.daysCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.daysCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.daysCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.daysDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.daysUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.daysDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.daysUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.daysUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.daysUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.DaysAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.daysGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.daysCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + file_links: { + payload: Prisma.$file_linksPayload + fields: Prisma.file_linksFieldRefs + operations: { + findUnique: { + args: Prisma.file_linksFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.file_linksFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.file_linksFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.file_linksFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.file_linksFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.file_linksCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.file_linksCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.file_linksCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.file_linksDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.file_linksUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.file_linksDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.file_linksUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.file_linksUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.file_linksUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.File_linksAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.file_linksGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.file_linksCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + google_place_photo_meta: { + payload: Prisma.$google_place_photo_metaPayload + fields: Prisma.google_place_photo_metaFieldRefs + operations: { + findUnique: { + args: Prisma.google_place_photo_metaFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.google_place_photo_metaFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.google_place_photo_metaFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.google_place_photo_metaFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.google_place_photo_metaFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.google_place_photo_metaCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.google_place_photo_metaCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.google_place_photo_metaCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.google_place_photo_metaDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.google_place_photo_metaUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.google_place_photo_metaDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.google_place_photo_metaUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.google_place_photo_metaUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.google_place_photo_metaUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Google_place_photo_metaAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.google_place_photo_metaGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.google_place_photo_metaCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + idempotency_keys: { + payload: Prisma.$idempotency_keysPayload + fields: Prisma.idempotency_keysFieldRefs + operations: { + findUnique: { + args: Prisma.idempotency_keysFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.idempotency_keysFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.idempotency_keysFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.idempotency_keysFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.idempotency_keysFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.idempotency_keysCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.idempotency_keysCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.idempotency_keysCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.idempotency_keysDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.idempotency_keysUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.idempotency_keysDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.idempotency_keysUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.idempotency_keysUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.idempotency_keysUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Idempotency_keysAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.idempotency_keysGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.idempotency_keysCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + invite_tokens: { + payload: Prisma.$invite_tokensPayload + fields: Prisma.invite_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.invite_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.invite_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.invite_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.invite_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.invite_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.invite_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.invite_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.invite_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.invite_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.invite_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.invite_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.invite_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.invite_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.invite_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Invite_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.invite_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.invite_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_contributors: { + payload: Prisma.$journey_contributorsPayload + fields: Prisma.journey_contributorsFieldRefs + operations: { + findUnique: { + args: Prisma.journey_contributorsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_contributorsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_contributorsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_contributorsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_contributorsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_contributorsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_contributorsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_contributorsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_contributorsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_contributorsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_contributorsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_contributorsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_contributorsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_contributorsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_contributorsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_contributorsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_contributorsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_entries: { + payload: Prisma.$journey_entriesPayload + fields: Prisma.journey_entriesFieldRefs + operations: { + findUnique: { + args: Prisma.journey_entriesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_entriesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_entriesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_entriesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_entriesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_entriesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_entriesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_entriesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_entriesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_entriesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_entriesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_entriesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_entriesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_entriesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_entriesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_entriesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_entriesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_entry_photos: { + payload: Prisma.$journey_entry_photosPayload + fields: Prisma.journey_entry_photosFieldRefs + operations: { + findUnique: { + args: Prisma.journey_entry_photosFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_entry_photosFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_entry_photosFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_entry_photosFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_entry_photosFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_entry_photosCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_entry_photosCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_entry_photosCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_entry_photosDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_entry_photosUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_entry_photosDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_entry_photosUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_entry_photosUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_entry_photosUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_entry_photosAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_entry_photosGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_entry_photosCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_photos: { + payload: Prisma.$journey_photosPayload + fields: Prisma.journey_photosFieldRefs + operations: { + findUnique: { + args: Prisma.journey_photosFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_photosFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_photosFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_photosFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_photosFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_photosCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_photosCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_photosCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_photosDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_photosUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_photosDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_photosUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_photosUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_photosUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_photosAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_photosGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_photosCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_share_tokens: { + payload: Prisma.$journey_share_tokensPayload + fields: Prisma.journey_share_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.journey_share_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_share_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_share_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_share_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_share_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_share_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_share_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_share_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_share_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_share_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_share_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_share_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_share_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_share_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_share_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_share_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_share_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journey_trips: { + payload: Prisma.$journey_tripsPayload + fields: Prisma.journey_tripsFieldRefs + operations: { + findUnique: { + args: Prisma.journey_tripsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journey_tripsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journey_tripsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journey_tripsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journey_tripsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journey_tripsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journey_tripsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journey_tripsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journey_tripsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journey_tripsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journey_tripsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journey_tripsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journey_tripsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journey_tripsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Journey_tripsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journey_tripsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journey_tripsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + journeys: { + payload: Prisma.$journeysPayload + fields: Prisma.journeysFieldRefs + operations: { + findUnique: { + args: Prisma.journeysFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.journeysFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.journeysFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.journeysFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.journeysFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.journeysCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.journeysCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.journeysCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.journeysDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.journeysUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.journeysDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.journeysUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.journeysUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.journeysUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.JourneysAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.journeysGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.journeysCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + mcp_tokens: { + payload: Prisma.$mcp_tokensPayload + fields: Prisma.mcp_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.mcp_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.mcp_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.mcp_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.mcp_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.mcp_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.mcp_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.mcp_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.mcp_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.mcp_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.mcp_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.mcp_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.mcp_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.mcp_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.mcp_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Mcp_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.mcp_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.mcp_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + notification_channel_preferences: { + payload: Prisma.$notification_channel_preferencesPayload + fields: Prisma.notification_channel_preferencesFieldRefs + operations: { + findUnique: { + args: Prisma.notification_channel_preferencesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.notification_channel_preferencesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.notification_channel_preferencesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.notification_channel_preferencesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.notification_channel_preferencesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.notification_channel_preferencesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.notification_channel_preferencesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.notification_channel_preferencesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.notification_channel_preferencesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.notification_channel_preferencesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.notification_channel_preferencesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.notification_channel_preferencesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.notification_channel_preferencesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.notification_channel_preferencesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Notification_channel_preferencesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.notification_channel_preferencesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.notification_channel_preferencesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + notifications: { + payload: Prisma.$notificationsPayload + fields: Prisma.notificationsFieldRefs + operations: { + findUnique: { + args: Prisma.notificationsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.notificationsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.notificationsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.notificationsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.notificationsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.notificationsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.notificationsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.notificationsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.notificationsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.notificationsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.notificationsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.notificationsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.notificationsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.notificationsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.NotificationsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.notificationsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.notificationsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + oauth_clients: { + payload: Prisma.$oauth_clientsPayload + fields: Prisma.oauth_clientsFieldRefs + operations: { + findUnique: { + args: Prisma.oauth_clientsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.oauth_clientsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.oauth_clientsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.oauth_clientsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.oauth_clientsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.oauth_clientsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.oauth_clientsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.oauth_clientsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.oauth_clientsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.oauth_clientsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.oauth_clientsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.oauth_clientsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.oauth_clientsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.oauth_clientsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Oauth_clientsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.oauth_clientsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.oauth_clientsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + oauth_consents: { + payload: Prisma.$oauth_consentsPayload + fields: Prisma.oauth_consentsFieldRefs + operations: { + findUnique: { + args: Prisma.oauth_consentsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.oauth_consentsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.oauth_consentsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.oauth_consentsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.oauth_consentsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.oauth_consentsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.oauth_consentsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.oauth_consentsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.oauth_consentsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.oauth_consentsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.oauth_consentsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.oauth_consentsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.oauth_consentsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.oauth_consentsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Oauth_consentsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.oauth_consentsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.oauth_consentsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + oauth_tokens: { + payload: Prisma.$oauth_tokensPayload + fields: Prisma.oauth_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.oauth_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.oauth_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.oauth_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.oauth_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.oauth_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.oauth_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.oauth_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.oauth_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.oauth_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.oauth_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.oauth_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.oauth_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.oauth_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.oauth_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Oauth_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.oauth_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.oauth_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_bag_members: { + payload: Prisma.$packing_bag_membersPayload + fields: Prisma.packing_bag_membersFieldRefs + operations: { + findUnique: { + args: Prisma.packing_bag_membersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_bag_membersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_bag_membersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_bag_membersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_bag_membersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_bag_membersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_bag_membersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_bag_membersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_bag_membersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_bag_membersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_bag_membersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_bag_membersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_bag_membersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_bag_membersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_bag_membersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_bag_membersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_bag_membersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_bags: { + payload: Prisma.$packing_bagsPayload + fields: Prisma.packing_bagsFieldRefs + operations: { + findUnique: { + args: Prisma.packing_bagsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_bagsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_bagsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_bagsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_bagsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_bagsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_bagsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_bagsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_bagsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_bagsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_bagsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_bagsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_bagsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_bagsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_bagsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_bagsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_bagsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_category_assignees: { + payload: Prisma.$packing_category_assigneesPayload + fields: Prisma.packing_category_assigneesFieldRefs + operations: { + findUnique: { + args: Prisma.packing_category_assigneesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_category_assigneesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_category_assigneesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_category_assigneesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_category_assigneesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_category_assigneesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_category_assigneesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_category_assigneesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_category_assigneesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_category_assigneesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_category_assigneesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_category_assigneesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_category_assigneesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_category_assigneesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_category_assigneesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_category_assigneesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_category_assigneesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_items: { + payload: Prisma.$packing_itemsPayload + fields: Prisma.packing_itemsFieldRefs + operations: { + findUnique: { + args: Prisma.packing_itemsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_itemsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_itemsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_itemsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_itemsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_itemsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_itemsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_itemsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_itemsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_itemsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_itemsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_itemsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_itemsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_itemsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_itemsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_itemsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_itemsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_template_categories: { + payload: Prisma.$packing_template_categoriesPayload + fields: Prisma.packing_template_categoriesFieldRefs + operations: { + findUnique: { + args: Prisma.packing_template_categoriesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_template_categoriesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_template_categoriesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_template_categoriesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_template_categoriesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_template_categoriesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_template_categoriesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_template_categoriesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_template_categoriesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_template_categoriesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_template_categoriesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_template_categoriesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_template_categoriesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_template_categoriesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_template_categoriesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_template_categoriesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_template_categoriesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_template_items: { + payload: Prisma.$packing_template_itemsPayload + fields: Prisma.packing_template_itemsFieldRefs + operations: { + findUnique: { + args: Prisma.packing_template_itemsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_template_itemsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_template_itemsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_template_itemsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_template_itemsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_template_itemsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_template_itemsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_template_itemsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_template_itemsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_template_itemsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_template_itemsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_template_itemsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_template_itemsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_template_itemsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_template_itemsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_template_itemsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_template_itemsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + packing_templates: { + payload: Prisma.$packing_templatesPayload + fields: Prisma.packing_templatesFieldRefs + operations: { + findUnique: { + args: Prisma.packing_templatesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.packing_templatesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.packing_templatesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.packing_templatesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.packing_templatesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.packing_templatesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.packing_templatesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.packing_templatesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.packing_templatesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.packing_templatesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.packing_templatesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.packing_templatesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.packing_templatesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.packing_templatesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Packing_templatesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.packing_templatesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.packing_templatesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + password_reset_tokens: { + payload: Prisma.$password_reset_tokensPayload + fields: Prisma.password_reset_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.password_reset_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.password_reset_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.password_reset_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.password_reset_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.password_reset_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.password_reset_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.password_reset_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.password_reset_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.password_reset_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.password_reset_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.password_reset_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.password_reset_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.password_reset_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.password_reset_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Password_reset_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.password_reset_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.password_reset_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + photo_provider_fields: { + payload: Prisma.$photo_provider_fieldsPayload + fields: Prisma.photo_provider_fieldsFieldRefs + operations: { + findUnique: { + args: Prisma.photo_provider_fieldsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.photo_provider_fieldsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.photo_provider_fieldsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.photo_provider_fieldsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.photo_provider_fieldsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.photo_provider_fieldsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.photo_provider_fieldsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.photo_provider_fieldsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.photo_provider_fieldsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.photo_provider_fieldsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.photo_provider_fieldsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.photo_provider_fieldsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.photo_provider_fieldsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.photo_provider_fieldsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Photo_provider_fieldsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.photo_provider_fieldsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.photo_provider_fieldsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + photo_providers: { + payload: Prisma.$photo_providersPayload + fields: Prisma.photo_providersFieldRefs + operations: { + findUnique: { + args: Prisma.photo_providersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.photo_providersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.photo_providersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.photo_providersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.photo_providersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.photo_providersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.photo_providersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.photo_providersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.photo_providersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.photo_providersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.photo_providersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.photo_providersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.photo_providersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.photo_providersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Photo_providersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.photo_providersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.photo_providersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + photos: { + payload: Prisma.$photosPayload + fields: Prisma.photosFieldRefs + operations: { + findUnique: { + args: Prisma.photosFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.photosFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.photosFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.photosFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.photosFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.photosCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.photosCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.photosCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.photosDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.photosUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.photosDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.photosUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.photosUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.photosUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.PhotosAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.photosGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.photosCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + place_details_cache: { + payload: Prisma.$place_details_cachePayload + fields: Prisma.place_details_cacheFieldRefs + operations: { + findUnique: { + args: Prisma.place_details_cacheFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.place_details_cacheFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.place_details_cacheFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.place_details_cacheFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.place_details_cacheFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.place_details_cacheCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.place_details_cacheCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.place_details_cacheCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.place_details_cacheDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.place_details_cacheUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.place_details_cacheDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.place_details_cacheUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.place_details_cacheUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.place_details_cacheUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Place_details_cacheAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.place_details_cacheGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.place_details_cacheCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + place_regions: { + payload: Prisma.$place_regionsPayload + fields: Prisma.place_regionsFieldRefs + operations: { + findUnique: { + args: Prisma.place_regionsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.place_regionsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.place_regionsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.place_regionsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.place_regionsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.place_regionsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.place_regionsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.place_regionsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.place_regionsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.place_regionsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.place_regionsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.place_regionsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.place_regionsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.place_regionsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Place_regionsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.place_regionsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.place_regionsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + place_tags: { + payload: Prisma.$place_tagsPayload + fields: Prisma.place_tagsFieldRefs + operations: { + findUnique: { + args: Prisma.place_tagsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.place_tagsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.place_tagsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.place_tagsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.place_tagsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.place_tagsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.place_tagsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.place_tagsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.place_tagsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.place_tagsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.place_tagsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.place_tagsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.place_tagsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.place_tagsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Place_tagsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.place_tagsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.place_tagsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + places: { + payload: Prisma.$placesPayload + fields: Prisma.placesFieldRefs + operations: { + findUnique: { + args: Prisma.placesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.placesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.placesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.placesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.placesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.placesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.placesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.placesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.placesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.placesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.placesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.placesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.placesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.placesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.PlacesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.placesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.placesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + reservation_day_positions: { + payload: Prisma.$reservation_day_positionsPayload + fields: Prisma.reservation_day_positionsFieldRefs + operations: { + findUnique: { + args: Prisma.reservation_day_positionsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.reservation_day_positionsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.reservation_day_positionsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.reservation_day_positionsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.reservation_day_positionsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.reservation_day_positionsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.reservation_day_positionsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.reservation_day_positionsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.reservation_day_positionsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.reservation_day_positionsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.reservation_day_positionsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.reservation_day_positionsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.reservation_day_positionsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.reservation_day_positionsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Reservation_day_positionsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.reservation_day_positionsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.reservation_day_positionsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + reservation_endpoints: { + payload: Prisma.$reservation_endpointsPayload + fields: Prisma.reservation_endpointsFieldRefs + operations: { + findUnique: { + args: Prisma.reservation_endpointsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.reservation_endpointsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.reservation_endpointsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.reservation_endpointsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.reservation_endpointsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.reservation_endpointsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.reservation_endpointsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.reservation_endpointsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.reservation_endpointsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.reservation_endpointsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.reservation_endpointsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.reservation_endpointsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.reservation_endpointsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.reservation_endpointsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Reservation_endpointsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.reservation_endpointsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.reservation_endpointsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + reservations: { + payload: Prisma.$reservationsPayload + fields: Prisma.reservationsFieldRefs + operations: { + findUnique: { + args: Prisma.reservationsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.reservationsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.reservationsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.reservationsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.reservationsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.reservationsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.reservationsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.reservationsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.reservationsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.reservationsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.reservationsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.reservationsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.reservationsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.reservationsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.ReservationsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.reservationsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.reservationsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + schema_version: { + payload: Prisma.$schema_versionPayload + fields: Prisma.schema_versionFieldRefs + operations: { + findUnique: { + args: Prisma.schema_versionFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.schema_versionFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.schema_versionFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.schema_versionFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.schema_versionFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.schema_versionCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.schema_versionCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.schema_versionCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.schema_versionDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.schema_versionUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.schema_versionDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.schema_versionUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.schema_versionUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.schema_versionUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Schema_versionAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.schema_versionGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.schema_versionCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + settings: { + payload: Prisma.$settingsPayload + fields: Prisma.settingsFieldRefs + operations: { + findUnique: { + args: Prisma.settingsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.settingsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.settingsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.settingsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.settingsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.settingsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.settingsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.settingsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.settingsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.settingsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.settingsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.settingsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.settingsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.settingsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.SettingsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.settingsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.settingsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + share_tokens: { + payload: Prisma.$share_tokensPayload + fields: Prisma.share_tokensFieldRefs + operations: { + findUnique: { + args: Prisma.share_tokensFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.share_tokensFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.share_tokensFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.share_tokensFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.share_tokensFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.share_tokensCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.share_tokensCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.share_tokensCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.share_tokensDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.share_tokensUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.share_tokensDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.share_tokensUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.share_tokensUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.share_tokensUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Share_tokensAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.share_tokensGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.share_tokensCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + tags: { + payload: Prisma.$tagsPayload + fields: Prisma.tagsFieldRefs + operations: { + findUnique: { + args: Prisma.tagsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.tagsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.tagsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.tagsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.tagsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.tagsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.tagsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.tagsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.tagsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.tagsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.tagsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.tagsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.tagsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.tagsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.TagsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.tagsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.tagsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + todo_category_assignees: { + payload: Prisma.$todo_category_assigneesPayload + fields: Prisma.todo_category_assigneesFieldRefs + operations: { + findUnique: { + args: Prisma.todo_category_assigneesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.todo_category_assigneesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.todo_category_assigneesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.todo_category_assigneesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.todo_category_assigneesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.todo_category_assigneesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.todo_category_assigneesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.todo_category_assigneesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.todo_category_assigneesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.todo_category_assigneesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.todo_category_assigneesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.todo_category_assigneesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.todo_category_assigneesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.todo_category_assigneesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Todo_category_assigneesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.todo_category_assigneesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.todo_category_assigneesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + todo_items: { + payload: Prisma.$todo_itemsPayload + fields: Prisma.todo_itemsFieldRefs + operations: { + findUnique: { + args: Prisma.todo_itemsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.todo_itemsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.todo_itemsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.todo_itemsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.todo_itemsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.todo_itemsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.todo_itemsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.todo_itemsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.todo_itemsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.todo_itemsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.todo_itemsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.todo_itemsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.todo_itemsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.todo_itemsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Todo_itemsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.todo_itemsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.todo_itemsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trek_photo_cache_meta: { + payload: Prisma.$trek_photo_cache_metaPayload + fields: Prisma.trek_photo_cache_metaFieldRefs + operations: { + findUnique: { + args: Prisma.trek_photo_cache_metaFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trek_photo_cache_metaFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trek_photo_cache_metaFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trek_photo_cache_metaFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trek_photo_cache_metaFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trek_photo_cache_metaCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trek_photo_cache_metaCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trek_photo_cache_metaCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trek_photo_cache_metaDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trek_photo_cache_metaUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trek_photo_cache_metaDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trek_photo_cache_metaUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trek_photo_cache_metaUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trek_photo_cache_metaUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trek_photo_cache_metaAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trek_photo_cache_metaGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trek_photo_cache_metaCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trek_photos: { + payload: Prisma.$trek_photosPayload + fields: Prisma.trek_photosFieldRefs + operations: { + findUnique: { + args: Prisma.trek_photosFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trek_photosFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trek_photosFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trek_photosFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trek_photosFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trek_photosCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trek_photosCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trek_photosCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trek_photosDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trek_photosUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trek_photosDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trek_photosUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trek_photosUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trek_photosUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trek_photosAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trek_photosGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trek_photosCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trip_album_links: { + payload: Prisma.$trip_album_linksPayload + fields: Prisma.trip_album_linksFieldRefs + operations: { + findUnique: { + args: Prisma.trip_album_linksFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trip_album_linksFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trip_album_linksFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trip_album_linksFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trip_album_linksFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trip_album_linksCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trip_album_linksCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trip_album_linksCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trip_album_linksDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trip_album_linksUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trip_album_linksDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trip_album_linksUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trip_album_linksUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trip_album_linksUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trip_album_linksAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trip_album_linksGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trip_album_linksCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trip_files: { + payload: Prisma.$trip_filesPayload + fields: Prisma.trip_filesFieldRefs + operations: { + findUnique: { + args: Prisma.trip_filesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trip_filesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trip_filesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trip_filesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trip_filesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trip_filesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trip_filesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trip_filesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trip_filesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trip_filesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trip_filesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trip_filesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trip_filesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trip_filesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trip_filesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trip_filesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trip_filesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trip_members: { + payload: Prisma.$trip_membersPayload + fields: Prisma.trip_membersFieldRefs + operations: { + findUnique: { + args: Prisma.trip_membersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trip_membersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trip_membersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trip_membersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trip_membersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trip_membersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trip_membersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trip_membersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trip_membersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trip_membersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trip_membersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trip_membersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trip_membersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trip_membersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trip_membersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trip_membersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trip_membersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trip_photos: { + payload: Prisma.$trip_photosPayload + fields: Prisma.trip_photosFieldRefs + operations: { + findUnique: { + args: Prisma.trip_photosFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.trip_photosFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.trip_photosFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.trip_photosFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.trip_photosFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.trip_photosCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.trip_photosCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.trip_photosCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.trip_photosDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.trip_photosUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.trip_photosDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.trip_photosUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.trip_photosUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.trip_photosUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Trip_photosAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.trip_photosGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.trip_photosCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + trips: { + payload: Prisma.$tripsPayload + fields: Prisma.tripsFieldRefs + operations: { + findUnique: { + args: Prisma.tripsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.tripsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.tripsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.tripsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.tripsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.tripsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.tripsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.tripsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.tripsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.tripsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.tripsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.tripsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.tripsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.tripsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.TripsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.tripsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.tripsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + user_notice_dismissals: { + payload: Prisma.$user_notice_dismissalsPayload + fields: Prisma.user_notice_dismissalsFieldRefs + operations: { + findUnique: { + args: Prisma.user_notice_dismissalsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.user_notice_dismissalsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.user_notice_dismissalsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.user_notice_dismissalsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.user_notice_dismissalsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.user_notice_dismissalsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.user_notice_dismissalsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.user_notice_dismissalsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.user_notice_dismissalsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.user_notice_dismissalsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.user_notice_dismissalsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.user_notice_dismissalsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.user_notice_dismissalsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.user_notice_dismissalsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.User_notice_dismissalsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.user_notice_dismissalsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.user_notice_dismissalsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + users: { + payload: Prisma.$usersPayload + fields: Prisma.usersFieldRefs + operations: { + findUnique: { + args: Prisma.usersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.usersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.usersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.usersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.usersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.usersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.usersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.usersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.usersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.usersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.usersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.usersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.usersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.usersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.UsersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.usersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.usersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_company_holidays: { + payload: Prisma.$vacay_company_holidaysPayload + fields: Prisma.vacay_company_holidaysFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_company_holidaysFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_company_holidaysFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_company_holidaysFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_company_holidaysFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_company_holidaysFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_company_holidaysCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_company_holidaysCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_company_holidaysCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_company_holidaysDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_company_holidaysUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_company_holidaysDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_company_holidaysUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_company_holidaysUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_company_holidaysUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_company_holidaysAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_company_holidaysGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_company_holidaysCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_entries: { + payload: Prisma.$vacay_entriesPayload + fields: Prisma.vacay_entriesFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_entriesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_entriesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_entriesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_entriesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_entriesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_entriesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_entriesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_entriesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_entriesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_entriesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_entriesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_entriesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_entriesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_entriesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_entriesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_entriesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_entriesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_holiday_calendars: { + payload: Prisma.$vacay_holiday_calendarsPayload + fields: Prisma.vacay_holiday_calendarsFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_holiday_calendarsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_holiday_calendarsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_holiday_calendarsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_holiday_calendarsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_holiday_calendarsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_holiday_calendarsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_holiday_calendarsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_holiday_calendarsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_holiday_calendarsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_holiday_calendarsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_holiday_calendarsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_holiday_calendarsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_holiday_calendarsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_holiday_calendarsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_holiday_calendarsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_holiday_calendarsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_holiday_calendarsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_plan_members: { + payload: Prisma.$vacay_plan_membersPayload + fields: Prisma.vacay_plan_membersFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_plan_membersFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_plan_membersFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_plan_membersFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_plan_membersFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_plan_membersFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_plan_membersCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_plan_membersCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_plan_membersCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_plan_membersDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_plan_membersUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_plan_membersDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_plan_membersUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_plan_membersUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_plan_membersUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_plan_membersAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_plan_membersGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_plan_membersCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_plans: { + payload: Prisma.$vacay_plansPayload + fields: Prisma.vacay_plansFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_plansFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_plansFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_plansFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_plansFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_plansFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_plansCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_plansCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_plansCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_plansDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_plansUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_plansDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_plansUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_plansUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_plansUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_plansAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_plansGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_plansCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_user_colors: { + payload: Prisma.$vacay_user_colorsPayload + fields: Prisma.vacay_user_colorsFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_user_colorsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_user_colorsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_user_colorsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_user_colorsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_user_colorsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_user_colorsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_user_colorsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_user_colorsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_user_colorsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_user_colorsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_user_colorsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_user_colorsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_user_colorsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_user_colorsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_user_colorsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_user_colorsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_user_colorsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_user_years: { + payload: Prisma.$vacay_user_yearsPayload + fields: Prisma.vacay_user_yearsFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_user_yearsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_user_yearsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_user_yearsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_user_yearsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_user_yearsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_user_yearsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_user_yearsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_user_yearsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_user_yearsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_user_yearsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_user_yearsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_user_yearsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_user_yearsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_user_yearsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_user_yearsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_user_yearsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_user_yearsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + vacay_years: { + payload: Prisma.$vacay_yearsPayload + fields: Prisma.vacay_yearsFieldRefs + operations: { + findUnique: { + args: Prisma.vacay_yearsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.vacay_yearsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.vacay_yearsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.vacay_yearsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.vacay_yearsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.vacay_yearsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.vacay_yearsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.vacay_yearsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.vacay_yearsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.vacay_yearsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.vacay_yearsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.vacay_yearsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.vacay_yearsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.vacay_yearsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Vacay_yearsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.vacay_yearsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.vacay_yearsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + visited_countries: { + payload: Prisma.$visited_countriesPayload + fields: Prisma.visited_countriesFieldRefs + operations: { + findUnique: { + args: Prisma.visited_countriesFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.visited_countriesFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.visited_countriesFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.visited_countriesFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.visited_countriesFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.visited_countriesCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.visited_countriesCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.visited_countriesCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.visited_countriesDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.visited_countriesUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.visited_countriesDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.visited_countriesUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.visited_countriesUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.visited_countriesUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Visited_countriesAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.visited_countriesGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.visited_countriesCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + visited_regions: { + payload: Prisma.$visited_regionsPayload + fields: Prisma.visited_regionsFieldRefs + operations: { + findUnique: { + args: Prisma.visited_regionsFindUniqueArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.visited_regionsFindUniqueOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findFirst: { + args: Prisma.visited_regionsFindFirstArgs + result: runtime.Types.Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.visited_regionsFindFirstOrThrowArgs + result: runtime.Types.Utils.PayloadToResult + } + findMany: { + args: Prisma.visited_regionsFindManyArgs + result: runtime.Types.Utils.PayloadToResult[] + } + create: { + args: Prisma.visited_regionsCreateArgs + result: runtime.Types.Utils.PayloadToResult + } + createMany: { + args: Prisma.visited_regionsCreateManyArgs + result: BatchPayload + } + createManyAndReturn: { + args: Prisma.visited_regionsCreateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + delete: { + args: Prisma.visited_regionsDeleteArgs + result: runtime.Types.Utils.PayloadToResult + } + update: { + args: Prisma.visited_regionsUpdateArgs + result: runtime.Types.Utils.PayloadToResult + } + deleteMany: { + args: Prisma.visited_regionsDeleteManyArgs + result: BatchPayload + } + updateMany: { + args: Prisma.visited_regionsUpdateManyArgs + result: BatchPayload + } + updateManyAndReturn: { + args: Prisma.visited_regionsUpdateManyAndReturnArgs + result: runtime.Types.Utils.PayloadToResult[] + } + upsert: { + args: Prisma.visited_regionsUpsertArgs + result: runtime.Types.Utils.PayloadToResult + } + aggregate: { + args: Prisma.Visited_regionsAggregateArgs + result: runtime.Types.Utils.Optional + } + groupBy: { + args: Prisma.visited_regionsGroupByArgs + result: runtime.Types.Utils.Optional[] + } + count: { + args: Prisma.visited_regionsCountArgs + result: runtime.Types.Utils.Optional | number + } + } + } + } +} & { + other: { + payload: any + operations: { + $executeRaw: { + args: [query: TemplateStringsArray | Sql, ...values: any[]], + result: any + } + $executeRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + $queryRaw: { + args: [query: TemplateStringsArray | Sql, ...values: any[]], + result: any + } + $queryRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + } + } +} + +/** + * Enums + */ + +export const TransactionIsolationLevel = runtime.makeStrictEnum({ + Serializable: 'Serializable' +} as const) + +export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] + + +export const AddonsScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + icon: 'icon', + enabled: 'enabled', + config: 'config', + sort_order: 'sort_order' +} as const + +export type AddonsScalarFieldEnum = (typeof AddonsScalarFieldEnum)[keyof typeof AddonsScalarFieldEnum] + + +export const App_settingsScalarFieldEnum = { + key: 'key', + value: 'value' +} as const + +export type App_settingsScalarFieldEnum = (typeof App_settingsScalarFieldEnum)[keyof typeof App_settingsScalarFieldEnum] + + +export const Assignment_participantsScalarFieldEnum = { + id: 'id', + assignment_id: 'assignment_id', + user_id: 'user_id' +} as const + +export type Assignment_participantsScalarFieldEnum = (typeof Assignment_participantsScalarFieldEnum)[keyof typeof Assignment_participantsScalarFieldEnum] + + +export const Audit_logScalarFieldEnum = { + id: 'id', + created_at: 'created_at', + user_id: 'user_id', + action: 'action', + resource: 'resource', + details: 'details', + ip: 'ip' +} as const + +export type Audit_logScalarFieldEnum = (typeof Audit_logScalarFieldEnum)[keyof typeof Audit_logScalarFieldEnum] + + +export const Bucket_listScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + lat: 'lat', + lng: 'lng', + country_code: 'country_code', + notes: 'notes', + created_at: 'created_at', + target_date: 'target_date' +} as const + +export type Bucket_listScalarFieldEnum = (typeof Bucket_listScalarFieldEnum)[keyof typeof Bucket_listScalarFieldEnum] + + +export const Budget_category_orderScalarFieldEnum = { + trip_id: 'trip_id', + category: 'category', + sort_order: 'sort_order' +} as const + +export type Budget_category_orderScalarFieldEnum = (typeof Budget_category_orderScalarFieldEnum)[keyof typeof Budget_category_orderScalarFieldEnum] + + +export const Budget_item_membersScalarFieldEnum = { + id: 'id', + budget_item_id: 'budget_item_id', + user_id: 'user_id', + paid: 'paid' +} as const + +export type Budget_item_membersScalarFieldEnum = (typeof Budget_item_membersScalarFieldEnum)[keyof typeof Budget_item_membersScalarFieldEnum] + + +export const Budget_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category: 'category', + name: 'name', + total_price: 'total_price', + persons: 'persons', + days: 'days', + note: 'note', + sort_order: 'sort_order', + created_at: 'created_at', + paid_by_user_id: 'paid_by_user_id', + expense_date: 'expense_date', + reservation_id: 'reservation_id' +} as const + +export type Budget_itemsScalarFieldEnum = (typeof Budget_itemsScalarFieldEnum)[keyof typeof Budget_itemsScalarFieldEnum] + + +export const CategoriesScalarFieldEnum = { + id: 'id', + name: 'name', + color: 'color', + icon: 'icon', + user_id: 'user_id', + created_at: 'created_at' +} as const + +export type CategoriesScalarFieldEnum = (typeof CategoriesScalarFieldEnum)[keyof typeof CategoriesScalarFieldEnum] + + +export const Collab_message_reactionsScalarFieldEnum = { + id: 'id', + message_id: 'message_id', + user_id: 'user_id', + emoji: 'emoji', + created_at: 'created_at' +} as const + +export type Collab_message_reactionsScalarFieldEnum = (typeof Collab_message_reactionsScalarFieldEnum)[keyof typeof Collab_message_reactionsScalarFieldEnum] + + +export const Collab_messagesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + text: 'text', + reply_to: 'reply_to', + created_at: 'created_at', + deleted: 'deleted' +} as const + +export type Collab_messagesScalarFieldEnum = (typeof Collab_messagesScalarFieldEnum)[keyof typeof Collab_messagesScalarFieldEnum] + + +export const Collab_notesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + category: 'category', + title: 'title', + content: 'content', + color: 'color', + pinned: 'pinned', + created_at: 'created_at', + updated_at: 'updated_at', + website: 'website' +} as const + +export type Collab_notesScalarFieldEnum = (typeof Collab_notesScalarFieldEnum)[keyof typeof Collab_notesScalarFieldEnum] + + +export const Collab_poll_votesScalarFieldEnum = { + id: 'id', + poll_id: 'poll_id', + user_id: 'user_id', + option_index: 'option_index', + created_at: 'created_at' +} as const + +export type Collab_poll_votesScalarFieldEnum = (typeof Collab_poll_votesScalarFieldEnum)[keyof typeof Collab_poll_votesScalarFieldEnum] + + +export const Collab_pollsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + question: 'question', + options: 'options', + multiple: 'multiple', + closed: 'closed', + deadline: 'deadline', + created_at: 'created_at' +} as const + +export type Collab_pollsScalarFieldEnum = (typeof Collab_pollsScalarFieldEnum)[keyof typeof Collab_pollsScalarFieldEnum] + + +export const Day_accommodationsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + place_id: 'place_id', + start_day_id: 'start_day_id', + end_day_id: 'end_day_id', + check_in: 'check_in', + check_in_end: 'check_in_end', + check_out: 'check_out', + confirmation: 'confirmation', + notes: 'notes', + created_at: 'created_at' +} as const + +export type Day_accommodationsScalarFieldEnum = (typeof Day_accommodationsScalarFieldEnum)[keyof typeof Day_accommodationsScalarFieldEnum] + + +export const Day_assignmentsScalarFieldEnum = { + id: 'id', + day_id: 'day_id', + place_id: 'place_id', + order_index: 'order_index', + notes: 'notes', + reservation_status: 'reservation_status', + reservation_notes: 'reservation_notes', + reservation_datetime: 'reservation_datetime', + created_at: 'created_at', + assignment_time: 'assignment_time', + assignment_end_time: 'assignment_end_time' +} as const + +export type Day_assignmentsScalarFieldEnum = (typeof Day_assignmentsScalarFieldEnum)[keyof typeof Day_assignmentsScalarFieldEnum] + + +export const Day_notesScalarFieldEnum = { + id: 'id', + day_id: 'day_id', + trip_id: 'trip_id', + text: 'text', + time: 'time', + icon: 'icon', + sort_order: 'sort_order', + created_at: 'created_at' +} as const + +export type Day_notesScalarFieldEnum = (typeof Day_notesScalarFieldEnum)[keyof typeof Day_notesScalarFieldEnum] + + +export const DaysScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_number: 'day_number', + date: 'date', + notes: 'notes', + title: 'title' +} as const + +export type DaysScalarFieldEnum = (typeof DaysScalarFieldEnum)[keyof typeof DaysScalarFieldEnum] + + +export const File_linksScalarFieldEnum = { + id: 'id', + file_id: 'file_id', + reservation_id: 'reservation_id', + assignment_id: 'assignment_id', + place_id: 'place_id', + created_at: 'created_at' +} as const + +export type File_linksScalarFieldEnum = (typeof File_linksScalarFieldEnum)[keyof typeof File_linksScalarFieldEnum] + + +export const Google_place_photo_metaScalarFieldEnum = { + place_id: 'place_id', + attribution: 'attribution', + fetched_at: 'fetched_at', + error_at: 'error_at' +} as const + +export type Google_place_photo_metaScalarFieldEnum = (typeof Google_place_photo_metaScalarFieldEnum)[keyof typeof Google_place_photo_metaScalarFieldEnum] + + +export const Idempotency_keysScalarFieldEnum = { + key: 'key', + user_id: 'user_id', + method: 'method', + path: 'path', + status_code: 'status_code', + response_body: 'response_body', + created_at: 'created_at' +} as const + +export type Idempotency_keysScalarFieldEnum = (typeof Idempotency_keysScalarFieldEnum)[keyof typeof Idempotency_keysScalarFieldEnum] + + +export const Invite_tokensScalarFieldEnum = { + id: 'id', + token: 'token', + max_uses: 'max_uses', + used_count: 'used_count', + expires_at: 'expires_at', + created_by: 'created_by', + created_at: 'created_at' +} as const + +export type Invite_tokensScalarFieldEnum = (typeof Invite_tokensScalarFieldEnum)[keyof typeof Invite_tokensScalarFieldEnum] + + +export const Journey_contributorsScalarFieldEnum = { + journey_id: 'journey_id', + user_id: 'user_id', + role: 'role', + added_at: 'added_at', + hide_skeletons: 'hide_skeletons' +} as const + +export type Journey_contributorsScalarFieldEnum = (typeof Journey_contributorsScalarFieldEnum)[keyof typeof Journey_contributorsScalarFieldEnum] + + +export const Journey_entriesScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + source_trip_id: 'source_trip_id', + source_place_id: 'source_place_id', + author_id: 'author_id', + type: 'type', + title: 'title', + story: 'story', + entry_date: 'entry_date', + entry_time: 'entry_time', + location_name: 'location_name', + location_lat: 'location_lat', + location_lng: 'location_lng', + mood: 'mood', + weather: 'weather', + tags: 'tags', + visibility: 'visibility', + sort_order: 'sort_order', + created_at: 'created_at', + updated_at: 'updated_at', + pros_cons: 'pros_cons' +} as const + +export type Journey_entriesScalarFieldEnum = (typeof Journey_entriesScalarFieldEnum)[keyof typeof Journey_entriesScalarFieldEnum] + + +export const Journey_entry_photosScalarFieldEnum = { + entry_id: 'entry_id', + journey_photo_id: 'journey_photo_id', + sort_order: 'sort_order', + created_at: 'created_at' +} as const + +export type Journey_entry_photosScalarFieldEnum = (typeof Journey_entry_photosScalarFieldEnum)[keyof typeof Journey_entry_photosScalarFieldEnum] + + +export const Journey_photosScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + photo_id: 'photo_id', + caption: 'caption', + shared: 'shared', + sort_order: 'sort_order', + provider: 'provider', + asset_id: 'asset_id', + owner_id: 'owner_id', + created_at: 'created_at' +} as const + +export type Journey_photosScalarFieldEnum = (typeof Journey_photosScalarFieldEnum)[keyof typeof Journey_photosScalarFieldEnum] + + +export const Journey_share_tokensScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + token: 'token', + created_by: 'created_by', + share_timeline: 'share_timeline', + share_gallery: 'share_gallery', + share_map: 'share_map', + created_at: 'created_at' +} as const + +export type Journey_share_tokensScalarFieldEnum = (typeof Journey_share_tokensScalarFieldEnum)[keyof typeof Journey_share_tokensScalarFieldEnum] + + +export const Journey_tripsScalarFieldEnum = { + journey_id: 'journey_id', + trip_id: 'trip_id', + added_at: 'added_at' +} as const + +export type Journey_tripsScalarFieldEnum = (typeof Journey_tripsScalarFieldEnum)[keyof typeof Journey_tripsScalarFieldEnum] + + +export const JourneysScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + title: 'title', + subtitle: 'subtitle', + cover_gradient: 'cover_gradient', + status: 'status', + created_at: 'created_at', + updated_at: 'updated_at', + cover_image: 'cover_image' +} as const + +export type JourneysScalarFieldEnum = (typeof JourneysScalarFieldEnum)[keyof typeof JourneysScalarFieldEnum] + + +export const Mcp_tokensScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + token_hash: 'token_hash', + token_prefix: 'token_prefix', + created_at: 'created_at', + last_used_at: 'last_used_at' +} as const + +export type Mcp_tokensScalarFieldEnum = (typeof Mcp_tokensScalarFieldEnum)[keyof typeof Mcp_tokensScalarFieldEnum] + + +export const Notification_channel_preferencesScalarFieldEnum = { + user_id: 'user_id', + event_type: 'event_type', + channel: 'channel', + enabled: 'enabled' +} as const + +export type Notification_channel_preferencesScalarFieldEnum = (typeof Notification_channel_preferencesScalarFieldEnum)[keyof typeof Notification_channel_preferencesScalarFieldEnum] + + +export const NotificationsScalarFieldEnum = { + id: 'id', + type: 'type', + scope: 'scope', + target: 'target', + sender_id: 'sender_id', + recipient_id: 'recipient_id', + title_key: 'title_key', + title_params: 'title_params', + text_key: 'text_key', + text_params: 'text_params', + positive_text_key: 'positive_text_key', + negative_text_key: 'negative_text_key', + positive_callback: 'positive_callback', + negative_callback: 'negative_callback', + response: 'response', + navigate_text_key: 'navigate_text_key', + navigate_target: 'navigate_target', + is_read: 'is_read', + created_at: 'created_at' +} as const + +export type NotificationsScalarFieldEnum = (typeof NotificationsScalarFieldEnum)[keyof typeof NotificationsScalarFieldEnum] + + +export const Oauth_clientsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + client_id: 'client_id', + client_secret_hash: 'client_secret_hash', + redirect_uris: 'redirect_uris', + allowed_scopes: 'allowed_scopes', + created_at: 'created_at', + is_public: 'is_public', + created_via: 'created_via' +} as const + +export type Oauth_clientsScalarFieldEnum = (typeof Oauth_clientsScalarFieldEnum)[keyof typeof Oauth_clientsScalarFieldEnum] + + +export const Oauth_consentsScalarFieldEnum = { + id: 'id', + client_id: 'client_id', + user_id: 'user_id', + scopes: 'scopes', + updated_at: 'updated_at' +} as const + +export type Oauth_consentsScalarFieldEnum = (typeof Oauth_consentsScalarFieldEnum)[keyof typeof Oauth_consentsScalarFieldEnum] + + +export const Oauth_tokensScalarFieldEnum = { + id: 'id', + client_id: 'client_id', + user_id: 'user_id', + access_token_hash: 'access_token_hash', + refresh_token_hash: 'refresh_token_hash', + scopes: 'scopes', + access_token_expires_at: 'access_token_expires_at', + refresh_token_expires_at: 'refresh_token_expires_at', + revoked_at: 'revoked_at', + created_at: 'created_at', + parent_token_id: 'parent_token_id', + audience: 'audience' +} as const + +export type Oauth_tokensScalarFieldEnum = (typeof Oauth_tokensScalarFieldEnum)[keyof typeof Oauth_tokensScalarFieldEnum] + + +export const Packing_bag_membersScalarFieldEnum = { + bag_id: 'bag_id', + user_id: 'user_id' +} as const + +export type Packing_bag_membersScalarFieldEnum = (typeof Packing_bag_membersScalarFieldEnum)[keyof typeof Packing_bag_membersScalarFieldEnum] + + +export const Packing_bagsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + color: 'color', + weight_limit_grams: 'weight_limit_grams', + sort_order: 'sort_order', + created_at: 'created_at', + user_id: 'user_id' +} as const + +export type Packing_bagsScalarFieldEnum = (typeof Packing_bagsScalarFieldEnum)[keyof typeof Packing_bagsScalarFieldEnum] + + +export const Packing_category_assigneesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category_name: 'category_name', + user_id: 'user_id' +} as const + +export type Packing_category_assigneesScalarFieldEnum = (typeof Packing_category_assigneesScalarFieldEnum)[keyof typeof Packing_category_assigneesScalarFieldEnum] + + +export const Packing_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + checked: 'checked', + category: 'category', + sort_order: 'sort_order', + created_at: 'created_at', + weight_grams: 'weight_grams', + bag_id: 'bag_id', + quantity: 'quantity' +} as const + +export type Packing_itemsScalarFieldEnum = (typeof Packing_itemsScalarFieldEnum)[keyof typeof Packing_itemsScalarFieldEnum] + + +export const Packing_template_categoriesScalarFieldEnum = { + id: 'id', + template_id: 'template_id', + name: 'name', + sort_order: 'sort_order' +} as const + +export type Packing_template_categoriesScalarFieldEnum = (typeof Packing_template_categoriesScalarFieldEnum)[keyof typeof Packing_template_categoriesScalarFieldEnum] + + +export const Packing_template_itemsScalarFieldEnum = { + id: 'id', + category_id: 'category_id', + name: 'name', + sort_order: 'sort_order' +} as const + +export type Packing_template_itemsScalarFieldEnum = (typeof Packing_template_itemsScalarFieldEnum)[keyof typeof Packing_template_itemsScalarFieldEnum] + + +export const Packing_templatesScalarFieldEnum = { + id: 'id', + name: 'name', + created_by: 'created_by', + created_at: 'created_at' +} as const + +export type Packing_templatesScalarFieldEnum = (typeof Packing_templatesScalarFieldEnum)[keyof typeof Packing_templatesScalarFieldEnum] + + +export const Password_reset_tokensScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + token_hash: 'token_hash', + expires_at: 'expires_at', + consumed_at: 'consumed_at', + created_at: 'created_at', + created_ip: 'created_ip' +} as const + +export type Password_reset_tokensScalarFieldEnum = (typeof Password_reset_tokensScalarFieldEnum)[keyof typeof Password_reset_tokensScalarFieldEnum] + + +export const Photo_provider_fieldsScalarFieldEnum = { + id: 'id', + provider_id: 'provider_id', + field_key: 'field_key', + label: 'label', + input_type: 'input_type', + placeholder: 'placeholder', + hint: 'hint', + required: 'required', + secret: 'secret', + settings_key: 'settings_key', + payload_key: 'payload_key', + sort_order: 'sort_order' +} as const + +export type Photo_provider_fieldsScalarFieldEnum = (typeof Photo_provider_fieldsScalarFieldEnum)[keyof typeof Photo_provider_fieldsScalarFieldEnum] + + +export const Photo_providersScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + icon: 'icon', + enabled: 'enabled', + sort_order: 'sort_order' +} as const + +export type Photo_providersScalarFieldEnum = (typeof Photo_providersScalarFieldEnum)[keyof typeof Photo_providersScalarFieldEnum] + + +export const PhotosScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_id: 'day_id', + place_id: 'place_id', + filename: 'filename', + original_name: 'original_name', + file_size: 'file_size', + mime_type: 'mime_type', + caption: 'caption', + taken_at: 'taken_at', + created_at: 'created_at' +} as const + +export type PhotosScalarFieldEnum = (typeof PhotosScalarFieldEnum)[keyof typeof PhotosScalarFieldEnum] + + +export const Place_details_cacheScalarFieldEnum = { + place_id: 'place_id', + lang: 'lang', + expanded: 'expanded', + payload_json: 'payload_json', + fetched_at: 'fetched_at' +} as const + +export type Place_details_cacheScalarFieldEnum = (typeof Place_details_cacheScalarFieldEnum)[keyof typeof Place_details_cacheScalarFieldEnum] + + +export const Place_regionsScalarFieldEnum = { + place_id: 'place_id', + country_code: 'country_code', + region_code: 'region_code', + region_name: 'region_name' +} as const + +export type Place_regionsScalarFieldEnum = (typeof Place_regionsScalarFieldEnum)[keyof typeof Place_regionsScalarFieldEnum] + + +export const Place_tagsScalarFieldEnum = { + place_id: 'place_id', + tag_id: 'tag_id' +} as const + +export type Place_tagsScalarFieldEnum = (typeof Place_tagsScalarFieldEnum)[keyof typeof Place_tagsScalarFieldEnum] + + +export const PlacesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + description: 'description', + lat: 'lat', + lng: 'lng', + address: 'address', + category_id: 'category_id', + price: 'price', + currency: 'currency', + reservation_status: 'reservation_status', + reservation_notes: 'reservation_notes', + reservation_datetime: 'reservation_datetime', + place_time: 'place_time', + end_time: 'end_time', + duration_minutes: 'duration_minutes', + notes: 'notes', + image_url: 'image_url', + google_place_id: 'google_place_id', + website: 'website', + phone: 'phone', + transport_mode: 'transport_mode', + created_at: 'created_at', + updated_at: 'updated_at', + osm_id: 'osm_id', + route_geometry: 'route_geometry' +} as const + +export type PlacesScalarFieldEnum = (typeof PlacesScalarFieldEnum)[keyof typeof PlacesScalarFieldEnum] + + +export const Reservation_day_positionsScalarFieldEnum = { + reservation_id: 'reservation_id', + day_id: 'day_id', + position: 'position' +} as const + +export type Reservation_day_positionsScalarFieldEnum = (typeof Reservation_day_positionsScalarFieldEnum)[keyof typeof Reservation_day_positionsScalarFieldEnum] + + +export const Reservation_endpointsScalarFieldEnum = { + id: 'id', + reservation_id: 'reservation_id', + role: 'role', + sequence: 'sequence', + name: 'name', + code: 'code', + lat: 'lat', + lng: 'lng', + timezone: 'timezone', + local_time: 'local_time', + local_date: 'local_date', + created_at: 'created_at' +} as const + +export type Reservation_endpointsScalarFieldEnum = (typeof Reservation_endpointsScalarFieldEnum)[keyof typeof Reservation_endpointsScalarFieldEnum] + + +export const ReservationsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_id: 'day_id', + end_day_id: 'end_day_id', + place_id: 'place_id', + assignment_id: 'assignment_id', + title: 'title', + accommodation_id: 'accommodation_id', + reservation_time: 'reservation_time', + reservation_end_time: 'reservation_end_time', + location: 'location', + confirmation_number: 'confirmation_number', + notes: 'notes', + status: 'status', + type: 'type', + created_at: 'created_at', + metadata: 'metadata', + day_plan_position: 'day_plan_position', + needs_review: 'needs_review' +} as const + +export type ReservationsScalarFieldEnum = (typeof ReservationsScalarFieldEnum)[keyof typeof ReservationsScalarFieldEnum] + + +export const Schema_versionScalarFieldEnum = { + id: 'id', + version: 'version' +} as const + +export type Schema_versionScalarFieldEnum = (typeof Schema_versionScalarFieldEnum)[keyof typeof Schema_versionScalarFieldEnum] + + +export const SettingsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + key: 'key', + value: 'value' +} as const + +export type SettingsScalarFieldEnum = (typeof SettingsScalarFieldEnum)[keyof typeof SettingsScalarFieldEnum] + + +export const Share_tokensScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + token: 'token', + created_by: 'created_by', + share_map: 'share_map', + share_bookings: 'share_bookings', + share_packing: 'share_packing', + share_budget: 'share_budget', + share_collab: 'share_collab', + created_at: 'created_at', + expires_at: 'expires_at' +} as const + +export type Share_tokensScalarFieldEnum = (typeof Share_tokensScalarFieldEnum)[keyof typeof Share_tokensScalarFieldEnum] + + +export const TagsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + color: 'color', + created_at: 'created_at' +} as const + +export type TagsScalarFieldEnum = (typeof TagsScalarFieldEnum)[keyof typeof TagsScalarFieldEnum] + + +export const Todo_category_assigneesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category_name: 'category_name', + user_id: 'user_id' +} as const + +export type Todo_category_assigneesScalarFieldEnum = (typeof Todo_category_assigneesScalarFieldEnum)[keyof typeof Todo_category_assigneesScalarFieldEnum] + + +export const Todo_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + checked: 'checked', + category: 'category', + sort_order: 'sort_order', + due_date: 'due_date', + description: 'description', + assigned_user_id: 'assigned_user_id', + priority: 'priority', + created_at: 'created_at', + reminded_at: 'reminded_at' +} as const + +export type Todo_itemsScalarFieldEnum = (typeof Todo_itemsScalarFieldEnum)[keyof typeof Todo_itemsScalarFieldEnum] + + +export const Trek_photo_cache_metaScalarFieldEnum = { + cache_key: 'cache_key', + content_type: 'content_type', + fetched_at: 'fetched_at' +} as const + +export type Trek_photo_cache_metaScalarFieldEnum = (typeof Trek_photo_cache_metaScalarFieldEnum)[keyof typeof Trek_photo_cache_metaScalarFieldEnum] + + +export const Trek_photosScalarFieldEnum = { + id: 'id', + provider: 'provider', + asset_id: 'asset_id', + owner_id: 'owner_id', + file_path: 'file_path', + thumbnail_path: 'thumbnail_path', + width: 'width', + height: 'height', + created_at: 'created_at', + passphrase: 'passphrase' +} as const + +export type Trek_photosScalarFieldEnum = (typeof Trek_photosScalarFieldEnum)[keyof typeof Trek_photosScalarFieldEnum] + + +export const Trip_album_linksScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + provider: 'provider', + album_id: 'album_id', + album_name: 'album_name', + sync_enabled: 'sync_enabled', + last_synced_at: 'last_synced_at', + created_at: 'created_at', + passphrase: 'passphrase' +} as const + +export type Trip_album_linksScalarFieldEnum = (typeof Trip_album_linksScalarFieldEnum)[keyof typeof Trip_album_linksScalarFieldEnum] + + +export const Trip_filesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + place_id: 'place_id', + reservation_id: 'reservation_id', + filename: 'filename', + original_name: 'original_name', + file_size: 'file_size', + mime_type: 'mime_type', + description: 'description', + created_at: 'created_at', + note_id: 'note_id', + uploaded_by: 'uploaded_by', + starred: 'starred', + deleted_at: 'deleted_at' +} as const + +export type Trip_filesScalarFieldEnum = (typeof Trip_filesScalarFieldEnum)[keyof typeof Trip_filesScalarFieldEnum] + + +export const Trip_membersScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + invited_by: 'invited_by', + added_at: 'added_at' +} as const + +export type Trip_membersScalarFieldEnum = (typeof Trip_membersScalarFieldEnum)[keyof typeof Trip_membersScalarFieldEnum] + + +export const Trip_photosScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + photo_id: 'photo_id', + shared: 'shared', + album_link_id: 'album_link_id', + added_at: 'added_at' +} as const + +export type Trip_photosScalarFieldEnum = (typeof Trip_photosScalarFieldEnum)[keyof typeof Trip_photosScalarFieldEnum] + + +export const TripsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + title: 'title', + description: 'description', + start_date: 'start_date', + end_date: 'end_date', + currency: 'currency', + cover_image: 'cover_image', + is_archived: 'is_archived', + reminder_days: 'reminder_days', + created_at: 'created_at', + updated_at: 'updated_at' +} as const + +export type TripsScalarFieldEnum = (typeof TripsScalarFieldEnum)[keyof typeof TripsScalarFieldEnum] + + +export const User_notice_dismissalsScalarFieldEnum = { + user_id: 'user_id', + notice_id: 'notice_id', + dismissed_at: 'dismissed_at' +} as const + +export type User_notice_dismissalsScalarFieldEnum = (typeof User_notice_dismissalsScalarFieldEnum)[keyof typeof User_notice_dismissalsScalarFieldEnum] + + +export const UsersScalarFieldEnum = { + id: 'id', + username: 'username', + email: 'email', + password_hash: 'password_hash', + role: 'role', + maps_api_key: 'maps_api_key', + unsplash_api_key: 'unsplash_api_key', + openweather_api_key: 'openweather_api_key', + avatar: 'avatar', + oidc_sub: 'oidc_sub', + oidc_issuer: 'oidc_issuer', + last_login: 'last_login', + mfa_enabled: 'mfa_enabled', + mfa_secret: 'mfa_secret', + mfa_backup_codes: 'mfa_backup_codes', + immich_url: 'immich_url', + immich_access_token: 'immich_access_token', + synology_url: 'synology_url', + synology_username: 'synology_username', + synology_password: 'synology_password', + synology_sid: 'synology_sid', + must_change_password: 'must_change_password', + password_version: 'password_version', + created_at: 'created_at', + updated_at: 'updated_at', + immich_api_key: 'immich_api_key', + synology_skip_ssl: 'synology_skip_ssl', + synology_did: 'synology_did', + first_seen_version: 'first_seen_version', + login_count: 'login_count', + immich_auto_upload: 'immich_auto_upload' +} as const + +export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum] + + +export const Vacay_company_holidaysScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + date: 'date', + note: 'note' +} as const + +export type Vacay_company_holidaysScalarFieldEnum = (typeof Vacay_company_holidaysScalarFieldEnum)[keyof typeof Vacay_company_holidaysScalarFieldEnum] + + +export const Vacay_entriesScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + user_id: 'user_id', + date: 'date', + note: 'note' +} as const + +export type Vacay_entriesScalarFieldEnum = (typeof Vacay_entriesScalarFieldEnum)[keyof typeof Vacay_entriesScalarFieldEnum] + + +export const Vacay_holiday_calendarsScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + region: 'region', + label: 'label', + color: 'color', + sort_order: 'sort_order' +} as const + +export type Vacay_holiday_calendarsScalarFieldEnum = (typeof Vacay_holiday_calendarsScalarFieldEnum)[keyof typeof Vacay_holiday_calendarsScalarFieldEnum] + + +export const Vacay_plan_membersScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + user_id: 'user_id', + status: 'status', + created_at: 'created_at' +} as const + +export type Vacay_plan_membersScalarFieldEnum = (typeof Vacay_plan_membersScalarFieldEnum)[keyof typeof Vacay_plan_membersScalarFieldEnum] + + +export const Vacay_plansScalarFieldEnum = { + id: 'id', + owner_id: 'owner_id', + block_weekends: 'block_weekends', + holidays_enabled: 'holidays_enabled', + holidays_region: 'holidays_region', + company_holidays_enabled: 'company_holidays_enabled', + carry_over_enabled: 'carry_over_enabled', + created_at: 'created_at', + weekend_days: 'weekend_days', + week_start: 'week_start' +} as const + +export type Vacay_plansScalarFieldEnum = (typeof Vacay_plansScalarFieldEnum)[keyof typeof Vacay_plansScalarFieldEnum] + + +export const Vacay_user_colorsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + plan_id: 'plan_id', + color: 'color' +} as const + +export type Vacay_user_colorsScalarFieldEnum = (typeof Vacay_user_colorsScalarFieldEnum)[keyof typeof Vacay_user_colorsScalarFieldEnum] + + +export const Vacay_user_yearsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + plan_id: 'plan_id', + year: 'year', + vacation_days: 'vacation_days', + carried_over: 'carried_over' +} as const + +export type Vacay_user_yearsScalarFieldEnum = (typeof Vacay_user_yearsScalarFieldEnum)[keyof typeof Vacay_user_yearsScalarFieldEnum] + + +export const Vacay_yearsScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + year: 'year' +} as const + +export type Vacay_yearsScalarFieldEnum = (typeof Vacay_yearsScalarFieldEnum)[keyof typeof Vacay_yearsScalarFieldEnum] + + +export const Visited_countriesScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + country_code: 'country_code', + created_at: 'created_at' +} as const + +export type Visited_countriesScalarFieldEnum = (typeof Visited_countriesScalarFieldEnum)[keyof typeof Visited_countriesScalarFieldEnum] + + +export const Visited_regionsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + region_code: 'region_code', + region_name: 'region_name', + country_code: 'country_code', + created_at: 'created_at' +} as const + +export type Visited_regionsScalarFieldEnum = (typeof Visited_regionsScalarFieldEnum)[keyof typeof Visited_regionsScalarFieldEnum] + + +export const SortOrder = { + asc: 'asc', + desc: 'desc' +} as const + +export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] + + +export const NullsOrder = { + first: 'first', + last: 'last' +} as const + +export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + + + +/** + * Field references + */ + + +/** + * Reference to a field of type 'String' + */ +export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> + + + +/** + * Reference to a field of type 'Int' + */ +export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> + + + +/** + * Reference to a field of type 'DateTime' + */ +export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> + + + +/** + * Reference to a field of type 'Float' + */ +export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> + + +/** + * Batch Payload for updateMany & deleteMany & createMany + */ +export type BatchPayload = { + count: number +} + +export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> +export type DefaultPrismaClient = PrismaClient +export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' +export type PrismaClientOptions = ({ + /** + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. + */ + adapter: runtime.SqlDriverAdapterFactory + accelerateUrl?: never +} | { + /** + * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. + */ + accelerateUrl: string + adapter?: never +}) & { + /** + * @default "colorless" + */ + errorFormat?: ErrorFormat + /** + * @example + * ``` + * // Shorthand for `emit: 'stdout'` + * log: ['query', 'info', 'warn', 'error'] + * + * // Emit as events only + * log: [ + * { emit: 'event', level: 'query' }, + * { emit: 'event', level: 'info' }, + * { emit: 'event', level: 'warn' } + * { emit: 'event', level: 'error' } + * ] + * + * / Emit as events and log to stdout + * og: [ + * { emit: 'stdout', level: 'query' }, + * { emit: 'stdout', level: 'info' }, + * { emit: 'stdout', level: 'warn' } + * { emit: 'stdout', level: 'error' } + * + * ``` + * Read more in our [docs](https://pris.ly/d/logging). + */ + log?: (LogLevel | LogDefinition)[] + /** + * The default values for transactionOptions + * maxWait ?= 2000 + * timeout ?= 5000 + */ + transactionOptions?: { + maxWait?: number + timeout?: number + isolationLevel?: TransactionIsolationLevel + } + /** + * Global configuration for omitting model fields by default. + * + * @example + * ``` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * ``` + */ + omit?: GlobalOmitConfig + /** + * SQL commenter plugins that add metadata to SQL queries as comments. + * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ + * + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter, + * comments: [ + * traceContext(), + * queryInsights(), + * ], + * }) + * ``` + */ + comments?: runtime.SqlCommenterPlugin[] + /** + * Optional maximum size for the query plan cache. If not provided, a default size will be used. + * A value of `0` can be used to disable the cache entirely. A higher cache size can improve + * performance for applications that execute a large number of unique queries, while a smaller + * cache size can reduce memory usage. + * + * @example + * ``` + * const prisma = new PrismaClient({ + * adapter, + * queryPlanCacheMaxSize: 100, + * }) + * ``` + */ + queryPlanCacheMaxSize?: number +} +export type GlobalOmitConfig = { + addons?: Prisma.addonsOmit + app_settings?: Prisma.app_settingsOmit + assignment_participants?: Prisma.assignment_participantsOmit + audit_log?: Prisma.audit_logOmit + bucket_list?: Prisma.bucket_listOmit + budget_category_order?: Prisma.budget_category_orderOmit + budget_item_members?: Prisma.budget_item_membersOmit + budget_items?: Prisma.budget_itemsOmit + categories?: Prisma.categoriesOmit + collab_message_reactions?: Prisma.collab_message_reactionsOmit + collab_messages?: Prisma.collab_messagesOmit + collab_notes?: Prisma.collab_notesOmit + collab_poll_votes?: Prisma.collab_poll_votesOmit + collab_polls?: Prisma.collab_pollsOmit + day_accommodations?: Prisma.day_accommodationsOmit + day_assignments?: Prisma.day_assignmentsOmit + day_notes?: Prisma.day_notesOmit + days?: Prisma.daysOmit + file_links?: Prisma.file_linksOmit + google_place_photo_meta?: Prisma.google_place_photo_metaOmit + idempotency_keys?: Prisma.idempotency_keysOmit + invite_tokens?: Prisma.invite_tokensOmit + journey_contributors?: Prisma.journey_contributorsOmit + journey_entries?: Prisma.journey_entriesOmit + journey_entry_photos?: Prisma.journey_entry_photosOmit + journey_photos?: Prisma.journey_photosOmit + journey_share_tokens?: Prisma.journey_share_tokensOmit + journey_trips?: Prisma.journey_tripsOmit + journeys?: Prisma.journeysOmit + mcp_tokens?: Prisma.mcp_tokensOmit + notification_channel_preferences?: Prisma.notification_channel_preferencesOmit + notifications?: Prisma.notificationsOmit + oauth_clients?: Prisma.oauth_clientsOmit + oauth_consents?: Prisma.oauth_consentsOmit + oauth_tokens?: Prisma.oauth_tokensOmit + packing_bag_members?: Prisma.packing_bag_membersOmit + packing_bags?: Prisma.packing_bagsOmit + packing_category_assignees?: Prisma.packing_category_assigneesOmit + packing_items?: Prisma.packing_itemsOmit + packing_template_categories?: Prisma.packing_template_categoriesOmit + packing_template_items?: Prisma.packing_template_itemsOmit + packing_templates?: Prisma.packing_templatesOmit + password_reset_tokens?: Prisma.password_reset_tokensOmit + photo_provider_fields?: Prisma.photo_provider_fieldsOmit + photo_providers?: Prisma.photo_providersOmit + photos?: Prisma.photosOmit + place_details_cache?: Prisma.place_details_cacheOmit + place_regions?: Prisma.place_regionsOmit + place_tags?: Prisma.place_tagsOmit + places?: Prisma.placesOmit + reservation_day_positions?: Prisma.reservation_day_positionsOmit + reservation_endpoints?: Prisma.reservation_endpointsOmit + reservations?: Prisma.reservationsOmit + schema_version?: Prisma.schema_versionOmit + settings?: Prisma.settingsOmit + share_tokens?: Prisma.share_tokensOmit + tags?: Prisma.tagsOmit + todo_category_assignees?: Prisma.todo_category_assigneesOmit + todo_items?: Prisma.todo_itemsOmit + trek_photo_cache_meta?: Prisma.trek_photo_cache_metaOmit + trek_photos?: Prisma.trek_photosOmit + trip_album_links?: Prisma.trip_album_linksOmit + trip_files?: Prisma.trip_filesOmit + trip_members?: Prisma.trip_membersOmit + trip_photos?: Prisma.trip_photosOmit + trips?: Prisma.tripsOmit + user_notice_dismissals?: Prisma.user_notice_dismissalsOmit + users?: Prisma.usersOmit + vacay_company_holidays?: Prisma.vacay_company_holidaysOmit + vacay_entries?: Prisma.vacay_entriesOmit + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsOmit + vacay_plan_members?: Prisma.vacay_plan_membersOmit + vacay_plans?: Prisma.vacay_plansOmit + vacay_user_colors?: Prisma.vacay_user_colorsOmit + vacay_user_years?: Prisma.vacay_user_yearsOmit + vacay_years?: Prisma.vacay_yearsOmit + visited_countries?: Prisma.visited_countriesOmit + visited_regions?: Prisma.visited_regionsOmit +} + +/* Types for Logging */ +export type LogLevel = 'info' | 'query' | 'warn' | 'error' +export type LogDefinition = { + level: LogLevel + emit: 'stdout' | 'event' +} + +export type CheckIsLogLevel = T extends LogLevel ? T : never; + +export type GetLogType = CheckIsLogLevel< + T extends LogDefinition ? T['level'] : T +>; + +export type GetEvents = T extends Array + ? GetLogType + : never; + +export type QueryEvent = { + timestamp: Date + query: string + params: string + duration: number + target: string +} + +export type LogEvent = { + timestamp: Date + message: string + target: string +} +/* End Types for Logging */ + + +export type PrismaAction = + | 'findUnique' + | 'findUniqueOrThrow' + | 'findMany' + | 'findFirst' + | 'findFirstOrThrow' + | 'create' + | 'createMany' + | 'createManyAndReturn' + | 'update' + | 'updateMany' + | 'updateManyAndReturn' + | 'upsert' + | 'delete' + | 'deleteMany' + | 'executeRaw' + | 'queryRaw' + | 'aggregate' + | 'count' + | 'runCommandRaw' + | 'findRaw' + | 'groupBy' + +/** + * `PrismaClient` proxy available in interactive transactions. + */ +export type TransactionClient = Omit + diff --git a/server/src/generated/prisma/internal/prismaNamespaceBrowser.ts b/server/src/generated/prisma/internal/prismaNamespaceBrowser.ts new file mode 100644 index 00000000..a624793f --- /dev/null +++ b/server/src/generated/prisma/internal/prismaNamespaceBrowser.ts @@ -0,0 +1,1227 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @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 browser.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! + */ + +import * as runtime from "@prisma/client/runtime/index-browser" + +export type * from '../models' +export type * from './prismaNamespace' + +export const Decimal = runtime.Decimal + + +export const NullTypes = { + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.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 + */ +export const DbNull = runtime.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 + */ +export const JsonNull = runtime.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 + */ +export const AnyNull = runtime.AnyNull + + +export const ModelName = { + addons: 'addons', + app_settings: 'app_settings', + assignment_participants: 'assignment_participants', + audit_log: 'audit_log', + bucket_list: 'bucket_list', + budget_category_order: 'budget_category_order', + budget_item_members: 'budget_item_members', + budget_items: 'budget_items', + categories: 'categories', + collab_message_reactions: 'collab_message_reactions', + collab_messages: 'collab_messages', + collab_notes: 'collab_notes', + collab_poll_votes: 'collab_poll_votes', + collab_polls: 'collab_polls', + day_accommodations: 'day_accommodations', + day_assignments: 'day_assignments', + day_notes: 'day_notes', + days: 'days', + file_links: 'file_links', + google_place_photo_meta: 'google_place_photo_meta', + idempotency_keys: 'idempotency_keys', + invite_tokens: 'invite_tokens', + journey_contributors: 'journey_contributors', + journey_entries: 'journey_entries', + journey_entry_photos: 'journey_entry_photos', + journey_photos: 'journey_photos', + journey_share_tokens: 'journey_share_tokens', + journey_trips: 'journey_trips', + journeys: 'journeys', + mcp_tokens: 'mcp_tokens', + notification_channel_preferences: 'notification_channel_preferences', + notifications: 'notifications', + oauth_clients: 'oauth_clients', + oauth_consents: 'oauth_consents', + oauth_tokens: 'oauth_tokens', + packing_bag_members: 'packing_bag_members', + packing_bags: 'packing_bags', + packing_category_assignees: 'packing_category_assignees', + packing_items: 'packing_items', + packing_template_categories: 'packing_template_categories', + packing_template_items: 'packing_template_items', + packing_templates: 'packing_templates', + password_reset_tokens: 'password_reset_tokens', + photo_provider_fields: 'photo_provider_fields', + photo_providers: 'photo_providers', + photos: 'photos', + place_details_cache: 'place_details_cache', + place_regions: 'place_regions', + place_tags: 'place_tags', + places: 'places', + reservation_day_positions: 'reservation_day_positions', + reservation_endpoints: 'reservation_endpoints', + reservations: 'reservations', + schema_version: 'schema_version', + settings: 'settings', + share_tokens: 'share_tokens', + tags: 'tags', + todo_category_assignees: 'todo_category_assignees', + todo_items: 'todo_items', + trek_photo_cache_meta: 'trek_photo_cache_meta', + trek_photos: 'trek_photos', + trip_album_links: 'trip_album_links', + trip_files: 'trip_files', + trip_members: 'trip_members', + trip_photos: 'trip_photos', + trips: 'trips', + user_notice_dismissals: 'user_notice_dismissals', + users: 'users', + vacay_company_holidays: 'vacay_company_holidays', + vacay_entries: 'vacay_entries', + vacay_holiday_calendars: 'vacay_holiday_calendars', + vacay_plan_members: 'vacay_plan_members', + vacay_plans: 'vacay_plans', + vacay_user_colors: 'vacay_user_colors', + vacay_user_years: 'vacay_user_years', + vacay_years: 'vacay_years', + visited_countries: 'visited_countries', + visited_regions: 'visited_regions' +} as const + +export type ModelName = (typeof ModelName)[keyof typeof ModelName] + +/* + * Enums + */ + +export const TransactionIsolationLevel = runtime.makeStrictEnum({ + Serializable: 'Serializable' +} as const) + +export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] + + +export const AddonsScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + type: 'type', + icon: 'icon', + enabled: 'enabled', + config: 'config', + sort_order: 'sort_order' +} as const + +export type AddonsScalarFieldEnum = (typeof AddonsScalarFieldEnum)[keyof typeof AddonsScalarFieldEnum] + + +export const App_settingsScalarFieldEnum = { + key: 'key', + value: 'value' +} as const + +export type App_settingsScalarFieldEnum = (typeof App_settingsScalarFieldEnum)[keyof typeof App_settingsScalarFieldEnum] + + +export const Assignment_participantsScalarFieldEnum = { + id: 'id', + assignment_id: 'assignment_id', + user_id: 'user_id' +} as const + +export type Assignment_participantsScalarFieldEnum = (typeof Assignment_participantsScalarFieldEnum)[keyof typeof Assignment_participantsScalarFieldEnum] + + +export const Audit_logScalarFieldEnum = { + id: 'id', + created_at: 'created_at', + user_id: 'user_id', + action: 'action', + resource: 'resource', + details: 'details', + ip: 'ip' +} as const + +export type Audit_logScalarFieldEnum = (typeof Audit_logScalarFieldEnum)[keyof typeof Audit_logScalarFieldEnum] + + +export const Bucket_listScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + lat: 'lat', + lng: 'lng', + country_code: 'country_code', + notes: 'notes', + created_at: 'created_at', + target_date: 'target_date' +} as const + +export type Bucket_listScalarFieldEnum = (typeof Bucket_listScalarFieldEnum)[keyof typeof Bucket_listScalarFieldEnum] + + +export const Budget_category_orderScalarFieldEnum = { + trip_id: 'trip_id', + category: 'category', + sort_order: 'sort_order' +} as const + +export type Budget_category_orderScalarFieldEnum = (typeof Budget_category_orderScalarFieldEnum)[keyof typeof Budget_category_orderScalarFieldEnum] + + +export const Budget_item_membersScalarFieldEnum = { + id: 'id', + budget_item_id: 'budget_item_id', + user_id: 'user_id', + paid: 'paid' +} as const + +export type Budget_item_membersScalarFieldEnum = (typeof Budget_item_membersScalarFieldEnum)[keyof typeof Budget_item_membersScalarFieldEnum] + + +export const Budget_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category: 'category', + name: 'name', + total_price: 'total_price', + persons: 'persons', + days: 'days', + note: 'note', + sort_order: 'sort_order', + created_at: 'created_at', + paid_by_user_id: 'paid_by_user_id', + expense_date: 'expense_date', + reservation_id: 'reservation_id' +} as const + +export type Budget_itemsScalarFieldEnum = (typeof Budget_itemsScalarFieldEnum)[keyof typeof Budget_itemsScalarFieldEnum] + + +export const CategoriesScalarFieldEnum = { + id: 'id', + name: 'name', + color: 'color', + icon: 'icon', + user_id: 'user_id', + created_at: 'created_at' +} as const + +export type CategoriesScalarFieldEnum = (typeof CategoriesScalarFieldEnum)[keyof typeof CategoriesScalarFieldEnum] + + +export const Collab_message_reactionsScalarFieldEnum = { + id: 'id', + message_id: 'message_id', + user_id: 'user_id', + emoji: 'emoji', + created_at: 'created_at' +} as const + +export type Collab_message_reactionsScalarFieldEnum = (typeof Collab_message_reactionsScalarFieldEnum)[keyof typeof Collab_message_reactionsScalarFieldEnum] + + +export const Collab_messagesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + text: 'text', + reply_to: 'reply_to', + created_at: 'created_at', + deleted: 'deleted' +} as const + +export type Collab_messagesScalarFieldEnum = (typeof Collab_messagesScalarFieldEnum)[keyof typeof Collab_messagesScalarFieldEnum] + + +export const Collab_notesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + category: 'category', + title: 'title', + content: 'content', + color: 'color', + pinned: 'pinned', + created_at: 'created_at', + updated_at: 'updated_at', + website: 'website' +} as const + +export type Collab_notesScalarFieldEnum = (typeof Collab_notesScalarFieldEnum)[keyof typeof Collab_notesScalarFieldEnum] + + +export const Collab_poll_votesScalarFieldEnum = { + id: 'id', + poll_id: 'poll_id', + user_id: 'user_id', + option_index: 'option_index', + created_at: 'created_at' +} as const + +export type Collab_poll_votesScalarFieldEnum = (typeof Collab_poll_votesScalarFieldEnum)[keyof typeof Collab_poll_votesScalarFieldEnum] + + +export const Collab_pollsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + question: 'question', + options: 'options', + multiple: 'multiple', + closed: 'closed', + deadline: 'deadline', + created_at: 'created_at' +} as const + +export type Collab_pollsScalarFieldEnum = (typeof Collab_pollsScalarFieldEnum)[keyof typeof Collab_pollsScalarFieldEnum] + + +export const Day_accommodationsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + place_id: 'place_id', + start_day_id: 'start_day_id', + end_day_id: 'end_day_id', + check_in: 'check_in', + check_in_end: 'check_in_end', + check_out: 'check_out', + confirmation: 'confirmation', + notes: 'notes', + created_at: 'created_at' +} as const + +export type Day_accommodationsScalarFieldEnum = (typeof Day_accommodationsScalarFieldEnum)[keyof typeof Day_accommodationsScalarFieldEnum] + + +export const Day_assignmentsScalarFieldEnum = { + id: 'id', + day_id: 'day_id', + place_id: 'place_id', + order_index: 'order_index', + notes: 'notes', + reservation_status: 'reservation_status', + reservation_notes: 'reservation_notes', + reservation_datetime: 'reservation_datetime', + created_at: 'created_at', + assignment_time: 'assignment_time', + assignment_end_time: 'assignment_end_time' +} as const + +export type Day_assignmentsScalarFieldEnum = (typeof Day_assignmentsScalarFieldEnum)[keyof typeof Day_assignmentsScalarFieldEnum] + + +export const Day_notesScalarFieldEnum = { + id: 'id', + day_id: 'day_id', + trip_id: 'trip_id', + text: 'text', + time: 'time', + icon: 'icon', + sort_order: 'sort_order', + created_at: 'created_at' +} as const + +export type Day_notesScalarFieldEnum = (typeof Day_notesScalarFieldEnum)[keyof typeof Day_notesScalarFieldEnum] + + +export const DaysScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_number: 'day_number', + date: 'date', + notes: 'notes', + title: 'title' +} as const + +export type DaysScalarFieldEnum = (typeof DaysScalarFieldEnum)[keyof typeof DaysScalarFieldEnum] + + +export const File_linksScalarFieldEnum = { + id: 'id', + file_id: 'file_id', + reservation_id: 'reservation_id', + assignment_id: 'assignment_id', + place_id: 'place_id', + created_at: 'created_at' +} as const + +export type File_linksScalarFieldEnum = (typeof File_linksScalarFieldEnum)[keyof typeof File_linksScalarFieldEnum] + + +export const Google_place_photo_metaScalarFieldEnum = { + place_id: 'place_id', + attribution: 'attribution', + fetched_at: 'fetched_at', + error_at: 'error_at' +} as const + +export type Google_place_photo_metaScalarFieldEnum = (typeof Google_place_photo_metaScalarFieldEnum)[keyof typeof Google_place_photo_metaScalarFieldEnum] + + +export const Idempotency_keysScalarFieldEnum = { + key: 'key', + user_id: 'user_id', + method: 'method', + path: 'path', + status_code: 'status_code', + response_body: 'response_body', + created_at: 'created_at' +} as const + +export type Idempotency_keysScalarFieldEnum = (typeof Idempotency_keysScalarFieldEnum)[keyof typeof Idempotency_keysScalarFieldEnum] + + +export const Invite_tokensScalarFieldEnum = { + id: 'id', + token: 'token', + max_uses: 'max_uses', + used_count: 'used_count', + expires_at: 'expires_at', + created_by: 'created_by', + created_at: 'created_at' +} as const + +export type Invite_tokensScalarFieldEnum = (typeof Invite_tokensScalarFieldEnum)[keyof typeof Invite_tokensScalarFieldEnum] + + +export const Journey_contributorsScalarFieldEnum = { + journey_id: 'journey_id', + user_id: 'user_id', + role: 'role', + added_at: 'added_at', + hide_skeletons: 'hide_skeletons' +} as const + +export type Journey_contributorsScalarFieldEnum = (typeof Journey_contributorsScalarFieldEnum)[keyof typeof Journey_contributorsScalarFieldEnum] + + +export const Journey_entriesScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + source_trip_id: 'source_trip_id', + source_place_id: 'source_place_id', + author_id: 'author_id', + type: 'type', + title: 'title', + story: 'story', + entry_date: 'entry_date', + entry_time: 'entry_time', + location_name: 'location_name', + location_lat: 'location_lat', + location_lng: 'location_lng', + mood: 'mood', + weather: 'weather', + tags: 'tags', + visibility: 'visibility', + sort_order: 'sort_order', + created_at: 'created_at', + updated_at: 'updated_at', + pros_cons: 'pros_cons' +} as const + +export type Journey_entriesScalarFieldEnum = (typeof Journey_entriesScalarFieldEnum)[keyof typeof Journey_entriesScalarFieldEnum] + + +export const Journey_entry_photosScalarFieldEnum = { + entry_id: 'entry_id', + journey_photo_id: 'journey_photo_id', + sort_order: 'sort_order', + created_at: 'created_at' +} as const + +export type Journey_entry_photosScalarFieldEnum = (typeof Journey_entry_photosScalarFieldEnum)[keyof typeof Journey_entry_photosScalarFieldEnum] + + +export const Journey_photosScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + photo_id: 'photo_id', + caption: 'caption', + shared: 'shared', + sort_order: 'sort_order', + provider: 'provider', + asset_id: 'asset_id', + owner_id: 'owner_id', + created_at: 'created_at' +} as const + +export type Journey_photosScalarFieldEnum = (typeof Journey_photosScalarFieldEnum)[keyof typeof Journey_photosScalarFieldEnum] + + +export const Journey_share_tokensScalarFieldEnum = { + id: 'id', + journey_id: 'journey_id', + token: 'token', + created_by: 'created_by', + share_timeline: 'share_timeline', + share_gallery: 'share_gallery', + share_map: 'share_map', + created_at: 'created_at' +} as const + +export type Journey_share_tokensScalarFieldEnum = (typeof Journey_share_tokensScalarFieldEnum)[keyof typeof Journey_share_tokensScalarFieldEnum] + + +export const Journey_tripsScalarFieldEnum = { + journey_id: 'journey_id', + trip_id: 'trip_id', + added_at: 'added_at' +} as const + +export type Journey_tripsScalarFieldEnum = (typeof Journey_tripsScalarFieldEnum)[keyof typeof Journey_tripsScalarFieldEnum] + + +export const JourneysScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + title: 'title', + subtitle: 'subtitle', + cover_gradient: 'cover_gradient', + status: 'status', + created_at: 'created_at', + updated_at: 'updated_at', + cover_image: 'cover_image' +} as const + +export type JourneysScalarFieldEnum = (typeof JourneysScalarFieldEnum)[keyof typeof JourneysScalarFieldEnum] + + +export const Mcp_tokensScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + token_hash: 'token_hash', + token_prefix: 'token_prefix', + created_at: 'created_at', + last_used_at: 'last_used_at' +} as const + +export type Mcp_tokensScalarFieldEnum = (typeof Mcp_tokensScalarFieldEnum)[keyof typeof Mcp_tokensScalarFieldEnum] + + +export const Notification_channel_preferencesScalarFieldEnum = { + user_id: 'user_id', + event_type: 'event_type', + channel: 'channel', + enabled: 'enabled' +} as const + +export type Notification_channel_preferencesScalarFieldEnum = (typeof Notification_channel_preferencesScalarFieldEnum)[keyof typeof Notification_channel_preferencesScalarFieldEnum] + + +export const NotificationsScalarFieldEnum = { + id: 'id', + type: 'type', + scope: 'scope', + target: 'target', + sender_id: 'sender_id', + recipient_id: 'recipient_id', + title_key: 'title_key', + title_params: 'title_params', + text_key: 'text_key', + text_params: 'text_params', + positive_text_key: 'positive_text_key', + negative_text_key: 'negative_text_key', + positive_callback: 'positive_callback', + negative_callback: 'negative_callback', + response: 'response', + navigate_text_key: 'navigate_text_key', + navigate_target: 'navigate_target', + is_read: 'is_read', + created_at: 'created_at' +} as const + +export type NotificationsScalarFieldEnum = (typeof NotificationsScalarFieldEnum)[keyof typeof NotificationsScalarFieldEnum] + + +export const Oauth_clientsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + client_id: 'client_id', + client_secret_hash: 'client_secret_hash', + redirect_uris: 'redirect_uris', + allowed_scopes: 'allowed_scopes', + created_at: 'created_at', + is_public: 'is_public', + created_via: 'created_via' +} as const + +export type Oauth_clientsScalarFieldEnum = (typeof Oauth_clientsScalarFieldEnum)[keyof typeof Oauth_clientsScalarFieldEnum] + + +export const Oauth_consentsScalarFieldEnum = { + id: 'id', + client_id: 'client_id', + user_id: 'user_id', + scopes: 'scopes', + updated_at: 'updated_at' +} as const + +export type Oauth_consentsScalarFieldEnum = (typeof Oauth_consentsScalarFieldEnum)[keyof typeof Oauth_consentsScalarFieldEnum] + + +export const Oauth_tokensScalarFieldEnum = { + id: 'id', + client_id: 'client_id', + user_id: 'user_id', + access_token_hash: 'access_token_hash', + refresh_token_hash: 'refresh_token_hash', + scopes: 'scopes', + access_token_expires_at: 'access_token_expires_at', + refresh_token_expires_at: 'refresh_token_expires_at', + revoked_at: 'revoked_at', + created_at: 'created_at', + parent_token_id: 'parent_token_id', + audience: 'audience' +} as const + +export type Oauth_tokensScalarFieldEnum = (typeof Oauth_tokensScalarFieldEnum)[keyof typeof Oauth_tokensScalarFieldEnum] + + +export const Packing_bag_membersScalarFieldEnum = { + bag_id: 'bag_id', + user_id: 'user_id' +} as const + +export type Packing_bag_membersScalarFieldEnum = (typeof Packing_bag_membersScalarFieldEnum)[keyof typeof Packing_bag_membersScalarFieldEnum] + + +export const Packing_bagsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + color: 'color', + weight_limit_grams: 'weight_limit_grams', + sort_order: 'sort_order', + created_at: 'created_at', + user_id: 'user_id' +} as const + +export type Packing_bagsScalarFieldEnum = (typeof Packing_bagsScalarFieldEnum)[keyof typeof Packing_bagsScalarFieldEnum] + + +export const Packing_category_assigneesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category_name: 'category_name', + user_id: 'user_id' +} as const + +export type Packing_category_assigneesScalarFieldEnum = (typeof Packing_category_assigneesScalarFieldEnum)[keyof typeof Packing_category_assigneesScalarFieldEnum] + + +export const Packing_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + checked: 'checked', + category: 'category', + sort_order: 'sort_order', + created_at: 'created_at', + weight_grams: 'weight_grams', + bag_id: 'bag_id', + quantity: 'quantity' +} as const + +export type Packing_itemsScalarFieldEnum = (typeof Packing_itemsScalarFieldEnum)[keyof typeof Packing_itemsScalarFieldEnum] + + +export const Packing_template_categoriesScalarFieldEnum = { + id: 'id', + template_id: 'template_id', + name: 'name', + sort_order: 'sort_order' +} as const + +export type Packing_template_categoriesScalarFieldEnum = (typeof Packing_template_categoriesScalarFieldEnum)[keyof typeof Packing_template_categoriesScalarFieldEnum] + + +export const Packing_template_itemsScalarFieldEnum = { + id: 'id', + category_id: 'category_id', + name: 'name', + sort_order: 'sort_order' +} as const + +export type Packing_template_itemsScalarFieldEnum = (typeof Packing_template_itemsScalarFieldEnum)[keyof typeof Packing_template_itemsScalarFieldEnum] + + +export const Packing_templatesScalarFieldEnum = { + id: 'id', + name: 'name', + created_by: 'created_by', + created_at: 'created_at' +} as const + +export type Packing_templatesScalarFieldEnum = (typeof Packing_templatesScalarFieldEnum)[keyof typeof Packing_templatesScalarFieldEnum] + + +export const Password_reset_tokensScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + token_hash: 'token_hash', + expires_at: 'expires_at', + consumed_at: 'consumed_at', + created_at: 'created_at', + created_ip: 'created_ip' +} as const + +export type Password_reset_tokensScalarFieldEnum = (typeof Password_reset_tokensScalarFieldEnum)[keyof typeof Password_reset_tokensScalarFieldEnum] + + +export const Photo_provider_fieldsScalarFieldEnum = { + id: 'id', + provider_id: 'provider_id', + field_key: 'field_key', + label: 'label', + input_type: 'input_type', + placeholder: 'placeholder', + hint: 'hint', + required: 'required', + secret: 'secret', + settings_key: 'settings_key', + payload_key: 'payload_key', + sort_order: 'sort_order' +} as const + +export type Photo_provider_fieldsScalarFieldEnum = (typeof Photo_provider_fieldsScalarFieldEnum)[keyof typeof Photo_provider_fieldsScalarFieldEnum] + + +export const Photo_providersScalarFieldEnum = { + id: 'id', + name: 'name', + description: 'description', + icon: 'icon', + enabled: 'enabled', + sort_order: 'sort_order' +} as const + +export type Photo_providersScalarFieldEnum = (typeof Photo_providersScalarFieldEnum)[keyof typeof Photo_providersScalarFieldEnum] + + +export const PhotosScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_id: 'day_id', + place_id: 'place_id', + filename: 'filename', + original_name: 'original_name', + file_size: 'file_size', + mime_type: 'mime_type', + caption: 'caption', + taken_at: 'taken_at', + created_at: 'created_at' +} as const + +export type PhotosScalarFieldEnum = (typeof PhotosScalarFieldEnum)[keyof typeof PhotosScalarFieldEnum] + + +export const Place_details_cacheScalarFieldEnum = { + place_id: 'place_id', + lang: 'lang', + expanded: 'expanded', + payload_json: 'payload_json', + fetched_at: 'fetched_at' +} as const + +export type Place_details_cacheScalarFieldEnum = (typeof Place_details_cacheScalarFieldEnum)[keyof typeof Place_details_cacheScalarFieldEnum] + + +export const Place_regionsScalarFieldEnum = { + place_id: 'place_id', + country_code: 'country_code', + region_code: 'region_code', + region_name: 'region_name' +} as const + +export type Place_regionsScalarFieldEnum = (typeof Place_regionsScalarFieldEnum)[keyof typeof Place_regionsScalarFieldEnum] + + +export const Place_tagsScalarFieldEnum = { + place_id: 'place_id', + tag_id: 'tag_id' +} as const + +export type Place_tagsScalarFieldEnum = (typeof Place_tagsScalarFieldEnum)[keyof typeof Place_tagsScalarFieldEnum] + + +export const PlacesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + description: 'description', + lat: 'lat', + lng: 'lng', + address: 'address', + category_id: 'category_id', + price: 'price', + currency: 'currency', + reservation_status: 'reservation_status', + reservation_notes: 'reservation_notes', + reservation_datetime: 'reservation_datetime', + place_time: 'place_time', + end_time: 'end_time', + duration_minutes: 'duration_minutes', + notes: 'notes', + image_url: 'image_url', + google_place_id: 'google_place_id', + website: 'website', + phone: 'phone', + transport_mode: 'transport_mode', + created_at: 'created_at', + updated_at: 'updated_at', + osm_id: 'osm_id', + route_geometry: 'route_geometry' +} as const + +export type PlacesScalarFieldEnum = (typeof PlacesScalarFieldEnum)[keyof typeof PlacesScalarFieldEnum] + + +export const Reservation_day_positionsScalarFieldEnum = { + reservation_id: 'reservation_id', + day_id: 'day_id', + position: 'position' +} as const + +export type Reservation_day_positionsScalarFieldEnum = (typeof Reservation_day_positionsScalarFieldEnum)[keyof typeof Reservation_day_positionsScalarFieldEnum] + + +export const Reservation_endpointsScalarFieldEnum = { + id: 'id', + reservation_id: 'reservation_id', + role: 'role', + sequence: 'sequence', + name: 'name', + code: 'code', + lat: 'lat', + lng: 'lng', + timezone: 'timezone', + local_time: 'local_time', + local_date: 'local_date', + created_at: 'created_at' +} as const + +export type Reservation_endpointsScalarFieldEnum = (typeof Reservation_endpointsScalarFieldEnum)[keyof typeof Reservation_endpointsScalarFieldEnum] + + +export const ReservationsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + day_id: 'day_id', + end_day_id: 'end_day_id', + place_id: 'place_id', + assignment_id: 'assignment_id', + title: 'title', + accommodation_id: 'accommodation_id', + reservation_time: 'reservation_time', + reservation_end_time: 'reservation_end_time', + location: 'location', + confirmation_number: 'confirmation_number', + notes: 'notes', + status: 'status', + type: 'type', + created_at: 'created_at', + metadata: 'metadata', + day_plan_position: 'day_plan_position', + needs_review: 'needs_review' +} as const + +export type ReservationsScalarFieldEnum = (typeof ReservationsScalarFieldEnum)[keyof typeof ReservationsScalarFieldEnum] + + +export const Schema_versionScalarFieldEnum = { + id: 'id', + version: 'version' +} as const + +export type Schema_versionScalarFieldEnum = (typeof Schema_versionScalarFieldEnum)[keyof typeof Schema_versionScalarFieldEnum] + + +export const SettingsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + key: 'key', + value: 'value' +} as const + +export type SettingsScalarFieldEnum = (typeof SettingsScalarFieldEnum)[keyof typeof SettingsScalarFieldEnum] + + +export const Share_tokensScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + token: 'token', + created_by: 'created_by', + share_map: 'share_map', + share_bookings: 'share_bookings', + share_packing: 'share_packing', + share_budget: 'share_budget', + share_collab: 'share_collab', + created_at: 'created_at', + expires_at: 'expires_at' +} as const + +export type Share_tokensScalarFieldEnum = (typeof Share_tokensScalarFieldEnum)[keyof typeof Share_tokensScalarFieldEnum] + + +export const TagsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + name: 'name', + color: 'color', + created_at: 'created_at' +} as const + +export type TagsScalarFieldEnum = (typeof TagsScalarFieldEnum)[keyof typeof TagsScalarFieldEnum] + + +export const Todo_category_assigneesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + category_name: 'category_name', + user_id: 'user_id' +} as const + +export type Todo_category_assigneesScalarFieldEnum = (typeof Todo_category_assigneesScalarFieldEnum)[keyof typeof Todo_category_assigneesScalarFieldEnum] + + +export const Todo_itemsScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + name: 'name', + checked: 'checked', + category: 'category', + sort_order: 'sort_order', + due_date: 'due_date', + description: 'description', + assigned_user_id: 'assigned_user_id', + priority: 'priority', + created_at: 'created_at', + reminded_at: 'reminded_at' +} as const + +export type Todo_itemsScalarFieldEnum = (typeof Todo_itemsScalarFieldEnum)[keyof typeof Todo_itemsScalarFieldEnum] + + +export const Trek_photo_cache_metaScalarFieldEnum = { + cache_key: 'cache_key', + content_type: 'content_type', + fetched_at: 'fetched_at' +} as const + +export type Trek_photo_cache_metaScalarFieldEnum = (typeof Trek_photo_cache_metaScalarFieldEnum)[keyof typeof Trek_photo_cache_metaScalarFieldEnum] + + +export const Trek_photosScalarFieldEnum = { + id: 'id', + provider: 'provider', + asset_id: 'asset_id', + owner_id: 'owner_id', + file_path: 'file_path', + thumbnail_path: 'thumbnail_path', + width: 'width', + height: 'height', + created_at: 'created_at', + passphrase: 'passphrase' +} as const + +export type Trek_photosScalarFieldEnum = (typeof Trek_photosScalarFieldEnum)[keyof typeof Trek_photosScalarFieldEnum] + + +export const Trip_album_linksScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + provider: 'provider', + album_id: 'album_id', + album_name: 'album_name', + sync_enabled: 'sync_enabled', + last_synced_at: 'last_synced_at', + created_at: 'created_at', + passphrase: 'passphrase' +} as const + +export type Trip_album_linksScalarFieldEnum = (typeof Trip_album_linksScalarFieldEnum)[keyof typeof Trip_album_linksScalarFieldEnum] + + +export const Trip_filesScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + place_id: 'place_id', + reservation_id: 'reservation_id', + filename: 'filename', + original_name: 'original_name', + file_size: 'file_size', + mime_type: 'mime_type', + description: 'description', + created_at: 'created_at', + note_id: 'note_id', + uploaded_by: 'uploaded_by', + starred: 'starred', + deleted_at: 'deleted_at' +} as const + +export type Trip_filesScalarFieldEnum = (typeof Trip_filesScalarFieldEnum)[keyof typeof Trip_filesScalarFieldEnum] + + +export const Trip_membersScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + invited_by: 'invited_by', + added_at: 'added_at' +} as const + +export type Trip_membersScalarFieldEnum = (typeof Trip_membersScalarFieldEnum)[keyof typeof Trip_membersScalarFieldEnum] + + +export const Trip_photosScalarFieldEnum = { + id: 'id', + trip_id: 'trip_id', + user_id: 'user_id', + photo_id: 'photo_id', + shared: 'shared', + album_link_id: 'album_link_id', + added_at: 'added_at' +} as const + +export type Trip_photosScalarFieldEnum = (typeof Trip_photosScalarFieldEnum)[keyof typeof Trip_photosScalarFieldEnum] + + +export const TripsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + title: 'title', + description: 'description', + start_date: 'start_date', + end_date: 'end_date', + currency: 'currency', + cover_image: 'cover_image', + is_archived: 'is_archived', + reminder_days: 'reminder_days', + created_at: 'created_at', + updated_at: 'updated_at' +} as const + +export type TripsScalarFieldEnum = (typeof TripsScalarFieldEnum)[keyof typeof TripsScalarFieldEnum] + + +export const User_notice_dismissalsScalarFieldEnum = { + user_id: 'user_id', + notice_id: 'notice_id', + dismissed_at: 'dismissed_at' +} as const + +export type User_notice_dismissalsScalarFieldEnum = (typeof User_notice_dismissalsScalarFieldEnum)[keyof typeof User_notice_dismissalsScalarFieldEnum] + + +export const UsersScalarFieldEnum = { + id: 'id', + username: 'username', + email: 'email', + password_hash: 'password_hash', + role: 'role', + maps_api_key: 'maps_api_key', + unsplash_api_key: 'unsplash_api_key', + openweather_api_key: 'openweather_api_key', + avatar: 'avatar', + oidc_sub: 'oidc_sub', + oidc_issuer: 'oidc_issuer', + last_login: 'last_login', + mfa_enabled: 'mfa_enabled', + mfa_secret: 'mfa_secret', + mfa_backup_codes: 'mfa_backup_codes', + immich_url: 'immich_url', + immich_access_token: 'immich_access_token', + synology_url: 'synology_url', + synology_username: 'synology_username', + synology_password: 'synology_password', + synology_sid: 'synology_sid', + must_change_password: 'must_change_password', + password_version: 'password_version', + created_at: 'created_at', + updated_at: 'updated_at', + immich_api_key: 'immich_api_key', + synology_skip_ssl: 'synology_skip_ssl', + synology_did: 'synology_did', + first_seen_version: 'first_seen_version', + login_count: 'login_count', + immich_auto_upload: 'immich_auto_upload' +} as const + +export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum] + + +export const Vacay_company_holidaysScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + date: 'date', + note: 'note' +} as const + +export type Vacay_company_holidaysScalarFieldEnum = (typeof Vacay_company_holidaysScalarFieldEnum)[keyof typeof Vacay_company_holidaysScalarFieldEnum] + + +export const Vacay_entriesScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + user_id: 'user_id', + date: 'date', + note: 'note' +} as const + +export type Vacay_entriesScalarFieldEnum = (typeof Vacay_entriesScalarFieldEnum)[keyof typeof Vacay_entriesScalarFieldEnum] + + +export const Vacay_holiday_calendarsScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + region: 'region', + label: 'label', + color: 'color', + sort_order: 'sort_order' +} as const + +export type Vacay_holiday_calendarsScalarFieldEnum = (typeof Vacay_holiday_calendarsScalarFieldEnum)[keyof typeof Vacay_holiday_calendarsScalarFieldEnum] + + +export const Vacay_plan_membersScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + user_id: 'user_id', + status: 'status', + created_at: 'created_at' +} as const + +export type Vacay_plan_membersScalarFieldEnum = (typeof Vacay_plan_membersScalarFieldEnum)[keyof typeof Vacay_plan_membersScalarFieldEnum] + + +export const Vacay_plansScalarFieldEnum = { + id: 'id', + owner_id: 'owner_id', + block_weekends: 'block_weekends', + holidays_enabled: 'holidays_enabled', + holidays_region: 'holidays_region', + company_holidays_enabled: 'company_holidays_enabled', + carry_over_enabled: 'carry_over_enabled', + created_at: 'created_at', + weekend_days: 'weekend_days', + week_start: 'week_start' +} as const + +export type Vacay_plansScalarFieldEnum = (typeof Vacay_plansScalarFieldEnum)[keyof typeof Vacay_plansScalarFieldEnum] + + +export const Vacay_user_colorsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + plan_id: 'plan_id', + color: 'color' +} as const + +export type Vacay_user_colorsScalarFieldEnum = (typeof Vacay_user_colorsScalarFieldEnum)[keyof typeof Vacay_user_colorsScalarFieldEnum] + + +export const Vacay_user_yearsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + plan_id: 'plan_id', + year: 'year', + vacation_days: 'vacation_days', + carried_over: 'carried_over' +} as const + +export type Vacay_user_yearsScalarFieldEnum = (typeof Vacay_user_yearsScalarFieldEnum)[keyof typeof Vacay_user_yearsScalarFieldEnum] + + +export const Vacay_yearsScalarFieldEnum = { + id: 'id', + plan_id: 'plan_id', + year: 'year' +} as const + +export type Vacay_yearsScalarFieldEnum = (typeof Vacay_yearsScalarFieldEnum)[keyof typeof Vacay_yearsScalarFieldEnum] + + +export const Visited_countriesScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + country_code: 'country_code', + created_at: 'created_at' +} as const + +export type Visited_countriesScalarFieldEnum = (typeof Visited_countriesScalarFieldEnum)[keyof typeof Visited_countriesScalarFieldEnum] + + +export const Visited_regionsScalarFieldEnum = { + id: 'id', + user_id: 'user_id', + region_code: 'region_code', + region_name: 'region_name', + country_code: 'country_code', + created_at: 'created_at' +} as const + +export type Visited_regionsScalarFieldEnum = (typeof Visited_regionsScalarFieldEnum)[keyof typeof Visited_regionsScalarFieldEnum] + + +export const SortOrder = { + asc: 'asc', + desc: 'desc' +} as const + +export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] + + +export const NullsOrder = { + first: 'first', + last: 'last' +} as const + +export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + diff --git a/server/src/generated/prisma/models.ts b/server/src/generated/prisma/models.ts new file mode 100644 index 00000000..1419e147 --- /dev/null +++ b/server/src/generated/prisma/models.ts @@ -0,0 +1,89 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This is a barrel export file for all models and their related types. + * + * 🟢 You can import this file directly. + */ +export type * from './models/addons' +export type * from './models/app_settings' +export type * from './models/assignment_participants' +export type * from './models/audit_log' +export type * from './models/bucket_list' +export type * from './models/budget_category_order' +export type * from './models/budget_item_members' +export type * from './models/budget_items' +export type * from './models/categories' +export type * from './models/collab_message_reactions' +export type * from './models/collab_messages' +export type * from './models/collab_notes' +export type * from './models/collab_poll_votes' +export type * from './models/collab_polls' +export type * from './models/day_accommodations' +export type * from './models/day_assignments' +export type * from './models/day_notes' +export type * from './models/days' +export type * from './models/file_links' +export type * from './models/google_place_photo_meta' +export type * from './models/idempotency_keys' +export type * from './models/invite_tokens' +export type * from './models/journey_contributors' +export type * from './models/journey_entries' +export type * from './models/journey_entry_photos' +export type * from './models/journey_photos' +export type * from './models/journey_share_tokens' +export type * from './models/journey_trips' +export type * from './models/journeys' +export type * from './models/mcp_tokens' +export type * from './models/notification_channel_preferences' +export type * from './models/notifications' +export type * from './models/oauth_clients' +export type * from './models/oauth_consents' +export type * from './models/oauth_tokens' +export type * from './models/packing_bag_members' +export type * from './models/packing_bags' +export type * from './models/packing_category_assignees' +export type * from './models/packing_items' +export type * from './models/packing_template_categories' +export type * from './models/packing_template_items' +export type * from './models/packing_templates' +export type * from './models/password_reset_tokens' +export type * from './models/photo_provider_fields' +export type * from './models/photo_providers' +export type * from './models/photos' +export type * from './models/place_details_cache' +export type * from './models/place_regions' +export type * from './models/place_tags' +export type * from './models/places' +export type * from './models/reservation_day_positions' +export type * from './models/reservation_endpoints' +export type * from './models/reservations' +export type * from './models/schema_version' +export type * from './models/settings' +export type * from './models/share_tokens' +export type * from './models/tags' +export type * from './models/todo_category_assignees' +export type * from './models/todo_items' +export type * from './models/trek_photo_cache_meta' +export type * from './models/trek_photos' +export type * from './models/trip_album_links' +export type * from './models/trip_files' +export type * from './models/trip_members' +export type * from './models/trip_photos' +export type * from './models/trips' +export type * from './models/user_notice_dismissals' +export type * from './models/users' +export type * from './models/vacay_company_holidays' +export type * from './models/vacay_entries' +export type * from './models/vacay_holiday_calendars' +export type * from './models/vacay_plan_members' +export type * from './models/vacay_plans' +export type * from './models/vacay_user_colors' +export type * from './models/vacay_user_years' +export type * from './models/vacay_years' +export type * from './models/visited_countries' +export type * from './models/visited_regions' +export type * from './commonInputTypes' \ No newline at end of file diff --git a/server/src/generated/prisma/models/addons.ts b/server/src/generated/prisma/models/addons.ts new file mode 100644 index 00000000..ba1665f0 --- /dev/null +++ b/server/src/generated/prisma/models/addons.ts @@ -0,0 +1,1297 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `addons` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model addons + * + */ +export type addonsModel = runtime.Types.Result.DefaultSelection + +export type AggregateAddons = { + _count: AddonsCountAggregateOutputType | null + _avg: AddonsAvgAggregateOutputType | null + _sum: AddonsSumAggregateOutputType | null + _min: AddonsMinAggregateOutputType | null + _max: AddonsMaxAggregateOutputType | null +} + +export type AddonsAvgAggregateOutputType = { + enabled: number | null + sort_order: number | null +} + +export type AddonsSumAggregateOutputType = { + enabled: number | null + sort_order: number | null +} + +export type AddonsMinAggregateOutputType = { + id: string | null + name: string | null + description: string | null + type: string | null + icon: string | null + enabled: number | null + config: string | null + sort_order: number | null +} + +export type AddonsMaxAggregateOutputType = { + id: string | null + name: string | null + description: string | null + type: string | null + icon: string | null + enabled: number | null + config: string | null + sort_order: number | null +} + +export type AddonsCountAggregateOutputType = { + id: number + name: number + description: number + type: number + icon: number + enabled: number + config: number + sort_order: number + _all: number +} + + +export type AddonsAvgAggregateInputType = { + enabled?: true + sort_order?: true +} + +export type AddonsSumAggregateInputType = { + enabled?: true + sort_order?: true +} + +export type AddonsMinAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + icon?: true + enabled?: true + config?: true + sort_order?: true +} + +export type AddonsMaxAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + icon?: true + enabled?: true + config?: true + sort_order?: true +} + +export type AddonsCountAggregateInputType = { + id?: true + name?: true + description?: true + type?: true + icon?: true + enabled?: true + config?: true + sort_order?: true + _all?: true +} + +export type AddonsAggregateArgs = { + /** + * Filter which addons to aggregate. + */ + where?: Prisma.addonsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of addons to fetch. + */ + orderBy?: Prisma.addonsOrderByWithRelationInput | Prisma.addonsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.addonsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` addons from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` addons. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned addons + **/ + _count?: true | AddonsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: AddonsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: AddonsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: AddonsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: AddonsMaxAggregateInputType +} + +export type GetAddonsAggregateType = { + [P in keyof T & keyof AggregateAddons]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type addonsGroupByArgs = { + where?: Prisma.addonsWhereInput + orderBy?: Prisma.addonsOrderByWithAggregationInput | Prisma.addonsOrderByWithAggregationInput[] + by: Prisma.AddonsScalarFieldEnum[] | Prisma.AddonsScalarFieldEnum + having?: Prisma.addonsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: AddonsCountAggregateInputType | true + _avg?: AddonsAvgAggregateInputType + _sum?: AddonsSumAggregateInputType + _min?: AddonsMinAggregateInputType + _max?: AddonsMaxAggregateInputType +} + +export type AddonsGroupByOutputType = { + id: string + name: string + description: string | null + type: string + icon: string | null + enabled: number | null + config: string | null + sort_order: number | null + _count: AddonsCountAggregateOutputType | null + _avg: AddonsAvgAggregateOutputType | null + _sum: AddonsSumAggregateOutputType | null + _min: AddonsMinAggregateOutputType | null + _max: AddonsMaxAggregateOutputType | null +} + +export type GetAddonsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof AddonsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type addonsWhereInput = { + AND?: Prisma.addonsWhereInput | Prisma.addonsWhereInput[] + OR?: Prisma.addonsWhereInput[] + NOT?: Prisma.addonsWhereInput | Prisma.addonsWhereInput[] + id?: Prisma.StringFilter<"addons"> | string + name?: Prisma.StringFilter<"addons"> | string + description?: Prisma.StringNullableFilter<"addons"> | string | null + type?: Prisma.StringFilter<"addons"> | string + icon?: Prisma.StringNullableFilter<"addons"> | string | null + enabled?: Prisma.IntNullableFilter<"addons"> | number | null + config?: Prisma.StringNullableFilter<"addons"> | string | null + sort_order?: Prisma.IntNullableFilter<"addons"> | number | null +} + +export type addonsOrderByWithRelationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + type?: Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + enabled?: Prisma.SortOrderInput | Prisma.SortOrder + config?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder +} + +export type addonsWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: Prisma.addonsWhereInput | Prisma.addonsWhereInput[] + OR?: Prisma.addonsWhereInput[] + NOT?: Prisma.addonsWhereInput | Prisma.addonsWhereInput[] + name?: Prisma.StringFilter<"addons"> | string + description?: Prisma.StringNullableFilter<"addons"> | string | null + type?: Prisma.StringFilter<"addons"> | string + icon?: Prisma.StringNullableFilter<"addons"> | string | null + enabled?: Prisma.IntNullableFilter<"addons"> | number | null + config?: Prisma.StringNullableFilter<"addons"> | string | null + sort_order?: Prisma.IntNullableFilter<"addons"> | number | null +}, "id"> + +export type addonsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + type?: Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + enabled?: Prisma.SortOrderInput | Prisma.SortOrder + config?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.addonsCountOrderByAggregateInput + _avg?: Prisma.addonsAvgOrderByAggregateInput + _max?: Prisma.addonsMaxOrderByAggregateInput + _min?: Prisma.addonsMinOrderByAggregateInput + _sum?: Prisma.addonsSumOrderByAggregateInput +} + +export type addonsScalarWhereWithAggregatesInput = { + AND?: Prisma.addonsScalarWhereWithAggregatesInput | Prisma.addonsScalarWhereWithAggregatesInput[] + OR?: Prisma.addonsScalarWhereWithAggregatesInput[] + NOT?: Prisma.addonsScalarWhereWithAggregatesInput | Prisma.addonsScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"addons"> | string + name?: Prisma.StringWithAggregatesFilter<"addons"> | string + description?: Prisma.StringNullableWithAggregatesFilter<"addons"> | string | null + type?: Prisma.StringWithAggregatesFilter<"addons"> | string + icon?: Prisma.StringNullableWithAggregatesFilter<"addons"> | string | null + enabled?: Prisma.IntNullableWithAggregatesFilter<"addons"> | number | null + config?: Prisma.StringNullableWithAggregatesFilter<"addons"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"addons"> | number | null +} + +export type addonsCreateInput = { + id: string + name: string + description?: string | null + type?: string + icon?: string | null + enabled?: number | null + config?: string | null + sort_order?: number | null +} + +export type addonsUncheckedCreateInput = { + id: string + name: string + description?: string | null + type?: string + icon?: string | null + enabled?: number | null + config?: string | null + sort_order?: number | null +} + +export type addonsUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.StringFieldUpdateOperationsInput | string + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type addonsUncheckedUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.StringFieldUpdateOperationsInput | string + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type addonsCreateManyInput = { + id: string + name: string + description?: string | null + type?: string + icon?: string | null + enabled?: number | null + config?: string | null + sort_order?: number | null +} + +export type addonsUpdateManyMutationInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.StringFieldUpdateOperationsInput | string + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type addonsUncheckedUpdateManyInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.StringFieldUpdateOperationsInput | string + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type addonsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + type?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + config?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type addonsAvgOrderByAggregateInput = { + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type addonsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + type?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + config?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type addonsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + type?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + config?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type addonsSumOrderByAggregateInput = { + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type StringFieldUpdateOperationsInput = { + set?: string +} + +export type NullableStringFieldUpdateOperationsInput = { + set?: string | null +} + +export type NullableIntFieldUpdateOperationsInput = { + set?: number | null + increment?: number + decrement?: number + multiply?: number + divide?: number +} + + + +export type addonsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + icon?: boolean + enabled?: boolean + config?: boolean + sort_order?: boolean +}, ExtArgs["result"]["addons"]> + +export type addonsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + icon?: boolean + enabled?: boolean + config?: boolean + sort_order?: boolean +}, ExtArgs["result"]["addons"]> + +export type addonsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + type?: boolean + icon?: boolean + enabled?: boolean + config?: boolean + sort_order?: boolean +}, ExtArgs["result"]["addons"]> + +export type addonsSelectScalar = { + id?: boolean + name?: boolean + description?: boolean + type?: boolean + icon?: boolean + enabled?: boolean + config?: boolean + sort_order?: boolean +} + +export type addonsOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "type" | "icon" | "enabled" | "config" | "sort_order", ExtArgs["result"]["addons"]> + +export type $addonsPayload = { + name: "addons" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + name: string + description: string | null + type: string + icon: string | null + enabled: number | null + config: string | null + sort_order: number | null + }, ExtArgs["result"]["addons"]> + composites: {} +} + +export type addonsGetPayload = runtime.Types.Result.GetResult + +export type addonsCountArgs = + Omit & { + select?: AddonsCountAggregateInputType | true + } + +export interface addonsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['addons'], meta: { name: 'addons' } } + /** + * Find zero or one Addons that matches the filter. + * @param {addonsFindUniqueArgs} args - Arguments to find a Addons + * @example + * // Get one Addons + * const addons = await prisma.addons.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Addons that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {addonsFindUniqueOrThrowArgs} args - Arguments to find a Addons + * @example + * // Get one Addons + * const addons = await prisma.addons.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Addons that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsFindFirstArgs} args - Arguments to find a Addons + * @example + * // Get one Addons + * const addons = await prisma.addons.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Addons that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsFindFirstOrThrowArgs} args - Arguments to find a Addons + * @example + * // Get one Addons + * const addons = await prisma.addons.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Addons that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Addons + * const addons = await prisma.addons.findMany() + * + * // Get first 10 Addons + * const addons = await prisma.addons.findMany({ take: 10 }) + * + * // Only select the `id` + * const addonsWithIdOnly = await prisma.addons.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Addons. + * @param {addonsCreateArgs} args - Arguments to create a Addons. + * @example + * // Create one Addons + * const Addons = await prisma.addons.create({ + * data: { + * // ... data to create a Addons + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Addons. + * @param {addonsCreateManyArgs} args - Arguments to create many Addons. + * @example + * // Create many Addons + * const addons = await prisma.addons.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Addons and returns the data saved in the database. + * @param {addonsCreateManyAndReturnArgs} args - Arguments to create many Addons. + * @example + * // Create many Addons + * const addons = await prisma.addons.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Addons and only return the `id` + * const addonsWithIdOnly = await prisma.addons.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Addons. + * @param {addonsDeleteArgs} args - Arguments to delete one Addons. + * @example + * // Delete one Addons + * const Addons = await prisma.addons.delete({ + * where: { + * // ... filter to delete one Addons + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Addons. + * @param {addonsUpdateArgs} args - Arguments to update one Addons. + * @example + * // Update one Addons + * const addons = await prisma.addons.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Addons. + * @param {addonsDeleteManyArgs} args - Arguments to filter Addons to delete. + * @example + * // Delete a few Addons + * const { count } = await prisma.addons.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Addons. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Addons + * const addons = await prisma.addons.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Addons and returns the data updated in the database. + * @param {addonsUpdateManyAndReturnArgs} args - Arguments to update many Addons. + * @example + * // Update many Addons + * const addons = await prisma.addons.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Addons and only return the `id` + * const addonsWithIdOnly = await prisma.addons.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Addons. + * @param {addonsUpsertArgs} args - Arguments to update or create a Addons. + * @example + * // Update or create a Addons + * const addons = await prisma.addons.upsert({ + * create: { + * // ... data to create a Addons + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Addons we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__addonsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Addons. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsCountArgs} args - Arguments to filter Addons to count. + * @example + * // Count the number of Addons + * const count = await prisma.addons.count({ + * where: { + * // ... the filter for the Addons we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Addons. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {AddonsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Addons. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {addonsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends addonsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: addonsGroupByArgs['orderBy'] } + : { orderBy?: addonsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAddonsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the addons model + */ +readonly fields: addonsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for addons. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__addonsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the addons model + */ +export interface addonsFieldRefs { + readonly id: Prisma.FieldRef<"addons", 'String'> + readonly name: Prisma.FieldRef<"addons", 'String'> + readonly description: Prisma.FieldRef<"addons", 'String'> + readonly type: Prisma.FieldRef<"addons", 'String'> + readonly icon: Prisma.FieldRef<"addons", 'String'> + readonly enabled: Prisma.FieldRef<"addons", 'Int'> + readonly config: Prisma.FieldRef<"addons", 'String'> + readonly sort_order: Prisma.FieldRef<"addons", 'Int'> +} + + +// Custom InputTypes +/** + * addons findUnique + */ +export type addonsFindUniqueArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter, which addons to fetch. + */ + where: Prisma.addonsWhereUniqueInput +} + +/** + * addons findUniqueOrThrow + */ +export type addonsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter, which addons to fetch. + */ + where: Prisma.addonsWhereUniqueInput +} + +/** + * addons findFirst + */ +export type addonsFindFirstArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter, which addons to fetch. + */ + where?: Prisma.addonsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of addons to fetch. + */ + orderBy?: Prisma.addonsOrderByWithRelationInput | Prisma.addonsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for addons. + */ + cursor?: Prisma.addonsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` addons from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` addons. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of addons. + */ + distinct?: Prisma.AddonsScalarFieldEnum | Prisma.AddonsScalarFieldEnum[] +} + +/** + * addons findFirstOrThrow + */ +export type addonsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter, which addons to fetch. + */ + where?: Prisma.addonsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of addons to fetch. + */ + orderBy?: Prisma.addonsOrderByWithRelationInput | Prisma.addonsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for addons. + */ + cursor?: Prisma.addonsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` addons from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` addons. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of addons. + */ + distinct?: Prisma.AddonsScalarFieldEnum | Prisma.AddonsScalarFieldEnum[] +} + +/** + * addons findMany + */ +export type addonsFindManyArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter, which addons to fetch. + */ + where?: Prisma.addonsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of addons to fetch. + */ + orderBy?: Prisma.addonsOrderByWithRelationInput | Prisma.addonsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing addons. + */ + cursor?: Prisma.addonsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` addons from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` addons. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of addons. + */ + distinct?: Prisma.AddonsScalarFieldEnum | Prisma.AddonsScalarFieldEnum[] +} + +/** + * addons create + */ +export type addonsCreateArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * The data needed to create a addons. + */ + data: Prisma.XOR +} + +/** + * addons createMany + */ +export type addonsCreateManyArgs = { + /** + * The data used to create many addons. + */ + data: Prisma.addonsCreateManyInput | Prisma.addonsCreateManyInput[] +} + +/** + * addons createManyAndReturn + */ +export type addonsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * The data used to create many addons. + */ + data: Prisma.addonsCreateManyInput | Prisma.addonsCreateManyInput[] +} + +/** + * addons update + */ +export type addonsUpdateArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * The data needed to update a addons. + */ + data: Prisma.XOR + /** + * Choose, which addons to update. + */ + where: Prisma.addonsWhereUniqueInput +} + +/** + * addons updateMany + */ +export type addonsUpdateManyArgs = { + /** + * The data used to update addons. + */ + data: Prisma.XOR + /** + * Filter which addons to update + */ + where?: Prisma.addonsWhereInput + /** + * Limit how many addons to update. + */ + limit?: number +} + +/** + * addons updateManyAndReturn + */ +export type addonsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * The data used to update addons. + */ + data: Prisma.XOR + /** + * Filter which addons to update + */ + where?: Prisma.addonsWhereInput + /** + * Limit how many addons to update. + */ + limit?: number +} + +/** + * addons upsert + */ +export type addonsUpsertArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * The filter to search for the addons to update in case it exists. + */ + where: Prisma.addonsWhereUniqueInput + /** + * In case the addons found by the `where` argument doesn't exist, create a new addons with this data. + */ + create: Prisma.XOR + /** + * In case the addons was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * addons delete + */ +export type addonsDeleteArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null + /** + * Filter which addons to delete. + */ + where: Prisma.addonsWhereUniqueInput +} + +/** + * addons deleteMany + */ +export type addonsDeleteManyArgs = { + /** + * Filter which addons to delete + */ + where?: Prisma.addonsWhereInput + /** + * Limit how many addons to delete. + */ + limit?: number +} + +/** + * addons without action + */ +export type addonsDefaultArgs = { + /** + * Select specific fields to fetch from the addons + */ + select?: Prisma.addonsSelect | null + /** + * Omit specific fields from the addons + */ + omit?: Prisma.addonsOmit | null +} diff --git a/server/src/generated/prisma/models/app_settings.ts b/server/src/generated/prisma/models/app_settings.ts new file mode 100644 index 00000000..5d4d1500 --- /dev/null +++ b/server/src/generated/prisma/models/app_settings.ts @@ -0,0 +1,1063 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `app_settings` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model app_settings + * + */ +export type app_settingsModel = runtime.Types.Result.DefaultSelection + +export type AggregateApp_settings = { + _count: App_settingsCountAggregateOutputType | null + _min: App_settingsMinAggregateOutputType | null + _max: App_settingsMaxAggregateOutputType | null +} + +export type App_settingsMinAggregateOutputType = { + key: string | null + value: string | null +} + +export type App_settingsMaxAggregateOutputType = { + key: string | null + value: string | null +} + +export type App_settingsCountAggregateOutputType = { + key: number + value: number + _all: number +} + + +export type App_settingsMinAggregateInputType = { + key?: true + value?: true +} + +export type App_settingsMaxAggregateInputType = { + key?: true + value?: true +} + +export type App_settingsCountAggregateInputType = { + key?: true + value?: true + _all?: true +} + +export type App_settingsAggregateArgs = { + /** + * Filter which app_settings to aggregate. + */ + where?: Prisma.app_settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of app_settings to fetch. + */ + orderBy?: Prisma.app_settingsOrderByWithRelationInput | Prisma.app_settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.app_settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` app_settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` app_settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned app_settings + **/ + _count?: true | App_settingsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: App_settingsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: App_settingsMaxAggregateInputType +} + +export type GetApp_settingsAggregateType = { + [P in keyof T & keyof AggregateApp_settings]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type app_settingsGroupByArgs = { + where?: Prisma.app_settingsWhereInput + orderBy?: Prisma.app_settingsOrderByWithAggregationInput | Prisma.app_settingsOrderByWithAggregationInput[] + by: Prisma.App_settingsScalarFieldEnum[] | Prisma.App_settingsScalarFieldEnum + having?: Prisma.app_settingsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: App_settingsCountAggregateInputType | true + _min?: App_settingsMinAggregateInputType + _max?: App_settingsMaxAggregateInputType +} + +export type App_settingsGroupByOutputType = { + key: string + value: string | null + _count: App_settingsCountAggregateOutputType | null + _min: App_settingsMinAggregateOutputType | null + _max: App_settingsMaxAggregateOutputType | null +} + +export type GetApp_settingsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof App_settingsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type app_settingsWhereInput = { + AND?: Prisma.app_settingsWhereInput | Prisma.app_settingsWhereInput[] + OR?: Prisma.app_settingsWhereInput[] + NOT?: Prisma.app_settingsWhereInput | Prisma.app_settingsWhereInput[] + key?: Prisma.StringFilter<"app_settings"> | string + value?: Prisma.StringNullableFilter<"app_settings"> | string | null +} + +export type app_settingsOrderByWithRelationInput = { + key?: Prisma.SortOrder + value?: Prisma.SortOrderInput | Prisma.SortOrder +} + +export type app_settingsWhereUniqueInput = Prisma.AtLeast<{ + key?: string + AND?: Prisma.app_settingsWhereInput | Prisma.app_settingsWhereInput[] + OR?: Prisma.app_settingsWhereInput[] + NOT?: Prisma.app_settingsWhereInput | Prisma.app_settingsWhereInput[] + value?: Prisma.StringNullableFilter<"app_settings"> | string | null +}, "key"> + +export type app_settingsOrderByWithAggregationInput = { + key?: Prisma.SortOrder + value?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.app_settingsCountOrderByAggregateInput + _max?: Prisma.app_settingsMaxOrderByAggregateInput + _min?: Prisma.app_settingsMinOrderByAggregateInput +} + +export type app_settingsScalarWhereWithAggregatesInput = { + AND?: Prisma.app_settingsScalarWhereWithAggregatesInput | Prisma.app_settingsScalarWhereWithAggregatesInput[] + OR?: Prisma.app_settingsScalarWhereWithAggregatesInput[] + NOT?: Prisma.app_settingsScalarWhereWithAggregatesInput | Prisma.app_settingsScalarWhereWithAggregatesInput[] + key?: Prisma.StringWithAggregatesFilter<"app_settings"> | string + value?: Prisma.StringNullableWithAggregatesFilter<"app_settings"> | string | null +} + +export type app_settingsCreateInput = { + key: string + value?: string | null +} + +export type app_settingsUncheckedCreateInput = { + key: string + value?: string | null +} + +export type app_settingsUpdateInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type app_settingsUncheckedUpdateInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type app_settingsCreateManyInput = { + key: string + value?: string | null +} + +export type app_settingsUpdateManyMutationInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type app_settingsUncheckedUpdateManyInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type app_settingsCountOrderByAggregateInput = { + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + +export type app_settingsMaxOrderByAggregateInput = { + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + +export type app_settingsMinOrderByAggregateInput = { + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + + + +export type app_settingsSelect = runtime.Types.Extensions.GetSelect<{ + key?: boolean + value?: boolean +}, ExtArgs["result"]["app_settings"]> + +export type app_settingsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + key?: boolean + value?: boolean +}, ExtArgs["result"]["app_settings"]> + +export type app_settingsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + key?: boolean + value?: boolean +}, ExtArgs["result"]["app_settings"]> + +export type app_settingsSelectScalar = { + key?: boolean + value?: boolean +} + +export type app_settingsOmit = runtime.Types.Extensions.GetOmit<"key" | "value", ExtArgs["result"]["app_settings"]> + +export type $app_settingsPayload = { + name: "app_settings" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + key: string + value: string | null + }, ExtArgs["result"]["app_settings"]> + composites: {} +} + +export type app_settingsGetPayload = runtime.Types.Result.GetResult + +export type app_settingsCountArgs = + Omit & { + select?: App_settingsCountAggregateInputType | true + } + +export interface app_settingsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['app_settings'], meta: { name: 'app_settings' } } + /** + * Find zero or one App_settings that matches the filter. + * @param {app_settingsFindUniqueArgs} args - Arguments to find a App_settings + * @example + * // Get one App_settings + * const app_settings = await prisma.app_settings.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one App_settings that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {app_settingsFindUniqueOrThrowArgs} args - Arguments to find a App_settings + * @example + * // Get one App_settings + * const app_settings = await prisma.app_settings.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first App_settings that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsFindFirstArgs} args - Arguments to find a App_settings + * @example + * // Get one App_settings + * const app_settings = await prisma.app_settings.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first App_settings that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsFindFirstOrThrowArgs} args - Arguments to find a App_settings + * @example + * // Get one App_settings + * const app_settings = await prisma.app_settings.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more App_settings that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all App_settings + * const app_settings = await prisma.app_settings.findMany() + * + * // Get first 10 App_settings + * const app_settings = await prisma.app_settings.findMany({ take: 10 }) + * + * // Only select the `key` + * const app_settingsWithKeyOnly = await prisma.app_settings.findMany({ select: { key: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a App_settings. + * @param {app_settingsCreateArgs} args - Arguments to create a App_settings. + * @example + * // Create one App_settings + * const App_settings = await prisma.app_settings.create({ + * data: { + * // ... data to create a App_settings + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many App_settings. + * @param {app_settingsCreateManyArgs} args - Arguments to create many App_settings. + * @example + * // Create many App_settings + * const app_settings = await prisma.app_settings.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many App_settings and returns the data saved in the database. + * @param {app_settingsCreateManyAndReturnArgs} args - Arguments to create many App_settings. + * @example + * // Create many App_settings + * const app_settings = await prisma.app_settings.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many App_settings and only return the `key` + * const app_settingsWithKeyOnly = await prisma.app_settings.createManyAndReturn({ + * select: { key: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a App_settings. + * @param {app_settingsDeleteArgs} args - Arguments to delete one App_settings. + * @example + * // Delete one App_settings + * const App_settings = await prisma.app_settings.delete({ + * where: { + * // ... filter to delete one App_settings + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one App_settings. + * @param {app_settingsUpdateArgs} args - Arguments to update one App_settings. + * @example + * // Update one App_settings + * const app_settings = await prisma.app_settings.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more App_settings. + * @param {app_settingsDeleteManyArgs} args - Arguments to filter App_settings to delete. + * @example + * // Delete a few App_settings + * const { count } = await prisma.app_settings.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more App_settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many App_settings + * const app_settings = await prisma.app_settings.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more App_settings and returns the data updated in the database. + * @param {app_settingsUpdateManyAndReturnArgs} args - Arguments to update many App_settings. + * @example + * // Update many App_settings + * const app_settings = await prisma.app_settings.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more App_settings and only return the `key` + * const app_settingsWithKeyOnly = await prisma.app_settings.updateManyAndReturn({ + * select: { key: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one App_settings. + * @param {app_settingsUpsertArgs} args - Arguments to update or create a App_settings. + * @example + * // Update or create a App_settings + * const app_settings = await prisma.app_settings.upsert({ + * create: { + * // ... data to create a App_settings + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the App_settings we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__app_settingsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of App_settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsCountArgs} args - Arguments to filter App_settings to count. + * @example + * // Count the number of App_settings + * const count = await prisma.app_settings.count({ + * where: { + * // ... the filter for the App_settings we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a App_settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {App_settingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by App_settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {app_settingsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends app_settingsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: app_settingsGroupByArgs['orderBy'] } + : { orderBy?: app_settingsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetApp_settingsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the app_settings model + */ +readonly fields: app_settingsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for app_settings. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__app_settingsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the app_settings model + */ +export interface app_settingsFieldRefs { + readonly key: Prisma.FieldRef<"app_settings", 'String'> + readonly value: Prisma.FieldRef<"app_settings", 'String'> +} + + +// Custom InputTypes +/** + * app_settings findUnique + */ +export type app_settingsFindUniqueArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter, which app_settings to fetch. + */ + where: Prisma.app_settingsWhereUniqueInput +} + +/** + * app_settings findUniqueOrThrow + */ +export type app_settingsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter, which app_settings to fetch. + */ + where: Prisma.app_settingsWhereUniqueInput +} + +/** + * app_settings findFirst + */ +export type app_settingsFindFirstArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter, which app_settings to fetch. + */ + where?: Prisma.app_settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of app_settings to fetch. + */ + orderBy?: Prisma.app_settingsOrderByWithRelationInput | Prisma.app_settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for app_settings. + */ + cursor?: Prisma.app_settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` app_settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` app_settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of app_settings. + */ + distinct?: Prisma.App_settingsScalarFieldEnum | Prisma.App_settingsScalarFieldEnum[] +} + +/** + * app_settings findFirstOrThrow + */ +export type app_settingsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter, which app_settings to fetch. + */ + where?: Prisma.app_settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of app_settings to fetch. + */ + orderBy?: Prisma.app_settingsOrderByWithRelationInput | Prisma.app_settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for app_settings. + */ + cursor?: Prisma.app_settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` app_settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` app_settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of app_settings. + */ + distinct?: Prisma.App_settingsScalarFieldEnum | Prisma.App_settingsScalarFieldEnum[] +} + +/** + * app_settings findMany + */ +export type app_settingsFindManyArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter, which app_settings to fetch. + */ + where?: Prisma.app_settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of app_settings to fetch. + */ + orderBy?: Prisma.app_settingsOrderByWithRelationInput | Prisma.app_settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing app_settings. + */ + cursor?: Prisma.app_settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` app_settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` app_settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of app_settings. + */ + distinct?: Prisma.App_settingsScalarFieldEnum | Prisma.App_settingsScalarFieldEnum[] +} + +/** + * app_settings create + */ +export type app_settingsCreateArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * The data needed to create a app_settings. + */ + data: Prisma.XOR +} + +/** + * app_settings createMany + */ +export type app_settingsCreateManyArgs = { + /** + * The data used to create many app_settings. + */ + data: Prisma.app_settingsCreateManyInput | Prisma.app_settingsCreateManyInput[] +} + +/** + * app_settings createManyAndReturn + */ +export type app_settingsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * The data used to create many app_settings. + */ + data: Prisma.app_settingsCreateManyInput | Prisma.app_settingsCreateManyInput[] +} + +/** + * app_settings update + */ +export type app_settingsUpdateArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * The data needed to update a app_settings. + */ + data: Prisma.XOR + /** + * Choose, which app_settings to update. + */ + where: Prisma.app_settingsWhereUniqueInput +} + +/** + * app_settings updateMany + */ +export type app_settingsUpdateManyArgs = { + /** + * The data used to update app_settings. + */ + data: Prisma.XOR + /** + * Filter which app_settings to update + */ + where?: Prisma.app_settingsWhereInput + /** + * Limit how many app_settings to update. + */ + limit?: number +} + +/** + * app_settings updateManyAndReturn + */ +export type app_settingsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * The data used to update app_settings. + */ + data: Prisma.XOR + /** + * Filter which app_settings to update + */ + where?: Prisma.app_settingsWhereInput + /** + * Limit how many app_settings to update. + */ + limit?: number +} + +/** + * app_settings upsert + */ +export type app_settingsUpsertArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * The filter to search for the app_settings to update in case it exists. + */ + where: Prisma.app_settingsWhereUniqueInput + /** + * In case the app_settings found by the `where` argument doesn't exist, create a new app_settings with this data. + */ + create: Prisma.XOR + /** + * In case the app_settings was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * app_settings delete + */ +export type app_settingsDeleteArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null + /** + * Filter which app_settings to delete. + */ + where: Prisma.app_settingsWhereUniqueInput +} + +/** + * app_settings deleteMany + */ +export type app_settingsDeleteManyArgs = { + /** + * Filter which app_settings to delete + */ + where?: Prisma.app_settingsWhereInput + /** + * Limit how many app_settings to delete. + */ + limit?: number +} + +/** + * app_settings without action + */ +export type app_settingsDefaultArgs = { + /** + * Select specific fields to fetch from the app_settings + */ + select?: Prisma.app_settingsSelect | null + /** + * Omit specific fields from the app_settings + */ + omit?: Prisma.app_settingsOmit | null +} diff --git a/server/src/generated/prisma/models/assignment_participants.ts b/server/src/generated/prisma/models/assignment_participants.ts new file mode 100644 index 00000000..451d527c --- /dev/null +++ b/server/src/generated/prisma/models/assignment_participants.ts @@ -0,0 +1,1443 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `assignment_participants` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model assignment_participants + * + */ +export type assignment_participantsModel = runtime.Types.Result.DefaultSelection + +export type AggregateAssignment_participants = { + _count: Assignment_participantsCountAggregateOutputType | null + _avg: Assignment_participantsAvgAggregateOutputType | null + _sum: Assignment_participantsSumAggregateOutputType | null + _min: Assignment_participantsMinAggregateOutputType | null + _max: Assignment_participantsMaxAggregateOutputType | null +} + +export type Assignment_participantsAvgAggregateOutputType = { + id: number | null + assignment_id: number | null + user_id: number | null +} + +export type Assignment_participantsSumAggregateOutputType = { + id: number | null + assignment_id: number | null + user_id: number | null +} + +export type Assignment_participantsMinAggregateOutputType = { + id: number | null + assignment_id: number | null + user_id: number | null +} + +export type Assignment_participantsMaxAggregateOutputType = { + id: number | null + assignment_id: number | null + user_id: number | null +} + +export type Assignment_participantsCountAggregateOutputType = { + id: number + assignment_id: number + user_id: number + _all: number +} + + +export type Assignment_participantsAvgAggregateInputType = { + id?: true + assignment_id?: true + user_id?: true +} + +export type Assignment_participantsSumAggregateInputType = { + id?: true + assignment_id?: true + user_id?: true +} + +export type Assignment_participantsMinAggregateInputType = { + id?: true + assignment_id?: true + user_id?: true +} + +export type Assignment_participantsMaxAggregateInputType = { + id?: true + assignment_id?: true + user_id?: true +} + +export type Assignment_participantsCountAggregateInputType = { + id?: true + assignment_id?: true + user_id?: true + _all?: true +} + +export type Assignment_participantsAggregateArgs = { + /** + * Filter which assignment_participants to aggregate. + */ + where?: Prisma.assignment_participantsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of assignment_participants to fetch. + */ + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.assignment_participantsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` assignment_participants from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` assignment_participants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned assignment_participants + **/ + _count?: true | Assignment_participantsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Assignment_participantsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Assignment_participantsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Assignment_participantsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Assignment_participantsMaxAggregateInputType +} + +export type GetAssignment_participantsAggregateType = { + [P in keyof T & keyof AggregateAssignment_participants]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type assignment_participantsGroupByArgs = { + where?: Prisma.assignment_participantsWhereInput + orderBy?: Prisma.assignment_participantsOrderByWithAggregationInput | Prisma.assignment_participantsOrderByWithAggregationInput[] + by: Prisma.Assignment_participantsScalarFieldEnum[] | Prisma.Assignment_participantsScalarFieldEnum + having?: Prisma.assignment_participantsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Assignment_participantsCountAggregateInputType | true + _avg?: Assignment_participantsAvgAggregateInputType + _sum?: Assignment_participantsSumAggregateInputType + _min?: Assignment_participantsMinAggregateInputType + _max?: Assignment_participantsMaxAggregateInputType +} + +export type Assignment_participantsGroupByOutputType = { + id: number + assignment_id: number + user_id: number + _count: Assignment_participantsCountAggregateOutputType | null + _avg: Assignment_participantsAvgAggregateOutputType | null + _sum: Assignment_participantsSumAggregateOutputType | null + _min: Assignment_participantsMinAggregateOutputType | null + _max: Assignment_participantsMaxAggregateOutputType | null +} + +export type GetAssignment_participantsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Assignment_participantsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type assignment_participantsWhereInput = { + AND?: Prisma.assignment_participantsWhereInput | Prisma.assignment_participantsWhereInput[] + OR?: Prisma.assignment_participantsWhereInput[] + NOT?: Prisma.assignment_participantsWhereInput | Prisma.assignment_participantsWhereInput[] + id?: Prisma.IntFilter<"assignment_participants"> | number + assignment_id?: Prisma.IntFilter<"assignment_participants"> | number + user_id?: Prisma.IntFilter<"assignment_participants"> | number + users?: Prisma.XOR + day_assignments?: Prisma.XOR +} + +export type assignment_participantsOrderByWithRelationInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + day_assignments?: Prisma.day_assignmentsOrderByWithRelationInput +} + +export type assignment_participantsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + assignment_id_user_id?: Prisma.assignment_participantsAssignment_idUser_idCompoundUniqueInput + AND?: Prisma.assignment_participantsWhereInput | Prisma.assignment_participantsWhereInput[] + OR?: Prisma.assignment_participantsWhereInput[] + NOT?: Prisma.assignment_participantsWhereInput | Prisma.assignment_participantsWhereInput[] + assignment_id?: Prisma.IntFilter<"assignment_participants"> | number + user_id?: Prisma.IntFilter<"assignment_participants"> | number + users?: Prisma.XOR + day_assignments?: Prisma.XOR +}, "id" | "assignment_id_user_id"> + +export type assignment_participantsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + _count?: Prisma.assignment_participantsCountOrderByAggregateInput + _avg?: Prisma.assignment_participantsAvgOrderByAggregateInput + _max?: Prisma.assignment_participantsMaxOrderByAggregateInput + _min?: Prisma.assignment_participantsMinOrderByAggregateInput + _sum?: Prisma.assignment_participantsSumOrderByAggregateInput +} + +export type assignment_participantsScalarWhereWithAggregatesInput = { + AND?: Prisma.assignment_participantsScalarWhereWithAggregatesInput | Prisma.assignment_participantsScalarWhereWithAggregatesInput[] + OR?: Prisma.assignment_participantsScalarWhereWithAggregatesInput[] + NOT?: Prisma.assignment_participantsScalarWhereWithAggregatesInput | Prisma.assignment_participantsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"assignment_participants"> | number + assignment_id?: Prisma.IntWithAggregatesFilter<"assignment_participants"> | number + user_id?: Prisma.IntWithAggregatesFilter<"assignment_participants"> | number +} + +export type assignment_participantsCreateInput = { + users: Prisma.usersCreateNestedOneWithoutAssignment_participantsInput + day_assignments: Prisma.day_assignmentsCreateNestedOneWithoutAssignment_participantsInput +} + +export type assignment_participantsUncheckedCreateInput = { + id?: number + assignment_id: number + user_id: number +} + +export type assignment_participantsUpdateInput = { + users?: Prisma.usersUpdateOneRequiredWithoutAssignment_participantsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneRequiredWithoutAssignment_participantsNestedInput +} + +export type assignment_participantsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type assignment_participantsCreateManyInput = { + id?: number + assignment_id: number + user_id: number +} + +export type assignment_participantsUpdateManyMutationInput = { + +} + +export type assignment_participantsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type assignment_participantsAssignment_idUser_idCompoundUniqueInput = { + assignment_id: number + user_id: number +} + +export type assignment_participantsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type assignment_participantsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type assignment_participantsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type assignment_participantsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type assignment_participantsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Assignment_participantsListRelationFilter = { + every?: Prisma.assignment_participantsWhereInput + some?: Prisma.assignment_participantsWhereInput + none?: Prisma.assignment_participantsWhereInput +} + +export type assignment_participantsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type IntFieldUpdateOperationsInput = { + set?: number + increment?: number + decrement?: number + multiply?: number + divide?: number +} + +export type assignment_participantsCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutDay_assignmentsInput[] | Prisma.assignment_participantsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput | Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.assignment_participantsCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] +} + +export type assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutDay_assignmentsInput[] | Prisma.assignment_participantsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput | Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.assignment_participantsCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] +} + +export type assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutDay_assignmentsInput[] | Prisma.assignment_participantsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput | Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.assignment_participantsUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.assignment_participantsUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.assignment_participantsCreateManyDay_assignmentsInputEnvelope + set?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + disconnect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + delete?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + update?: Prisma.assignment_participantsUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.assignment_participantsUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.assignment_participantsUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.assignment_participantsUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] +} + +export type assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutDay_assignmentsInput[] | Prisma.assignment_participantsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput | Prisma.assignment_participantsCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.assignment_participantsUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.assignment_participantsUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.assignment_participantsCreateManyDay_assignmentsInputEnvelope + set?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + disconnect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + delete?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + update?: Prisma.assignment_participantsUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.assignment_participantsUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.assignment_participantsUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.assignment_participantsUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] +} + +export type assignment_participantsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutUsersInput[] | Prisma.assignment_participantsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutUsersInput | Prisma.assignment_participantsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.assignment_participantsCreateManyUsersInputEnvelope + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] +} + +export type assignment_participantsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutUsersInput[] | Prisma.assignment_participantsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutUsersInput | Prisma.assignment_participantsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.assignment_participantsCreateManyUsersInputEnvelope + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] +} + +export type assignment_participantsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutUsersInput[] | Prisma.assignment_participantsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutUsersInput | Prisma.assignment_participantsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.assignment_participantsUpsertWithWhereUniqueWithoutUsersInput | Prisma.assignment_participantsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.assignment_participantsCreateManyUsersInputEnvelope + set?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + disconnect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + delete?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + update?: Prisma.assignment_participantsUpdateWithWhereUniqueWithoutUsersInput | Prisma.assignment_participantsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.assignment_participantsUpdateManyWithWhereWithoutUsersInput | Prisma.assignment_participantsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] +} + +export type assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.assignment_participantsCreateWithoutUsersInput[] | Prisma.assignment_participantsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.assignment_participantsCreateOrConnectWithoutUsersInput | Prisma.assignment_participantsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.assignment_participantsUpsertWithWhereUniqueWithoutUsersInput | Prisma.assignment_participantsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.assignment_participantsCreateManyUsersInputEnvelope + set?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + disconnect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + delete?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + connect?: Prisma.assignment_participantsWhereUniqueInput | Prisma.assignment_participantsWhereUniqueInput[] + update?: Prisma.assignment_participantsUpdateWithWhereUniqueWithoutUsersInput | Prisma.assignment_participantsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.assignment_participantsUpdateManyWithWhereWithoutUsersInput | Prisma.assignment_participantsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] +} + +export type assignment_participantsCreateWithoutDay_assignmentsInput = { + users: Prisma.usersCreateNestedOneWithoutAssignment_participantsInput +} + +export type assignment_participantsUncheckedCreateWithoutDay_assignmentsInput = { + id?: number + user_id: number +} + +export type assignment_participantsCreateOrConnectWithoutDay_assignmentsInput = { + where: Prisma.assignment_participantsWhereUniqueInput + create: Prisma.XOR +} + +export type assignment_participantsCreateManyDay_assignmentsInputEnvelope = { + data: Prisma.assignment_participantsCreateManyDay_assignmentsInput | Prisma.assignment_participantsCreateManyDay_assignmentsInput[] +} + +export type assignment_participantsUpsertWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.assignment_participantsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type assignment_participantsUpdateWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.assignment_participantsWhereUniqueInput + data: Prisma.XOR +} + +export type assignment_participantsUpdateManyWithWhereWithoutDay_assignmentsInput = { + where: Prisma.assignment_participantsScalarWhereInput + data: Prisma.XOR +} + +export type assignment_participantsScalarWhereInput = { + AND?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] + OR?: Prisma.assignment_participantsScalarWhereInput[] + NOT?: Prisma.assignment_participantsScalarWhereInput | Prisma.assignment_participantsScalarWhereInput[] + id?: Prisma.IntFilter<"assignment_participants"> | number + assignment_id?: Prisma.IntFilter<"assignment_participants"> | number + user_id?: Prisma.IntFilter<"assignment_participants"> | number +} + +export type assignment_participantsCreateWithoutUsersInput = { + day_assignments: Prisma.day_assignmentsCreateNestedOneWithoutAssignment_participantsInput +} + +export type assignment_participantsUncheckedCreateWithoutUsersInput = { + id?: number + assignment_id: number +} + +export type assignment_participantsCreateOrConnectWithoutUsersInput = { + where: Prisma.assignment_participantsWhereUniqueInput + create: Prisma.XOR +} + +export type assignment_participantsCreateManyUsersInputEnvelope = { + data: Prisma.assignment_participantsCreateManyUsersInput | Prisma.assignment_participantsCreateManyUsersInput[] +} + +export type assignment_participantsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.assignment_participantsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type assignment_participantsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.assignment_participantsWhereUniqueInput + data: Prisma.XOR +} + +export type assignment_participantsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.assignment_participantsScalarWhereInput + data: Prisma.XOR +} + +export type assignment_participantsCreateManyDay_assignmentsInput = { + id?: number + user_id: number +} + +export type assignment_participantsUpdateWithoutDay_assignmentsInput = { + users?: Prisma.usersUpdateOneRequiredWithoutAssignment_participantsNestedInput +} + +export type assignment_participantsUncheckedUpdateWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type assignment_participantsCreateManyUsersInput = { + id?: number + assignment_id: number +} + +export type assignment_participantsUpdateWithoutUsersInput = { + day_assignments?: Prisma.day_assignmentsUpdateOneRequiredWithoutAssignment_participantsNestedInput +} + +export type assignment_participantsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type assignment_participantsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type assignment_participantsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + assignment_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +}, ExtArgs["result"]["assignment_participants"]> + +export type assignment_participantsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + assignment_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +}, ExtArgs["result"]["assignment_participants"]> + +export type assignment_participantsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + assignment_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +}, ExtArgs["result"]["assignment_participants"]> + +export type assignment_participantsSelectScalar = { + id?: boolean + assignment_id?: boolean + user_id?: boolean +} + +export type assignment_participantsOmit = runtime.Types.Extensions.GetOmit<"id" | "assignment_id" | "user_id", ExtArgs["result"]["assignment_participants"]> +export type assignment_participantsInclude = { + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +} +export type assignment_participantsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +} +export type assignment_participantsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + day_assignments?: boolean | Prisma.day_assignmentsDefaultArgs +} + +export type $assignment_participantsPayload = { + name: "assignment_participants" + objects: { + users: Prisma.$usersPayload + day_assignments: Prisma.$day_assignmentsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + assignment_id: number + user_id: number + }, ExtArgs["result"]["assignment_participants"]> + composites: {} +} + +export type assignment_participantsGetPayload = runtime.Types.Result.GetResult + +export type assignment_participantsCountArgs = + Omit & { + select?: Assignment_participantsCountAggregateInputType | true + } + +export interface assignment_participantsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['assignment_participants'], meta: { name: 'assignment_participants' } } + /** + * Find zero or one Assignment_participants that matches the filter. + * @param {assignment_participantsFindUniqueArgs} args - Arguments to find a Assignment_participants + * @example + * // Get one Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Assignment_participants that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {assignment_participantsFindUniqueOrThrowArgs} args - Arguments to find a Assignment_participants + * @example + * // Get one Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Assignment_participants that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsFindFirstArgs} args - Arguments to find a Assignment_participants + * @example + * // Get one Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Assignment_participants that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsFindFirstOrThrowArgs} args - Arguments to find a Assignment_participants + * @example + * // Get one Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Assignment_participants that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findMany() + * + * // Get first 10 Assignment_participants + * const assignment_participants = await prisma.assignment_participants.findMany({ take: 10 }) + * + * // Only select the `id` + * const assignment_participantsWithIdOnly = await prisma.assignment_participants.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Assignment_participants. + * @param {assignment_participantsCreateArgs} args - Arguments to create a Assignment_participants. + * @example + * // Create one Assignment_participants + * const Assignment_participants = await prisma.assignment_participants.create({ + * data: { + * // ... data to create a Assignment_participants + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Assignment_participants. + * @param {assignment_participantsCreateManyArgs} args - Arguments to create many Assignment_participants. + * @example + * // Create many Assignment_participants + * const assignment_participants = await prisma.assignment_participants.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Assignment_participants and returns the data saved in the database. + * @param {assignment_participantsCreateManyAndReturnArgs} args - Arguments to create many Assignment_participants. + * @example + * // Create many Assignment_participants + * const assignment_participants = await prisma.assignment_participants.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Assignment_participants and only return the `id` + * const assignment_participantsWithIdOnly = await prisma.assignment_participants.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Assignment_participants. + * @param {assignment_participantsDeleteArgs} args - Arguments to delete one Assignment_participants. + * @example + * // Delete one Assignment_participants + * const Assignment_participants = await prisma.assignment_participants.delete({ + * where: { + * // ... filter to delete one Assignment_participants + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Assignment_participants. + * @param {assignment_participantsUpdateArgs} args - Arguments to update one Assignment_participants. + * @example + * // Update one Assignment_participants + * const assignment_participants = await prisma.assignment_participants.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Assignment_participants. + * @param {assignment_participantsDeleteManyArgs} args - Arguments to filter Assignment_participants to delete. + * @example + * // Delete a few Assignment_participants + * const { count } = await prisma.assignment_participants.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Assignment_participants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Assignment_participants + * const assignment_participants = await prisma.assignment_participants.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Assignment_participants and returns the data updated in the database. + * @param {assignment_participantsUpdateManyAndReturnArgs} args - Arguments to update many Assignment_participants. + * @example + * // Update many Assignment_participants + * const assignment_participants = await prisma.assignment_participants.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Assignment_participants and only return the `id` + * const assignment_participantsWithIdOnly = await prisma.assignment_participants.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Assignment_participants. + * @param {assignment_participantsUpsertArgs} args - Arguments to update or create a Assignment_participants. + * @example + * // Update or create a Assignment_participants + * const assignment_participants = await prisma.assignment_participants.upsert({ + * create: { + * // ... data to create a Assignment_participants + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Assignment_participants we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__assignment_participantsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Assignment_participants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsCountArgs} args - Arguments to filter Assignment_participants to count. + * @example + * // Count the number of Assignment_participants + * const count = await prisma.assignment_participants.count({ + * where: { + * // ... the filter for the Assignment_participants we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Assignment_participants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Assignment_participantsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Assignment_participants. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {assignment_participantsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends assignment_participantsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: assignment_participantsGroupByArgs['orderBy'] } + : { orderBy?: assignment_participantsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssignment_participantsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the assignment_participants model + */ +readonly fields: assignment_participantsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for assignment_participants. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__assignment_participantsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + day_assignments = {}>(args?: Prisma.Subset>): Prisma.Prisma__day_assignmentsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the assignment_participants model + */ +export interface assignment_participantsFieldRefs { + readonly id: Prisma.FieldRef<"assignment_participants", 'Int'> + readonly assignment_id: Prisma.FieldRef<"assignment_participants", 'Int'> + readonly user_id: Prisma.FieldRef<"assignment_participants", 'Int'> +} + + +// Custom InputTypes +/** + * assignment_participants findUnique + */ +export type assignment_participantsFindUniqueArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter, which assignment_participants to fetch. + */ + where: Prisma.assignment_participantsWhereUniqueInput +} + +/** + * assignment_participants findUniqueOrThrow + */ +export type assignment_participantsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter, which assignment_participants to fetch. + */ + where: Prisma.assignment_participantsWhereUniqueInput +} + +/** + * assignment_participants findFirst + */ +export type assignment_participantsFindFirstArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter, which assignment_participants to fetch. + */ + where?: Prisma.assignment_participantsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of assignment_participants to fetch. + */ + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for assignment_participants. + */ + cursor?: Prisma.assignment_participantsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` assignment_participants from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` assignment_participants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of assignment_participants. + */ + distinct?: Prisma.Assignment_participantsScalarFieldEnum | Prisma.Assignment_participantsScalarFieldEnum[] +} + +/** + * assignment_participants findFirstOrThrow + */ +export type assignment_participantsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter, which assignment_participants to fetch. + */ + where?: Prisma.assignment_participantsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of assignment_participants to fetch. + */ + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for assignment_participants. + */ + cursor?: Prisma.assignment_participantsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` assignment_participants from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` assignment_participants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of assignment_participants. + */ + distinct?: Prisma.Assignment_participantsScalarFieldEnum | Prisma.Assignment_participantsScalarFieldEnum[] +} + +/** + * assignment_participants findMany + */ +export type assignment_participantsFindManyArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter, which assignment_participants to fetch. + */ + where?: Prisma.assignment_participantsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of assignment_participants to fetch. + */ + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing assignment_participants. + */ + cursor?: Prisma.assignment_participantsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` assignment_participants from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` assignment_participants. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of assignment_participants. + */ + distinct?: Prisma.Assignment_participantsScalarFieldEnum | Prisma.Assignment_participantsScalarFieldEnum[] +} + +/** + * assignment_participants create + */ +export type assignment_participantsCreateArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * The data needed to create a assignment_participants. + */ + data: Prisma.XOR +} + +/** + * assignment_participants createMany + */ +export type assignment_participantsCreateManyArgs = { + /** + * The data used to create many assignment_participants. + */ + data: Prisma.assignment_participantsCreateManyInput | Prisma.assignment_participantsCreateManyInput[] +} + +/** + * assignment_participants createManyAndReturn + */ +export type assignment_participantsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * The data used to create many assignment_participants. + */ + data: Prisma.assignment_participantsCreateManyInput | Prisma.assignment_participantsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsIncludeCreateManyAndReturn | null +} + +/** + * assignment_participants update + */ +export type assignment_participantsUpdateArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * The data needed to update a assignment_participants. + */ + data: Prisma.XOR + /** + * Choose, which assignment_participants to update. + */ + where: Prisma.assignment_participantsWhereUniqueInput +} + +/** + * assignment_participants updateMany + */ +export type assignment_participantsUpdateManyArgs = { + /** + * The data used to update assignment_participants. + */ + data: Prisma.XOR + /** + * Filter which assignment_participants to update + */ + where?: Prisma.assignment_participantsWhereInput + /** + * Limit how many assignment_participants to update. + */ + limit?: number +} + +/** + * assignment_participants updateManyAndReturn + */ +export type assignment_participantsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * The data used to update assignment_participants. + */ + data: Prisma.XOR + /** + * Filter which assignment_participants to update + */ + where?: Prisma.assignment_participantsWhereInput + /** + * Limit how many assignment_participants to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsIncludeUpdateManyAndReturn | null +} + +/** + * assignment_participants upsert + */ +export type assignment_participantsUpsertArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * The filter to search for the assignment_participants to update in case it exists. + */ + where: Prisma.assignment_participantsWhereUniqueInput + /** + * In case the assignment_participants found by the `where` argument doesn't exist, create a new assignment_participants with this data. + */ + create: Prisma.XOR + /** + * In case the assignment_participants was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * assignment_participants delete + */ +export type assignment_participantsDeleteArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + /** + * Filter which assignment_participants to delete. + */ + where: Prisma.assignment_participantsWhereUniqueInput +} + +/** + * assignment_participants deleteMany + */ +export type assignment_participantsDeleteManyArgs = { + /** + * Filter which assignment_participants to delete + */ + where?: Prisma.assignment_participantsWhereInput + /** + * Limit how many assignment_participants to delete. + */ + limit?: number +} + +/** + * assignment_participants without action + */ +export type assignment_participantsDefaultArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null +} diff --git a/server/src/generated/prisma/models/audit_log.ts b/server/src/generated/prisma/models/audit_log.ts new file mode 100644 index 00000000..04b29a09 --- /dev/null +++ b/server/src/generated/prisma/models/audit_log.ts @@ -0,0 +1,1480 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `audit_log` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model audit_log + * + */ +export type audit_logModel = runtime.Types.Result.DefaultSelection + +export type AggregateAudit_log = { + _count: Audit_logCountAggregateOutputType | null + _avg: Audit_logAvgAggregateOutputType | null + _sum: Audit_logSumAggregateOutputType | null + _min: Audit_logMinAggregateOutputType | null + _max: Audit_logMaxAggregateOutputType | null +} + +export type Audit_logAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Audit_logSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Audit_logMinAggregateOutputType = { + id: number | null + created_at: Date | null + user_id: number | null + action: string | null + resource: string | null + details: string | null + ip: string | null +} + +export type Audit_logMaxAggregateOutputType = { + id: number | null + created_at: Date | null + user_id: number | null + action: string | null + resource: string | null + details: string | null + ip: string | null +} + +export type Audit_logCountAggregateOutputType = { + id: number + created_at: number + user_id: number + action: number + resource: number + details: number + ip: number + _all: number +} + + +export type Audit_logAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Audit_logSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Audit_logMinAggregateInputType = { + id?: true + created_at?: true + user_id?: true + action?: true + resource?: true + details?: true + ip?: true +} + +export type Audit_logMaxAggregateInputType = { + id?: true + created_at?: true + user_id?: true + action?: true + resource?: true + details?: true + ip?: true +} + +export type Audit_logCountAggregateInputType = { + id?: true + created_at?: true + user_id?: true + action?: true + resource?: true + details?: true + ip?: true + _all?: true +} + +export type Audit_logAggregateArgs = { + /** + * Filter which audit_log to aggregate. + */ + where?: Prisma.audit_logWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of audit_logs to fetch. + */ + orderBy?: Prisma.audit_logOrderByWithRelationInput | Prisma.audit_logOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.audit_logWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` audit_logs from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` audit_logs. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned audit_logs + **/ + _count?: true | Audit_logCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Audit_logAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Audit_logSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Audit_logMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Audit_logMaxAggregateInputType +} + +export type GetAudit_logAggregateType = { + [P in keyof T & keyof AggregateAudit_log]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type audit_logGroupByArgs = { + where?: Prisma.audit_logWhereInput + orderBy?: Prisma.audit_logOrderByWithAggregationInput | Prisma.audit_logOrderByWithAggregationInput[] + by: Prisma.Audit_logScalarFieldEnum[] | Prisma.Audit_logScalarFieldEnum + having?: Prisma.audit_logScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Audit_logCountAggregateInputType | true + _avg?: Audit_logAvgAggregateInputType + _sum?: Audit_logSumAggregateInputType + _min?: Audit_logMinAggregateInputType + _max?: Audit_logMaxAggregateInputType +} + +export type Audit_logGroupByOutputType = { + id: number + created_at: Date | null + user_id: number | null + action: string + resource: string | null + details: string | null + ip: string | null + _count: Audit_logCountAggregateOutputType | null + _avg: Audit_logAvgAggregateOutputType | null + _sum: Audit_logSumAggregateOutputType | null + _min: Audit_logMinAggregateOutputType | null + _max: Audit_logMaxAggregateOutputType | null +} + +export type GetAudit_logGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Audit_logGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type audit_logWhereInput = { + AND?: Prisma.audit_logWhereInput | Prisma.audit_logWhereInput[] + OR?: Prisma.audit_logWhereInput[] + NOT?: Prisma.audit_logWhereInput | Prisma.audit_logWhereInput[] + id?: Prisma.IntFilter<"audit_log"> | number + created_at?: Prisma.DateTimeNullableFilter<"audit_log"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"audit_log"> | number | null + action?: Prisma.StringFilter<"audit_log"> | string + resource?: Prisma.StringNullableFilter<"audit_log"> | string | null + details?: Prisma.StringNullableFilter<"audit_log"> | string | null + ip?: Prisma.StringNullableFilter<"audit_log"> | string | null + users?: Prisma.XOR | null +} + +export type audit_logOrderByWithRelationInput = { + id?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + action?: Prisma.SortOrder + resource?: Prisma.SortOrderInput | Prisma.SortOrder + details?: Prisma.SortOrderInput | Prisma.SortOrder + ip?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type audit_logWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.audit_logWhereInput | Prisma.audit_logWhereInput[] + OR?: Prisma.audit_logWhereInput[] + NOT?: Prisma.audit_logWhereInput | Prisma.audit_logWhereInput[] + created_at?: Prisma.DateTimeNullableFilter<"audit_log"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"audit_log"> | number | null + action?: Prisma.StringFilter<"audit_log"> | string + resource?: Prisma.StringNullableFilter<"audit_log"> | string | null + details?: Prisma.StringNullableFilter<"audit_log"> | string | null + ip?: Prisma.StringNullableFilter<"audit_log"> | string | null + users?: Prisma.XOR | null +}, "id"> + +export type audit_logOrderByWithAggregationInput = { + id?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + action?: Prisma.SortOrder + resource?: Prisma.SortOrderInput | Prisma.SortOrder + details?: Prisma.SortOrderInput | Prisma.SortOrder + ip?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.audit_logCountOrderByAggregateInput + _avg?: Prisma.audit_logAvgOrderByAggregateInput + _max?: Prisma.audit_logMaxOrderByAggregateInput + _min?: Prisma.audit_logMinOrderByAggregateInput + _sum?: Prisma.audit_logSumOrderByAggregateInput +} + +export type audit_logScalarWhereWithAggregatesInput = { + AND?: Prisma.audit_logScalarWhereWithAggregatesInput | Prisma.audit_logScalarWhereWithAggregatesInput[] + OR?: Prisma.audit_logScalarWhereWithAggregatesInput[] + NOT?: Prisma.audit_logScalarWhereWithAggregatesInput | Prisma.audit_logScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"audit_log"> | number + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"audit_log"> | Date | string | null + user_id?: Prisma.IntNullableWithAggregatesFilter<"audit_log"> | number | null + action?: Prisma.StringWithAggregatesFilter<"audit_log"> | string + resource?: Prisma.StringNullableWithAggregatesFilter<"audit_log"> | string | null + details?: Prisma.StringNullableWithAggregatesFilter<"audit_log"> | string | null + ip?: Prisma.StringNullableWithAggregatesFilter<"audit_log"> | string | null +} + +export type audit_logCreateInput = { + created_at?: Date | string | null + action: string + resource?: string | null + details?: string | null + ip?: string | null + users?: Prisma.usersCreateNestedOneWithoutAudit_logInput +} + +export type audit_logUncheckedCreateInput = { + id?: number + created_at?: Date | string | null + user_id?: number | null + action: string + resource?: string | null + details?: string | null + ip?: string | null +} + +export type audit_logUpdateInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneWithoutAudit_logNestedInput +} + +export type audit_logUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type audit_logCreateManyInput = { + id?: number + created_at?: Date | string | null + user_id?: number | null + action: string + resource?: string | null + details?: string | null + ip?: string | null +} + +export type audit_logUpdateManyMutationInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type audit_logUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type audit_logCountOrderByAggregateInput = { + id?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder + action?: Prisma.SortOrder + resource?: Prisma.SortOrder + details?: Prisma.SortOrder + ip?: Prisma.SortOrder +} + +export type audit_logAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type audit_logMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder + action?: Prisma.SortOrder + resource?: Prisma.SortOrder + details?: Prisma.SortOrder + ip?: Prisma.SortOrder +} + +export type audit_logMinOrderByAggregateInput = { + id?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder + action?: Prisma.SortOrder + resource?: Prisma.SortOrder + details?: Prisma.SortOrder + ip?: Prisma.SortOrder +} + +export type audit_logSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Audit_logListRelationFilter = { + every?: Prisma.audit_logWhereInput + some?: Prisma.audit_logWhereInput + none?: Prisma.audit_logWhereInput +} + +export type audit_logOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type NullableDateTimeFieldUpdateOperationsInput = { + set?: Date | string | null +} + +export type audit_logCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.audit_logCreateWithoutUsersInput[] | Prisma.audit_logUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.audit_logCreateOrConnectWithoutUsersInput | Prisma.audit_logCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.audit_logCreateManyUsersInputEnvelope + connect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] +} + +export type audit_logUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.audit_logCreateWithoutUsersInput[] | Prisma.audit_logUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.audit_logCreateOrConnectWithoutUsersInput | Prisma.audit_logCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.audit_logCreateManyUsersInputEnvelope + connect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] +} + +export type audit_logUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.audit_logCreateWithoutUsersInput[] | Prisma.audit_logUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.audit_logCreateOrConnectWithoutUsersInput | Prisma.audit_logCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.audit_logUpsertWithWhereUniqueWithoutUsersInput | Prisma.audit_logUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.audit_logCreateManyUsersInputEnvelope + set?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + disconnect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + delete?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + connect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + update?: Prisma.audit_logUpdateWithWhereUniqueWithoutUsersInput | Prisma.audit_logUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.audit_logUpdateManyWithWhereWithoutUsersInput | Prisma.audit_logUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.audit_logScalarWhereInput | Prisma.audit_logScalarWhereInput[] +} + +export type audit_logUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.audit_logCreateWithoutUsersInput[] | Prisma.audit_logUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.audit_logCreateOrConnectWithoutUsersInput | Prisma.audit_logCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.audit_logUpsertWithWhereUniqueWithoutUsersInput | Prisma.audit_logUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.audit_logCreateManyUsersInputEnvelope + set?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + disconnect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + delete?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + connect?: Prisma.audit_logWhereUniqueInput | Prisma.audit_logWhereUniqueInput[] + update?: Prisma.audit_logUpdateWithWhereUniqueWithoutUsersInput | Prisma.audit_logUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.audit_logUpdateManyWithWhereWithoutUsersInput | Prisma.audit_logUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.audit_logScalarWhereInput | Prisma.audit_logScalarWhereInput[] +} + +export type audit_logCreateWithoutUsersInput = { + created_at?: Date | string | null + action: string + resource?: string | null + details?: string | null + ip?: string | null +} + +export type audit_logUncheckedCreateWithoutUsersInput = { + id?: number + created_at?: Date | string | null + action: string + resource?: string | null + details?: string | null + ip?: string | null +} + +export type audit_logCreateOrConnectWithoutUsersInput = { + where: Prisma.audit_logWhereUniqueInput + create: Prisma.XOR +} + +export type audit_logCreateManyUsersInputEnvelope = { + data: Prisma.audit_logCreateManyUsersInput | Prisma.audit_logCreateManyUsersInput[] +} + +export type audit_logUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.audit_logWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type audit_logUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.audit_logWhereUniqueInput + data: Prisma.XOR +} + +export type audit_logUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.audit_logScalarWhereInput + data: Prisma.XOR +} + +export type audit_logScalarWhereInput = { + AND?: Prisma.audit_logScalarWhereInput | Prisma.audit_logScalarWhereInput[] + OR?: Prisma.audit_logScalarWhereInput[] + NOT?: Prisma.audit_logScalarWhereInput | Prisma.audit_logScalarWhereInput[] + id?: Prisma.IntFilter<"audit_log"> | number + created_at?: Prisma.DateTimeNullableFilter<"audit_log"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"audit_log"> | number | null + action?: Prisma.StringFilter<"audit_log"> | string + resource?: Prisma.StringNullableFilter<"audit_log"> | string | null + details?: Prisma.StringNullableFilter<"audit_log"> | string | null + ip?: Prisma.StringNullableFilter<"audit_log"> | string | null +} + +export type audit_logCreateManyUsersInput = { + id?: number + created_at?: Date | string | null + action: string + resource?: string | null + details?: string | null + ip?: string | null +} + +export type audit_logUpdateWithoutUsersInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type audit_logUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type audit_logUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + action?: Prisma.StringFieldUpdateOperationsInput | string + resource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type audit_logSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + created_at?: boolean + user_id?: boolean + action?: boolean + resource?: boolean + details?: boolean + ip?: boolean + users?: boolean | Prisma.audit_log$usersArgs +}, ExtArgs["result"]["audit_log"]> + +export type audit_logSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + created_at?: boolean + user_id?: boolean + action?: boolean + resource?: boolean + details?: boolean + ip?: boolean + users?: boolean | Prisma.audit_log$usersArgs +}, ExtArgs["result"]["audit_log"]> + +export type audit_logSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + created_at?: boolean + user_id?: boolean + action?: boolean + resource?: boolean + details?: boolean + ip?: boolean + users?: boolean | Prisma.audit_log$usersArgs +}, ExtArgs["result"]["audit_log"]> + +export type audit_logSelectScalar = { + id?: boolean + created_at?: boolean + user_id?: boolean + action?: boolean + resource?: boolean + details?: boolean + ip?: boolean +} + +export type audit_logOmit = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "user_id" | "action" | "resource" | "details" | "ip", ExtArgs["result"]["audit_log"]> +export type audit_logInclude = { + users?: boolean | Prisma.audit_log$usersArgs +} +export type audit_logIncludeCreateManyAndReturn = { + users?: boolean | Prisma.audit_log$usersArgs +} +export type audit_logIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.audit_log$usersArgs +} + +export type $audit_logPayload = { + name: "audit_log" + objects: { + users: Prisma.$usersPayload | null + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + created_at: Date | null + user_id: number | null + action: string + resource: string | null + details: string | null + ip: string | null + }, ExtArgs["result"]["audit_log"]> + composites: {} +} + +export type audit_logGetPayload = runtime.Types.Result.GetResult + +export type audit_logCountArgs = + Omit & { + select?: Audit_logCountAggregateInputType | true + } + +export interface audit_logDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['audit_log'], meta: { name: 'audit_log' } } + /** + * Find zero or one Audit_log that matches the filter. + * @param {audit_logFindUniqueArgs} args - Arguments to find a Audit_log + * @example + * // Get one Audit_log + * const audit_log = await prisma.audit_log.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Audit_log that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {audit_logFindUniqueOrThrowArgs} args - Arguments to find a Audit_log + * @example + * // Get one Audit_log + * const audit_log = await prisma.audit_log.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Audit_log that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logFindFirstArgs} args - Arguments to find a Audit_log + * @example + * // Get one Audit_log + * const audit_log = await prisma.audit_log.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Audit_log that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logFindFirstOrThrowArgs} args - Arguments to find a Audit_log + * @example + * // Get one Audit_log + * const audit_log = await prisma.audit_log.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Audit_logs that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Audit_logs + * const audit_logs = await prisma.audit_log.findMany() + * + * // Get first 10 Audit_logs + * const audit_logs = await prisma.audit_log.findMany({ take: 10 }) + * + * // Only select the `id` + * const audit_logWithIdOnly = await prisma.audit_log.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Audit_log. + * @param {audit_logCreateArgs} args - Arguments to create a Audit_log. + * @example + * // Create one Audit_log + * const Audit_log = await prisma.audit_log.create({ + * data: { + * // ... data to create a Audit_log + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Audit_logs. + * @param {audit_logCreateManyArgs} args - Arguments to create many Audit_logs. + * @example + * // Create many Audit_logs + * const audit_log = await prisma.audit_log.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Audit_logs and returns the data saved in the database. + * @param {audit_logCreateManyAndReturnArgs} args - Arguments to create many Audit_logs. + * @example + * // Create many Audit_logs + * const audit_log = await prisma.audit_log.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Audit_logs and only return the `id` + * const audit_logWithIdOnly = await prisma.audit_log.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Audit_log. + * @param {audit_logDeleteArgs} args - Arguments to delete one Audit_log. + * @example + * // Delete one Audit_log + * const Audit_log = await prisma.audit_log.delete({ + * where: { + * // ... filter to delete one Audit_log + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Audit_log. + * @param {audit_logUpdateArgs} args - Arguments to update one Audit_log. + * @example + * // Update one Audit_log + * const audit_log = await prisma.audit_log.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Audit_logs. + * @param {audit_logDeleteManyArgs} args - Arguments to filter Audit_logs to delete. + * @example + * // Delete a few Audit_logs + * const { count } = await prisma.audit_log.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Audit_logs. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Audit_logs + * const audit_log = await prisma.audit_log.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Audit_logs and returns the data updated in the database. + * @param {audit_logUpdateManyAndReturnArgs} args - Arguments to update many Audit_logs. + * @example + * // Update many Audit_logs + * const audit_log = await prisma.audit_log.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Audit_logs and only return the `id` + * const audit_logWithIdOnly = await prisma.audit_log.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Audit_log. + * @param {audit_logUpsertArgs} args - Arguments to update or create a Audit_log. + * @example + * // Update or create a Audit_log + * const audit_log = await prisma.audit_log.upsert({ + * create: { + * // ... data to create a Audit_log + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Audit_log we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__audit_logClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Audit_logs. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logCountArgs} args - Arguments to filter Audit_logs to count. + * @example + * // Count the number of Audit_logs + * const count = await prisma.audit_log.count({ + * where: { + * // ... the filter for the Audit_logs we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Audit_log. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Audit_logAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Audit_log. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {audit_logGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends audit_logGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: audit_logGroupByArgs['orderBy'] } + : { orderBy?: audit_logGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAudit_logGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the audit_log model + */ +readonly fields: audit_logFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for audit_log. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__audit_logClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the audit_log model + */ +export interface audit_logFieldRefs { + readonly id: Prisma.FieldRef<"audit_log", 'Int'> + readonly created_at: Prisma.FieldRef<"audit_log", 'DateTime'> + readonly user_id: Prisma.FieldRef<"audit_log", 'Int'> + readonly action: Prisma.FieldRef<"audit_log", 'String'> + readonly resource: Prisma.FieldRef<"audit_log", 'String'> + readonly details: Prisma.FieldRef<"audit_log", 'String'> + readonly ip: Prisma.FieldRef<"audit_log", 'String'> +} + + +// Custom InputTypes +/** + * audit_log findUnique + */ +export type audit_logFindUniqueArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter, which audit_log to fetch. + */ + where: Prisma.audit_logWhereUniqueInput +} + +/** + * audit_log findUniqueOrThrow + */ +export type audit_logFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter, which audit_log to fetch. + */ + where: Prisma.audit_logWhereUniqueInput +} + +/** + * audit_log findFirst + */ +export type audit_logFindFirstArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter, which audit_log to fetch. + */ + where?: Prisma.audit_logWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of audit_logs to fetch. + */ + orderBy?: Prisma.audit_logOrderByWithRelationInput | Prisma.audit_logOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for audit_logs. + */ + cursor?: Prisma.audit_logWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` audit_logs from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` audit_logs. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of audit_logs. + */ + distinct?: Prisma.Audit_logScalarFieldEnum | Prisma.Audit_logScalarFieldEnum[] +} + +/** + * audit_log findFirstOrThrow + */ +export type audit_logFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter, which audit_log to fetch. + */ + where?: Prisma.audit_logWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of audit_logs to fetch. + */ + orderBy?: Prisma.audit_logOrderByWithRelationInput | Prisma.audit_logOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for audit_logs. + */ + cursor?: Prisma.audit_logWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` audit_logs from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` audit_logs. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of audit_logs. + */ + distinct?: Prisma.Audit_logScalarFieldEnum | Prisma.Audit_logScalarFieldEnum[] +} + +/** + * audit_log findMany + */ +export type audit_logFindManyArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter, which audit_logs to fetch. + */ + where?: Prisma.audit_logWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of audit_logs to fetch. + */ + orderBy?: Prisma.audit_logOrderByWithRelationInput | Prisma.audit_logOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing audit_logs. + */ + cursor?: Prisma.audit_logWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` audit_logs from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` audit_logs. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of audit_logs. + */ + distinct?: Prisma.Audit_logScalarFieldEnum | Prisma.Audit_logScalarFieldEnum[] +} + +/** + * audit_log create + */ +export type audit_logCreateArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * The data needed to create a audit_log. + */ + data: Prisma.XOR +} + +/** + * audit_log createMany + */ +export type audit_logCreateManyArgs = { + /** + * The data used to create many audit_logs. + */ + data: Prisma.audit_logCreateManyInput | Prisma.audit_logCreateManyInput[] +} + +/** + * audit_log createManyAndReturn + */ +export type audit_logCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelectCreateManyAndReturn | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * The data used to create many audit_logs. + */ + data: Prisma.audit_logCreateManyInput | Prisma.audit_logCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logIncludeCreateManyAndReturn | null +} + +/** + * audit_log update + */ +export type audit_logUpdateArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * The data needed to update a audit_log. + */ + data: Prisma.XOR + /** + * Choose, which audit_log to update. + */ + where: Prisma.audit_logWhereUniqueInput +} + +/** + * audit_log updateMany + */ +export type audit_logUpdateManyArgs = { + /** + * The data used to update audit_logs. + */ + data: Prisma.XOR + /** + * Filter which audit_logs to update + */ + where?: Prisma.audit_logWhereInput + /** + * Limit how many audit_logs to update. + */ + limit?: number +} + +/** + * audit_log updateManyAndReturn + */ +export type audit_logUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * The data used to update audit_logs. + */ + data: Prisma.XOR + /** + * Filter which audit_logs to update + */ + where?: Prisma.audit_logWhereInput + /** + * Limit how many audit_logs to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logIncludeUpdateManyAndReturn | null +} + +/** + * audit_log upsert + */ +export type audit_logUpsertArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * The filter to search for the audit_log to update in case it exists. + */ + where: Prisma.audit_logWhereUniqueInput + /** + * In case the audit_log found by the `where` argument doesn't exist, create a new audit_log with this data. + */ + create: Prisma.XOR + /** + * In case the audit_log was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * audit_log delete + */ +export type audit_logDeleteArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + /** + * Filter which audit_log to delete. + */ + where: Prisma.audit_logWhereUniqueInput +} + +/** + * audit_log deleteMany + */ +export type audit_logDeleteManyArgs = { + /** + * Filter which audit_logs to delete + */ + where?: Prisma.audit_logWhereInput + /** + * Limit how many audit_logs to delete. + */ + limit?: number +} + +/** + * audit_log.users + */ +export type audit_log$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * audit_log without action + */ +export type audit_logDefaultArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null +} diff --git a/server/src/generated/prisma/models/bucket_list.ts b/server/src/generated/prisma/models/bucket_list.ts new file mode 100644 index 00000000..0a980c66 --- /dev/null +++ b/server/src/generated/prisma/models/bucket_list.ts @@ -0,0 +1,1547 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `bucket_list` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model bucket_list + * + */ +export type bucket_listModel = runtime.Types.Result.DefaultSelection + +export type AggregateBucket_list = { + _count: Bucket_listCountAggregateOutputType | null + _avg: Bucket_listAvgAggregateOutputType | null + _sum: Bucket_listSumAggregateOutputType | null + _min: Bucket_listMinAggregateOutputType | null + _max: Bucket_listMaxAggregateOutputType | null +} + +export type Bucket_listAvgAggregateOutputType = { + id: number | null + user_id: number | null + lat: number | null + lng: number | null +} + +export type Bucket_listSumAggregateOutputType = { + id: number | null + user_id: number | null + lat: number | null + lng: number | null +} + +export type Bucket_listMinAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + lat: number | null + lng: number | null + country_code: string | null + notes: string | null + created_at: Date | null + target_date: string | null +} + +export type Bucket_listMaxAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + lat: number | null + lng: number | null + country_code: string | null + notes: string | null + created_at: Date | null + target_date: string | null +} + +export type Bucket_listCountAggregateOutputType = { + id: number + user_id: number + name: number + lat: number + lng: number + country_code: number + notes: number + created_at: number + target_date: number + _all: number +} + + +export type Bucket_listAvgAggregateInputType = { + id?: true + user_id?: true + lat?: true + lng?: true +} + +export type Bucket_listSumAggregateInputType = { + id?: true + user_id?: true + lat?: true + lng?: true +} + +export type Bucket_listMinAggregateInputType = { + id?: true + user_id?: true + name?: true + lat?: true + lng?: true + country_code?: true + notes?: true + created_at?: true + target_date?: true +} + +export type Bucket_listMaxAggregateInputType = { + id?: true + user_id?: true + name?: true + lat?: true + lng?: true + country_code?: true + notes?: true + created_at?: true + target_date?: true +} + +export type Bucket_listCountAggregateInputType = { + id?: true + user_id?: true + name?: true + lat?: true + lng?: true + country_code?: true + notes?: true + created_at?: true + target_date?: true + _all?: true +} + +export type Bucket_listAggregateArgs = { + /** + * Filter which bucket_list to aggregate. + */ + where?: Prisma.bucket_listWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of bucket_lists to fetch. + */ + orderBy?: Prisma.bucket_listOrderByWithRelationInput | Prisma.bucket_listOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.bucket_listWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` bucket_lists from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` bucket_lists. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned bucket_lists + **/ + _count?: true | Bucket_listCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Bucket_listAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Bucket_listSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Bucket_listMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Bucket_listMaxAggregateInputType +} + +export type GetBucket_listAggregateType = { + [P in keyof T & keyof AggregateBucket_list]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type bucket_listGroupByArgs = { + where?: Prisma.bucket_listWhereInput + orderBy?: Prisma.bucket_listOrderByWithAggregationInput | Prisma.bucket_listOrderByWithAggregationInput[] + by: Prisma.Bucket_listScalarFieldEnum[] | Prisma.Bucket_listScalarFieldEnum + having?: Prisma.bucket_listScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Bucket_listCountAggregateInputType | true + _avg?: Bucket_listAvgAggregateInputType + _sum?: Bucket_listSumAggregateInputType + _min?: Bucket_listMinAggregateInputType + _max?: Bucket_listMaxAggregateInputType +} + +export type Bucket_listGroupByOutputType = { + id: number + user_id: number + name: string + lat: number | null + lng: number | null + country_code: string | null + notes: string | null + created_at: Date | null + target_date: string | null + _count: Bucket_listCountAggregateOutputType | null + _avg: Bucket_listAvgAggregateOutputType | null + _sum: Bucket_listSumAggregateOutputType | null + _min: Bucket_listMinAggregateOutputType | null + _max: Bucket_listMaxAggregateOutputType | null +} + +export type GetBucket_listGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Bucket_listGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type bucket_listWhereInput = { + AND?: Prisma.bucket_listWhereInput | Prisma.bucket_listWhereInput[] + OR?: Prisma.bucket_listWhereInput[] + NOT?: Prisma.bucket_listWhereInput | Prisma.bucket_listWhereInput[] + id?: Prisma.IntFilter<"bucket_list"> | number + user_id?: Prisma.IntFilter<"bucket_list"> | number + name?: Prisma.StringFilter<"bucket_list"> | string + lat?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + lng?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + country_code?: Prisma.StringNullableFilter<"bucket_list"> | string | null + notes?: Prisma.StringNullableFilter<"bucket_list"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"bucket_list"> | Date | string | null + target_date?: Prisma.StringNullableFilter<"bucket_list"> | string | null + users?: Prisma.XOR +} + +export type bucket_listOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + lat?: Prisma.SortOrderInput | Prisma.SortOrder + lng?: Prisma.SortOrderInput | Prisma.SortOrder + country_code?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + target_date?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type bucket_listWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.bucket_listWhereInput | Prisma.bucket_listWhereInput[] + OR?: Prisma.bucket_listWhereInput[] + NOT?: Prisma.bucket_listWhereInput | Prisma.bucket_listWhereInput[] + user_id?: Prisma.IntFilter<"bucket_list"> | number + name?: Prisma.StringFilter<"bucket_list"> | string + lat?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + lng?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + country_code?: Prisma.StringNullableFilter<"bucket_list"> | string | null + notes?: Prisma.StringNullableFilter<"bucket_list"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"bucket_list"> | Date | string | null + target_date?: Prisma.StringNullableFilter<"bucket_list"> | string | null + users?: Prisma.XOR +}, "id"> + +export type bucket_listOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + lat?: Prisma.SortOrderInput | Prisma.SortOrder + lng?: Prisma.SortOrderInput | Prisma.SortOrder + country_code?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + target_date?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.bucket_listCountOrderByAggregateInput + _avg?: Prisma.bucket_listAvgOrderByAggregateInput + _max?: Prisma.bucket_listMaxOrderByAggregateInput + _min?: Prisma.bucket_listMinOrderByAggregateInput + _sum?: Prisma.bucket_listSumOrderByAggregateInput +} + +export type bucket_listScalarWhereWithAggregatesInput = { + AND?: Prisma.bucket_listScalarWhereWithAggregatesInput | Prisma.bucket_listScalarWhereWithAggregatesInput[] + OR?: Prisma.bucket_listScalarWhereWithAggregatesInput[] + NOT?: Prisma.bucket_listScalarWhereWithAggregatesInput | Prisma.bucket_listScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"bucket_list"> | number + user_id?: Prisma.IntWithAggregatesFilter<"bucket_list"> | number + name?: Prisma.StringWithAggregatesFilter<"bucket_list"> | string + lat?: Prisma.FloatNullableWithAggregatesFilter<"bucket_list"> | number | null + lng?: Prisma.FloatNullableWithAggregatesFilter<"bucket_list"> | number | null + country_code?: Prisma.StringNullableWithAggregatesFilter<"bucket_list"> | string | null + notes?: Prisma.StringNullableWithAggregatesFilter<"bucket_list"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"bucket_list"> | Date | string | null + target_date?: Prisma.StringNullableWithAggregatesFilter<"bucket_list"> | string | null +} + +export type bucket_listCreateInput = { + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null + users: Prisma.usersCreateNestedOneWithoutBucket_listInput +} + +export type bucket_listUncheckedCreateInput = { + id?: number + user_id: number + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null +} + +export type bucket_listUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutBucket_listNestedInput +} + +export type bucket_listUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type bucket_listCreateManyInput = { + id?: number + user_id: number + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null +} + +export type bucket_listUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type bucket_listUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type bucket_listCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + country_code?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + target_date?: Prisma.SortOrder +} + +export type bucket_listAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder +} + +export type bucket_listMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + country_code?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + target_date?: Prisma.SortOrder +} + +export type bucket_listMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + country_code?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + target_date?: Prisma.SortOrder +} + +export type bucket_listSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder +} + +export type Bucket_listListRelationFilter = { + every?: Prisma.bucket_listWhereInput + some?: Prisma.bucket_listWhereInput + none?: Prisma.bucket_listWhereInput +} + +export type bucket_listOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type NullableFloatFieldUpdateOperationsInput = { + set?: number | null + increment?: number + decrement?: number + multiply?: number + divide?: number +} + +export type bucket_listCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.bucket_listCreateWithoutUsersInput[] | Prisma.bucket_listUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.bucket_listCreateOrConnectWithoutUsersInput | Prisma.bucket_listCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.bucket_listCreateManyUsersInputEnvelope + connect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] +} + +export type bucket_listUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.bucket_listCreateWithoutUsersInput[] | Prisma.bucket_listUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.bucket_listCreateOrConnectWithoutUsersInput | Prisma.bucket_listCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.bucket_listCreateManyUsersInputEnvelope + connect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] +} + +export type bucket_listUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.bucket_listCreateWithoutUsersInput[] | Prisma.bucket_listUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.bucket_listCreateOrConnectWithoutUsersInput | Prisma.bucket_listCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.bucket_listUpsertWithWhereUniqueWithoutUsersInput | Prisma.bucket_listUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.bucket_listCreateManyUsersInputEnvelope + set?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + disconnect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + delete?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + connect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + update?: Prisma.bucket_listUpdateWithWhereUniqueWithoutUsersInput | Prisma.bucket_listUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.bucket_listUpdateManyWithWhereWithoutUsersInput | Prisma.bucket_listUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.bucket_listScalarWhereInput | Prisma.bucket_listScalarWhereInput[] +} + +export type bucket_listUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.bucket_listCreateWithoutUsersInput[] | Prisma.bucket_listUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.bucket_listCreateOrConnectWithoutUsersInput | Prisma.bucket_listCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.bucket_listUpsertWithWhereUniqueWithoutUsersInput | Prisma.bucket_listUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.bucket_listCreateManyUsersInputEnvelope + set?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + disconnect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + delete?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + connect?: Prisma.bucket_listWhereUniqueInput | Prisma.bucket_listWhereUniqueInput[] + update?: Prisma.bucket_listUpdateWithWhereUniqueWithoutUsersInput | Prisma.bucket_listUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.bucket_listUpdateManyWithWhereWithoutUsersInput | Prisma.bucket_listUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.bucket_listScalarWhereInput | Prisma.bucket_listScalarWhereInput[] +} + +export type bucket_listCreateWithoutUsersInput = { + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null +} + +export type bucket_listUncheckedCreateWithoutUsersInput = { + id?: number + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null +} + +export type bucket_listCreateOrConnectWithoutUsersInput = { + where: Prisma.bucket_listWhereUniqueInput + create: Prisma.XOR +} + +export type bucket_listCreateManyUsersInputEnvelope = { + data: Prisma.bucket_listCreateManyUsersInput | Prisma.bucket_listCreateManyUsersInput[] +} + +export type bucket_listUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.bucket_listWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type bucket_listUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.bucket_listWhereUniqueInput + data: Prisma.XOR +} + +export type bucket_listUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.bucket_listScalarWhereInput + data: Prisma.XOR +} + +export type bucket_listScalarWhereInput = { + AND?: Prisma.bucket_listScalarWhereInput | Prisma.bucket_listScalarWhereInput[] + OR?: Prisma.bucket_listScalarWhereInput[] + NOT?: Prisma.bucket_listScalarWhereInput | Prisma.bucket_listScalarWhereInput[] + id?: Prisma.IntFilter<"bucket_list"> | number + user_id?: Prisma.IntFilter<"bucket_list"> | number + name?: Prisma.StringFilter<"bucket_list"> | string + lat?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + lng?: Prisma.FloatNullableFilter<"bucket_list"> | number | null + country_code?: Prisma.StringNullableFilter<"bucket_list"> | string | null + notes?: Prisma.StringNullableFilter<"bucket_list"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"bucket_list"> | Date | string | null + target_date?: Prisma.StringNullableFilter<"bucket_list"> | string | null +} + +export type bucket_listCreateManyUsersInput = { + id?: number + name: string + lat?: number | null + lng?: number | null + country_code?: string | null + notes?: string | null + created_at?: Date | string | null + target_date?: string | null +} + +export type bucket_listUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type bucket_listUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type bucket_listUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + target_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type bucket_listSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + lat?: boolean + lng?: boolean + country_code?: boolean + notes?: boolean + created_at?: boolean + target_date?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["bucket_list"]> + +export type bucket_listSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + lat?: boolean + lng?: boolean + country_code?: boolean + notes?: boolean + created_at?: boolean + target_date?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["bucket_list"]> + +export type bucket_listSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + lat?: boolean + lng?: boolean + country_code?: boolean + notes?: boolean + created_at?: boolean + target_date?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["bucket_list"]> + +export type bucket_listSelectScalar = { + id?: boolean + user_id?: boolean + name?: boolean + lat?: boolean + lng?: boolean + country_code?: boolean + notes?: boolean + created_at?: boolean + target_date?: boolean +} + +export type bucket_listOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "name" | "lat" | "lng" | "country_code" | "notes" | "created_at" | "target_date", ExtArgs["result"]["bucket_list"]> +export type bucket_listInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type bucket_listIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type bucket_listIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $bucket_listPayload = { + name: "bucket_list" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + name: string + lat: number | null + lng: number | null + country_code: string | null + notes: string | null + created_at: Date | null + target_date: string | null + }, ExtArgs["result"]["bucket_list"]> + composites: {} +} + +export type bucket_listGetPayload = runtime.Types.Result.GetResult + +export type bucket_listCountArgs = + Omit & { + select?: Bucket_listCountAggregateInputType | true + } + +export interface bucket_listDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['bucket_list'], meta: { name: 'bucket_list' } } + /** + * Find zero or one Bucket_list that matches the filter. + * @param {bucket_listFindUniqueArgs} args - Arguments to find a Bucket_list + * @example + * // Get one Bucket_list + * const bucket_list = await prisma.bucket_list.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Bucket_list that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {bucket_listFindUniqueOrThrowArgs} args - Arguments to find a Bucket_list + * @example + * // Get one Bucket_list + * const bucket_list = await prisma.bucket_list.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Bucket_list that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listFindFirstArgs} args - Arguments to find a Bucket_list + * @example + * // Get one Bucket_list + * const bucket_list = await prisma.bucket_list.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Bucket_list that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listFindFirstOrThrowArgs} args - Arguments to find a Bucket_list + * @example + * // Get one Bucket_list + * const bucket_list = await prisma.bucket_list.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Bucket_lists that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Bucket_lists + * const bucket_lists = await prisma.bucket_list.findMany() + * + * // Get first 10 Bucket_lists + * const bucket_lists = await prisma.bucket_list.findMany({ take: 10 }) + * + * // Only select the `id` + * const bucket_listWithIdOnly = await prisma.bucket_list.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Bucket_list. + * @param {bucket_listCreateArgs} args - Arguments to create a Bucket_list. + * @example + * // Create one Bucket_list + * const Bucket_list = await prisma.bucket_list.create({ + * data: { + * // ... data to create a Bucket_list + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Bucket_lists. + * @param {bucket_listCreateManyArgs} args - Arguments to create many Bucket_lists. + * @example + * // Create many Bucket_lists + * const bucket_list = await prisma.bucket_list.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Bucket_lists and returns the data saved in the database. + * @param {bucket_listCreateManyAndReturnArgs} args - Arguments to create many Bucket_lists. + * @example + * // Create many Bucket_lists + * const bucket_list = await prisma.bucket_list.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Bucket_lists and only return the `id` + * const bucket_listWithIdOnly = await prisma.bucket_list.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Bucket_list. + * @param {bucket_listDeleteArgs} args - Arguments to delete one Bucket_list. + * @example + * // Delete one Bucket_list + * const Bucket_list = await prisma.bucket_list.delete({ + * where: { + * // ... filter to delete one Bucket_list + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Bucket_list. + * @param {bucket_listUpdateArgs} args - Arguments to update one Bucket_list. + * @example + * // Update one Bucket_list + * const bucket_list = await prisma.bucket_list.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Bucket_lists. + * @param {bucket_listDeleteManyArgs} args - Arguments to filter Bucket_lists to delete. + * @example + * // Delete a few Bucket_lists + * const { count } = await prisma.bucket_list.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Bucket_lists. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Bucket_lists + * const bucket_list = await prisma.bucket_list.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Bucket_lists and returns the data updated in the database. + * @param {bucket_listUpdateManyAndReturnArgs} args - Arguments to update many Bucket_lists. + * @example + * // Update many Bucket_lists + * const bucket_list = await prisma.bucket_list.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Bucket_lists and only return the `id` + * const bucket_listWithIdOnly = await prisma.bucket_list.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Bucket_list. + * @param {bucket_listUpsertArgs} args - Arguments to update or create a Bucket_list. + * @example + * // Update or create a Bucket_list + * const bucket_list = await prisma.bucket_list.upsert({ + * create: { + * // ... data to create a Bucket_list + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Bucket_list we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__bucket_listClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Bucket_lists. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listCountArgs} args - Arguments to filter Bucket_lists to count. + * @example + * // Count the number of Bucket_lists + * const count = await prisma.bucket_list.count({ + * where: { + * // ... the filter for the Bucket_lists we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Bucket_list. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Bucket_listAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Bucket_list. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {bucket_listGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends bucket_listGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: bucket_listGroupByArgs['orderBy'] } + : { orderBy?: bucket_listGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetBucket_listGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the bucket_list model + */ +readonly fields: bucket_listFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for bucket_list. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__bucket_listClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the bucket_list model + */ +export interface bucket_listFieldRefs { + readonly id: Prisma.FieldRef<"bucket_list", 'Int'> + readonly user_id: Prisma.FieldRef<"bucket_list", 'Int'> + readonly name: Prisma.FieldRef<"bucket_list", 'String'> + readonly lat: Prisma.FieldRef<"bucket_list", 'Float'> + readonly lng: Prisma.FieldRef<"bucket_list", 'Float'> + readonly country_code: Prisma.FieldRef<"bucket_list", 'String'> + readonly notes: Prisma.FieldRef<"bucket_list", 'String'> + readonly created_at: Prisma.FieldRef<"bucket_list", 'DateTime'> + readonly target_date: Prisma.FieldRef<"bucket_list", 'String'> +} + + +// Custom InputTypes +/** + * bucket_list findUnique + */ +export type bucket_listFindUniqueArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter, which bucket_list to fetch. + */ + where: Prisma.bucket_listWhereUniqueInput +} + +/** + * bucket_list findUniqueOrThrow + */ +export type bucket_listFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter, which bucket_list to fetch. + */ + where: Prisma.bucket_listWhereUniqueInput +} + +/** + * bucket_list findFirst + */ +export type bucket_listFindFirstArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter, which bucket_list to fetch. + */ + where?: Prisma.bucket_listWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of bucket_lists to fetch. + */ + orderBy?: Prisma.bucket_listOrderByWithRelationInput | Prisma.bucket_listOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for bucket_lists. + */ + cursor?: Prisma.bucket_listWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` bucket_lists from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` bucket_lists. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of bucket_lists. + */ + distinct?: Prisma.Bucket_listScalarFieldEnum | Prisma.Bucket_listScalarFieldEnum[] +} + +/** + * bucket_list findFirstOrThrow + */ +export type bucket_listFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter, which bucket_list to fetch. + */ + where?: Prisma.bucket_listWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of bucket_lists to fetch. + */ + orderBy?: Prisma.bucket_listOrderByWithRelationInput | Prisma.bucket_listOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for bucket_lists. + */ + cursor?: Prisma.bucket_listWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` bucket_lists from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` bucket_lists. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of bucket_lists. + */ + distinct?: Prisma.Bucket_listScalarFieldEnum | Prisma.Bucket_listScalarFieldEnum[] +} + +/** + * bucket_list findMany + */ +export type bucket_listFindManyArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter, which bucket_lists to fetch. + */ + where?: Prisma.bucket_listWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of bucket_lists to fetch. + */ + orderBy?: Prisma.bucket_listOrderByWithRelationInput | Prisma.bucket_listOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing bucket_lists. + */ + cursor?: Prisma.bucket_listWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` bucket_lists from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` bucket_lists. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of bucket_lists. + */ + distinct?: Prisma.Bucket_listScalarFieldEnum | Prisma.Bucket_listScalarFieldEnum[] +} + +/** + * bucket_list create + */ +export type bucket_listCreateArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * The data needed to create a bucket_list. + */ + data: Prisma.XOR +} + +/** + * bucket_list createMany + */ +export type bucket_listCreateManyArgs = { + /** + * The data used to create many bucket_lists. + */ + data: Prisma.bucket_listCreateManyInput | Prisma.bucket_listCreateManyInput[] +} + +/** + * bucket_list createManyAndReturn + */ +export type bucket_listCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelectCreateManyAndReturn | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * The data used to create many bucket_lists. + */ + data: Prisma.bucket_listCreateManyInput | Prisma.bucket_listCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listIncludeCreateManyAndReturn | null +} + +/** + * bucket_list update + */ +export type bucket_listUpdateArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * The data needed to update a bucket_list. + */ + data: Prisma.XOR + /** + * Choose, which bucket_list to update. + */ + where: Prisma.bucket_listWhereUniqueInput +} + +/** + * bucket_list updateMany + */ +export type bucket_listUpdateManyArgs = { + /** + * The data used to update bucket_lists. + */ + data: Prisma.XOR + /** + * Filter which bucket_lists to update + */ + where?: Prisma.bucket_listWhereInput + /** + * Limit how many bucket_lists to update. + */ + limit?: number +} + +/** + * bucket_list updateManyAndReturn + */ +export type bucket_listUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * The data used to update bucket_lists. + */ + data: Prisma.XOR + /** + * Filter which bucket_lists to update + */ + where?: Prisma.bucket_listWhereInput + /** + * Limit how many bucket_lists to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listIncludeUpdateManyAndReturn | null +} + +/** + * bucket_list upsert + */ +export type bucket_listUpsertArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * The filter to search for the bucket_list to update in case it exists. + */ + where: Prisma.bucket_listWhereUniqueInput + /** + * In case the bucket_list found by the `where` argument doesn't exist, create a new bucket_list with this data. + */ + create: Prisma.XOR + /** + * In case the bucket_list was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * bucket_list delete + */ +export type bucket_listDeleteArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + /** + * Filter which bucket_list to delete. + */ + where: Prisma.bucket_listWhereUniqueInput +} + +/** + * bucket_list deleteMany + */ +export type bucket_listDeleteManyArgs = { + /** + * Filter which bucket_lists to delete + */ + where?: Prisma.bucket_listWhereInput + /** + * Limit how many bucket_lists to delete. + */ + limit?: number +} + +/** + * bucket_list without action + */ +export type bucket_listDefaultArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null +} diff --git a/server/src/generated/prisma/models/budget_category_order.ts b/server/src/generated/prisma/models/budget_category_order.ts new file mode 100644 index 00000000..ef974516 --- /dev/null +++ b/server/src/generated/prisma/models/budget_category_order.ts @@ -0,0 +1,1328 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `budget_category_order` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model budget_category_order + * + */ +export type budget_category_orderModel = runtime.Types.Result.DefaultSelection + +export type AggregateBudget_category_order = { + _count: Budget_category_orderCountAggregateOutputType | null + _avg: Budget_category_orderAvgAggregateOutputType | null + _sum: Budget_category_orderSumAggregateOutputType | null + _min: Budget_category_orderMinAggregateOutputType | null + _max: Budget_category_orderMaxAggregateOutputType | null +} + +export type Budget_category_orderAvgAggregateOutputType = { + trip_id: number | null + sort_order: number | null +} + +export type Budget_category_orderSumAggregateOutputType = { + trip_id: number | null + sort_order: number | null +} + +export type Budget_category_orderMinAggregateOutputType = { + trip_id: number | null + category: string | null + sort_order: number | null +} + +export type Budget_category_orderMaxAggregateOutputType = { + trip_id: number | null + category: string | null + sort_order: number | null +} + +export type Budget_category_orderCountAggregateOutputType = { + trip_id: number + category: number + sort_order: number + _all: number +} + + +export type Budget_category_orderAvgAggregateInputType = { + trip_id?: true + sort_order?: true +} + +export type Budget_category_orderSumAggregateInputType = { + trip_id?: true + sort_order?: true +} + +export type Budget_category_orderMinAggregateInputType = { + trip_id?: true + category?: true + sort_order?: true +} + +export type Budget_category_orderMaxAggregateInputType = { + trip_id?: true + category?: true + sort_order?: true +} + +export type Budget_category_orderCountAggregateInputType = { + trip_id?: true + category?: true + sort_order?: true + _all?: true +} + +export type Budget_category_orderAggregateArgs = { + /** + * Filter which budget_category_order to aggregate. + */ + where?: Prisma.budget_category_orderWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_category_orders to fetch. + */ + orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.budget_category_orderWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_category_orders from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_category_orders. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned budget_category_orders + **/ + _count?: true | Budget_category_orderCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Budget_category_orderAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Budget_category_orderSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Budget_category_orderMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Budget_category_orderMaxAggregateInputType +} + +export type GetBudget_category_orderAggregateType = { + [P in keyof T & keyof AggregateBudget_category_order]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type budget_category_orderGroupByArgs = { + where?: Prisma.budget_category_orderWhereInput + orderBy?: Prisma.budget_category_orderOrderByWithAggregationInput | Prisma.budget_category_orderOrderByWithAggregationInput[] + by: Prisma.Budget_category_orderScalarFieldEnum[] | Prisma.Budget_category_orderScalarFieldEnum + having?: Prisma.budget_category_orderScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Budget_category_orderCountAggregateInputType | true + _avg?: Budget_category_orderAvgAggregateInputType + _sum?: Budget_category_orderSumAggregateInputType + _min?: Budget_category_orderMinAggregateInputType + _max?: Budget_category_orderMaxAggregateInputType +} + +export type Budget_category_orderGroupByOutputType = { + trip_id: number + category: string + sort_order: number + _count: Budget_category_orderCountAggregateOutputType | null + _avg: Budget_category_orderAvgAggregateOutputType | null + _sum: Budget_category_orderSumAggregateOutputType | null + _min: Budget_category_orderMinAggregateOutputType | null + _max: Budget_category_orderMaxAggregateOutputType | null +} + +export type GetBudget_category_orderGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Budget_category_orderGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type budget_category_orderWhereInput = { + AND?: Prisma.budget_category_orderWhereInput | Prisma.budget_category_orderWhereInput[] + OR?: Prisma.budget_category_orderWhereInput[] + NOT?: Prisma.budget_category_orderWhereInput | Prisma.budget_category_orderWhereInput[] + trip_id?: Prisma.IntFilter<"budget_category_order"> | number + category?: Prisma.StringFilter<"budget_category_order"> | string + sort_order?: Prisma.IntFilter<"budget_category_order"> | number + trips?: Prisma.XOR +} + +export type budget_category_orderOrderByWithRelationInput = { + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type budget_category_orderWhereUniqueInput = Prisma.AtLeast<{ + trip_id_category?: Prisma.budget_category_orderTrip_idCategoryCompoundUniqueInput + AND?: Prisma.budget_category_orderWhereInput | Prisma.budget_category_orderWhereInput[] + OR?: Prisma.budget_category_orderWhereInput[] + NOT?: Prisma.budget_category_orderWhereInput | Prisma.budget_category_orderWhereInput[] + trip_id?: Prisma.IntFilter<"budget_category_order"> | number + category?: Prisma.StringFilter<"budget_category_order"> | string + sort_order?: Prisma.IntFilter<"budget_category_order"> | number + trips?: Prisma.XOR +}, "trip_id_category"> + +export type budget_category_orderOrderByWithAggregationInput = { + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + _count?: Prisma.budget_category_orderCountOrderByAggregateInput + _avg?: Prisma.budget_category_orderAvgOrderByAggregateInput + _max?: Prisma.budget_category_orderMaxOrderByAggregateInput + _min?: Prisma.budget_category_orderMinOrderByAggregateInput + _sum?: Prisma.budget_category_orderSumOrderByAggregateInput +} + +export type budget_category_orderScalarWhereWithAggregatesInput = { + AND?: Prisma.budget_category_orderScalarWhereWithAggregatesInput | Prisma.budget_category_orderScalarWhereWithAggregatesInput[] + OR?: Prisma.budget_category_orderScalarWhereWithAggregatesInput[] + NOT?: Prisma.budget_category_orderScalarWhereWithAggregatesInput | Prisma.budget_category_orderScalarWhereWithAggregatesInput[] + trip_id?: Prisma.IntWithAggregatesFilter<"budget_category_order"> | number + category?: Prisma.StringWithAggregatesFilter<"budget_category_order"> | string + sort_order?: Prisma.IntWithAggregatesFilter<"budget_category_order"> | number +} + +export type budget_category_orderCreateInput = { + category: string + sort_order?: number + trips: Prisma.tripsCreateNestedOneWithoutBudget_category_orderInput +} + +export type budget_category_orderUncheckedCreateInput = { + trip_id: number + category: string + sort_order?: number +} + +export type budget_category_orderUpdateInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + trips?: Prisma.tripsUpdateOneRequiredWithoutBudget_category_orderNestedInput +} + +export type budget_category_orderUncheckedUpdateInput = { + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_category_orderCreateManyInput = { + trip_id: number + category: string + sort_order?: number +} + +export type budget_category_orderUpdateManyMutationInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_category_orderUncheckedUpdateManyInput = { + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_category_orderTrip_idCategoryCompoundUniqueInput = { + trip_id: number + category: string +} + +export type budget_category_orderCountOrderByAggregateInput = { + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type budget_category_orderAvgOrderByAggregateInput = { + trip_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type budget_category_orderMaxOrderByAggregateInput = { + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type budget_category_orderMinOrderByAggregateInput = { + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type budget_category_orderSumOrderByAggregateInput = { + trip_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type Budget_category_orderListRelationFilter = { + every?: Prisma.budget_category_orderWhereInput + some?: Prisma.budget_category_orderWhereInput + none?: Prisma.budget_category_orderWhereInput +} + +export type budget_category_orderOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type budget_category_orderCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.budget_category_orderCreateWithoutTripsInput[] | Prisma.budget_category_orderUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_category_orderCreateOrConnectWithoutTripsInput | Prisma.budget_category_orderCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.budget_category_orderCreateManyTripsInputEnvelope + connect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] +} + +export type budget_category_orderUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.budget_category_orderCreateWithoutTripsInput[] | Prisma.budget_category_orderUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_category_orderCreateOrConnectWithoutTripsInput | Prisma.budget_category_orderCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.budget_category_orderCreateManyTripsInputEnvelope + connect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] +} + +export type budget_category_orderUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.budget_category_orderCreateWithoutTripsInput[] | Prisma.budget_category_orderUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_category_orderCreateOrConnectWithoutTripsInput | Prisma.budget_category_orderCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.budget_category_orderUpsertWithWhereUniqueWithoutTripsInput | Prisma.budget_category_orderUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.budget_category_orderCreateManyTripsInputEnvelope + set?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + disconnect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + delete?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + connect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + update?: Prisma.budget_category_orderUpdateWithWhereUniqueWithoutTripsInput | Prisma.budget_category_orderUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.budget_category_orderUpdateManyWithWhereWithoutTripsInput | Prisma.budget_category_orderUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.budget_category_orderScalarWhereInput | Prisma.budget_category_orderScalarWhereInput[] +} + +export type budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.budget_category_orderCreateWithoutTripsInput[] | Prisma.budget_category_orderUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_category_orderCreateOrConnectWithoutTripsInput | Prisma.budget_category_orderCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.budget_category_orderUpsertWithWhereUniqueWithoutTripsInput | Prisma.budget_category_orderUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.budget_category_orderCreateManyTripsInputEnvelope + set?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + disconnect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + delete?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + connect?: Prisma.budget_category_orderWhereUniqueInput | Prisma.budget_category_orderWhereUniqueInput[] + update?: Prisma.budget_category_orderUpdateWithWhereUniqueWithoutTripsInput | Prisma.budget_category_orderUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.budget_category_orderUpdateManyWithWhereWithoutTripsInput | Prisma.budget_category_orderUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.budget_category_orderScalarWhereInput | Prisma.budget_category_orderScalarWhereInput[] +} + +export type budget_category_orderCreateWithoutTripsInput = { + category: string + sort_order?: number +} + +export type budget_category_orderUncheckedCreateWithoutTripsInput = { + category: string + sort_order?: number +} + +export type budget_category_orderCreateOrConnectWithoutTripsInput = { + where: Prisma.budget_category_orderWhereUniqueInput + create: Prisma.XOR +} + +export type budget_category_orderCreateManyTripsInputEnvelope = { + data: Prisma.budget_category_orderCreateManyTripsInput | Prisma.budget_category_orderCreateManyTripsInput[] +} + +export type budget_category_orderUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.budget_category_orderWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_category_orderUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.budget_category_orderWhereUniqueInput + data: Prisma.XOR +} + +export type budget_category_orderUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.budget_category_orderScalarWhereInput + data: Prisma.XOR +} + +export type budget_category_orderScalarWhereInput = { + AND?: Prisma.budget_category_orderScalarWhereInput | Prisma.budget_category_orderScalarWhereInput[] + OR?: Prisma.budget_category_orderScalarWhereInput[] + NOT?: Prisma.budget_category_orderScalarWhereInput | Prisma.budget_category_orderScalarWhereInput[] + trip_id?: Prisma.IntFilter<"budget_category_order"> | number + category?: Prisma.StringFilter<"budget_category_order"> | string + sort_order?: Prisma.IntFilter<"budget_category_order"> | number +} + +export type budget_category_orderCreateManyTripsInput = { + category: string + sort_order?: number +} + +export type budget_category_orderUpdateWithoutTripsInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_category_orderUncheckedUpdateWithoutTripsInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_category_orderUncheckedUpdateManyWithoutTripsInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type budget_category_orderSelect = runtime.Types.Extensions.GetSelect<{ + trip_id?: boolean + category?: boolean + sort_order?: boolean + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["budget_category_order"]> + +export type budget_category_orderSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + trip_id?: boolean + category?: boolean + sort_order?: boolean + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["budget_category_order"]> + +export type budget_category_orderSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + trip_id?: boolean + category?: boolean + sort_order?: boolean + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["budget_category_order"]> + +export type budget_category_orderSelectScalar = { + trip_id?: boolean + category?: boolean + sort_order?: boolean +} + +export type budget_category_orderOmit = runtime.Types.Extensions.GetOmit<"trip_id" | "category" | "sort_order", ExtArgs["result"]["budget_category_order"]> +export type budget_category_orderInclude = { + trips?: boolean | Prisma.tripsDefaultArgs +} +export type budget_category_orderIncludeCreateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs +} +export type budget_category_orderIncludeUpdateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $budget_category_orderPayload = { + name: "budget_category_order" + objects: { + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + trip_id: number + category: string + sort_order: number + }, ExtArgs["result"]["budget_category_order"]> + composites: {} +} + +export type budget_category_orderGetPayload = runtime.Types.Result.GetResult + +export type budget_category_orderCountArgs = + Omit & { + select?: Budget_category_orderCountAggregateInputType | true + } + +export interface budget_category_orderDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['budget_category_order'], meta: { name: 'budget_category_order' } } + /** + * Find zero or one Budget_category_order that matches the filter. + * @param {budget_category_orderFindUniqueArgs} args - Arguments to find a Budget_category_order + * @example + * // Get one Budget_category_order + * const budget_category_order = await prisma.budget_category_order.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Budget_category_order that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {budget_category_orderFindUniqueOrThrowArgs} args - Arguments to find a Budget_category_order + * @example + * // Get one Budget_category_order + * const budget_category_order = await prisma.budget_category_order.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_category_order that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderFindFirstArgs} args - Arguments to find a Budget_category_order + * @example + * // Get one Budget_category_order + * const budget_category_order = await prisma.budget_category_order.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_category_order that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderFindFirstOrThrowArgs} args - Arguments to find a Budget_category_order + * @example + * // Get one Budget_category_order + * const budget_category_order = await prisma.budget_category_order.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Budget_category_orders that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Budget_category_orders + * const budget_category_orders = await prisma.budget_category_order.findMany() + * + * // Get first 10 Budget_category_orders + * const budget_category_orders = await prisma.budget_category_order.findMany({ take: 10 }) + * + * // Only select the `trip_id` + * const budget_category_orderWithTrip_idOnly = await prisma.budget_category_order.findMany({ select: { trip_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Budget_category_order. + * @param {budget_category_orderCreateArgs} args - Arguments to create a Budget_category_order. + * @example + * // Create one Budget_category_order + * const Budget_category_order = await prisma.budget_category_order.create({ + * data: { + * // ... data to create a Budget_category_order + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Budget_category_orders. + * @param {budget_category_orderCreateManyArgs} args - Arguments to create many Budget_category_orders. + * @example + * // Create many Budget_category_orders + * const budget_category_order = await prisma.budget_category_order.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Budget_category_orders and returns the data saved in the database. + * @param {budget_category_orderCreateManyAndReturnArgs} args - Arguments to create many Budget_category_orders. + * @example + * // Create many Budget_category_orders + * const budget_category_order = await prisma.budget_category_order.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Budget_category_orders and only return the `trip_id` + * const budget_category_orderWithTrip_idOnly = await prisma.budget_category_order.createManyAndReturn({ + * select: { trip_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Budget_category_order. + * @param {budget_category_orderDeleteArgs} args - Arguments to delete one Budget_category_order. + * @example + * // Delete one Budget_category_order + * const Budget_category_order = await prisma.budget_category_order.delete({ + * where: { + * // ... filter to delete one Budget_category_order + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Budget_category_order. + * @param {budget_category_orderUpdateArgs} args - Arguments to update one Budget_category_order. + * @example + * // Update one Budget_category_order + * const budget_category_order = await prisma.budget_category_order.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Budget_category_orders. + * @param {budget_category_orderDeleteManyArgs} args - Arguments to filter Budget_category_orders to delete. + * @example + * // Delete a few Budget_category_orders + * const { count } = await prisma.budget_category_order.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_category_orders. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Budget_category_orders + * const budget_category_order = await prisma.budget_category_order.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_category_orders and returns the data updated in the database. + * @param {budget_category_orderUpdateManyAndReturnArgs} args - Arguments to update many Budget_category_orders. + * @example + * // Update many Budget_category_orders + * const budget_category_order = await prisma.budget_category_order.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Budget_category_orders and only return the `trip_id` + * const budget_category_orderWithTrip_idOnly = await prisma.budget_category_order.updateManyAndReturn({ + * select: { trip_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Budget_category_order. + * @param {budget_category_orderUpsertArgs} args - Arguments to update or create a Budget_category_order. + * @example + * // Update or create a Budget_category_order + * const budget_category_order = await prisma.budget_category_order.upsert({ + * create: { + * // ... data to create a Budget_category_order + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Budget_category_order we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__budget_category_orderClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Budget_category_orders. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderCountArgs} args - Arguments to filter Budget_category_orders to count. + * @example + * // Count the number of Budget_category_orders + * const count = await prisma.budget_category_order.count({ + * where: { + * // ... the filter for the Budget_category_orders we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Budget_category_order. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Budget_category_orderAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Budget_category_order. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_category_orderGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends budget_category_orderGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: budget_category_orderGroupByArgs['orderBy'] } + : { orderBy?: budget_category_orderGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetBudget_category_orderGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the budget_category_order model + */ +readonly fields: budget_category_orderFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for budget_category_order. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__budget_category_orderClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the budget_category_order model + */ +export interface budget_category_orderFieldRefs { + readonly trip_id: Prisma.FieldRef<"budget_category_order", 'Int'> + readonly category: Prisma.FieldRef<"budget_category_order", 'String'> + readonly sort_order: Prisma.FieldRef<"budget_category_order", 'Int'> +} + + +// Custom InputTypes +/** + * budget_category_order findUnique + */ +export type budget_category_orderFindUniqueArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter, which budget_category_order to fetch. + */ + where: Prisma.budget_category_orderWhereUniqueInput +} + +/** + * budget_category_order findUniqueOrThrow + */ +export type budget_category_orderFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter, which budget_category_order to fetch. + */ + where: Prisma.budget_category_orderWhereUniqueInput +} + +/** + * budget_category_order findFirst + */ +export type budget_category_orderFindFirstArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter, which budget_category_order to fetch. + */ + where?: Prisma.budget_category_orderWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_category_orders to fetch. + */ + orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_category_orders. + */ + cursor?: Prisma.budget_category_orderWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_category_orders from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_category_orders. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_category_orders. + */ + distinct?: Prisma.Budget_category_orderScalarFieldEnum | Prisma.Budget_category_orderScalarFieldEnum[] +} + +/** + * budget_category_order findFirstOrThrow + */ +export type budget_category_orderFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter, which budget_category_order to fetch. + */ + where?: Prisma.budget_category_orderWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_category_orders to fetch. + */ + orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_category_orders. + */ + cursor?: Prisma.budget_category_orderWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_category_orders from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_category_orders. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_category_orders. + */ + distinct?: Prisma.Budget_category_orderScalarFieldEnum | Prisma.Budget_category_orderScalarFieldEnum[] +} + +/** + * budget_category_order findMany + */ +export type budget_category_orderFindManyArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter, which budget_category_orders to fetch. + */ + where?: Prisma.budget_category_orderWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_category_orders to fetch. + */ + orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing budget_category_orders. + */ + cursor?: Prisma.budget_category_orderWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_category_orders from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_category_orders. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_category_orders. + */ + distinct?: Prisma.Budget_category_orderScalarFieldEnum | Prisma.Budget_category_orderScalarFieldEnum[] +} + +/** + * budget_category_order create + */ +export type budget_category_orderCreateArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * The data needed to create a budget_category_order. + */ + data: Prisma.XOR +} + +/** + * budget_category_order createMany + */ +export type budget_category_orderCreateManyArgs = { + /** + * The data used to create many budget_category_orders. + */ + data: Prisma.budget_category_orderCreateManyInput | Prisma.budget_category_orderCreateManyInput[] +} + +/** + * budget_category_order createManyAndReturn + */ +export type budget_category_orderCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelectCreateManyAndReturn | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * The data used to create many budget_category_orders. + */ + data: Prisma.budget_category_orderCreateManyInput | Prisma.budget_category_orderCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderIncludeCreateManyAndReturn | null +} + +/** + * budget_category_order update + */ +export type budget_category_orderUpdateArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * The data needed to update a budget_category_order. + */ + data: Prisma.XOR + /** + * Choose, which budget_category_order to update. + */ + where: Prisma.budget_category_orderWhereUniqueInput +} + +/** + * budget_category_order updateMany + */ +export type budget_category_orderUpdateManyArgs = { + /** + * The data used to update budget_category_orders. + */ + data: Prisma.XOR + /** + * Filter which budget_category_orders to update + */ + where?: Prisma.budget_category_orderWhereInput + /** + * Limit how many budget_category_orders to update. + */ + limit?: number +} + +/** + * budget_category_order updateManyAndReturn + */ +export type budget_category_orderUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * The data used to update budget_category_orders. + */ + data: Prisma.XOR + /** + * Filter which budget_category_orders to update + */ + where?: Prisma.budget_category_orderWhereInput + /** + * Limit how many budget_category_orders to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderIncludeUpdateManyAndReturn | null +} + +/** + * budget_category_order upsert + */ +export type budget_category_orderUpsertArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * The filter to search for the budget_category_order to update in case it exists. + */ + where: Prisma.budget_category_orderWhereUniqueInput + /** + * In case the budget_category_order found by the `where` argument doesn't exist, create a new budget_category_order with this data. + */ + create: Prisma.XOR + /** + * In case the budget_category_order was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * budget_category_order delete + */ +export type budget_category_orderDeleteArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + /** + * Filter which budget_category_order to delete. + */ + where: Prisma.budget_category_orderWhereUniqueInput +} + +/** + * budget_category_order deleteMany + */ +export type budget_category_orderDeleteManyArgs = { + /** + * Filter which budget_category_orders to delete + */ + where?: Prisma.budget_category_orderWhereInput + /** + * Limit how many budget_category_orders to delete. + */ + limit?: number +} + +/** + * budget_category_order without action + */ +export type budget_category_orderDefaultArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null +} diff --git a/server/src/generated/prisma/models/budget_item_members.ts b/server/src/generated/prisma/models/budget_item_members.ts new file mode 100644 index 00000000..5ddfb6b8 --- /dev/null +++ b/server/src/generated/prisma/models/budget_item_members.ts @@ -0,0 +1,1481 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `budget_item_members` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model budget_item_members + * + */ +export type budget_item_membersModel = runtime.Types.Result.DefaultSelection + +export type AggregateBudget_item_members = { + _count: Budget_item_membersCountAggregateOutputType | null + _avg: Budget_item_membersAvgAggregateOutputType | null + _sum: Budget_item_membersSumAggregateOutputType | null + _min: Budget_item_membersMinAggregateOutputType | null + _max: Budget_item_membersMaxAggregateOutputType | null +} + +export type Budget_item_membersAvgAggregateOutputType = { + id: number | null + budget_item_id: number | null + user_id: number | null + paid: number | null +} + +export type Budget_item_membersSumAggregateOutputType = { + id: number | null + budget_item_id: number | null + user_id: number | null + paid: number | null +} + +export type Budget_item_membersMinAggregateOutputType = { + id: number | null + budget_item_id: number | null + user_id: number | null + paid: number | null +} + +export type Budget_item_membersMaxAggregateOutputType = { + id: number | null + budget_item_id: number | null + user_id: number | null + paid: number | null +} + +export type Budget_item_membersCountAggregateOutputType = { + id: number + budget_item_id: number + user_id: number + paid: number + _all: number +} + + +export type Budget_item_membersAvgAggregateInputType = { + id?: true + budget_item_id?: true + user_id?: true + paid?: true +} + +export type Budget_item_membersSumAggregateInputType = { + id?: true + budget_item_id?: true + user_id?: true + paid?: true +} + +export type Budget_item_membersMinAggregateInputType = { + id?: true + budget_item_id?: true + user_id?: true + paid?: true +} + +export type Budget_item_membersMaxAggregateInputType = { + id?: true + budget_item_id?: true + user_id?: true + paid?: true +} + +export type Budget_item_membersCountAggregateInputType = { + id?: true + budget_item_id?: true + user_id?: true + paid?: true + _all?: true +} + +export type Budget_item_membersAggregateArgs = { + /** + * Filter which budget_item_members to aggregate. + */ + where?: Prisma.budget_item_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_item_members to fetch. + */ + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.budget_item_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_item_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_item_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned budget_item_members + **/ + _count?: true | Budget_item_membersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Budget_item_membersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Budget_item_membersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Budget_item_membersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Budget_item_membersMaxAggregateInputType +} + +export type GetBudget_item_membersAggregateType = { + [P in keyof T & keyof AggregateBudget_item_members]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type budget_item_membersGroupByArgs = { + where?: Prisma.budget_item_membersWhereInput + orderBy?: Prisma.budget_item_membersOrderByWithAggregationInput | Prisma.budget_item_membersOrderByWithAggregationInput[] + by: Prisma.Budget_item_membersScalarFieldEnum[] | Prisma.Budget_item_membersScalarFieldEnum + having?: Prisma.budget_item_membersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Budget_item_membersCountAggregateInputType | true + _avg?: Budget_item_membersAvgAggregateInputType + _sum?: Budget_item_membersSumAggregateInputType + _min?: Budget_item_membersMinAggregateInputType + _max?: Budget_item_membersMaxAggregateInputType +} + +export type Budget_item_membersGroupByOutputType = { + id: number + budget_item_id: number + user_id: number + paid: number + _count: Budget_item_membersCountAggregateOutputType | null + _avg: Budget_item_membersAvgAggregateOutputType | null + _sum: Budget_item_membersSumAggregateOutputType | null + _min: Budget_item_membersMinAggregateOutputType | null + _max: Budget_item_membersMaxAggregateOutputType | null +} + +export type GetBudget_item_membersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Budget_item_membersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type budget_item_membersWhereInput = { + AND?: Prisma.budget_item_membersWhereInput | Prisma.budget_item_membersWhereInput[] + OR?: Prisma.budget_item_membersWhereInput[] + NOT?: Prisma.budget_item_membersWhereInput | Prisma.budget_item_membersWhereInput[] + id?: Prisma.IntFilter<"budget_item_members"> | number + budget_item_id?: Prisma.IntFilter<"budget_item_members"> | number + user_id?: Prisma.IntFilter<"budget_item_members"> | number + paid?: Prisma.IntFilter<"budget_item_members"> | number + users?: Prisma.XOR + budget_items?: Prisma.XOR +} + +export type budget_item_membersOrderByWithRelationInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + budget_items?: Prisma.budget_itemsOrderByWithRelationInput +} + +export type budget_item_membersWhereUniqueInput = Prisma.AtLeast<{ + id?: number + budget_item_id_user_id?: Prisma.budget_item_membersBudget_item_idUser_idCompoundUniqueInput + AND?: Prisma.budget_item_membersWhereInput | Prisma.budget_item_membersWhereInput[] + OR?: Prisma.budget_item_membersWhereInput[] + NOT?: Prisma.budget_item_membersWhereInput | Prisma.budget_item_membersWhereInput[] + budget_item_id?: Prisma.IntFilter<"budget_item_members"> | number + user_id?: Prisma.IntFilter<"budget_item_members"> | number + paid?: Prisma.IntFilter<"budget_item_members"> | number + users?: Prisma.XOR + budget_items?: Prisma.XOR +}, "id" | "budget_item_id_user_id"> + +export type budget_item_membersOrderByWithAggregationInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder + _count?: Prisma.budget_item_membersCountOrderByAggregateInput + _avg?: Prisma.budget_item_membersAvgOrderByAggregateInput + _max?: Prisma.budget_item_membersMaxOrderByAggregateInput + _min?: Prisma.budget_item_membersMinOrderByAggregateInput + _sum?: Prisma.budget_item_membersSumOrderByAggregateInput +} + +export type budget_item_membersScalarWhereWithAggregatesInput = { + AND?: Prisma.budget_item_membersScalarWhereWithAggregatesInput | Prisma.budget_item_membersScalarWhereWithAggregatesInput[] + OR?: Prisma.budget_item_membersScalarWhereWithAggregatesInput[] + NOT?: Prisma.budget_item_membersScalarWhereWithAggregatesInput | Prisma.budget_item_membersScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"budget_item_members"> | number + budget_item_id?: Prisma.IntWithAggregatesFilter<"budget_item_members"> | number + user_id?: Prisma.IntWithAggregatesFilter<"budget_item_members"> | number + paid?: Prisma.IntWithAggregatesFilter<"budget_item_members"> | number +} + +export type budget_item_membersCreateInput = { + paid?: number + users: Prisma.usersCreateNestedOneWithoutBudget_item_membersInput + budget_items: Prisma.budget_itemsCreateNestedOneWithoutBudget_item_membersInput +} + +export type budget_item_membersUncheckedCreateInput = { + id?: number + budget_item_id: number + user_id: number + paid?: number +} + +export type budget_item_membersUpdateInput = { + paid?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutBudget_item_membersNestedInput + budget_items?: Prisma.budget_itemsUpdateOneRequiredWithoutBudget_item_membersNestedInput +} + +export type budget_item_membersUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + budget_item_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersCreateManyInput = { + id?: number + budget_item_id: number + user_id: number + paid?: number +} + +export type budget_item_membersUpdateManyMutationInput = { + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + budget_item_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersBudget_item_idUser_idCompoundUniqueInput = { + budget_item_id: number + user_id: number +} + +export type budget_item_membersCountOrderByAggregateInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder +} + +export type budget_item_membersAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder +} + +export type budget_item_membersMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder +} + +export type budget_item_membersMinOrderByAggregateInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder +} + +export type budget_item_membersSumOrderByAggregateInput = { + id?: Prisma.SortOrder + budget_item_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + paid?: Prisma.SortOrder +} + +export type Budget_item_membersListRelationFilter = { + every?: Prisma.budget_item_membersWhereInput + some?: Prisma.budget_item_membersWhereInput + none?: Prisma.budget_item_membersWhereInput +} + +export type budget_item_membersOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type budget_item_membersCreateNestedManyWithoutBudget_itemsInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutBudget_itemsInput[] | Prisma.budget_item_membersUncheckedCreateWithoutBudget_itemsInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput | Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput[] + createMany?: Prisma.budget_item_membersCreateManyBudget_itemsInputEnvelope + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] +} + +export type budget_item_membersUncheckedCreateNestedManyWithoutBudget_itemsInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutBudget_itemsInput[] | Prisma.budget_item_membersUncheckedCreateWithoutBudget_itemsInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput | Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput[] + createMany?: Prisma.budget_item_membersCreateManyBudget_itemsInputEnvelope + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] +} + +export type budget_item_membersUpdateManyWithoutBudget_itemsNestedInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutBudget_itemsInput[] | Prisma.budget_item_membersUncheckedCreateWithoutBudget_itemsInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput | Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput[] + upsert?: Prisma.budget_item_membersUpsertWithWhereUniqueWithoutBudget_itemsInput | Prisma.budget_item_membersUpsertWithWhereUniqueWithoutBudget_itemsInput[] + createMany?: Prisma.budget_item_membersCreateManyBudget_itemsInputEnvelope + set?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + disconnect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + delete?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + update?: Prisma.budget_item_membersUpdateWithWhereUniqueWithoutBudget_itemsInput | Prisma.budget_item_membersUpdateWithWhereUniqueWithoutBudget_itemsInput[] + updateMany?: Prisma.budget_item_membersUpdateManyWithWhereWithoutBudget_itemsInput | Prisma.budget_item_membersUpdateManyWithWhereWithoutBudget_itemsInput[] + deleteMany?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] +} + +export type budget_item_membersUncheckedUpdateManyWithoutBudget_itemsNestedInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutBudget_itemsInput[] | Prisma.budget_item_membersUncheckedCreateWithoutBudget_itemsInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput | Prisma.budget_item_membersCreateOrConnectWithoutBudget_itemsInput[] + upsert?: Prisma.budget_item_membersUpsertWithWhereUniqueWithoutBudget_itemsInput | Prisma.budget_item_membersUpsertWithWhereUniqueWithoutBudget_itemsInput[] + createMany?: Prisma.budget_item_membersCreateManyBudget_itemsInputEnvelope + set?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + disconnect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + delete?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + update?: Prisma.budget_item_membersUpdateWithWhereUniqueWithoutBudget_itemsInput | Prisma.budget_item_membersUpdateWithWhereUniqueWithoutBudget_itemsInput[] + updateMany?: Prisma.budget_item_membersUpdateManyWithWhereWithoutBudget_itemsInput | Prisma.budget_item_membersUpdateManyWithWhereWithoutBudget_itemsInput[] + deleteMany?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] +} + +export type budget_item_membersCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutUsersInput[] | Prisma.budget_item_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutUsersInput | Prisma.budget_item_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.budget_item_membersCreateManyUsersInputEnvelope + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] +} + +export type budget_item_membersUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutUsersInput[] | Prisma.budget_item_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutUsersInput | Prisma.budget_item_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.budget_item_membersCreateManyUsersInputEnvelope + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] +} + +export type budget_item_membersUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutUsersInput[] | Prisma.budget_item_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutUsersInput | Prisma.budget_item_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.budget_item_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.budget_item_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.budget_item_membersCreateManyUsersInputEnvelope + set?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + disconnect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + delete?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + update?: Prisma.budget_item_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.budget_item_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.budget_item_membersUpdateManyWithWhereWithoutUsersInput | Prisma.budget_item_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] +} + +export type budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.budget_item_membersCreateWithoutUsersInput[] | Prisma.budget_item_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_item_membersCreateOrConnectWithoutUsersInput | Prisma.budget_item_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.budget_item_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.budget_item_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.budget_item_membersCreateManyUsersInputEnvelope + set?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + disconnect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + delete?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + connect?: Prisma.budget_item_membersWhereUniqueInput | Prisma.budget_item_membersWhereUniqueInput[] + update?: Prisma.budget_item_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.budget_item_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.budget_item_membersUpdateManyWithWhereWithoutUsersInput | Prisma.budget_item_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] +} + +export type budget_item_membersCreateWithoutBudget_itemsInput = { + paid?: number + users: Prisma.usersCreateNestedOneWithoutBudget_item_membersInput +} + +export type budget_item_membersUncheckedCreateWithoutBudget_itemsInput = { + id?: number + user_id: number + paid?: number +} + +export type budget_item_membersCreateOrConnectWithoutBudget_itemsInput = { + where: Prisma.budget_item_membersWhereUniqueInput + create: Prisma.XOR +} + +export type budget_item_membersCreateManyBudget_itemsInputEnvelope = { + data: Prisma.budget_item_membersCreateManyBudget_itemsInput | Prisma.budget_item_membersCreateManyBudget_itemsInput[] +} + +export type budget_item_membersUpsertWithWhereUniqueWithoutBudget_itemsInput = { + where: Prisma.budget_item_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_item_membersUpdateWithWhereUniqueWithoutBudget_itemsInput = { + where: Prisma.budget_item_membersWhereUniqueInput + data: Prisma.XOR +} + +export type budget_item_membersUpdateManyWithWhereWithoutBudget_itemsInput = { + where: Prisma.budget_item_membersScalarWhereInput + data: Prisma.XOR +} + +export type budget_item_membersScalarWhereInput = { + AND?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] + OR?: Prisma.budget_item_membersScalarWhereInput[] + NOT?: Prisma.budget_item_membersScalarWhereInput | Prisma.budget_item_membersScalarWhereInput[] + id?: Prisma.IntFilter<"budget_item_members"> | number + budget_item_id?: Prisma.IntFilter<"budget_item_members"> | number + user_id?: Prisma.IntFilter<"budget_item_members"> | number + paid?: Prisma.IntFilter<"budget_item_members"> | number +} + +export type budget_item_membersCreateWithoutUsersInput = { + paid?: number + budget_items: Prisma.budget_itemsCreateNestedOneWithoutBudget_item_membersInput +} + +export type budget_item_membersUncheckedCreateWithoutUsersInput = { + id?: number + budget_item_id: number + paid?: number +} + +export type budget_item_membersCreateOrConnectWithoutUsersInput = { + where: Prisma.budget_item_membersWhereUniqueInput + create: Prisma.XOR +} + +export type budget_item_membersCreateManyUsersInputEnvelope = { + data: Prisma.budget_item_membersCreateManyUsersInput | Prisma.budget_item_membersCreateManyUsersInput[] +} + +export type budget_item_membersUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.budget_item_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_item_membersUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.budget_item_membersWhereUniqueInput + data: Prisma.XOR +} + +export type budget_item_membersUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.budget_item_membersScalarWhereInput + data: Prisma.XOR +} + +export type budget_item_membersCreateManyBudget_itemsInput = { + id?: number + user_id: number + paid?: number +} + +export type budget_item_membersUpdateWithoutBudget_itemsInput = { + paid?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutBudget_item_membersNestedInput +} + +export type budget_item_membersUncheckedUpdateWithoutBudget_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersUncheckedUpdateManyWithoutBudget_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersCreateManyUsersInput = { + id?: number + budget_item_id: number + paid?: number +} + +export type budget_item_membersUpdateWithoutUsersInput = { + paid?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateOneRequiredWithoutBudget_item_membersNestedInput +} + +export type budget_item_membersUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + budget_item_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type budget_item_membersUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + budget_item_id?: Prisma.IntFieldUpdateOperationsInput | number + paid?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type budget_item_membersSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + budget_item_id?: boolean + user_id?: boolean + paid?: boolean + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +}, ExtArgs["result"]["budget_item_members"]> + +export type budget_item_membersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + budget_item_id?: boolean + user_id?: boolean + paid?: boolean + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +}, ExtArgs["result"]["budget_item_members"]> + +export type budget_item_membersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + budget_item_id?: boolean + user_id?: boolean + paid?: boolean + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +}, ExtArgs["result"]["budget_item_members"]> + +export type budget_item_membersSelectScalar = { + id?: boolean + budget_item_id?: boolean + user_id?: boolean + paid?: boolean +} + +export type budget_item_membersOmit = runtime.Types.Extensions.GetOmit<"id" | "budget_item_id" | "user_id" | "paid", ExtArgs["result"]["budget_item_members"]> +export type budget_item_membersInclude = { + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +} +export type budget_item_membersIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +} +export type budget_item_membersIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + budget_items?: boolean | Prisma.budget_itemsDefaultArgs +} + +export type $budget_item_membersPayload = { + name: "budget_item_members" + objects: { + users: Prisma.$usersPayload + budget_items: Prisma.$budget_itemsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + budget_item_id: number + user_id: number + paid: number + }, ExtArgs["result"]["budget_item_members"]> + composites: {} +} + +export type budget_item_membersGetPayload = runtime.Types.Result.GetResult + +export type budget_item_membersCountArgs = + Omit & { + select?: Budget_item_membersCountAggregateInputType | true + } + +export interface budget_item_membersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['budget_item_members'], meta: { name: 'budget_item_members' } } + /** + * Find zero or one Budget_item_members that matches the filter. + * @param {budget_item_membersFindUniqueArgs} args - Arguments to find a Budget_item_members + * @example + * // Get one Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Budget_item_members that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {budget_item_membersFindUniqueOrThrowArgs} args - Arguments to find a Budget_item_members + * @example + * // Get one Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_item_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersFindFirstArgs} args - Arguments to find a Budget_item_members + * @example + * // Get one Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_item_members that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersFindFirstOrThrowArgs} args - Arguments to find a Budget_item_members + * @example + * // Get one Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Budget_item_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findMany() + * + * // Get first 10 Budget_item_members + * const budget_item_members = await prisma.budget_item_members.findMany({ take: 10 }) + * + * // Only select the `id` + * const budget_item_membersWithIdOnly = await prisma.budget_item_members.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Budget_item_members. + * @param {budget_item_membersCreateArgs} args - Arguments to create a Budget_item_members. + * @example + * // Create one Budget_item_members + * const Budget_item_members = await prisma.budget_item_members.create({ + * data: { + * // ... data to create a Budget_item_members + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Budget_item_members. + * @param {budget_item_membersCreateManyArgs} args - Arguments to create many Budget_item_members. + * @example + * // Create many Budget_item_members + * const budget_item_members = await prisma.budget_item_members.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Budget_item_members and returns the data saved in the database. + * @param {budget_item_membersCreateManyAndReturnArgs} args - Arguments to create many Budget_item_members. + * @example + * // Create many Budget_item_members + * const budget_item_members = await prisma.budget_item_members.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Budget_item_members and only return the `id` + * const budget_item_membersWithIdOnly = await prisma.budget_item_members.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Budget_item_members. + * @param {budget_item_membersDeleteArgs} args - Arguments to delete one Budget_item_members. + * @example + * // Delete one Budget_item_members + * const Budget_item_members = await prisma.budget_item_members.delete({ + * where: { + * // ... filter to delete one Budget_item_members + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Budget_item_members. + * @param {budget_item_membersUpdateArgs} args - Arguments to update one Budget_item_members. + * @example + * // Update one Budget_item_members + * const budget_item_members = await prisma.budget_item_members.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Budget_item_members. + * @param {budget_item_membersDeleteManyArgs} args - Arguments to filter Budget_item_members to delete. + * @example + * // Delete a few Budget_item_members + * const { count } = await prisma.budget_item_members.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_item_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Budget_item_members + * const budget_item_members = await prisma.budget_item_members.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_item_members and returns the data updated in the database. + * @param {budget_item_membersUpdateManyAndReturnArgs} args - Arguments to update many Budget_item_members. + * @example + * // Update many Budget_item_members + * const budget_item_members = await prisma.budget_item_members.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Budget_item_members and only return the `id` + * const budget_item_membersWithIdOnly = await prisma.budget_item_members.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Budget_item_members. + * @param {budget_item_membersUpsertArgs} args - Arguments to update or create a Budget_item_members. + * @example + * // Update or create a Budget_item_members + * const budget_item_members = await prisma.budget_item_members.upsert({ + * create: { + * // ... data to create a Budget_item_members + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Budget_item_members we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__budget_item_membersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Budget_item_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersCountArgs} args - Arguments to filter Budget_item_members to count. + * @example + * // Count the number of Budget_item_members + * const count = await prisma.budget_item_members.count({ + * where: { + * // ... the filter for the Budget_item_members we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Budget_item_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Budget_item_membersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Budget_item_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_item_membersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends budget_item_membersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: budget_item_membersGroupByArgs['orderBy'] } + : { orderBy?: budget_item_membersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetBudget_item_membersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the budget_item_members model + */ +readonly fields: budget_item_membersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for budget_item_members. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__budget_item_membersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + budget_items = {}>(args?: Prisma.Subset>): Prisma.Prisma__budget_itemsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the budget_item_members model + */ +export interface budget_item_membersFieldRefs { + readonly id: Prisma.FieldRef<"budget_item_members", 'Int'> + readonly budget_item_id: Prisma.FieldRef<"budget_item_members", 'Int'> + readonly user_id: Prisma.FieldRef<"budget_item_members", 'Int'> + readonly paid: Prisma.FieldRef<"budget_item_members", 'Int'> +} + + +// Custom InputTypes +/** + * budget_item_members findUnique + */ +export type budget_item_membersFindUniqueArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter, which budget_item_members to fetch. + */ + where: Prisma.budget_item_membersWhereUniqueInput +} + +/** + * budget_item_members findUniqueOrThrow + */ +export type budget_item_membersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter, which budget_item_members to fetch. + */ + where: Prisma.budget_item_membersWhereUniqueInput +} + +/** + * budget_item_members findFirst + */ +export type budget_item_membersFindFirstArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter, which budget_item_members to fetch. + */ + where?: Prisma.budget_item_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_item_members to fetch. + */ + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_item_members. + */ + cursor?: Prisma.budget_item_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_item_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_item_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_item_members. + */ + distinct?: Prisma.Budget_item_membersScalarFieldEnum | Prisma.Budget_item_membersScalarFieldEnum[] +} + +/** + * budget_item_members findFirstOrThrow + */ +export type budget_item_membersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter, which budget_item_members to fetch. + */ + where?: Prisma.budget_item_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_item_members to fetch. + */ + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_item_members. + */ + cursor?: Prisma.budget_item_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_item_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_item_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_item_members. + */ + distinct?: Prisma.Budget_item_membersScalarFieldEnum | Prisma.Budget_item_membersScalarFieldEnum[] +} + +/** + * budget_item_members findMany + */ +export type budget_item_membersFindManyArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter, which budget_item_members to fetch. + */ + where?: Prisma.budget_item_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_item_members to fetch. + */ + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing budget_item_members. + */ + cursor?: Prisma.budget_item_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_item_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_item_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_item_members. + */ + distinct?: Prisma.Budget_item_membersScalarFieldEnum | Prisma.Budget_item_membersScalarFieldEnum[] +} + +/** + * budget_item_members create + */ +export type budget_item_membersCreateArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * The data needed to create a budget_item_members. + */ + data: Prisma.XOR +} + +/** + * budget_item_members createMany + */ +export type budget_item_membersCreateManyArgs = { + /** + * The data used to create many budget_item_members. + */ + data: Prisma.budget_item_membersCreateManyInput | Prisma.budget_item_membersCreateManyInput[] +} + +/** + * budget_item_members createManyAndReturn + */ +export type budget_item_membersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * The data used to create many budget_item_members. + */ + data: Prisma.budget_item_membersCreateManyInput | Prisma.budget_item_membersCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersIncludeCreateManyAndReturn | null +} + +/** + * budget_item_members update + */ +export type budget_item_membersUpdateArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * The data needed to update a budget_item_members. + */ + data: Prisma.XOR + /** + * Choose, which budget_item_members to update. + */ + where: Prisma.budget_item_membersWhereUniqueInput +} + +/** + * budget_item_members updateMany + */ +export type budget_item_membersUpdateManyArgs = { + /** + * The data used to update budget_item_members. + */ + data: Prisma.XOR + /** + * Filter which budget_item_members to update + */ + where?: Prisma.budget_item_membersWhereInput + /** + * Limit how many budget_item_members to update. + */ + limit?: number +} + +/** + * budget_item_members updateManyAndReturn + */ +export type budget_item_membersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * The data used to update budget_item_members. + */ + data: Prisma.XOR + /** + * Filter which budget_item_members to update + */ + where?: Prisma.budget_item_membersWhereInput + /** + * Limit how many budget_item_members to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersIncludeUpdateManyAndReturn | null +} + +/** + * budget_item_members upsert + */ +export type budget_item_membersUpsertArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * The filter to search for the budget_item_members to update in case it exists. + */ + where: Prisma.budget_item_membersWhereUniqueInput + /** + * In case the budget_item_members found by the `where` argument doesn't exist, create a new budget_item_members with this data. + */ + create: Prisma.XOR + /** + * In case the budget_item_members was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * budget_item_members delete + */ +export type budget_item_membersDeleteArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + /** + * Filter which budget_item_members to delete. + */ + where: Prisma.budget_item_membersWhereUniqueInput +} + +/** + * budget_item_members deleteMany + */ +export type budget_item_membersDeleteManyArgs = { + /** + * Filter which budget_item_members to delete + */ + where?: Prisma.budget_item_membersWhereInput + /** + * Limit how many budget_item_members to delete. + */ + limit?: number +} + +/** + * budget_item_members without action + */ +export type budget_item_membersDefaultArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null +} diff --git a/server/src/generated/prisma/models/budget_items.ts b/server/src/generated/prisma/models/budget_items.ts new file mode 100644 index 00000000..cde463c5 --- /dev/null +++ b/server/src/generated/prisma/models/budget_items.ts @@ -0,0 +1,2254 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `budget_items` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model budget_items + * + */ +export type budget_itemsModel = runtime.Types.Result.DefaultSelection + +export type AggregateBudget_items = { + _count: Budget_itemsCountAggregateOutputType | null + _avg: Budget_itemsAvgAggregateOutputType | null + _sum: Budget_itemsSumAggregateOutputType | null + _min: Budget_itemsMinAggregateOutputType | null + _max: Budget_itemsMaxAggregateOutputType | null +} + +export type Budget_itemsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + total_price: number | null + persons: number | null + days: number | null + sort_order: number | null + paid_by_user_id: number | null + reservation_id: number | null +} + +export type Budget_itemsSumAggregateOutputType = { + id: number | null + trip_id: number | null + total_price: number | null + persons: number | null + days: number | null + sort_order: number | null + paid_by_user_id: number | null + reservation_id: number | null +} + +export type Budget_itemsMinAggregateOutputType = { + id: number | null + trip_id: number | null + category: string | null + name: string | null + total_price: number | null + persons: number | null + days: number | null + note: string | null + sort_order: number | null + created_at: Date | null + paid_by_user_id: number | null + expense_date: string | null + reservation_id: number | null +} + +export type Budget_itemsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + category: string | null + name: string | null + total_price: number | null + persons: number | null + days: number | null + note: string | null + sort_order: number | null + created_at: Date | null + paid_by_user_id: number | null + expense_date: string | null + reservation_id: number | null +} + +export type Budget_itemsCountAggregateOutputType = { + id: number + trip_id: number + category: number + name: number + total_price: number + persons: number + days: number + note: number + sort_order: number + created_at: number + paid_by_user_id: number + expense_date: number + reservation_id: number + _all: number +} + + +export type Budget_itemsAvgAggregateInputType = { + id?: true + trip_id?: true + total_price?: true + persons?: true + days?: true + sort_order?: true + paid_by_user_id?: true + reservation_id?: true +} + +export type Budget_itemsSumAggregateInputType = { + id?: true + trip_id?: true + total_price?: true + persons?: true + days?: true + sort_order?: true + paid_by_user_id?: true + reservation_id?: true +} + +export type Budget_itemsMinAggregateInputType = { + id?: true + trip_id?: true + category?: true + name?: true + total_price?: true + persons?: true + days?: true + note?: true + sort_order?: true + created_at?: true + paid_by_user_id?: true + expense_date?: true + reservation_id?: true +} + +export type Budget_itemsMaxAggregateInputType = { + id?: true + trip_id?: true + category?: true + name?: true + total_price?: true + persons?: true + days?: true + note?: true + sort_order?: true + created_at?: true + paid_by_user_id?: true + expense_date?: true + reservation_id?: true +} + +export type Budget_itemsCountAggregateInputType = { + id?: true + trip_id?: true + category?: true + name?: true + total_price?: true + persons?: true + days?: true + note?: true + sort_order?: true + created_at?: true + paid_by_user_id?: true + expense_date?: true + reservation_id?: true + _all?: true +} + +export type Budget_itemsAggregateArgs = { + /** + * Filter which budget_items to aggregate. + */ + where?: Prisma.budget_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_items to fetch. + */ + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.budget_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned budget_items + **/ + _count?: true | Budget_itemsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Budget_itemsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Budget_itemsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Budget_itemsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Budget_itemsMaxAggregateInputType +} + +export type GetBudget_itemsAggregateType = { + [P in keyof T & keyof AggregateBudget_items]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type budget_itemsGroupByArgs = { + where?: Prisma.budget_itemsWhereInput + orderBy?: Prisma.budget_itemsOrderByWithAggregationInput | Prisma.budget_itemsOrderByWithAggregationInput[] + by: Prisma.Budget_itemsScalarFieldEnum[] | Prisma.Budget_itemsScalarFieldEnum + having?: Prisma.budget_itemsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Budget_itemsCountAggregateInputType | true + _avg?: Budget_itemsAvgAggregateInputType + _sum?: Budget_itemsSumAggregateInputType + _min?: Budget_itemsMinAggregateInputType + _max?: Budget_itemsMaxAggregateInputType +} + +export type Budget_itemsGroupByOutputType = { + id: number + trip_id: number + category: string + name: string + total_price: number + persons: number | null + days: number | null + note: string | null + sort_order: number | null + created_at: Date | null + paid_by_user_id: number | null + expense_date: string | null + reservation_id: number | null + _count: Budget_itemsCountAggregateOutputType | null + _avg: Budget_itemsAvgAggregateOutputType | null + _sum: Budget_itemsSumAggregateOutputType | null + _min: Budget_itemsMinAggregateOutputType | null + _max: Budget_itemsMaxAggregateOutputType | null +} + +export type GetBudget_itemsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Budget_itemsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type budget_itemsWhereInput = { + AND?: Prisma.budget_itemsWhereInput | Prisma.budget_itemsWhereInput[] + OR?: Prisma.budget_itemsWhereInput[] + NOT?: Prisma.budget_itemsWhereInput | Prisma.budget_itemsWhereInput[] + id?: Prisma.IntFilter<"budget_items"> | number + trip_id?: Prisma.IntFilter<"budget_items"> | number + category?: Prisma.StringFilter<"budget_items"> | string + name?: Prisma.StringFilter<"budget_items"> | string + total_price?: Prisma.FloatFilter<"budget_items"> | number + persons?: Prisma.IntNullableFilter<"budget_items"> | number | null + days?: Prisma.IntNullableFilter<"budget_items"> | number | null + note?: Prisma.StringNullableFilter<"budget_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"budget_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"budget_items"> | Date | string | null + paid_by_user_id?: Prisma.IntNullableFilter<"budget_items"> | number | null + expense_date?: Prisma.StringNullableFilter<"budget_items"> | string | null + reservation_id?: Prisma.IntNullableFilter<"budget_items"> | number | null + budget_item_members?: Prisma.Budget_item_membersListRelationFilter + reservations?: Prisma.XOR | null + users?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type budget_itemsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + name?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrderInput | Prisma.SortOrder + days?: Prisma.SortOrderInput | Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrderInput | Prisma.SortOrder + expense_date?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + budget_item_members?: Prisma.budget_item_membersOrderByRelationAggregateInput + reservations?: Prisma.reservationsOrderByWithRelationInput + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type budget_itemsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.budget_itemsWhereInput | Prisma.budget_itemsWhereInput[] + OR?: Prisma.budget_itemsWhereInput[] + NOT?: Prisma.budget_itemsWhereInput | Prisma.budget_itemsWhereInput[] + trip_id?: Prisma.IntFilter<"budget_items"> | number + category?: Prisma.StringFilter<"budget_items"> | string + name?: Prisma.StringFilter<"budget_items"> | string + total_price?: Prisma.FloatFilter<"budget_items"> | number + persons?: Prisma.IntNullableFilter<"budget_items"> | number | null + days?: Prisma.IntNullableFilter<"budget_items"> | number | null + note?: Prisma.StringNullableFilter<"budget_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"budget_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"budget_items"> | Date | string | null + paid_by_user_id?: Prisma.IntNullableFilter<"budget_items"> | number | null + expense_date?: Prisma.StringNullableFilter<"budget_items"> | string | null + reservation_id?: Prisma.IntNullableFilter<"budget_items"> | number | null + budget_item_members?: Prisma.Budget_item_membersListRelationFilter + reservations?: Prisma.XOR | null + users?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type budget_itemsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + name?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrderInput | Prisma.SortOrder + days?: Prisma.SortOrderInput | Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrderInput | Prisma.SortOrder + expense_date?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.budget_itemsCountOrderByAggregateInput + _avg?: Prisma.budget_itemsAvgOrderByAggregateInput + _max?: Prisma.budget_itemsMaxOrderByAggregateInput + _min?: Prisma.budget_itemsMinOrderByAggregateInput + _sum?: Prisma.budget_itemsSumOrderByAggregateInput +} + +export type budget_itemsScalarWhereWithAggregatesInput = { + AND?: Prisma.budget_itemsScalarWhereWithAggregatesInput | Prisma.budget_itemsScalarWhereWithAggregatesInput[] + OR?: Prisma.budget_itemsScalarWhereWithAggregatesInput[] + NOT?: Prisma.budget_itemsScalarWhereWithAggregatesInput | Prisma.budget_itemsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"budget_items"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"budget_items"> | number + category?: Prisma.StringWithAggregatesFilter<"budget_items"> | string + name?: Prisma.StringWithAggregatesFilter<"budget_items"> | string + total_price?: Prisma.FloatWithAggregatesFilter<"budget_items"> | number + persons?: Prisma.IntNullableWithAggregatesFilter<"budget_items"> | number | null + days?: Prisma.IntNullableWithAggregatesFilter<"budget_items"> | number | null + note?: Prisma.StringNullableWithAggregatesFilter<"budget_items"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"budget_items"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"budget_items"> | Date | string | null + paid_by_user_id?: Prisma.IntNullableWithAggregatesFilter<"budget_items"> | number | null + expense_date?: Prisma.StringNullableWithAggregatesFilter<"budget_items"> | string | null + reservation_id?: Prisma.IntNullableWithAggregatesFilter<"budget_items"> | number | null +} + +export type budget_itemsCreateInput = { + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutBudget_itemsInput + reservations?: Prisma.reservationsCreateNestedOneWithoutBudget_itemsInput + users?: Prisma.usersCreateNestedOneWithoutBudget_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutBudget_itemsInput +} + +export type budget_itemsUncheckedCreateInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + reservation_id?: number | null + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutBudget_itemsInput +} + +export type budget_itemsUpdateInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutBudget_itemsNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutBudget_itemsNestedInput + users?: Prisma.usersUpdateOneWithoutBudget_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutBudget_itemsNestedInput +} + +export type budget_itemsCreateManyInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + reservation_id?: number | null +} + +export type budget_itemsUpdateManyMutationInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type budget_itemsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type Budget_itemsScalarRelationFilter = { + is?: Prisma.budget_itemsWhereInput + isNot?: Prisma.budget_itemsWhereInput +} + +export type budget_itemsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + name?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrder + days?: Prisma.SortOrder + note?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrder + expense_date?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder +} + +export type budget_itemsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrder + days?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder +} + +export type budget_itemsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + name?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrder + days?: Prisma.SortOrder + note?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrder + expense_date?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder +} + +export type budget_itemsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category?: Prisma.SortOrder + name?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrder + days?: Prisma.SortOrder + note?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrder + expense_date?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder +} + +export type budget_itemsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + total_price?: Prisma.SortOrder + persons?: Prisma.SortOrder + days?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + paid_by_user_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder +} + +export type Budget_itemsListRelationFilter = { + every?: Prisma.budget_itemsWhereInput + some?: Prisma.budget_itemsWhereInput + none?: Prisma.budget_itemsWhereInput +} + +export type budget_itemsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type budget_itemsCreateNestedOneWithoutBudget_item_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutBudget_item_membersInput + connect?: Prisma.budget_itemsWhereUniqueInput +} + +export type budget_itemsUpdateOneRequiredWithoutBudget_item_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutBudget_item_membersInput + upsert?: Prisma.budget_itemsUpsertWithoutBudget_item_membersInput + connect?: Prisma.budget_itemsWhereUniqueInput + update?: Prisma.XOR, Prisma.budget_itemsUncheckedUpdateWithoutBudget_item_membersInput> +} + +export type FloatFieldUpdateOperationsInput = { + set?: number + increment?: number + decrement?: number + multiply?: number + divide?: number +} + +export type budget_itemsCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutReservationsInput[] | Prisma.budget_itemsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutReservationsInput | Prisma.budget_itemsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.budget_itemsCreateManyReservationsInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUncheckedCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutReservationsInput[] | Prisma.budget_itemsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutReservationsInput | Prisma.budget_itemsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.budget_itemsCreateManyReservationsInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutReservationsInput[] | Prisma.budget_itemsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutReservationsInput | Prisma.budget_itemsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.budget_itemsCreateManyReservationsInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutReservationsInput | Prisma.budget_itemsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutReservationsInput[] | Prisma.budget_itemsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutReservationsInput | Prisma.budget_itemsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.budget_itemsCreateManyReservationsInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutReservationsInput | Prisma.budget_itemsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutTripsInput[] | Prisma.budget_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutTripsInput | Prisma.budget_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.budget_itemsCreateManyTripsInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutTripsInput[] | Prisma.budget_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutTripsInput | Prisma.budget_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.budget_itemsCreateManyTripsInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutTripsInput[] | Prisma.budget_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutTripsInput | Prisma.budget_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.budget_itemsCreateManyTripsInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.budget_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutTripsInput[] | Prisma.budget_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutTripsInput | Prisma.budget_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.budget_itemsCreateManyTripsInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.budget_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutUsersInput[] | Prisma.budget_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutUsersInput | Prisma.budget_itemsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.budget_itemsCreateManyUsersInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutUsersInput[] | Prisma.budget_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutUsersInput | Prisma.budget_itemsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.budget_itemsCreateManyUsersInputEnvelope + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] +} + +export type budget_itemsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutUsersInput[] | Prisma.budget_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutUsersInput | Prisma.budget_itemsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutUsersInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.budget_itemsCreateManyUsersInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutUsersInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutUsersInput | Prisma.budget_itemsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.budget_itemsCreateWithoutUsersInput[] | Prisma.budget_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.budget_itemsCreateOrConnectWithoutUsersInput | Prisma.budget_itemsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.budget_itemsUpsertWithWhereUniqueWithoutUsersInput | Prisma.budget_itemsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.budget_itemsCreateManyUsersInputEnvelope + set?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + disconnect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + delete?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + connect?: Prisma.budget_itemsWhereUniqueInput | Prisma.budget_itemsWhereUniqueInput[] + update?: Prisma.budget_itemsUpdateWithWhereUniqueWithoutUsersInput | Prisma.budget_itemsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.budget_itemsUpdateManyWithWhereWithoutUsersInput | Prisma.budget_itemsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] +} + +export type budget_itemsCreateWithoutBudget_item_membersInput = { + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + reservations?: Prisma.reservationsCreateNestedOneWithoutBudget_itemsInput + users?: Prisma.usersCreateNestedOneWithoutBudget_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutBudget_itemsInput +} + +export type budget_itemsUncheckedCreateWithoutBudget_item_membersInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + reservation_id?: number | null +} + +export type budget_itemsCreateOrConnectWithoutBudget_item_membersInput = { + where: Prisma.budget_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type budget_itemsUpsertWithoutBudget_item_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.budget_itemsWhereInput +} + +export type budget_itemsUpdateToOneWithWhereWithoutBudget_item_membersInput = { + where?: Prisma.budget_itemsWhereInput + data: Prisma.XOR +} + +export type budget_itemsUpdateWithoutBudget_item_membersInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservations?: Prisma.reservationsUpdateOneWithoutBudget_itemsNestedInput + users?: Prisma.usersUpdateOneWithoutBudget_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateWithoutBudget_item_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type budget_itemsCreateWithoutReservationsInput = { + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutBudget_itemsInput + users?: Prisma.usersCreateNestedOneWithoutBudget_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutBudget_itemsInput +} + +export type budget_itemsUncheckedCreateWithoutReservationsInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutBudget_itemsInput +} + +export type budget_itemsCreateOrConnectWithoutReservationsInput = { + where: Prisma.budget_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type budget_itemsCreateManyReservationsInputEnvelope = { + data: Prisma.budget_itemsCreateManyReservationsInput | Prisma.budget_itemsCreateManyReservationsInput[] +} + +export type budget_itemsUpsertWithWhereUniqueWithoutReservationsInput = { + where: Prisma.budget_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_itemsUpdateWithWhereUniqueWithoutReservationsInput = { + where: Prisma.budget_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type budget_itemsUpdateManyWithWhereWithoutReservationsInput = { + where: Prisma.budget_itemsScalarWhereInput + data: Prisma.XOR +} + +export type budget_itemsScalarWhereInput = { + AND?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] + OR?: Prisma.budget_itemsScalarWhereInput[] + NOT?: Prisma.budget_itemsScalarWhereInput | Prisma.budget_itemsScalarWhereInput[] + id?: Prisma.IntFilter<"budget_items"> | number + trip_id?: Prisma.IntFilter<"budget_items"> | number + category?: Prisma.StringFilter<"budget_items"> | string + name?: Prisma.StringFilter<"budget_items"> | string + total_price?: Prisma.FloatFilter<"budget_items"> | number + persons?: Prisma.IntNullableFilter<"budget_items"> | number | null + days?: Prisma.IntNullableFilter<"budget_items"> | number | null + note?: Prisma.StringNullableFilter<"budget_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"budget_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"budget_items"> | Date | string | null + paid_by_user_id?: Prisma.IntNullableFilter<"budget_items"> | number | null + expense_date?: Prisma.StringNullableFilter<"budget_items"> | string | null + reservation_id?: Prisma.IntNullableFilter<"budget_items"> | number | null +} + +export type budget_itemsCreateWithoutTripsInput = { + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutBudget_itemsInput + reservations?: Prisma.reservationsCreateNestedOneWithoutBudget_itemsInput + users?: Prisma.usersCreateNestedOneWithoutBudget_itemsInput +} + +export type budget_itemsUncheckedCreateWithoutTripsInput = { + id?: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + reservation_id?: number | null + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutBudget_itemsInput +} + +export type budget_itemsCreateOrConnectWithoutTripsInput = { + where: Prisma.budget_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type budget_itemsCreateManyTripsInputEnvelope = { + data: Prisma.budget_itemsCreateManyTripsInput | Prisma.budget_itemsCreateManyTripsInput[] +} + +export type budget_itemsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.budget_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_itemsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.budget_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type budget_itemsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.budget_itemsScalarWhereInput + data: Prisma.XOR +} + +export type budget_itemsCreateWithoutUsersInput = { + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutBudget_itemsInput + reservations?: Prisma.reservationsCreateNestedOneWithoutBudget_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutBudget_itemsInput +} + +export type budget_itemsUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + reservation_id?: number | null + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutBudget_itemsInput +} + +export type budget_itemsCreateOrConnectWithoutUsersInput = { + where: Prisma.budget_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type budget_itemsCreateManyUsersInputEnvelope = { + data: Prisma.budget_itemsCreateManyUsersInput | Prisma.budget_itemsCreateManyUsersInput[] +} + +export type budget_itemsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.budget_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type budget_itemsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.budget_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type budget_itemsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.budget_itemsScalarWhereInput + data: Prisma.XOR +} + +export type budget_itemsCreateManyReservationsInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null +} + +export type budget_itemsUpdateWithoutReservationsInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutBudget_itemsNestedInput + users?: Prisma.usersUpdateOneWithoutBudget_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateManyWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type budget_itemsCreateManyTripsInput = { + id?: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + paid_by_user_id?: number | null + expense_date?: string | null + reservation_id?: number | null +} + +export type budget_itemsUpdateWithoutTripsInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutBudget_itemsNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutBudget_itemsNestedInput + users?: Prisma.usersUpdateOneWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + paid_by_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type budget_itemsCreateManyUsersInput = { + id?: number + trip_id: number + category?: string + name: string + total_price?: number + persons?: number | null + days?: number | null + note?: string | null + sort_order?: number | null + created_at?: Date | string | null + expense_date?: string | null + reservation_id?: number | null +} + +export type budget_itemsUpdateWithoutUsersInput = { + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutBudget_itemsNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutBudget_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutBudget_itemsNestedInput +} + +export type budget_itemsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + total_price?: Prisma.FloatFieldUpdateOperationsInput | number + persons?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expense_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + + +/** + * Count Type Budget_itemsCountOutputType + */ + +export type Budget_itemsCountOutputType = { + budget_item_members: number +} + +export type Budget_itemsCountOutputTypeSelect = { + budget_item_members?: boolean | Budget_itemsCountOutputTypeCountBudget_item_membersArgs +} + +/** + * Budget_itemsCountOutputType without action + */ +export type Budget_itemsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Budget_itemsCountOutputType + */ + select?: Prisma.Budget_itemsCountOutputTypeSelect | null +} + +/** + * Budget_itemsCountOutputType without action + */ +export type Budget_itemsCountOutputTypeCountBudget_item_membersArgs = { + where?: Prisma.budget_item_membersWhereInput +} + + +export type budget_itemsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category?: boolean + name?: boolean + total_price?: boolean + persons?: boolean + days?: boolean + note?: boolean + sort_order?: boolean + created_at?: boolean + paid_by_user_id?: boolean + expense_date?: boolean + reservation_id?: boolean + budget_item_members?: boolean | Prisma.budget_items$budget_item_membersArgs + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Budget_itemsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["budget_items"]> + +export type budget_itemsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category?: boolean + name?: boolean + total_price?: boolean + persons?: boolean + days?: boolean + note?: boolean + sort_order?: boolean + created_at?: boolean + paid_by_user_id?: boolean + expense_date?: boolean + reservation_id?: boolean + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["budget_items"]> + +export type budget_itemsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category?: boolean + name?: boolean + total_price?: boolean + persons?: boolean + days?: boolean + note?: boolean + sort_order?: boolean + created_at?: boolean + paid_by_user_id?: boolean + expense_date?: boolean + reservation_id?: boolean + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["budget_items"]> + +export type budget_itemsSelectScalar = { + id?: boolean + trip_id?: boolean + category?: boolean + name?: boolean + total_price?: boolean + persons?: boolean + days?: boolean + note?: boolean + sort_order?: boolean + created_at?: boolean + paid_by_user_id?: boolean + expense_date?: boolean + reservation_id?: boolean +} + +export type budget_itemsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "category" | "name" | "total_price" | "persons" | "days" | "note" | "sort_order" | "created_at" | "paid_by_user_id" | "expense_date" | "reservation_id", ExtArgs["result"]["budget_items"]> +export type budget_itemsInclude = { + budget_item_members?: boolean | Prisma.budget_items$budget_item_membersArgs + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Budget_itemsCountOutputTypeDefaultArgs +} +export type budget_itemsIncludeCreateManyAndReturn = { + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type budget_itemsIncludeUpdateManyAndReturn = { + reservations?: boolean | Prisma.budget_items$reservationsArgs + users?: boolean | Prisma.budget_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $budget_itemsPayload = { + name: "budget_items" + objects: { + budget_item_members: Prisma.$budget_item_membersPayload[] + reservations: Prisma.$reservationsPayload | null + users: Prisma.$usersPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + category: string + name: string + total_price: number + persons: number | null + days: number | null + note: string | null + sort_order: number | null + created_at: Date | null + paid_by_user_id: number | null + expense_date: string | null + reservation_id: number | null + }, ExtArgs["result"]["budget_items"]> + composites: {} +} + +export type budget_itemsGetPayload = runtime.Types.Result.GetResult + +export type budget_itemsCountArgs = + Omit & { + select?: Budget_itemsCountAggregateInputType | true + } + +export interface budget_itemsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['budget_items'], meta: { name: 'budget_items' } } + /** + * Find zero or one Budget_items that matches the filter. + * @param {budget_itemsFindUniqueArgs} args - Arguments to find a Budget_items + * @example + * // Get one Budget_items + * const budget_items = await prisma.budget_items.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Budget_items that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {budget_itemsFindUniqueOrThrowArgs} args - Arguments to find a Budget_items + * @example + * // Get one Budget_items + * const budget_items = await prisma.budget_items.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsFindFirstArgs} args - Arguments to find a Budget_items + * @example + * // Get one Budget_items + * const budget_items = await prisma.budget_items.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Budget_items that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsFindFirstOrThrowArgs} args - Arguments to find a Budget_items + * @example + * // Get one Budget_items + * const budget_items = await prisma.budget_items.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Budget_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Budget_items + * const budget_items = await prisma.budget_items.findMany() + * + * // Get first 10 Budget_items + * const budget_items = await prisma.budget_items.findMany({ take: 10 }) + * + * // Only select the `id` + * const budget_itemsWithIdOnly = await prisma.budget_items.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Budget_items. + * @param {budget_itemsCreateArgs} args - Arguments to create a Budget_items. + * @example + * // Create one Budget_items + * const Budget_items = await prisma.budget_items.create({ + * data: { + * // ... data to create a Budget_items + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Budget_items. + * @param {budget_itemsCreateManyArgs} args - Arguments to create many Budget_items. + * @example + * // Create many Budget_items + * const budget_items = await prisma.budget_items.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Budget_items and returns the data saved in the database. + * @param {budget_itemsCreateManyAndReturnArgs} args - Arguments to create many Budget_items. + * @example + * // Create many Budget_items + * const budget_items = await prisma.budget_items.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Budget_items and only return the `id` + * const budget_itemsWithIdOnly = await prisma.budget_items.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Budget_items. + * @param {budget_itemsDeleteArgs} args - Arguments to delete one Budget_items. + * @example + * // Delete one Budget_items + * const Budget_items = await prisma.budget_items.delete({ + * where: { + * // ... filter to delete one Budget_items + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Budget_items. + * @param {budget_itemsUpdateArgs} args - Arguments to update one Budget_items. + * @example + * // Update one Budget_items + * const budget_items = await prisma.budget_items.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Budget_items. + * @param {budget_itemsDeleteManyArgs} args - Arguments to filter Budget_items to delete. + * @example + * // Delete a few Budget_items + * const { count } = await prisma.budget_items.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Budget_items + * const budget_items = await prisma.budget_items.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Budget_items and returns the data updated in the database. + * @param {budget_itemsUpdateManyAndReturnArgs} args - Arguments to update many Budget_items. + * @example + * // Update many Budget_items + * const budget_items = await prisma.budget_items.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Budget_items and only return the `id` + * const budget_itemsWithIdOnly = await prisma.budget_items.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Budget_items. + * @param {budget_itemsUpsertArgs} args - Arguments to update or create a Budget_items. + * @example + * // Update or create a Budget_items + * const budget_items = await prisma.budget_items.upsert({ + * create: { + * // ... data to create a Budget_items + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Budget_items we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__budget_itemsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Budget_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsCountArgs} args - Arguments to filter Budget_items to count. + * @example + * // Count the number of Budget_items + * const count = await prisma.budget_items.count({ + * where: { + * // ... the filter for the Budget_items we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Budget_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Budget_itemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Budget_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {budget_itemsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends budget_itemsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: budget_itemsGroupByArgs['orderBy'] } + : { orderBy?: budget_itemsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetBudget_itemsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the budget_items model + */ +readonly fields: budget_itemsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for budget_items. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__budget_itemsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + budget_item_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservations = {}>(args?: Prisma.Subset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the budget_items model + */ +export interface budget_itemsFieldRefs { + readonly id: Prisma.FieldRef<"budget_items", 'Int'> + readonly trip_id: Prisma.FieldRef<"budget_items", 'Int'> + readonly category: Prisma.FieldRef<"budget_items", 'String'> + readonly name: Prisma.FieldRef<"budget_items", 'String'> + readonly total_price: Prisma.FieldRef<"budget_items", 'Float'> + readonly persons: Prisma.FieldRef<"budget_items", 'Int'> + readonly days: Prisma.FieldRef<"budget_items", 'Int'> + readonly note: Prisma.FieldRef<"budget_items", 'String'> + readonly sort_order: Prisma.FieldRef<"budget_items", 'Int'> + readonly created_at: Prisma.FieldRef<"budget_items", 'DateTime'> + readonly paid_by_user_id: Prisma.FieldRef<"budget_items", 'Int'> + readonly expense_date: Prisma.FieldRef<"budget_items", 'String'> + readonly reservation_id: Prisma.FieldRef<"budget_items", 'Int'> +} + + +// Custom InputTypes +/** + * budget_items findUnique + */ +export type budget_itemsFindUniqueArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter, which budget_items to fetch. + */ + where: Prisma.budget_itemsWhereUniqueInput +} + +/** + * budget_items findUniqueOrThrow + */ +export type budget_itemsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter, which budget_items to fetch. + */ + where: Prisma.budget_itemsWhereUniqueInput +} + +/** + * budget_items findFirst + */ +export type budget_itemsFindFirstArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter, which budget_items to fetch. + */ + where?: Prisma.budget_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_items to fetch. + */ + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_items. + */ + cursor?: Prisma.budget_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_items. + */ + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * budget_items findFirstOrThrow + */ +export type budget_itemsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter, which budget_items to fetch. + */ + where?: Prisma.budget_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_items to fetch. + */ + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for budget_items. + */ + cursor?: Prisma.budget_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_items. + */ + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * budget_items findMany + */ +export type budget_itemsFindManyArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter, which budget_items to fetch. + */ + where?: Prisma.budget_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of budget_items to fetch. + */ + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing budget_items. + */ + cursor?: Prisma.budget_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` budget_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` budget_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of budget_items. + */ + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * budget_items create + */ +export type budget_itemsCreateArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * The data needed to create a budget_items. + */ + data: Prisma.XOR +} + +/** + * budget_items createMany + */ +export type budget_itemsCreateManyArgs = { + /** + * The data used to create many budget_items. + */ + data: Prisma.budget_itemsCreateManyInput | Prisma.budget_itemsCreateManyInput[] +} + +/** + * budget_items createManyAndReturn + */ +export type budget_itemsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * The data used to create many budget_items. + */ + data: Prisma.budget_itemsCreateManyInput | Prisma.budget_itemsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsIncludeCreateManyAndReturn | null +} + +/** + * budget_items update + */ +export type budget_itemsUpdateArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * The data needed to update a budget_items. + */ + data: Prisma.XOR + /** + * Choose, which budget_items to update. + */ + where: Prisma.budget_itemsWhereUniqueInput +} + +/** + * budget_items updateMany + */ +export type budget_itemsUpdateManyArgs = { + /** + * The data used to update budget_items. + */ + data: Prisma.XOR + /** + * Filter which budget_items to update + */ + where?: Prisma.budget_itemsWhereInput + /** + * Limit how many budget_items to update. + */ + limit?: number +} + +/** + * budget_items updateManyAndReturn + */ +export type budget_itemsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * The data used to update budget_items. + */ + data: Prisma.XOR + /** + * Filter which budget_items to update + */ + where?: Prisma.budget_itemsWhereInput + /** + * Limit how many budget_items to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsIncludeUpdateManyAndReturn | null +} + +/** + * budget_items upsert + */ +export type budget_itemsUpsertArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * The filter to search for the budget_items to update in case it exists. + */ + where: Prisma.budget_itemsWhereUniqueInput + /** + * In case the budget_items found by the `where` argument doesn't exist, create a new budget_items with this data. + */ + create: Prisma.XOR + /** + * In case the budget_items was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * budget_items delete + */ +export type budget_itemsDeleteArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + /** + * Filter which budget_items to delete. + */ + where: Prisma.budget_itemsWhereUniqueInput +} + +/** + * budget_items deleteMany + */ +export type budget_itemsDeleteManyArgs = { + /** + * Filter which budget_items to delete + */ + where?: Prisma.budget_itemsWhereInput + /** + * Limit how many budget_items to delete. + */ + limit?: number +} + +/** + * budget_items.budget_item_members + */ +export type budget_items$budget_item_membersArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + where?: Prisma.budget_item_membersWhereInput + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + cursor?: Prisma.budget_item_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_item_membersScalarFieldEnum | Prisma.Budget_item_membersScalarFieldEnum[] +} + +/** + * budget_items.reservations + */ +export type budget_items$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput +} + +/** + * budget_items.users + */ +export type budget_items$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * budget_items without action + */ +export type budget_itemsDefaultArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null +} diff --git a/server/src/generated/prisma/models/categories.ts b/server/src/generated/prisma/models/categories.ts new file mode 100644 index 00000000..58cbb267 --- /dev/null +++ b/server/src/generated/prisma/models/categories.ts @@ -0,0 +1,1582 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `categories` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model categories + * + */ +export type categoriesModel = runtime.Types.Result.DefaultSelection + +export type AggregateCategories = { + _count: CategoriesCountAggregateOutputType | null + _avg: CategoriesAvgAggregateOutputType | null + _sum: CategoriesSumAggregateOutputType | null + _min: CategoriesMinAggregateOutputType | null + _max: CategoriesMaxAggregateOutputType | null +} + +export type CategoriesAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type CategoriesSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type CategoriesMinAggregateOutputType = { + id: number | null + name: string | null + color: string | null + icon: string | null + user_id: number | null + created_at: Date | null +} + +export type CategoriesMaxAggregateOutputType = { + id: number | null + name: string | null + color: string | null + icon: string | null + user_id: number | null + created_at: Date | null +} + +export type CategoriesCountAggregateOutputType = { + id: number + name: number + color: number + icon: number + user_id: number + created_at: number + _all: number +} + + +export type CategoriesAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type CategoriesSumAggregateInputType = { + id?: true + user_id?: true +} + +export type CategoriesMinAggregateInputType = { + id?: true + name?: true + color?: true + icon?: true + user_id?: true + created_at?: true +} + +export type CategoriesMaxAggregateInputType = { + id?: true + name?: true + color?: true + icon?: true + user_id?: true + created_at?: true +} + +export type CategoriesCountAggregateInputType = { + id?: true + name?: true + color?: true + icon?: true + user_id?: true + created_at?: true + _all?: true +} + +export type CategoriesAggregateArgs = { + /** + * Filter which categories to aggregate. + */ + where?: Prisma.categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of categories to fetch. + */ + orderBy?: Prisma.categoriesOrderByWithRelationInput | Prisma.categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned categories + **/ + _count?: true | CategoriesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: CategoriesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: CategoriesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: CategoriesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: CategoriesMaxAggregateInputType +} + +export type GetCategoriesAggregateType = { + [P in keyof T & keyof AggregateCategories]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type categoriesGroupByArgs = { + where?: Prisma.categoriesWhereInput + orderBy?: Prisma.categoriesOrderByWithAggregationInput | Prisma.categoriesOrderByWithAggregationInput[] + by: Prisma.CategoriesScalarFieldEnum[] | Prisma.CategoriesScalarFieldEnum + having?: Prisma.categoriesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: CategoriesCountAggregateInputType | true + _avg?: CategoriesAvgAggregateInputType + _sum?: CategoriesSumAggregateInputType + _min?: CategoriesMinAggregateInputType + _max?: CategoriesMaxAggregateInputType +} + +export type CategoriesGroupByOutputType = { + id: number + name: string + color: string | null + icon: string | null + user_id: number | null + created_at: Date | null + _count: CategoriesCountAggregateOutputType | null + _avg: CategoriesAvgAggregateOutputType | null + _sum: CategoriesSumAggregateOutputType | null + _min: CategoriesMinAggregateOutputType | null + _max: CategoriesMaxAggregateOutputType | null +} + +export type GetCategoriesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof CategoriesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type categoriesWhereInput = { + AND?: Prisma.categoriesWhereInput | Prisma.categoriesWhereInput[] + OR?: Prisma.categoriesWhereInput[] + NOT?: Prisma.categoriesWhereInput | Prisma.categoriesWhereInput[] + id?: Prisma.IntFilter<"categories"> | number + name?: Prisma.StringFilter<"categories"> | string + color?: Prisma.StringNullableFilter<"categories"> | string | null + icon?: Prisma.StringNullableFilter<"categories"> | string | null + user_id?: Prisma.IntNullableFilter<"categories"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"categories"> | Date | string | null + users?: Prisma.XOR | null + places?: Prisma.PlacesListRelationFilter +} + +export type categoriesOrderByWithRelationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + places?: Prisma.placesOrderByRelationAggregateInput +} + +export type categoriesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.categoriesWhereInput | Prisma.categoriesWhereInput[] + OR?: Prisma.categoriesWhereInput[] + NOT?: Prisma.categoriesWhereInput | Prisma.categoriesWhereInput[] + name?: Prisma.StringFilter<"categories"> | string + color?: Prisma.StringNullableFilter<"categories"> | string | null + icon?: Prisma.StringNullableFilter<"categories"> | string | null + user_id?: Prisma.IntNullableFilter<"categories"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"categories"> | Date | string | null + users?: Prisma.XOR | null + places?: Prisma.PlacesListRelationFilter +}, "id"> + +export type categoriesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.categoriesCountOrderByAggregateInput + _avg?: Prisma.categoriesAvgOrderByAggregateInput + _max?: Prisma.categoriesMaxOrderByAggregateInput + _min?: Prisma.categoriesMinOrderByAggregateInput + _sum?: Prisma.categoriesSumOrderByAggregateInput +} + +export type categoriesScalarWhereWithAggregatesInput = { + AND?: Prisma.categoriesScalarWhereWithAggregatesInput | Prisma.categoriesScalarWhereWithAggregatesInput[] + OR?: Prisma.categoriesScalarWhereWithAggregatesInput[] + NOT?: Prisma.categoriesScalarWhereWithAggregatesInput | Prisma.categoriesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"categories"> | number + name?: Prisma.StringWithAggregatesFilter<"categories"> | string + color?: Prisma.StringNullableWithAggregatesFilter<"categories"> | string | null + icon?: Prisma.StringNullableWithAggregatesFilter<"categories"> | string | null + user_id?: Prisma.IntNullableWithAggregatesFilter<"categories"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"categories"> | Date | string | null +} + +export type categoriesCreateInput = { + name: string + color?: string | null + icon?: string | null + created_at?: Date | string | null + users?: Prisma.usersCreateNestedOneWithoutCategoriesInput + places?: Prisma.placesCreateNestedManyWithoutCategoriesInput +} + +export type categoriesUncheckedCreateInput = { + id?: number + name: string + color?: string | null + icon?: string | null + user_id?: number | null + created_at?: Date | string | null + places?: Prisma.placesUncheckedCreateNestedManyWithoutCategoriesInput +} + +export type categoriesUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneWithoutCategoriesNestedInput + places?: Prisma.placesUpdateManyWithoutCategoriesNestedInput +} + +export type categoriesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUncheckedUpdateManyWithoutCategoriesNestedInput +} + +export type categoriesCreateManyInput = { + id?: number + name: string + color?: string | null + icon?: string | null + user_id?: number | null + created_at?: Date | string | null +} + +export type categoriesUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type categoriesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type categoriesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + icon?: Prisma.SortOrder + user_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type categoriesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type categoriesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + icon?: Prisma.SortOrder + user_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type categoriesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + icon?: Prisma.SortOrder + user_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type categoriesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type CategoriesNullableScalarRelationFilter = { + is?: Prisma.categoriesWhereInput | null + isNot?: Prisma.categoriesWhereInput | null +} + +export type CategoriesListRelationFilter = { + every?: Prisma.categoriesWhereInput + some?: Prisma.categoriesWhereInput + none?: Prisma.categoriesWhereInput +} + +export type categoriesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type categoriesCreateNestedOneWithoutPlacesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutPlacesInput + connect?: Prisma.categoriesWhereUniqueInput +} + +export type categoriesUpdateOneWithoutPlacesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutPlacesInput + upsert?: Prisma.categoriesUpsertWithoutPlacesInput + disconnect?: Prisma.categoriesWhereInput | boolean + delete?: Prisma.categoriesWhereInput | boolean + connect?: Prisma.categoriesWhereUniqueInput + update?: Prisma.XOR, Prisma.categoriesUncheckedUpdateWithoutPlacesInput> +} + +export type categoriesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.categoriesCreateWithoutUsersInput[] | Prisma.categoriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutUsersInput | Prisma.categoriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.categoriesCreateManyUsersInputEnvelope + connect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] +} + +export type categoriesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.categoriesCreateWithoutUsersInput[] | Prisma.categoriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutUsersInput | Prisma.categoriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.categoriesCreateManyUsersInputEnvelope + connect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] +} + +export type categoriesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.categoriesCreateWithoutUsersInput[] | Prisma.categoriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutUsersInput | Prisma.categoriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.categoriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.categoriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.categoriesCreateManyUsersInputEnvelope + set?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + disconnect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + delete?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + connect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + update?: Prisma.categoriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.categoriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.categoriesUpdateManyWithWhereWithoutUsersInput | Prisma.categoriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.categoriesScalarWhereInput | Prisma.categoriesScalarWhereInput[] +} + +export type categoriesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.categoriesCreateWithoutUsersInput[] | Prisma.categoriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.categoriesCreateOrConnectWithoutUsersInput | Prisma.categoriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.categoriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.categoriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.categoriesCreateManyUsersInputEnvelope + set?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + disconnect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + delete?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + connect?: Prisma.categoriesWhereUniqueInput | Prisma.categoriesWhereUniqueInput[] + update?: Prisma.categoriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.categoriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.categoriesUpdateManyWithWhereWithoutUsersInput | Prisma.categoriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.categoriesScalarWhereInput | Prisma.categoriesScalarWhereInput[] +} + +export type categoriesCreateWithoutPlacesInput = { + name: string + color?: string | null + icon?: string | null + created_at?: Date | string | null + users?: Prisma.usersCreateNestedOneWithoutCategoriesInput +} + +export type categoriesUncheckedCreateWithoutPlacesInput = { + id?: number + name: string + color?: string | null + icon?: string | null + user_id?: number | null + created_at?: Date | string | null +} + +export type categoriesCreateOrConnectWithoutPlacesInput = { + where: Prisma.categoriesWhereUniqueInput + create: Prisma.XOR +} + +export type categoriesUpsertWithoutPlacesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.categoriesWhereInput +} + +export type categoriesUpdateToOneWithWhereWithoutPlacesInput = { + where?: Prisma.categoriesWhereInput + data: Prisma.XOR +} + +export type categoriesUpdateWithoutPlacesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneWithoutCategoriesNestedInput +} + +export type categoriesUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type categoriesCreateWithoutUsersInput = { + name: string + color?: string | null + icon?: string | null + created_at?: Date | string | null + places?: Prisma.placesCreateNestedManyWithoutCategoriesInput +} + +export type categoriesUncheckedCreateWithoutUsersInput = { + id?: number + name: string + color?: string | null + icon?: string | null + created_at?: Date | string | null + places?: Prisma.placesUncheckedCreateNestedManyWithoutCategoriesInput +} + +export type categoriesCreateOrConnectWithoutUsersInput = { + where: Prisma.categoriesWhereUniqueInput + create: Prisma.XOR +} + +export type categoriesCreateManyUsersInputEnvelope = { + data: Prisma.categoriesCreateManyUsersInput | Prisma.categoriesCreateManyUsersInput[] +} + +export type categoriesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.categoriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type categoriesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.categoriesWhereUniqueInput + data: Prisma.XOR +} + +export type categoriesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.categoriesScalarWhereInput + data: Prisma.XOR +} + +export type categoriesScalarWhereInput = { + AND?: Prisma.categoriesScalarWhereInput | Prisma.categoriesScalarWhereInput[] + OR?: Prisma.categoriesScalarWhereInput[] + NOT?: Prisma.categoriesScalarWhereInput | Prisma.categoriesScalarWhereInput[] + id?: Prisma.IntFilter<"categories"> | number + name?: Prisma.StringFilter<"categories"> | string + color?: Prisma.StringNullableFilter<"categories"> | string | null + icon?: Prisma.StringNullableFilter<"categories"> | string | null + user_id?: Prisma.IntNullableFilter<"categories"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"categories"> | Date | string | null +} + +export type categoriesCreateManyUsersInput = { + id?: number + name: string + color?: string | null + icon?: string | null + created_at?: Date | string | null +} + +export type categoriesUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateManyWithoutCategoriesNestedInput +} + +export type categoriesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUncheckedUpdateManyWithoutCategoriesNestedInput +} + +export type categoriesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type CategoriesCountOutputType + */ + +export type CategoriesCountOutputType = { + places: number +} + +export type CategoriesCountOutputTypeSelect = { + places?: boolean | CategoriesCountOutputTypeCountPlacesArgs +} + +/** + * CategoriesCountOutputType without action + */ +export type CategoriesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the CategoriesCountOutputType + */ + select?: Prisma.CategoriesCountOutputTypeSelect | null +} + +/** + * CategoriesCountOutputType without action + */ +export type CategoriesCountOutputTypeCountPlacesArgs = { + where?: Prisma.placesWhereInput +} + + +export type categoriesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + color?: boolean + icon?: boolean + user_id?: boolean + created_at?: boolean + users?: boolean | Prisma.categories$usersArgs + places?: boolean | Prisma.categories$placesArgs + _count?: boolean | Prisma.CategoriesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["categories"]> + +export type categoriesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + color?: boolean + icon?: boolean + user_id?: boolean + created_at?: boolean + users?: boolean | Prisma.categories$usersArgs +}, ExtArgs["result"]["categories"]> + +export type categoriesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + color?: boolean + icon?: boolean + user_id?: boolean + created_at?: boolean + users?: boolean | Prisma.categories$usersArgs +}, ExtArgs["result"]["categories"]> + +export type categoriesSelectScalar = { + id?: boolean + name?: boolean + color?: boolean + icon?: boolean + user_id?: boolean + created_at?: boolean +} + +export type categoriesOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "color" | "icon" | "user_id" | "created_at", ExtArgs["result"]["categories"]> +export type categoriesInclude = { + users?: boolean | Prisma.categories$usersArgs + places?: boolean | Prisma.categories$placesArgs + _count?: boolean | Prisma.CategoriesCountOutputTypeDefaultArgs +} +export type categoriesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.categories$usersArgs +} +export type categoriesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.categories$usersArgs +} + +export type $categoriesPayload = { + name: "categories" + objects: { + users: Prisma.$usersPayload | null + places: Prisma.$placesPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + color: string | null + icon: string | null + user_id: number | null + created_at: Date | null + }, ExtArgs["result"]["categories"]> + composites: {} +} + +export type categoriesGetPayload = runtime.Types.Result.GetResult + +export type categoriesCountArgs = + Omit & { + select?: CategoriesCountAggregateInputType | true + } + +export interface categoriesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['categories'], meta: { name: 'categories' } } + /** + * Find zero or one Categories that matches the filter. + * @param {categoriesFindUniqueArgs} args - Arguments to find a Categories + * @example + * // Get one Categories + * const categories = await prisma.categories.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Categories that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {categoriesFindUniqueOrThrowArgs} args - Arguments to find a Categories + * @example + * // Get one Categories + * const categories = await prisma.categories.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Categories that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesFindFirstArgs} args - Arguments to find a Categories + * @example + * // Get one Categories + * const categories = await prisma.categories.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Categories that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesFindFirstOrThrowArgs} args - Arguments to find a Categories + * @example + * // Get one Categories + * const categories = await prisma.categories.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Categories that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Categories + * const categories = await prisma.categories.findMany() + * + * // Get first 10 Categories + * const categories = await prisma.categories.findMany({ take: 10 }) + * + * // Only select the `id` + * const categoriesWithIdOnly = await prisma.categories.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Categories. + * @param {categoriesCreateArgs} args - Arguments to create a Categories. + * @example + * // Create one Categories + * const Categories = await prisma.categories.create({ + * data: { + * // ... data to create a Categories + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Categories. + * @param {categoriesCreateManyArgs} args - Arguments to create many Categories. + * @example + * // Create many Categories + * const categories = await prisma.categories.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Categories and returns the data saved in the database. + * @param {categoriesCreateManyAndReturnArgs} args - Arguments to create many Categories. + * @example + * // Create many Categories + * const categories = await prisma.categories.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Categories and only return the `id` + * const categoriesWithIdOnly = await prisma.categories.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Categories. + * @param {categoriesDeleteArgs} args - Arguments to delete one Categories. + * @example + * // Delete one Categories + * const Categories = await prisma.categories.delete({ + * where: { + * // ... filter to delete one Categories + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Categories. + * @param {categoriesUpdateArgs} args - Arguments to update one Categories. + * @example + * // Update one Categories + * const categories = await prisma.categories.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Categories. + * @param {categoriesDeleteManyArgs} args - Arguments to filter Categories to delete. + * @example + * // Delete a few Categories + * const { count } = await prisma.categories.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Categories + * const categories = await prisma.categories.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Categories and returns the data updated in the database. + * @param {categoriesUpdateManyAndReturnArgs} args - Arguments to update many Categories. + * @example + * // Update many Categories + * const categories = await prisma.categories.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Categories and only return the `id` + * const categoriesWithIdOnly = await prisma.categories.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Categories. + * @param {categoriesUpsertArgs} args - Arguments to update or create a Categories. + * @example + * // Update or create a Categories + * const categories = await prisma.categories.upsert({ + * create: { + * // ... data to create a Categories + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Categories we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__categoriesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesCountArgs} args - Arguments to filter Categories to count. + * @example + * // Count the number of Categories + * const count = await prisma.categories.count({ + * where: { + * // ... the filter for the Categories we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {CategoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {categoriesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends categoriesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: categoriesGroupByArgs['orderBy'] } + : { orderBy?: categoriesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCategoriesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the categories model + */ +readonly fields: categoriesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for categories. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__categoriesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the categories model + */ +export interface categoriesFieldRefs { + readonly id: Prisma.FieldRef<"categories", 'Int'> + readonly name: Prisma.FieldRef<"categories", 'String'> + readonly color: Prisma.FieldRef<"categories", 'String'> + readonly icon: Prisma.FieldRef<"categories", 'String'> + readonly user_id: Prisma.FieldRef<"categories", 'Int'> + readonly created_at: Prisma.FieldRef<"categories", 'DateTime'> +} + + +// Custom InputTypes +/** + * categories findUnique + */ +export type categoriesFindUniqueArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter, which categories to fetch. + */ + where: Prisma.categoriesWhereUniqueInput +} + +/** + * categories findUniqueOrThrow + */ +export type categoriesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter, which categories to fetch. + */ + where: Prisma.categoriesWhereUniqueInput +} + +/** + * categories findFirst + */ +export type categoriesFindFirstArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter, which categories to fetch. + */ + where?: Prisma.categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of categories to fetch. + */ + orderBy?: Prisma.categoriesOrderByWithRelationInput | Prisma.categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for categories. + */ + cursor?: Prisma.categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of categories. + */ + distinct?: Prisma.CategoriesScalarFieldEnum | Prisma.CategoriesScalarFieldEnum[] +} + +/** + * categories findFirstOrThrow + */ +export type categoriesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter, which categories to fetch. + */ + where?: Prisma.categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of categories to fetch. + */ + orderBy?: Prisma.categoriesOrderByWithRelationInput | Prisma.categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for categories. + */ + cursor?: Prisma.categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of categories. + */ + distinct?: Prisma.CategoriesScalarFieldEnum | Prisma.CategoriesScalarFieldEnum[] +} + +/** + * categories findMany + */ +export type categoriesFindManyArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter, which categories to fetch. + */ + where?: Prisma.categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of categories to fetch. + */ + orderBy?: Prisma.categoriesOrderByWithRelationInput | Prisma.categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing categories. + */ + cursor?: Prisma.categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of categories. + */ + distinct?: Prisma.CategoriesScalarFieldEnum | Prisma.CategoriesScalarFieldEnum[] +} + +/** + * categories create + */ +export type categoriesCreateArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * The data needed to create a categories. + */ + data: Prisma.XOR +} + +/** + * categories createMany + */ +export type categoriesCreateManyArgs = { + /** + * The data used to create many categories. + */ + data: Prisma.categoriesCreateManyInput | Prisma.categoriesCreateManyInput[] +} + +/** + * categories createManyAndReturn + */ +export type categoriesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * The data used to create many categories. + */ + data: Prisma.categoriesCreateManyInput | Prisma.categoriesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesIncludeCreateManyAndReturn | null +} + +/** + * categories update + */ +export type categoriesUpdateArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * The data needed to update a categories. + */ + data: Prisma.XOR + /** + * Choose, which categories to update. + */ + where: Prisma.categoriesWhereUniqueInput +} + +/** + * categories updateMany + */ +export type categoriesUpdateManyArgs = { + /** + * The data used to update categories. + */ + data: Prisma.XOR + /** + * Filter which categories to update + */ + where?: Prisma.categoriesWhereInput + /** + * Limit how many categories to update. + */ + limit?: number +} + +/** + * categories updateManyAndReturn + */ +export type categoriesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * The data used to update categories. + */ + data: Prisma.XOR + /** + * Filter which categories to update + */ + where?: Prisma.categoriesWhereInput + /** + * Limit how many categories to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesIncludeUpdateManyAndReturn | null +} + +/** + * categories upsert + */ +export type categoriesUpsertArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * The filter to search for the categories to update in case it exists. + */ + where: Prisma.categoriesWhereUniqueInput + /** + * In case the categories found by the `where` argument doesn't exist, create a new categories with this data. + */ + create: Prisma.XOR + /** + * In case the categories was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * categories delete + */ +export type categoriesDeleteArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + /** + * Filter which categories to delete. + */ + where: Prisma.categoriesWhereUniqueInput +} + +/** + * categories deleteMany + */ +export type categoriesDeleteManyArgs = { + /** + * Filter which categories to delete + */ + where?: Prisma.categoriesWhereInput + /** + * Limit how many categories to delete. + */ + limit?: number +} + +/** + * categories.users + */ +export type categories$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * categories.places + */ +export type categories$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + cursor?: Prisma.placesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[] +} + +/** + * categories without action + */ +export type categoriesDefaultArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null +} diff --git a/server/src/generated/prisma/models/collab_message_reactions.ts b/server/src/generated/prisma/models/collab_message_reactions.ts new file mode 100644 index 00000000..5b23440d --- /dev/null +++ b/server/src/generated/prisma/models/collab_message_reactions.ts @@ -0,0 +1,1517 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `collab_message_reactions` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model collab_message_reactions + * + */ +export type collab_message_reactionsModel = runtime.Types.Result.DefaultSelection + +export type AggregateCollab_message_reactions = { + _count: Collab_message_reactionsCountAggregateOutputType | null + _avg: Collab_message_reactionsAvgAggregateOutputType | null + _sum: Collab_message_reactionsSumAggregateOutputType | null + _min: Collab_message_reactionsMinAggregateOutputType | null + _max: Collab_message_reactionsMaxAggregateOutputType | null +} + +export type Collab_message_reactionsAvgAggregateOutputType = { + id: number | null + message_id: number | null + user_id: number | null +} + +export type Collab_message_reactionsSumAggregateOutputType = { + id: number | null + message_id: number | null + user_id: number | null +} + +export type Collab_message_reactionsMinAggregateOutputType = { + id: number | null + message_id: number | null + user_id: number | null + emoji: string | null + created_at: Date | null +} + +export type Collab_message_reactionsMaxAggregateOutputType = { + id: number | null + message_id: number | null + user_id: number | null + emoji: string | null + created_at: Date | null +} + +export type Collab_message_reactionsCountAggregateOutputType = { + id: number + message_id: number + user_id: number + emoji: number + created_at: number + _all: number +} + + +export type Collab_message_reactionsAvgAggregateInputType = { + id?: true + message_id?: true + user_id?: true +} + +export type Collab_message_reactionsSumAggregateInputType = { + id?: true + message_id?: true + user_id?: true +} + +export type Collab_message_reactionsMinAggregateInputType = { + id?: true + message_id?: true + user_id?: true + emoji?: true + created_at?: true +} + +export type Collab_message_reactionsMaxAggregateInputType = { + id?: true + message_id?: true + user_id?: true + emoji?: true + created_at?: true +} + +export type Collab_message_reactionsCountAggregateInputType = { + id?: true + message_id?: true + user_id?: true + emoji?: true + created_at?: true + _all?: true +} + +export type Collab_message_reactionsAggregateArgs = { + /** + * Filter which collab_message_reactions to aggregate. + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_message_reactions to fetch. + */ + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_message_reactions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_message_reactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned collab_message_reactions + **/ + _count?: true | Collab_message_reactionsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Collab_message_reactionsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Collab_message_reactionsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Collab_message_reactionsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Collab_message_reactionsMaxAggregateInputType +} + +export type GetCollab_message_reactionsAggregateType = { + [P in keyof T & keyof AggregateCollab_message_reactions]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type collab_message_reactionsGroupByArgs = { + where?: Prisma.collab_message_reactionsWhereInput + orderBy?: Prisma.collab_message_reactionsOrderByWithAggregationInput | Prisma.collab_message_reactionsOrderByWithAggregationInput[] + by: Prisma.Collab_message_reactionsScalarFieldEnum[] | Prisma.Collab_message_reactionsScalarFieldEnum + having?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Collab_message_reactionsCountAggregateInputType | true + _avg?: Collab_message_reactionsAvgAggregateInputType + _sum?: Collab_message_reactionsSumAggregateInputType + _min?: Collab_message_reactionsMinAggregateInputType + _max?: Collab_message_reactionsMaxAggregateInputType +} + +export type Collab_message_reactionsGroupByOutputType = { + id: number + message_id: number + user_id: number + emoji: string + created_at: Date | null + _count: Collab_message_reactionsCountAggregateOutputType | null + _avg: Collab_message_reactionsAvgAggregateOutputType | null + _sum: Collab_message_reactionsSumAggregateOutputType | null + _min: Collab_message_reactionsMinAggregateOutputType | null + _max: Collab_message_reactionsMaxAggregateOutputType | null +} + +export type GetCollab_message_reactionsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Collab_message_reactionsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type collab_message_reactionsWhereInput = { + AND?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] + OR?: Prisma.collab_message_reactionsWhereInput[] + NOT?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] + id?: Prisma.IntFilter<"collab_message_reactions"> | number + message_id?: Prisma.IntFilter<"collab_message_reactions"> | number + user_id?: Prisma.IntFilter<"collab_message_reactions"> | number + emoji?: Prisma.StringFilter<"collab_message_reactions"> | string + created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null + users?: Prisma.XOR + collab_messages?: Prisma.XOR +} + +export type collab_message_reactionsOrderByWithRelationInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + emoji?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + collab_messages?: Prisma.collab_messagesOrderByWithRelationInput +} + +export type collab_message_reactionsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + message_id_user_id_emoji?: Prisma.collab_message_reactionsMessage_idUser_idEmojiCompoundUniqueInput + AND?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] + OR?: Prisma.collab_message_reactionsWhereInput[] + NOT?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] + message_id?: Prisma.IntFilter<"collab_message_reactions"> | number + user_id?: Prisma.IntFilter<"collab_message_reactions"> | number + emoji?: Prisma.StringFilter<"collab_message_reactions"> | string + created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null + users?: Prisma.XOR + collab_messages?: Prisma.XOR +}, "id" | "message_id_user_id_emoji"> + +export type collab_message_reactionsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + emoji?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.collab_message_reactionsCountOrderByAggregateInput + _avg?: Prisma.collab_message_reactionsAvgOrderByAggregateInput + _max?: Prisma.collab_message_reactionsMaxOrderByAggregateInput + _min?: Prisma.collab_message_reactionsMinOrderByAggregateInput + _sum?: Prisma.collab_message_reactionsSumOrderByAggregateInput +} + +export type collab_message_reactionsScalarWhereWithAggregatesInput = { + AND?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput | Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] + OR?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] + NOT?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput | Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number + message_id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number + user_id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number + emoji?: Prisma.StringWithAggregatesFilter<"collab_message_reactions"> | string + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_message_reactions"> | Date | string | null +} + +export type collab_message_reactionsCreateInput = { + emoji: string + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutCollab_message_reactionsInput + collab_messages: Prisma.collab_messagesCreateNestedOneWithoutCollab_message_reactionsInput +} + +export type collab_message_reactionsUncheckedCreateInput = { + id?: number + message_id: number + user_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsUpdateInput = { + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_message_reactionsNestedInput + collab_messages?: Prisma.collab_messagesUpdateOneRequiredWithoutCollab_message_reactionsNestedInput +} + +export type collab_message_reactionsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + message_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsCreateManyInput = { + id?: number + message_id: number + user_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsUpdateManyMutationInput = { + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + message_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsMessage_idUser_idEmojiCompoundUniqueInput = { + message_id: number + user_id: number + emoji: string +} + +export type collab_message_reactionsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + emoji?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_message_reactionsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type collab_message_reactionsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + emoji?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_message_reactionsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + emoji?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_message_reactionsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + message_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Collab_message_reactionsListRelationFilter = { + every?: Prisma.collab_message_reactionsWhereInput + some?: Prisma.collab_message_reactionsWhereInput + none?: Prisma.collab_message_reactionsWhereInput +} + +export type collab_message_reactionsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] + createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] +} + +export type collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] + createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] +} + +export type collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] + upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput[] + createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope + set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput[] + updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput[] + deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] +} + +export type collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] + upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput[] + createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope + set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput[] + updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput[] + deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] +} + +export type collab_message_reactionsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] +} + +export type collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] +} + +export type collab_message_reactionsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope + set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] +} + +export type collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope + set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] + update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] +} + +export type collab_message_reactionsCreateWithoutCollab_messagesInput = { + emoji: string + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutCollab_message_reactionsInput +} + +export type collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput = { + id?: number + user_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + create: Prisma.XOR +} + +export type collab_message_reactionsCreateManyCollab_messagesInputEnvelope = { + data: Prisma.collab_message_reactionsCreateManyCollab_messagesInput | Prisma.collab_message_reactionsCreateManyCollab_messagesInput[] +} + +export type collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + data: Prisma.XOR +} + +export type collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput = { + where: Prisma.collab_message_reactionsScalarWhereInput + data: Prisma.XOR +} + +export type collab_message_reactionsScalarWhereInput = { + AND?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] + OR?: Prisma.collab_message_reactionsScalarWhereInput[] + NOT?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] + id?: Prisma.IntFilter<"collab_message_reactions"> | number + message_id?: Prisma.IntFilter<"collab_message_reactions"> | number + user_id?: Prisma.IntFilter<"collab_message_reactions"> | number + emoji?: Prisma.StringFilter<"collab_message_reactions"> | string + created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null +} + +export type collab_message_reactionsCreateWithoutUsersInput = { + emoji: string + created_at?: Date | string | null + collab_messages: Prisma.collab_messagesCreateNestedOneWithoutCollab_message_reactionsInput +} + +export type collab_message_reactionsUncheckedCreateWithoutUsersInput = { + id?: number + message_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsCreateOrConnectWithoutUsersInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + create: Prisma.XOR +} + +export type collab_message_reactionsCreateManyUsersInputEnvelope = { + data: Prisma.collab_message_reactionsCreateManyUsersInput | Prisma.collab_message_reactionsCreateManyUsersInput[] +} + +export type collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_message_reactionsWhereUniqueInput + data: Prisma.XOR +} + +export type collab_message_reactionsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.collab_message_reactionsScalarWhereInput + data: Prisma.XOR +} + +export type collab_message_reactionsCreateManyCollab_messagesInput = { + id?: number + user_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsUpdateWithoutCollab_messagesInput = { + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_message_reactionsNestedInput +} + +export type collab_message_reactionsUncheckedUpdateWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsCreateManyUsersInput = { + id?: number + message_id: number + emoji: string + created_at?: Date | string | null +} + +export type collab_message_reactionsUpdateWithoutUsersInput = { + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_messages?: Prisma.collab_messagesUpdateOneRequiredWithoutCollab_message_reactionsNestedInput +} + +export type collab_message_reactionsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + message_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_message_reactionsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + message_id?: Prisma.IntFieldUpdateOperationsInput | number + emoji?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type collab_message_reactionsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + message_id?: boolean + user_id?: boolean + emoji?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +}, ExtArgs["result"]["collab_message_reactions"]> + +export type collab_message_reactionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + message_id?: boolean + user_id?: boolean + emoji?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +}, ExtArgs["result"]["collab_message_reactions"]> + +export type collab_message_reactionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + message_id?: boolean + user_id?: boolean + emoji?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +}, ExtArgs["result"]["collab_message_reactions"]> + +export type collab_message_reactionsSelectScalar = { + id?: boolean + message_id?: boolean + user_id?: boolean + emoji?: boolean + created_at?: boolean +} + +export type collab_message_reactionsOmit = runtime.Types.Extensions.GetOmit<"id" | "message_id" | "user_id" | "emoji" | "created_at", ExtArgs["result"]["collab_message_reactions"]> +export type collab_message_reactionsInclude = { + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +} +export type collab_message_reactionsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +} +export type collab_message_reactionsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + collab_messages?: boolean | Prisma.collab_messagesDefaultArgs +} + +export type $collab_message_reactionsPayload = { + name: "collab_message_reactions" + objects: { + users: Prisma.$usersPayload + collab_messages: Prisma.$collab_messagesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + message_id: number + user_id: number + emoji: string + created_at: Date | null + }, ExtArgs["result"]["collab_message_reactions"]> + composites: {} +} + +export type collab_message_reactionsGetPayload = runtime.Types.Result.GetResult + +export type collab_message_reactionsCountArgs = + Omit & { + select?: Collab_message_reactionsCountAggregateInputType | true + } + +export interface collab_message_reactionsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['collab_message_reactions'], meta: { name: 'collab_message_reactions' } } + /** + * Find zero or one Collab_message_reactions that matches the filter. + * @param {collab_message_reactionsFindUniqueArgs} args - Arguments to find a Collab_message_reactions + * @example + * // Get one Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Collab_message_reactions that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {collab_message_reactionsFindUniqueOrThrowArgs} args - Arguments to find a Collab_message_reactions + * @example + * // Get one Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_message_reactions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsFindFirstArgs} args - Arguments to find a Collab_message_reactions + * @example + * // Get one Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_message_reactions that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsFindFirstOrThrowArgs} args - Arguments to find a Collab_message_reactions + * @example + * // Get one Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Collab_message_reactions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findMany() + * + * // Get first 10 Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.findMany({ take: 10 }) + * + * // Only select the `id` + * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Collab_message_reactions. + * @param {collab_message_reactionsCreateArgs} args - Arguments to create a Collab_message_reactions. + * @example + * // Create one Collab_message_reactions + * const Collab_message_reactions = await prisma.collab_message_reactions.create({ + * data: { + * // ... data to create a Collab_message_reactions + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Collab_message_reactions. + * @param {collab_message_reactionsCreateManyArgs} args - Arguments to create many Collab_message_reactions. + * @example + * // Create many Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Collab_message_reactions and returns the data saved in the database. + * @param {collab_message_reactionsCreateManyAndReturnArgs} args - Arguments to create many Collab_message_reactions. + * @example + * // Create many Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Collab_message_reactions and only return the `id` + * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Collab_message_reactions. + * @param {collab_message_reactionsDeleteArgs} args - Arguments to delete one Collab_message_reactions. + * @example + * // Delete one Collab_message_reactions + * const Collab_message_reactions = await prisma.collab_message_reactions.delete({ + * where: { + * // ... filter to delete one Collab_message_reactions + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Collab_message_reactions. + * @param {collab_message_reactionsUpdateArgs} args - Arguments to update one Collab_message_reactions. + * @example + * // Update one Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Collab_message_reactions. + * @param {collab_message_reactionsDeleteManyArgs} args - Arguments to filter Collab_message_reactions to delete. + * @example + * // Delete a few Collab_message_reactions + * const { count } = await prisma.collab_message_reactions.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_message_reactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_message_reactions and returns the data updated in the database. + * @param {collab_message_reactionsUpdateManyAndReturnArgs} args - Arguments to update many Collab_message_reactions. + * @example + * // Update many Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Collab_message_reactions and only return the `id` + * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Collab_message_reactions. + * @param {collab_message_reactionsUpsertArgs} args - Arguments to update or create a Collab_message_reactions. + * @example + * // Update or create a Collab_message_reactions + * const collab_message_reactions = await prisma.collab_message_reactions.upsert({ + * create: { + * // ... data to create a Collab_message_reactions + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Collab_message_reactions we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Collab_message_reactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsCountArgs} args - Arguments to filter Collab_message_reactions to count. + * @example + * // Count the number of Collab_message_reactions + * const count = await prisma.collab_message_reactions.count({ + * where: { + * // ... the filter for the Collab_message_reactions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Collab_message_reactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Collab_message_reactionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Collab_message_reactions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_message_reactionsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends collab_message_reactionsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: collab_message_reactionsGroupByArgs['orderBy'] } + : { orderBy?: collab_message_reactionsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollab_message_reactionsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the collab_message_reactions model + */ +readonly fields: collab_message_reactionsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for collab_message_reactions. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__collab_message_reactionsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + collab_messages = {}>(args?: Prisma.Subset>): Prisma.Prisma__collab_messagesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the collab_message_reactions model + */ +export interface collab_message_reactionsFieldRefs { + readonly id: Prisma.FieldRef<"collab_message_reactions", 'Int'> + readonly message_id: Prisma.FieldRef<"collab_message_reactions", 'Int'> + readonly user_id: Prisma.FieldRef<"collab_message_reactions", 'Int'> + readonly emoji: Prisma.FieldRef<"collab_message_reactions", 'String'> + readonly created_at: Prisma.FieldRef<"collab_message_reactions", 'DateTime'> +} + + +// Custom InputTypes +/** + * collab_message_reactions findUnique + */ +export type collab_message_reactionsFindUniqueArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter, which collab_message_reactions to fetch. + */ + where: Prisma.collab_message_reactionsWhereUniqueInput +} + +/** + * collab_message_reactions findUniqueOrThrow + */ +export type collab_message_reactionsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter, which collab_message_reactions to fetch. + */ + where: Prisma.collab_message_reactionsWhereUniqueInput +} + +/** + * collab_message_reactions findFirst + */ +export type collab_message_reactionsFindFirstArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter, which collab_message_reactions to fetch. + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_message_reactions to fetch. + */ + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_message_reactions. + */ + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_message_reactions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_message_reactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_message_reactions. + */ + distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] +} + +/** + * collab_message_reactions findFirstOrThrow + */ +export type collab_message_reactionsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter, which collab_message_reactions to fetch. + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_message_reactions to fetch. + */ + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_message_reactions. + */ + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_message_reactions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_message_reactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_message_reactions. + */ + distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] +} + +/** + * collab_message_reactions findMany + */ +export type collab_message_reactionsFindManyArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter, which collab_message_reactions to fetch. + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_message_reactions to fetch. + */ + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing collab_message_reactions. + */ + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_message_reactions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_message_reactions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_message_reactions. + */ + distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] +} + +/** + * collab_message_reactions create + */ +export type collab_message_reactionsCreateArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * The data needed to create a collab_message_reactions. + */ + data: Prisma.XOR +} + +/** + * collab_message_reactions createMany + */ +export type collab_message_reactionsCreateManyArgs = { + /** + * The data used to create many collab_message_reactions. + */ + data: Prisma.collab_message_reactionsCreateManyInput | Prisma.collab_message_reactionsCreateManyInput[] +} + +/** + * collab_message_reactions createManyAndReturn + */ +export type collab_message_reactionsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * The data used to create many collab_message_reactions. + */ + data: Prisma.collab_message_reactionsCreateManyInput | Prisma.collab_message_reactionsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsIncludeCreateManyAndReturn | null +} + +/** + * collab_message_reactions update + */ +export type collab_message_reactionsUpdateArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * The data needed to update a collab_message_reactions. + */ + data: Prisma.XOR + /** + * Choose, which collab_message_reactions to update. + */ + where: Prisma.collab_message_reactionsWhereUniqueInput +} + +/** + * collab_message_reactions updateMany + */ +export type collab_message_reactionsUpdateManyArgs = { + /** + * The data used to update collab_message_reactions. + */ + data: Prisma.XOR + /** + * Filter which collab_message_reactions to update + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * Limit how many collab_message_reactions to update. + */ + limit?: number +} + +/** + * collab_message_reactions updateManyAndReturn + */ +export type collab_message_reactionsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * The data used to update collab_message_reactions. + */ + data: Prisma.XOR + /** + * Filter which collab_message_reactions to update + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * Limit how many collab_message_reactions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsIncludeUpdateManyAndReturn | null +} + +/** + * collab_message_reactions upsert + */ +export type collab_message_reactionsUpsertArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * The filter to search for the collab_message_reactions to update in case it exists. + */ + where: Prisma.collab_message_reactionsWhereUniqueInput + /** + * In case the collab_message_reactions found by the `where` argument doesn't exist, create a new collab_message_reactions with this data. + */ + create: Prisma.XOR + /** + * In case the collab_message_reactions was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * collab_message_reactions delete + */ +export type collab_message_reactionsDeleteArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + /** + * Filter which collab_message_reactions to delete. + */ + where: Prisma.collab_message_reactionsWhereUniqueInput +} + +/** + * collab_message_reactions deleteMany + */ +export type collab_message_reactionsDeleteManyArgs = { + /** + * Filter which collab_message_reactions to delete + */ + where?: Prisma.collab_message_reactionsWhereInput + /** + * Limit how many collab_message_reactions to delete. + */ + limit?: number +} + +/** + * collab_message_reactions without action + */ +export type collab_message_reactionsDefaultArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null +} diff --git a/server/src/generated/prisma/models/collab_messages.ts b/server/src/generated/prisma/models/collab_messages.ts new file mode 100644 index 00000000..08f767f2 --- /dev/null +++ b/server/src/generated/prisma/models/collab_messages.ts @@ -0,0 +1,2042 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `collab_messages` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model collab_messages + * + */ +export type collab_messagesModel = runtime.Types.Result.DefaultSelection + +export type AggregateCollab_messages = { + _count: Collab_messagesCountAggregateOutputType | null + _avg: Collab_messagesAvgAggregateOutputType | null + _sum: Collab_messagesSumAggregateOutputType | null + _min: Collab_messagesMinAggregateOutputType | null + _max: Collab_messagesMaxAggregateOutputType | null +} + +export type Collab_messagesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + reply_to: number | null + deleted: number | null +} + +export type Collab_messagesSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + reply_to: number | null + deleted: number | null +} + +export type Collab_messagesMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + text: string | null + reply_to: number | null + created_at: Date | null + deleted: number | null +} + +export type Collab_messagesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + text: string | null + reply_to: number | null + created_at: Date | null + deleted: number | null +} + +export type Collab_messagesCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + text: number + reply_to: number + created_at: number + deleted: number + _all: number +} + + +export type Collab_messagesAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + reply_to?: true + deleted?: true +} + +export type Collab_messagesSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + reply_to?: true + deleted?: true +} + +export type Collab_messagesMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + text?: true + reply_to?: true + created_at?: true + deleted?: true +} + +export type Collab_messagesMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + text?: true + reply_to?: true + created_at?: true + deleted?: true +} + +export type Collab_messagesCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + text?: true + reply_to?: true + created_at?: true + deleted?: true + _all?: true +} + +export type Collab_messagesAggregateArgs = { + /** + * Filter which collab_messages to aggregate. + */ + where?: Prisma.collab_messagesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_messages to fetch. + */ + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.collab_messagesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_messages from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_messages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned collab_messages + **/ + _count?: true | Collab_messagesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Collab_messagesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Collab_messagesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Collab_messagesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Collab_messagesMaxAggregateInputType +} + +export type GetCollab_messagesAggregateType = { + [P in keyof T & keyof AggregateCollab_messages]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type collab_messagesGroupByArgs = { + where?: Prisma.collab_messagesWhereInput + orderBy?: Prisma.collab_messagesOrderByWithAggregationInput | Prisma.collab_messagesOrderByWithAggregationInput[] + by: Prisma.Collab_messagesScalarFieldEnum[] | Prisma.Collab_messagesScalarFieldEnum + having?: Prisma.collab_messagesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Collab_messagesCountAggregateInputType | true + _avg?: Collab_messagesAvgAggregateInputType + _sum?: Collab_messagesSumAggregateInputType + _min?: Collab_messagesMinAggregateInputType + _max?: Collab_messagesMaxAggregateInputType +} + +export type Collab_messagesGroupByOutputType = { + id: number + trip_id: number + user_id: number + text: string + reply_to: number | null + created_at: Date | null + deleted: number | null + _count: Collab_messagesCountAggregateOutputType | null + _avg: Collab_messagesAvgAggregateOutputType | null + _sum: Collab_messagesSumAggregateOutputType | null + _min: Collab_messagesMinAggregateOutputType | null + _max: Collab_messagesMaxAggregateOutputType | null +} + +export type GetCollab_messagesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Collab_messagesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type collab_messagesWhereInput = { + AND?: Prisma.collab_messagesWhereInput | Prisma.collab_messagesWhereInput[] + OR?: Prisma.collab_messagesWhereInput[] + NOT?: Prisma.collab_messagesWhereInput | Prisma.collab_messagesWhereInput[] + id?: Prisma.IntFilter<"collab_messages"> | number + trip_id?: Prisma.IntFilter<"collab_messages"> | number + user_id?: Prisma.IntFilter<"collab_messages"> | number + text?: Prisma.StringFilter<"collab_messages"> | string + reply_to?: Prisma.IntNullableFilter<"collab_messages"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_messages"> | Date | string | null + deleted?: Prisma.IntNullableFilter<"collab_messages"> | number | null + collab_message_reactions?: Prisma.Collab_message_reactionsListRelationFilter + collab_messages?: Prisma.XOR | null + other_collab_messages?: Prisma.Collab_messagesListRelationFilter + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type collab_messagesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + text?: Prisma.SortOrder + reply_to?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + deleted?: Prisma.SortOrderInput | Prisma.SortOrder + collab_message_reactions?: Prisma.collab_message_reactionsOrderByRelationAggregateInput + collab_messages?: Prisma.collab_messagesOrderByWithRelationInput + other_collab_messages?: Prisma.collab_messagesOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type collab_messagesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.collab_messagesWhereInput | Prisma.collab_messagesWhereInput[] + OR?: Prisma.collab_messagesWhereInput[] + NOT?: Prisma.collab_messagesWhereInput | Prisma.collab_messagesWhereInput[] + trip_id?: Prisma.IntFilter<"collab_messages"> | number + user_id?: Prisma.IntFilter<"collab_messages"> | number + text?: Prisma.StringFilter<"collab_messages"> | string + reply_to?: Prisma.IntNullableFilter<"collab_messages"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_messages"> | Date | string | null + deleted?: Prisma.IntNullableFilter<"collab_messages"> | number | null + collab_message_reactions?: Prisma.Collab_message_reactionsListRelationFilter + collab_messages?: Prisma.XOR | null + other_collab_messages?: Prisma.Collab_messagesListRelationFilter + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id"> + +export type collab_messagesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + text?: Prisma.SortOrder + reply_to?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + deleted?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.collab_messagesCountOrderByAggregateInput + _avg?: Prisma.collab_messagesAvgOrderByAggregateInput + _max?: Prisma.collab_messagesMaxOrderByAggregateInput + _min?: Prisma.collab_messagesMinOrderByAggregateInput + _sum?: Prisma.collab_messagesSumOrderByAggregateInput +} + +export type collab_messagesScalarWhereWithAggregatesInput = { + AND?: Prisma.collab_messagesScalarWhereWithAggregatesInput | Prisma.collab_messagesScalarWhereWithAggregatesInput[] + OR?: Prisma.collab_messagesScalarWhereWithAggregatesInput[] + NOT?: Prisma.collab_messagesScalarWhereWithAggregatesInput | Prisma.collab_messagesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"collab_messages"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"collab_messages"> | number + user_id?: Prisma.IntWithAggregatesFilter<"collab_messages"> | number + text?: Prisma.StringWithAggregatesFilter<"collab_messages"> | string + reply_to?: Prisma.IntNullableWithAggregatesFilter<"collab_messages"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_messages"> | Date | string | null + deleted?: Prisma.IntNullableWithAggregatesFilter<"collab_messages"> | number | null +} + +export type collab_messagesCreateInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput + collab_messages?: Prisma.collab_messagesCreateNestedOneWithoutOther_collab_messagesInput + other_collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutCollab_messagesInput + users: Prisma.usersCreateNestedOneWithoutCollab_messagesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput + other_collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesUpdateInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput + collab_messages?: Prisma.collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUpdateManyWithoutCollab_messagesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_messagesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesCreateManyInput = { + id?: number + trip_id: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null +} + +export type collab_messagesUpdateManyMutationInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type collab_messagesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type Collab_messagesScalarRelationFilter = { + is?: Prisma.collab_messagesWhereInput + isNot?: Prisma.collab_messagesWhereInput +} + +export type Collab_messagesNullableScalarRelationFilter = { + is?: Prisma.collab_messagesWhereInput | null + isNot?: Prisma.collab_messagesWhereInput | null +} + +export type Collab_messagesListRelationFilter = { + every?: Prisma.collab_messagesWhereInput + some?: Prisma.collab_messagesWhereInput + none?: Prisma.collab_messagesWhereInput +} + +export type collab_messagesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type collab_messagesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + text?: Prisma.SortOrder + reply_to?: Prisma.SortOrder + created_at?: Prisma.SortOrder + deleted?: Prisma.SortOrder +} + +export type collab_messagesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + reply_to?: Prisma.SortOrder + deleted?: Prisma.SortOrder +} + +export type collab_messagesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + text?: Prisma.SortOrder + reply_to?: Prisma.SortOrder + created_at?: Prisma.SortOrder + deleted?: Prisma.SortOrder +} + +export type collab_messagesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + text?: Prisma.SortOrder + reply_to?: Prisma.SortOrder + created_at?: Prisma.SortOrder + deleted?: Prisma.SortOrder +} + +export type collab_messagesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + reply_to?: Prisma.SortOrder + deleted?: Prisma.SortOrder +} + +export type collab_messagesCreateNestedOneWithoutCollab_message_reactionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_message_reactionsInput + connect?: Prisma.collab_messagesWhereUniqueInput +} + +export type collab_messagesUpdateOneRequiredWithoutCollab_message_reactionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_message_reactionsInput + upsert?: Prisma.collab_messagesUpsertWithoutCollab_message_reactionsInput + connect?: Prisma.collab_messagesWhereUniqueInput + update?: Prisma.XOR, Prisma.collab_messagesUncheckedUpdateWithoutCollab_message_reactionsInput> +} + +export type collab_messagesCreateNestedOneWithoutOther_collab_messagesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutOther_collab_messagesInput + connect?: Prisma.collab_messagesWhereUniqueInput +} + +export type collab_messagesCreateNestedManyWithoutCollab_messagesInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutCollab_messagesInput[] | Prisma.collab_messagesUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput[] + createMany?: Prisma.collab_messagesCreateManyCollab_messagesInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutCollab_messagesInput[] | Prisma.collab_messagesUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput[] + createMany?: Prisma.collab_messagesCreateManyCollab_messagesInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutOther_collab_messagesInput + upsert?: Prisma.collab_messagesUpsertWithoutOther_collab_messagesInput + disconnect?: Prisma.collab_messagesWhereInput | boolean + delete?: Prisma.collab_messagesWhereInput | boolean + connect?: Prisma.collab_messagesWhereUniqueInput + update?: Prisma.XOR, Prisma.collab_messagesUncheckedUpdateWithoutOther_collab_messagesInput> +} + +export type collab_messagesUpdateManyWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutCollab_messagesInput[] | Prisma.collab_messagesUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutCollab_messagesInput[] + createMany?: Prisma.collab_messagesCreateManyCollab_messagesInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutCollab_messagesInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_messagesUpdateManyWithWhereWithoutCollab_messagesInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutCollab_messagesInput[] | Prisma.collab_messagesUncheckedCreateWithoutCollab_messagesInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_messagesCreateOrConnectWithoutCollab_messagesInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutCollab_messagesInput[] + createMany?: Prisma.collab_messagesCreateManyCollab_messagesInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutCollab_messagesInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_messagesUpdateManyWithWhereWithoutCollab_messagesInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutTripsInput[] | Prisma.collab_messagesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutTripsInput | Prisma.collab_messagesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_messagesCreateManyTripsInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutTripsInput[] | Prisma.collab_messagesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutTripsInput | Prisma.collab_messagesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_messagesCreateManyTripsInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutTripsInput[] | Prisma.collab_messagesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutTripsInput | Prisma.collab_messagesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_messagesCreateManyTripsInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutTripsInput | Prisma.collab_messagesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutTripsInput[] | Prisma.collab_messagesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutTripsInput | Prisma.collab_messagesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_messagesCreateManyTripsInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutTripsInput | Prisma.collab_messagesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutUsersInput[] | Prisma.collab_messagesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutUsersInput | Prisma.collab_messagesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_messagesCreateManyUsersInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutUsersInput[] | Prisma.collab_messagesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutUsersInput | Prisma.collab_messagesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_messagesCreateManyUsersInputEnvelope + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] +} + +export type collab_messagesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutUsersInput[] | Prisma.collab_messagesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutUsersInput | Prisma.collab_messagesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_messagesCreateManyUsersInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_messagesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_messagesCreateWithoutUsersInput[] | Prisma.collab_messagesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_messagesCreateOrConnectWithoutUsersInput | Prisma.collab_messagesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_messagesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_messagesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_messagesCreateManyUsersInputEnvelope + set?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + disconnect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + delete?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + connect?: Prisma.collab_messagesWhereUniqueInput | Prisma.collab_messagesWhereUniqueInput[] + update?: Prisma.collab_messagesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_messagesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_messagesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_messagesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] +} + +export type collab_messagesCreateWithoutCollab_message_reactionsInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_messages?: Prisma.collab_messagesCreateNestedOneWithoutOther_collab_messagesInput + other_collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutCollab_messagesInput + users: Prisma.usersCreateNestedOneWithoutCollab_messagesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateWithoutCollab_message_reactionsInput = { + id?: number + trip_id: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null + other_collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesCreateOrConnectWithoutCollab_message_reactionsInput = { + where: Prisma.collab_messagesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_messagesUpsertWithoutCollab_message_reactionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.collab_messagesWhereInput +} + +export type collab_messagesUpdateToOneWithWhereWithoutCollab_message_reactionsInput = { + where?: Prisma.collab_messagesWhereInput + data: Prisma.XOR +} + +export type collab_messagesUpdateWithoutCollab_message_reactionsInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_messages?: Prisma.collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUpdateManyWithoutCollab_messagesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_messagesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateWithoutCollab_message_reactionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + other_collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesCreateWithoutOther_collab_messagesInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput + collab_messages?: Prisma.collab_messagesCreateNestedOneWithoutOther_collab_messagesInput + users: Prisma.usersCreateNestedOneWithoutCollab_messagesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateWithoutOther_collab_messagesInput = { + id?: number + trip_id: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesCreateOrConnectWithoutOther_collab_messagesInput = { + where: Prisma.collab_messagesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_messagesCreateWithoutCollab_messagesInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput + other_collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutCollab_messagesInput + users: Prisma.usersCreateNestedOneWithoutCollab_messagesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateWithoutCollab_messagesInput = { + id?: number + trip_id: number + user_id: number + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput + other_collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesCreateOrConnectWithoutCollab_messagesInput = { + where: Prisma.collab_messagesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_messagesCreateManyCollab_messagesInputEnvelope = { + data: Prisma.collab_messagesCreateManyCollab_messagesInput | Prisma.collab_messagesCreateManyCollab_messagesInput[] +} + +export type collab_messagesUpsertWithoutOther_collab_messagesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.collab_messagesWhereInput +} + +export type collab_messagesUpdateToOneWithWhereWithoutOther_collab_messagesInput = { + where?: Prisma.collab_messagesWhereInput + data: Prisma.XOR +} + +export type collab_messagesUpdateWithoutOther_collab_messagesInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput + collab_messages?: Prisma.collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_messagesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateWithoutOther_collab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesUpsertWithWhereUniqueWithoutCollab_messagesInput = { + where: Prisma.collab_messagesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_messagesUpdateWithWhereUniqueWithoutCollab_messagesInput = { + where: Prisma.collab_messagesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_messagesUpdateManyWithWhereWithoutCollab_messagesInput = { + where: Prisma.collab_messagesScalarWhereInput + data: Prisma.XOR +} + +export type collab_messagesScalarWhereInput = { + AND?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] + OR?: Prisma.collab_messagesScalarWhereInput[] + NOT?: Prisma.collab_messagesScalarWhereInput | Prisma.collab_messagesScalarWhereInput[] + id?: Prisma.IntFilter<"collab_messages"> | number + trip_id?: Prisma.IntFilter<"collab_messages"> | number + user_id?: Prisma.IntFilter<"collab_messages"> | number + text?: Prisma.StringFilter<"collab_messages"> | string + reply_to?: Prisma.IntNullableFilter<"collab_messages"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_messages"> | Date | string | null + deleted?: Prisma.IntNullableFilter<"collab_messages"> | number | null +} + +export type collab_messagesCreateWithoutTripsInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput + collab_messages?: Prisma.collab_messagesCreateNestedOneWithoutOther_collab_messagesInput + other_collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutCollab_messagesInput + users: Prisma.usersCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput + other_collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesCreateOrConnectWithoutTripsInput = { + where: Prisma.collab_messagesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_messagesCreateManyTripsInputEnvelope = { + data: Prisma.collab_messagesCreateManyTripsInput | Prisma.collab_messagesCreateManyTripsInput[] +} + +export type collab_messagesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_messagesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_messagesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_messagesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_messagesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.collab_messagesScalarWhereInput + data: Prisma.XOR +} + +export type collab_messagesCreateWithoutUsersInput = { + text: string + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput + collab_messages?: Prisma.collab_messagesCreateNestedOneWithoutOther_collab_messagesInput + other_collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutCollab_messagesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_messagesInput +} + +export type collab_messagesUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput + other_collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutCollab_messagesInput +} + +export type collab_messagesCreateOrConnectWithoutUsersInput = { + where: Prisma.collab_messagesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_messagesCreateManyUsersInputEnvelope = { + data: Prisma.collab_messagesCreateManyUsersInput | Prisma.collab_messagesCreateManyUsersInput[] +} + +export type collab_messagesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_messagesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_messagesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_messagesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_messagesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.collab_messagesScalarWhereInput + data: Prisma.XOR +} + +export type collab_messagesCreateManyCollab_messagesInput = { + id?: number + trip_id: number + user_id: number + text: string + created_at?: Date | string | null + deleted?: number | null +} + +export type collab_messagesUpdateWithoutCollab_messagesInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUpdateManyWithoutCollab_messagesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_messagesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateManyWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type collab_messagesCreateManyTripsInput = { + id?: number + user_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null +} + +export type collab_messagesUpdateWithoutTripsInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput + collab_messages?: Prisma.collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUpdateManyWithoutCollab_messagesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type collab_messagesCreateManyUsersInput = { + id?: number + trip_id: number + text: string + reply_to?: number | null + created_at?: Date | string | null + deleted?: number | null +} + +export type collab_messagesUpdateWithoutUsersInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput + collab_messages?: Prisma.collab_messagesUpdateOneWithoutOther_collab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUpdateManyWithoutCollab_messagesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput + other_collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutCollab_messagesNestedInput +} + +export type collab_messagesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + reply_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + deleted?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + + +/** + * Count Type Collab_messagesCountOutputType + */ + +export type Collab_messagesCountOutputType = { + collab_message_reactions: number + other_collab_messages: number +} + +export type Collab_messagesCountOutputTypeSelect = { + collab_message_reactions?: boolean | Collab_messagesCountOutputTypeCountCollab_message_reactionsArgs + other_collab_messages?: boolean | Collab_messagesCountOutputTypeCountOther_collab_messagesArgs +} + +/** + * Collab_messagesCountOutputType without action + */ +export type Collab_messagesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Collab_messagesCountOutputType + */ + select?: Prisma.Collab_messagesCountOutputTypeSelect | null +} + +/** + * Collab_messagesCountOutputType without action + */ +export type Collab_messagesCountOutputTypeCountCollab_message_reactionsArgs = { + where?: Prisma.collab_message_reactionsWhereInput +} + +/** + * Collab_messagesCountOutputType without action + */ +export type Collab_messagesCountOutputTypeCountOther_collab_messagesArgs = { + where?: Prisma.collab_messagesWhereInput +} + + +export type collab_messagesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + text?: boolean + reply_to?: boolean + created_at?: boolean + deleted?: boolean + collab_message_reactions?: boolean | Prisma.collab_messages$collab_message_reactionsArgs + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + other_collab_messages?: boolean | Prisma.collab_messages$other_collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Collab_messagesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["collab_messages"]> + +export type collab_messagesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + text?: boolean + reply_to?: boolean + created_at?: boolean + deleted?: boolean + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_messages"]> + +export type collab_messagesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + text?: boolean + reply_to?: boolean + created_at?: boolean + deleted?: boolean + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_messages"]> + +export type collab_messagesSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + text?: boolean + reply_to?: boolean + created_at?: boolean + deleted?: boolean +} + +export type collab_messagesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "text" | "reply_to" | "created_at" | "deleted", ExtArgs["result"]["collab_messages"]> +export type collab_messagesInclude = { + collab_message_reactions?: boolean | Prisma.collab_messages$collab_message_reactionsArgs + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + other_collab_messages?: boolean | Prisma.collab_messages$other_collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Collab_messagesCountOutputTypeDefaultArgs +} +export type collab_messagesIncludeCreateManyAndReturn = { + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type collab_messagesIncludeUpdateManyAndReturn = { + collab_messages?: boolean | Prisma.collab_messages$collab_messagesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $collab_messagesPayload = { + name: "collab_messages" + objects: { + collab_message_reactions: Prisma.$collab_message_reactionsPayload[] + collab_messages: Prisma.$collab_messagesPayload | null + other_collab_messages: Prisma.$collab_messagesPayload[] + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + text: string + reply_to: number | null + created_at: Date | null + deleted: number | null + }, ExtArgs["result"]["collab_messages"]> + composites: {} +} + +export type collab_messagesGetPayload = runtime.Types.Result.GetResult + +export type collab_messagesCountArgs = + Omit & { + select?: Collab_messagesCountAggregateInputType | true + } + +export interface collab_messagesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['collab_messages'], meta: { name: 'collab_messages' } } + /** + * Find zero or one Collab_messages that matches the filter. + * @param {collab_messagesFindUniqueArgs} args - Arguments to find a Collab_messages + * @example + * // Get one Collab_messages + * const collab_messages = await prisma.collab_messages.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Collab_messages that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {collab_messagesFindUniqueOrThrowArgs} args - Arguments to find a Collab_messages + * @example + * // Get one Collab_messages + * const collab_messages = await prisma.collab_messages.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_messages that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesFindFirstArgs} args - Arguments to find a Collab_messages + * @example + * // Get one Collab_messages + * const collab_messages = await prisma.collab_messages.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_messages that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesFindFirstOrThrowArgs} args - Arguments to find a Collab_messages + * @example + * // Get one Collab_messages + * const collab_messages = await prisma.collab_messages.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Collab_messages that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Collab_messages + * const collab_messages = await prisma.collab_messages.findMany() + * + * // Get first 10 Collab_messages + * const collab_messages = await prisma.collab_messages.findMany({ take: 10 }) + * + * // Only select the `id` + * const collab_messagesWithIdOnly = await prisma.collab_messages.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Collab_messages. + * @param {collab_messagesCreateArgs} args - Arguments to create a Collab_messages. + * @example + * // Create one Collab_messages + * const Collab_messages = await prisma.collab_messages.create({ + * data: { + * // ... data to create a Collab_messages + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Collab_messages. + * @param {collab_messagesCreateManyArgs} args - Arguments to create many Collab_messages. + * @example + * // Create many Collab_messages + * const collab_messages = await prisma.collab_messages.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Collab_messages and returns the data saved in the database. + * @param {collab_messagesCreateManyAndReturnArgs} args - Arguments to create many Collab_messages. + * @example + * // Create many Collab_messages + * const collab_messages = await prisma.collab_messages.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Collab_messages and only return the `id` + * const collab_messagesWithIdOnly = await prisma.collab_messages.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Collab_messages. + * @param {collab_messagesDeleteArgs} args - Arguments to delete one Collab_messages. + * @example + * // Delete one Collab_messages + * const Collab_messages = await prisma.collab_messages.delete({ + * where: { + * // ... filter to delete one Collab_messages + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Collab_messages. + * @param {collab_messagesUpdateArgs} args - Arguments to update one Collab_messages. + * @example + * // Update one Collab_messages + * const collab_messages = await prisma.collab_messages.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Collab_messages. + * @param {collab_messagesDeleteManyArgs} args - Arguments to filter Collab_messages to delete. + * @example + * // Delete a few Collab_messages + * const { count } = await prisma.collab_messages.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_messages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Collab_messages + * const collab_messages = await prisma.collab_messages.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_messages and returns the data updated in the database. + * @param {collab_messagesUpdateManyAndReturnArgs} args - Arguments to update many Collab_messages. + * @example + * // Update many Collab_messages + * const collab_messages = await prisma.collab_messages.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Collab_messages and only return the `id` + * const collab_messagesWithIdOnly = await prisma.collab_messages.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Collab_messages. + * @param {collab_messagesUpsertArgs} args - Arguments to update or create a Collab_messages. + * @example + * // Update or create a Collab_messages + * const collab_messages = await prisma.collab_messages.upsert({ + * create: { + * // ... data to create a Collab_messages + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Collab_messages we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_messagesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Collab_messages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesCountArgs} args - Arguments to filter Collab_messages to count. + * @example + * // Count the number of Collab_messages + * const count = await prisma.collab_messages.count({ + * where: { + * // ... the filter for the Collab_messages we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Collab_messages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Collab_messagesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Collab_messages. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_messagesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends collab_messagesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: collab_messagesGroupByArgs['orderBy'] } + : { orderBy?: collab_messagesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollab_messagesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the collab_messages model + */ +readonly fields: collab_messagesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for collab_messages. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__collab_messagesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + collab_message_reactions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_messages = {}>(args?: Prisma.Subset>): Prisma.Prisma__collab_messagesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + other_collab_messages = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the collab_messages model + */ +export interface collab_messagesFieldRefs { + readonly id: Prisma.FieldRef<"collab_messages", 'Int'> + readonly trip_id: Prisma.FieldRef<"collab_messages", 'Int'> + readonly user_id: Prisma.FieldRef<"collab_messages", 'Int'> + readonly text: Prisma.FieldRef<"collab_messages", 'String'> + readonly reply_to: Prisma.FieldRef<"collab_messages", 'Int'> + readonly created_at: Prisma.FieldRef<"collab_messages", 'DateTime'> + readonly deleted: Prisma.FieldRef<"collab_messages", 'Int'> +} + + +// Custom InputTypes +/** + * collab_messages findUnique + */ +export type collab_messagesFindUniqueArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter, which collab_messages to fetch. + */ + where: Prisma.collab_messagesWhereUniqueInput +} + +/** + * collab_messages findUniqueOrThrow + */ +export type collab_messagesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter, which collab_messages to fetch. + */ + where: Prisma.collab_messagesWhereUniqueInput +} + +/** + * collab_messages findFirst + */ +export type collab_messagesFindFirstArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter, which collab_messages to fetch. + */ + where?: Prisma.collab_messagesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_messages to fetch. + */ + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_messages. + */ + cursor?: Prisma.collab_messagesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_messages from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_messages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_messages. + */ + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * collab_messages findFirstOrThrow + */ +export type collab_messagesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter, which collab_messages to fetch. + */ + where?: Prisma.collab_messagesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_messages to fetch. + */ + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_messages. + */ + cursor?: Prisma.collab_messagesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_messages from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_messages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_messages. + */ + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * collab_messages findMany + */ +export type collab_messagesFindManyArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter, which collab_messages to fetch. + */ + where?: Prisma.collab_messagesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_messages to fetch. + */ + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing collab_messages. + */ + cursor?: Prisma.collab_messagesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_messages from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_messages. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_messages. + */ + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * collab_messages create + */ +export type collab_messagesCreateArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * The data needed to create a collab_messages. + */ + data: Prisma.XOR +} + +/** + * collab_messages createMany + */ +export type collab_messagesCreateManyArgs = { + /** + * The data used to create many collab_messages. + */ + data: Prisma.collab_messagesCreateManyInput | Prisma.collab_messagesCreateManyInput[] +} + +/** + * collab_messages createManyAndReturn + */ +export type collab_messagesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * The data used to create many collab_messages. + */ + data: Prisma.collab_messagesCreateManyInput | Prisma.collab_messagesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesIncludeCreateManyAndReturn | null +} + +/** + * collab_messages update + */ +export type collab_messagesUpdateArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * The data needed to update a collab_messages. + */ + data: Prisma.XOR + /** + * Choose, which collab_messages to update. + */ + where: Prisma.collab_messagesWhereUniqueInput +} + +/** + * collab_messages updateMany + */ +export type collab_messagesUpdateManyArgs = { + /** + * The data used to update collab_messages. + */ + data: Prisma.XOR + /** + * Filter which collab_messages to update + */ + where?: Prisma.collab_messagesWhereInput + /** + * Limit how many collab_messages to update. + */ + limit?: number +} + +/** + * collab_messages updateManyAndReturn + */ +export type collab_messagesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * The data used to update collab_messages. + */ + data: Prisma.XOR + /** + * Filter which collab_messages to update + */ + where?: Prisma.collab_messagesWhereInput + /** + * Limit how many collab_messages to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesIncludeUpdateManyAndReturn | null +} + +/** + * collab_messages upsert + */ +export type collab_messagesUpsertArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * The filter to search for the collab_messages to update in case it exists. + */ + where: Prisma.collab_messagesWhereUniqueInput + /** + * In case the collab_messages found by the `where` argument doesn't exist, create a new collab_messages with this data. + */ + create: Prisma.XOR + /** + * In case the collab_messages was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * collab_messages delete + */ +export type collab_messagesDeleteArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + /** + * Filter which collab_messages to delete. + */ + where: Prisma.collab_messagesWhereUniqueInput +} + +/** + * collab_messages deleteMany + */ +export type collab_messagesDeleteManyArgs = { + /** + * Filter which collab_messages to delete + */ + where?: Prisma.collab_messagesWhereInput + /** + * Limit how many collab_messages to delete. + */ + limit?: number +} + +/** + * collab_messages.collab_message_reactions + */ +export type collab_messages$collab_message_reactionsArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + where?: Prisma.collab_message_reactionsWhereInput + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] +} + +/** + * collab_messages.collab_messages + */ +export type collab_messages$collab_messagesArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + where?: Prisma.collab_messagesWhereInput +} + +/** + * collab_messages.other_collab_messages + */ +export type collab_messages$other_collab_messagesArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + where?: Prisma.collab_messagesWhereInput + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + cursor?: Prisma.collab_messagesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * collab_messages without action + */ +export type collab_messagesDefaultArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null +} diff --git a/server/src/generated/prisma/models/collab_notes.ts b/server/src/generated/prisma/models/collab_notes.ts new file mode 100644 index 00000000..c517f741 --- /dev/null +++ b/server/src/generated/prisma/models/collab_notes.ts @@ -0,0 +1,1927 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `collab_notes` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model collab_notes + * + */ +export type collab_notesModel = runtime.Types.Result.DefaultSelection + +export type AggregateCollab_notes = { + _count: Collab_notesCountAggregateOutputType | null + _avg: Collab_notesAvgAggregateOutputType | null + _sum: Collab_notesSumAggregateOutputType | null + _min: Collab_notesMinAggregateOutputType | null + _max: Collab_notesMaxAggregateOutputType | null +} + +export type Collab_notesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + pinned: number | null +} + +export type Collab_notesSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + pinned: number | null +} + +export type Collab_notesMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + category: string | null + title: string | null + content: string | null + color: string | null + pinned: number | null + created_at: Date | null + updated_at: Date | null + website: string | null +} + +export type Collab_notesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + category: string | null + title: string | null + content: string | null + color: string | null + pinned: number | null + created_at: Date | null + updated_at: Date | null + website: string | null +} + +export type Collab_notesCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + category: number + title: number + content: number + color: number + pinned: number + created_at: number + updated_at: number + website: number + _all: number +} + + +export type Collab_notesAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + pinned?: true +} + +export type Collab_notesSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + pinned?: true +} + +export type Collab_notesMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + category?: true + title?: true + content?: true + color?: true + pinned?: true + created_at?: true + updated_at?: true + website?: true +} + +export type Collab_notesMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + category?: true + title?: true + content?: true + color?: true + pinned?: true + created_at?: true + updated_at?: true + website?: true +} + +export type Collab_notesCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + category?: true + title?: true + content?: true + color?: true + pinned?: true + created_at?: true + updated_at?: true + website?: true + _all?: true +} + +export type Collab_notesAggregateArgs = { + /** + * Filter which collab_notes to aggregate. + */ + where?: Prisma.collab_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_notes to fetch. + */ + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.collab_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned collab_notes + **/ + _count?: true | Collab_notesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Collab_notesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Collab_notesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Collab_notesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Collab_notesMaxAggregateInputType +} + +export type GetCollab_notesAggregateType = { + [P in keyof T & keyof AggregateCollab_notes]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type collab_notesGroupByArgs = { + where?: Prisma.collab_notesWhereInput + orderBy?: Prisma.collab_notesOrderByWithAggregationInput | Prisma.collab_notesOrderByWithAggregationInput[] + by: Prisma.Collab_notesScalarFieldEnum[] | Prisma.Collab_notesScalarFieldEnum + having?: Prisma.collab_notesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Collab_notesCountAggregateInputType | true + _avg?: Collab_notesAvgAggregateInputType + _sum?: Collab_notesSumAggregateInputType + _min?: Collab_notesMinAggregateInputType + _max?: Collab_notesMaxAggregateInputType +} + +export type Collab_notesGroupByOutputType = { + id: number + trip_id: number + user_id: number + category: string | null + title: string + content: string | null + color: string | null + pinned: number | null + created_at: Date | null + updated_at: Date | null + website: string | null + _count: Collab_notesCountAggregateOutputType | null + _avg: Collab_notesAvgAggregateOutputType | null + _sum: Collab_notesSumAggregateOutputType | null + _min: Collab_notesMinAggregateOutputType | null + _max: Collab_notesMaxAggregateOutputType | null +} + +export type GetCollab_notesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Collab_notesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type collab_notesWhereInput = { + AND?: Prisma.collab_notesWhereInput | Prisma.collab_notesWhereInput[] + OR?: Prisma.collab_notesWhereInput[] + NOT?: Prisma.collab_notesWhereInput | Prisma.collab_notesWhereInput[] + id?: Prisma.IntFilter<"collab_notes"> | number + trip_id?: Prisma.IntFilter<"collab_notes"> | number + user_id?: Prisma.IntFilter<"collab_notes"> | number + category?: Prisma.StringNullableFilter<"collab_notes"> | string | null + title?: Prisma.StringFilter<"collab_notes"> | string + content?: Prisma.StringNullableFilter<"collab_notes"> | string | null + color?: Prisma.StringNullableFilter<"collab_notes"> | string | null + pinned?: Prisma.IntNullableFilter<"collab_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + website?: Prisma.StringNullableFilter<"collab_notes"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR + trip_files?: Prisma.Trip_filesListRelationFilter +} + +export type collab_notesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrder + content?: Prisma.SortOrderInput | Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + pinned?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + website?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + trip_files?: Prisma.trip_filesOrderByRelationAggregateInput +} + +export type collab_notesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.collab_notesWhereInput | Prisma.collab_notesWhereInput[] + OR?: Prisma.collab_notesWhereInput[] + NOT?: Prisma.collab_notesWhereInput | Prisma.collab_notesWhereInput[] + trip_id?: Prisma.IntFilter<"collab_notes"> | number + user_id?: Prisma.IntFilter<"collab_notes"> | number + category?: Prisma.StringNullableFilter<"collab_notes"> | string | null + title?: Prisma.StringFilter<"collab_notes"> | string + content?: Prisma.StringNullableFilter<"collab_notes"> | string | null + color?: Prisma.StringNullableFilter<"collab_notes"> | string | null + pinned?: Prisma.IntNullableFilter<"collab_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + website?: Prisma.StringNullableFilter<"collab_notes"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR + trip_files?: Prisma.Trip_filesListRelationFilter +}, "id"> + +export type collab_notesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrder + content?: Prisma.SortOrderInput | Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + pinned?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + website?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.collab_notesCountOrderByAggregateInput + _avg?: Prisma.collab_notesAvgOrderByAggregateInput + _max?: Prisma.collab_notesMaxOrderByAggregateInput + _min?: Prisma.collab_notesMinOrderByAggregateInput + _sum?: Prisma.collab_notesSumOrderByAggregateInput +} + +export type collab_notesScalarWhereWithAggregatesInput = { + AND?: Prisma.collab_notesScalarWhereWithAggregatesInput | Prisma.collab_notesScalarWhereWithAggregatesInput[] + OR?: Prisma.collab_notesScalarWhereWithAggregatesInput[] + NOT?: Prisma.collab_notesScalarWhereWithAggregatesInput | Prisma.collab_notesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"collab_notes"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"collab_notes"> | number + user_id?: Prisma.IntWithAggregatesFilter<"collab_notes"> | number + category?: Prisma.StringNullableWithAggregatesFilter<"collab_notes"> | string | null + title?: Prisma.StringWithAggregatesFilter<"collab_notes"> | string + content?: Prisma.StringNullableWithAggregatesFilter<"collab_notes"> | string | null + color?: Prisma.StringNullableWithAggregatesFilter<"collab_notes"> | string | null + pinned?: Prisma.IntNullableWithAggregatesFilter<"collab_notes"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_notes"> | Date | string | null + updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_notes"> | Date | string | null + website?: Prisma.StringNullableWithAggregatesFilter<"collab_notes"> | string | null +} + +export type collab_notesCreateInput = { + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + users: Prisma.usersCreateNestedOneWithoutCollab_notesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_notesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesUpdateInput = { + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_notesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_notesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesCreateManyInput = { + id?: number + trip_id: number + user_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null +} + +export type collab_notesUpdateManyMutationInput = { + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type collab_notesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type collab_notesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + category?: Prisma.SortOrder + title?: Prisma.SortOrder + content?: Prisma.SortOrder + color?: Prisma.SortOrder + pinned?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + website?: Prisma.SortOrder +} + +export type collab_notesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + pinned?: Prisma.SortOrder +} + +export type collab_notesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + category?: Prisma.SortOrder + title?: Prisma.SortOrder + content?: Prisma.SortOrder + color?: Prisma.SortOrder + pinned?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + website?: Prisma.SortOrder +} + +export type collab_notesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + category?: Prisma.SortOrder + title?: Prisma.SortOrder + content?: Prisma.SortOrder + color?: Prisma.SortOrder + pinned?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + website?: Prisma.SortOrder +} + +export type collab_notesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + pinned?: Prisma.SortOrder +} + +export type Collab_notesNullableScalarRelationFilter = { + is?: Prisma.collab_notesWhereInput | null + isNot?: Prisma.collab_notesWhereInput | null +} + +export type Collab_notesListRelationFilter = { + every?: Prisma.collab_notesWhereInput + some?: Prisma.collab_notesWhereInput + none?: Prisma.collab_notesWhereInput +} + +export type collab_notesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type collab_notesCreateNestedOneWithoutTrip_filesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTrip_filesInput + connect?: Prisma.collab_notesWhereUniqueInput +} + +export type collab_notesUpdateOneWithoutTrip_filesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTrip_filesInput + upsert?: Prisma.collab_notesUpsertWithoutTrip_filesInput + disconnect?: Prisma.collab_notesWhereInput | boolean + delete?: Prisma.collab_notesWhereInput | boolean + connect?: Prisma.collab_notesWhereUniqueInput + update?: Prisma.XOR, Prisma.collab_notesUncheckedUpdateWithoutTrip_filesInput> +} + +export type collab_notesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutTripsInput[] | Prisma.collab_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTripsInput | Prisma.collab_notesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_notesCreateManyTripsInputEnvelope + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] +} + +export type collab_notesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutTripsInput[] | Prisma.collab_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTripsInput | Prisma.collab_notesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_notesCreateManyTripsInputEnvelope + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] +} + +export type collab_notesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutTripsInput[] | Prisma.collab_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTripsInput | Prisma.collab_notesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_notesUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_notesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_notesCreateManyTripsInputEnvelope + set?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + disconnect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + delete?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + update?: Prisma.collab_notesUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_notesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_notesUpdateManyWithWhereWithoutTripsInput | Prisma.collab_notesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] +} + +export type collab_notesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutTripsInput[] | Prisma.collab_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutTripsInput | Prisma.collab_notesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_notesUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_notesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_notesCreateManyTripsInputEnvelope + set?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + disconnect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + delete?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + update?: Prisma.collab_notesUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_notesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_notesUpdateManyWithWhereWithoutTripsInput | Prisma.collab_notesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] +} + +export type collab_notesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutUsersInput[] | Prisma.collab_notesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutUsersInput | Prisma.collab_notesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_notesCreateManyUsersInputEnvelope + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] +} + +export type collab_notesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutUsersInput[] | Prisma.collab_notesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutUsersInput | Prisma.collab_notesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_notesCreateManyUsersInputEnvelope + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] +} + +export type collab_notesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutUsersInput[] | Prisma.collab_notesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutUsersInput | Prisma.collab_notesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_notesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_notesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_notesCreateManyUsersInputEnvelope + set?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + disconnect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + delete?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + update?: Prisma.collab_notesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_notesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_notesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_notesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] +} + +export type collab_notesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_notesCreateWithoutUsersInput[] | Prisma.collab_notesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_notesCreateOrConnectWithoutUsersInput | Prisma.collab_notesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_notesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_notesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_notesCreateManyUsersInputEnvelope + set?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + disconnect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + delete?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + connect?: Prisma.collab_notesWhereUniqueInput | Prisma.collab_notesWhereUniqueInput[] + update?: Prisma.collab_notesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_notesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_notesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_notesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] +} + +export type collab_notesCreateWithoutTrip_filesInput = { + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + users: Prisma.usersCreateNestedOneWithoutCollab_notesInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_notesInput +} + +export type collab_notesUncheckedCreateWithoutTrip_filesInput = { + id?: number + trip_id: number + user_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null +} + +export type collab_notesCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.collab_notesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_notesUpsertWithoutTrip_filesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.collab_notesWhereInput +} + +export type collab_notesUpdateToOneWithWhereWithoutTrip_filesInput = { + where?: Prisma.collab_notesWhereInput + data: Prisma.XOR +} + +export type collab_notesUpdateWithoutTrip_filesInput = { + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_notesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type collab_notesCreateWithoutTripsInput = { + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + users: Prisma.usersCreateNestedOneWithoutCollab_notesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesCreateOrConnectWithoutTripsInput = { + where: Prisma.collab_notesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_notesCreateManyTripsInputEnvelope = { + data: Prisma.collab_notesCreateManyTripsInput | Prisma.collab_notesCreateManyTripsInput[] +} + +export type collab_notesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_notesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_notesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_notesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_notesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.collab_notesScalarWhereInput + data: Prisma.XOR +} + +export type collab_notesScalarWhereInput = { + AND?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] + OR?: Prisma.collab_notesScalarWhereInput[] + NOT?: Prisma.collab_notesScalarWhereInput | Prisma.collab_notesScalarWhereInput[] + id?: Prisma.IntFilter<"collab_notes"> | number + trip_id?: Prisma.IntFilter<"collab_notes"> | number + user_id?: Prisma.IntFilter<"collab_notes"> | number + category?: Prisma.StringNullableFilter<"collab_notes"> | string | null + title?: Prisma.StringFilter<"collab_notes"> | string + content?: Prisma.StringNullableFilter<"collab_notes"> | string | null + color?: Prisma.StringNullableFilter<"collab_notes"> | string | null + pinned?: Prisma.IntNullableFilter<"collab_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"collab_notes"> | Date | string | null + website?: Prisma.StringNullableFilter<"collab_notes"> | string | null +} + +export type collab_notesCreateWithoutUsersInput = { + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + trips: Prisma.tripsCreateNestedOneWithoutCollab_notesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutCollab_notesInput +} + +export type collab_notesCreateOrConnectWithoutUsersInput = { + where: Prisma.collab_notesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_notesCreateManyUsersInputEnvelope = { + data: Prisma.collab_notesCreateManyUsersInput | Prisma.collab_notesCreateManyUsersInput[] +} + +export type collab_notesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_notesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_notesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_notesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_notesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.collab_notesScalarWhereInput + data: Prisma.XOR +} + +export type collab_notesCreateManyTripsInput = { + id?: number + user_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null +} + +export type collab_notesUpdateWithoutTripsInput = { + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_notesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type collab_notesCreateManyUsersInput = { + id?: number + trip_id: number + category?: string | null + title: string + content?: string | null + color?: string | null + pinned?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + website?: string | null +} + +export type collab_notesUpdateWithoutUsersInput = { + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_notesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutCollab_notesNestedInput +} + +export type collab_notesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.StringFieldUpdateOperationsInput | string + content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + pinned?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Collab_notesCountOutputType + */ + +export type Collab_notesCountOutputType = { + trip_files: number +} + +export type Collab_notesCountOutputTypeSelect = { + trip_files?: boolean | Collab_notesCountOutputTypeCountTrip_filesArgs +} + +/** + * Collab_notesCountOutputType without action + */ +export type Collab_notesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Collab_notesCountOutputType + */ + select?: Prisma.Collab_notesCountOutputTypeSelect | null +} + +/** + * Collab_notesCountOutputType without action + */ +export type Collab_notesCountOutputTypeCountTrip_filesArgs = { + where?: Prisma.trip_filesWhereInput +} + + +export type collab_notesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + category?: boolean + title?: boolean + content?: boolean + color?: boolean + pinned?: boolean + created_at?: boolean + updated_at?: boolean + website?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_files?: boolean | Prisma.collab_notes$trip_filesArgs + _count?: boolean | Prisma.Collab_notesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["collab_notes"]> + +export type collab_notesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + category?: boolean + title?: boolean + content?: boolean + color?: boolean + pinned?: boolean + created_at?: boolean + updated_at?: boolean + website?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_notes"]> + +export type collab_notesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + category?: boolean + title?: boolean + content?: boolean + color?: boolean + pinned?: boolean + created_at?: boolean + updated_at?: boolean + website?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_notes"]> + +export type collab_notesSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + category?: boolean + title?: boolean + content?: boolean + color?: boolean + pinned?: boolean + created_at?: boolean + updated_at?: boolean + website?: boolean +} + +export type collab_notesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "category" | "title" | "content" | "color" | "pinned" | "created_at" | "updated_at" | "website", ExtArgs["result"]["collab_notes"]> +export type collab_notesInclude = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_files?: boolean | Prisma.collab_notes$trip_filesArgs + _count?: boolean | Prisma.Collab_notesCountOutputTypeDefaultArgs +} +export type collab_notesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type collab_notesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $collab_notesPayload = { + name: "collab_notes" + objects: { + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + trip_files: Prisma.$trip_filesPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + category: string | null + title: string + content: string | null + color: string | null + pinned: number | null + created_at: Date | null + updated_at: Date | null + website: string | null + }, ExtArgs["result"]["collab_notes"]> + composites: {} +} + +export type collab_notesGetPayload = runtime.Types.Result.GetResult + +export type collab_notesCountArgs = + Omit & { + select?: Collab_notesCountAggregateInputType | true + } + +export interface collab_notesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['collab_notes'], meta: { name: 'collab_notes' } } + /** + * Find zero or one Collab_notes that matches the filter. + * @param {collab_notesFindUniqueArgs} args - Arguments to find a Collab_notes + * @example + * // Get one Collab_notes + * const collab_notes = await prisma.collab_notes.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Collab_notes that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {collab_notesFindUniqueOrThrowArgs} args - Arguments to find a Collab_notes + * @example + * // Get one Collab_notes + * const collab_notes = await prisma.collab_notes.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_notes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesFindFirstArgs} args - Arguments to find a Collab_notes + * @example + * // Get one Collab_notes + * const collab_notes = await prisma.collab_notes.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_notes that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesFindFirstOrThrowArgs} args - Arguments to find a Collab_notes + * @example + * // Get one Collab_notes + * const collab_notes = await prisma.collab_notes.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Collab_notes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Collab_notes + * const collab_notes = await prisma.collab_notes.findMany() + * + * // Get first 10 Collab_notes + * const collab_notes = await prisma.collab_notes.findMany({ take: 10 }) + * + * // Only select the `id` + * const collab_notesWithIdOnly = await prisma.collab_notes.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Collab_notes. + * @param {collab_notesCreateArgs} args - Arguments to create a Collab_notes. + * @example + * // Create one Collab_notes + * const Collab_notes = await prisma.collab_notes.create({ + * data: { + * // ... data to create a Collab_notes + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Collab_notes. + * @param {collab_notesCreateManyArgs} args - Arguments to create many Collab_notes. + * @example + * // Create many Collab_notes + * const collab_notes = await prisma.collab_notes.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Collab_notes and returns the data saved in the database. + * @param {collab_notesCreateManyAndReturnArgs} args - Arguments to create many Collab_notes. + * @example + * // Create many Collab_notes + * const collab_notes = await prisma.collab_notes.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Collab_notes and only return the `id` + * const collab_notesWithIdOnly = await prisma.collab_notes.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Collab_notes. + * @param {collab_notesDeleteArgs} args - Arguments to delete one Collab_notes. + * @example + * // Delete one Collab_notes + * const Collab_notes = await prisma.collab_notes.delete({ + * where: { + * // ... filter to delete one Collab_notes + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Collab_notes. + * @param {collab_notesUpdateArgs} args - Arguments to update one Collab_notes. + * @example + * // Update one Collab_notes + * const collab_notes = await prisma.collab_notes.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Collab_notes. + * @param {collab_notesDeleteManyArgs} args - Arguments to filter Collab_notes to delete. + * @example + * // Delete a few Collab_notes + * const { count } = await prisma.collab_notes.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Collab_notes + * const collab_notes = await prisma.collab_notes.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_notes and returns the data updated in the database. + * @param {collab_notesUpdateManyAndReturnArgs} args - Arguments to update many Collab_notes. + * @example + * // Update many Collab_notes + * const collab_notes = await prisma.collab_notes.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Collab_notes and only return the `id` + * const collab_notesWithIdOnly = await prisma.collab_notes.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Collab_notes. + * @param {collab_notesUpsertArgs} args - Arguments to update or create a Collab_notes. + * @example + * // Update or create a Collab_notes + * const collab_notes = await prisma.collab_notes.upsert({ + * create: { + * // ... data to create a Collab_notes + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Collab_notes we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_notesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Collab_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesCountArgs} args - Arguments to filter Collab_notes to count. + * @example + * // Count the number of Collab_notes + * const count = await prisma.collab_notes.count({ + * where: { + * // ... the filter for the Collab_notes we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Collab_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Collab_notesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Collab_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_notesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends collab_notesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: collab_notesGroupByArgs['orderBy'] } + : { orderBy?: collab_notesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollab_notesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the collab_notes model + */ +readonly fields: collab_notesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for collab_notes. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__collab_notesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trip_files = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the collab_notes model + */ +export interface collab_notesFieldRefs { + readonly id: Prisma.FieldRef<"collab_notes", 'Int'> + readonly trip_id: Prisma.FieldRef<"collab_notes", 'Int'> + readonly user_id: Prisma.FieldRef<"collab_notes", 'Int'> + readonly category: Prisma.FieldRef<"collab_notes", 'String'> + readonly title: Prisma.FieldRef<"collab_notes", 'String'> + readonly content: Prisma.FieldRef<"collab_notes", 'String'> + readonly color: Prisma.FieldRef<"collab_notes", 'String'> + readonly pinned: Prisma.FieldRef<"collab_notes", 'Int'> + readonly created_at: Prisma.FieldRef<"collab_notes", 'DateTime'> + readonly updated_at: Prisma.FieldRef<"collab_notes", 'DateTime'> + readonly website: Prisma.FieldRef<"collab_notes", 'String'> +} + + +// Custom InputTypes +/** + * collab_notes findUnique + */ +export type collab_notesFindUniqueArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter, which collab_notes to fetch. + */ + where: Prisma.collab_notesWhereUniqueInput +} + +/** + * collab_notes findUniqueOrThrow + */ +export type collab_notesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter, which collab_notes to fetch. + */ + where: Prisma.collab_notesWhereUniqueInput +} + +/** + * collab_notes findFirst + */ +export type collab_notesFindFirstArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter, which collab_notes to fetch. + */ + where?: Prisma.collab_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_notes to fetch. + */ + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_notes. + */ + cursor?: Prisma.collab_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_notes. + */ + distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[] +} + +/** + * collab_notes findFirstOrThrow + */ +export type collab_notesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter, which collab_notes to fetch. + */ + where?: Prisma.collab_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_notes to fetch. + */ + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_notes. + */ + cursor?: Prisma.collab_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_notes. + */ + distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[] +} + +/** + * collab_notes findMany + */ +export type collab_notesFindManyArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter, which collab_notes to fetch. + */ + where?: Prisma.collab_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_notes to fetch. + */ + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing collab_notes. + */ + cursor?: Prisma.collab_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_notes. + */ + distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[] +} + +/** + * collab_notes create + */ +export type collab_notesCreateArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * The data needed to create a collab_notes. + */ + data: Prisma.XOR +} + +/** + * collab_notes createMany + */ +export type collab_notesCreateManyArgs = { + /** + * The data used to create many collab_notes. + */ + data: Prisma.collab_notesCreateManyInput | Prisma.collab_notesCreateManyInput[] +} + +/** + * collab_notes createManyAndReturn + */ +export type collab_notesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * The data used to create many collab_notes. + */ + data: Prisma.collab_notesCreateManyInput | Prisma.collab_notesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesIncludeCreateManyAndReturn | null +} + +/** + * collab_notes update + */ +export type collab_notesUpdateArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * The data needed to update a collab_notes. + */ + data: Prisma.XOR + /** + * Choose, which collab_notes to update. + */ + where: Prisma.collab_notesWhereUniqueInput +} + +/** + * collab_notes updateMany + */ +export type collab_notesUpdateManyArgs = { + /** + * The data used to update collab_notes. + */ + data: Prisma.XOR + /** + * Filter which collab_notes to update + */ + where?: Prisma.collab_notesWhereInput + /** + * Limit how many collab_notes to update. + */ + limit?: number +} + +/** + * collab_notes updateManyAndReturn + */ +export type collab_notesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * The data used to update collab_notes. + */ + data: Prisma.XOR + /** + * Filter which collab_notes to update + */ + where?: Prisma.collab_notesWhereInput + /** + * Limit how many collab_notes to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesIncludeUpdateManyAndReturn | null +} + +/** + * collab_notes upsert + */ +export type collab_notesUpsertArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * The filter to search for the collab_notes to update in case it exists. + */ + where: Prisma.collab_notesWhereUniqueInput + /** + * In case the collab_notes found by the `where` argument doesn't exist, create a new collab_notes with this data. + */ + create: Prisma.XOR + /** + * In case the collab_notes was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * collab_notes delete + */ +export type collab_notesDeleteArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + /** + * Filter which collab_notes to delete. + */ + where: Prisma.collab_notesWhereUniqueInput +} + +/** + * collab_notes deleteMany + */ +export type collab_notesDeleteManyArgs = { + /** + * Filter which collab_notes to delete + */ + where?: Prisma.collab_notesWhereInput + /** + * Limit how many collab_notes to delete. + */ + limit?: number +} + +/** + * collab_notes.trip_files + */ +export type collab_notes$trip_filesArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + cursor?: Prisma.trip_filesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * collab_notes without action + */ +export type collab_notesDefaultArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null +} diff --git a/server/src/generated/prisma/models/collab_poll_votes.ts b/server/src/generated/prisma/models/collab_poll_votes.ts new file mode 100644 index 00000000..cbb75740 --- /dev/null +++ b/server/src/generated/prisma/models/collab_poll_votes.ts @@ -0,0 +1,1523 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `collab_poll_votes` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model collab_poll_votes + * + */ +export type collab_poll_votesModel = runtime.Types.Result.DefaultSelection + +export type AggregateCollab_poll_votes = { + _count: Collab_poll_votesCountAggregateOutputType | null + _avg: Collab_poll_votesAvgAggregateOutputType | null + _sum: Collab_poll_votesSumAggregateOutputType | null + _min: Collab_poll_votesMinAggregateOutputType | null + _max: Collab_poll_votesMaxAggregateOutputType | null +} + +export type Collab_poll_votesAvgAggregateOutputType = { + id: number | null + poll_id: number | null + user_id: number | null + option_index: number | null +} + +export type Collab_poll_votesSumAggregateOutputType = { + id: number | null + poll_id: number | null + user_id: number | null + option_index: number | null +} + +export type Collab_poll_votesMinAggregateOutputType = { + id: number | null + poll_id: number | null + user_id: number | null + option_index: number | null + created_at: Date | null +} + +export type Collab_poll_votesMaxAggregateOutputType = { + id: number | null + poll_id: number | null + user_id: number | null + option_index: number | null + created_at: Date | null +} + +export type Collab_poll_votesCountAggregateOutputType = { + id: number + poll_id: number + user_id: number + option_index: number + created_at: number + _all: number +} + + +export type Collab_poll_votesAvgAggregateInputType = { + id?: true + poll_id?: true + user_id?: true + option_index?: true +} + +export type Collab_poll_votesSumAggregateInputType = { + id?: true + poll_id?: true + user_id?: true + option_index?: true +} + +export type Collab_poll_votesMinAggregateInputType = { + id?: true + poll_id?: true + user_id?: true + option_index?: true + created_at?: true +} + +export type Collab_poll_votesMaxAggregateInputType = { + id?: true + poll_id?: true + user_id?: true + option_index?: true + created_at?: true +} + +export type Collab_poll_votesCountAggregateInputType = { + id?: true + poll_id?: true + user_id?: true + option_index?: true + created_at?: true + _all?: true +} + +export type Collab_poll_votesAggregateArgs = { + /** + * Filter which collab_poll_votes to aggregate. + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_poll_votes to fetch. + */ + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.collab_poll_votesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_poll_votes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_poll_votes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned collab_poll_votes + **/ + _count?: true | Collab_poll_votesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Collab_poll_votesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Collab_poll_votesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Collab_poll_votesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Collab_poll_votesMaxAggregateInputType +} + +export type GetCollab_poll_votesAggregateType = { + [P in keyof T & keyof AggregateCollab_poll_votes]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type collab_poll_votesGroupByArgs = { + where?: Prisma.collab_poll_votesWhereInput + orderBy?: Prisma.collab_poll_votesOrderByWithAggregationInput | Prisma.collab_poll_votesOrderByWithAggregationInput[] + by: Prisma.Collab_poll_votesScalarFieldEnum[] | Prisma.Collab_poll_votesScalarFieldEnum + having?: Prisma.collab_poll_votesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Collab_poll_votesCountAggregateInputType | true + _avg?: Collab_poll_votesAvgAggregateInputType + _sum?: Collab_poll_votesSumAggregateInputType + _min?: Collab_poll_votesMinAggregateInputType + _max?: Collab_poll_votesMaxAggregateInputType +} + +export type Collab_poll_votesGroupByOutputType = { + id: number + poll_id: number + user_id: number + option_index: number + created_at: Date | null + _count: Collab_poll_votesCountAggregateOutputType | null + _avg: Collab_poll_votesAvgAggregateOutputType | null + _sum: Collab_poll_votesSumAggregateOutputType | null + _min: Collab_poll_votesMinAggregateOutputType | null + _max: Collab_poll_votesMaxAggregateOutputType | null +} + +export type GetCollab_poll_votesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Collab_poll_votesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type collab_poll_votesWhereInput = { + AND?: Prisma.collab_poll_votesWhereInput | Prisma.collab_poll_votesWhereInput[] + OR?: Prisma.collab_poll_votesWhereInput[] + NOT?: Prisma.collab_poll_votesWhereInput | Prisma.collab_poll_votesWhereInput[] + id?: Prisma.IntFilter<"collab_poll_votes"> | number + poll_id?: Prisma.IntFilter<"collab_poll_votes"> | number + user_id?: Prisma.IntFilter<"collab_poll_votes"> | number + option_index?: Prisma.IntFilter<"collab_poll_votes"> | number + created_at?: Prisma.DateTimeNullableFilter<"collab_poll_votes"> | Date | string | null + users?: Prisma.XOR + collab_polls?: Prisma.XOR +} + +export type collab_poll_votesOrderByWithRelationInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + collab_polls?: Prisma.collab_pollsOrderByWithRelationInput +} + +export type collab_poll_votesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + poll_id_user_id_option_index?: Prisma.collab_poll_votesPoll_idUser_idOption_indexCompoundUniqueInput + AND?: Prisma.collab_poll_votesWhereInput | Prisma.collab_poll_votesWhereInput[] + OR?: Prisma.collab_poll_votesWhereInput[] + NOT?: Prisma.collab_poll_votesWhereInput | Prisma.collab_poll_votesWhereInput[] + poll_id?: Prisma.IntFilter<"collab_poll_votes"> | number + user_id?: Prisma.IntFilter<"collab_poll_votes"> | number + option_index?: Prisma.IntFilter<"collab_poll_votes"> | number + created_at?: Prisma.DateTimeNullableFilter<"collab_poll_votes"> | Date | string | null + users?: Prisma.XOR + collab_polls?: Prisma.XOR +}, "id" | "poll_id_user_id_option_index"> + +export type collab_poll_votesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.collab_poll_votesCountOrderByAggregateInput + _avg?: Prisma.collab_poll_votesAvgOrderByAggregateInput + _max?: Prisma.collab_poll_votesMaxOrderByAggregateInput + _min?: Prisma.collab_poll_votesMinOrderByAggregateInput + _sum?: Prisma.collab_poll_votesSumOrderByAggregateInput +} + +export type collab_poll_votesScalarWhereWithAggregatesInput = { + AND?: Prisma.collab_poll_votesScalarWhereWithAggregatesInput | Prisma.collab_poll_votesScalarWhereWithAggregatesInput[] + OR?: Prisma.collab_poll_votesScalarWhereWithAggregatesInput[] + NOT?: Prisma.collab_poll_votesScalarWhereWithAggregatesInput | Prisma.collab_poll_votesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"collab_poll_votes"> | number + poll_id?: Prisma.IntWithAggregatesFilter<"collab_poll_votes"> | number + user_id?: Prisma.IntWithAggregatesFilter<"collab_poll_votes"> | number + option_index?: Prisma.IntWithAggregatesFilter<"collab_poll_votes"> | number + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_poll_votes"> | Date | string | null +} + +export type collab_poll_votesCreateInput = { + option_index: number + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutCollab_poll_votesInput + collab_polls: Prisma.collab_pollsCreateNestedOneWithoutCollab_poll_votesInput +} + +export type collab_poll_votesUncheckedCreateInput = { + id?: number + poll_id: number + user_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesUpdateInput = { + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_poll_votesNestedInput + collab_polls?: Prisma.collab_pollsUpdateOneRequiredWithoutCollab_poll_votesNestedInput +} + +export type collab_poll_votesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + poll_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesCreateManyInput = { + id?: number + poll_id: number + user_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesUpdateManyMutationInput = { + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + poll_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesPoll_idUser_idOption_indexCompoundUniqueInput = { + poll_id: number + user_id: number + option_index: number +} + +export type collab_poll_votesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_poll_votesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder +} + +export type collab_poll_votesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_poll_votesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_poll_votesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + poll_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + option_index?: Prisma.SortOrder +} + +export type Collab_poll_votesListRelationFilter = { + every?: Prisma.collab_poll_votesWhereInput + some?: Prisma.collab_poll_votesWhereInput + none?: Prisma.collab_poll_votesWhereInput +} + +export type collab_poll_votesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type collab_poll_votesCreateNestedManyWithoutCollab_pollsInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutCollab_pollsInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutCollab_pollsInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput | Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput[] + createMany?: Prisma.collab_poll_votesCreateManyCollab_pollsInputEnvelope + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] +} + +export type collab_poll_votesUncheckedCreateNestedManyWithoutCollab_pollsInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutCollab_pollsInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutCollab_pollsInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput | Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput[] + createMany?: Prisma.collab_poll_votesCreateManyCollab_pollsInputEnvelope + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] +} + +export type collab_poll_votesUpdateManyWithoutCollab_pollsNestedInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutCollab_pollsInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutCollab_pollsInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput | Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput[] + upsert?: Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutCollab_pollsInput | Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutCollab_pollsInput[] + createMany?: Prisma.collab_poll_votesCreateManyCollab_pollsInputEnvelope + set?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + disconnect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + delete?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + update?: Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutCollab_pollsInput | Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutCollab_pollsInput[] + updateMany?: Prisma.collab_poll_votesUpdateManyWithWhereWithoutCollab_pollsInput | Prisma.collab_poll_votesUpdateManyWithWhereWithoutCollab_pollsInput[] + deleteMany?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] +} + +export type collab_poll_votesUncheckedUpdateManyWithoutCollab_pollsNestedInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutCollab_pollsInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutCollab_pollsInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput | Prisma.collab_poll_votesCreateOrConnectWithoutCollab_pollsInput[] + upsert?: Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutCollab_pollsInput | Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutCollab_pollsInput[] + createMany?: Prisma.collab_poll_votesCreateManyCollab_pollsInputEnvelope + set?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + disconnect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + delete?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + update?: Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutCollab_pollsInput | Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutCollab_pollsInput[] + updateMany?: Prisma.collab_poll_votesUpdateManyWithWhereWithoutCollab_pollsInput | Prisma.collab_poll_votesUpdateManyWithWhereWithoutCollab_pollsInput[] + deleteMany?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] +} + +export type collab_poll_votesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutUsersInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput | Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_poll_votesCreateManyUsersInputEnvelope + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] +} + +export type collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutUsersInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput | Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_poll_votesCreateManyUsersInputEnvelope + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] +} + +export type collab_poll_votesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutUsersInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput | Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_poll_votesCreateManyUsersInputEnvelope + set?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + disconnect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + delete?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + update?: Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_poll_votesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_poll_votesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] +} + +export type collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_poll_votesCreateWithoutUsersInput[] | Prisma.collab_poll_votesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput | Prisma.collab_poll_votesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_poll_votesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_poll_votesCreateManyUsersInputEnvelope + set?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + disconnect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + delete?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + connect?: Prisma.collab_poll_votesWhereUniqueInput | Prisma.collab_poll_votesWhereUniqueInput[] + update?: Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_poll_votesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_poll_votesUpdateManyWithWhereWithoutUsersInput | Prisma.collab_poll_votesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] +} + +export type collab_poll_votesCreateWithoutCollab_pollsInput = { + option_index: number + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutCollab_poll_votesInput +} + +export type collab_poll_votesUncheckedCreateWithoutCollab_pollsInput = { + id?: number + user_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesCreateOrConnectWithoutCollab_pollsInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_poll_votesCreateManyCollab_pollsInputEnvelope = { + data: Prisma.collab_poll_votesCreateManyCollab_pollsInput | Prisma.collab_poll_votesCreateManyCollab_pollsInput[] +} + +export type collab_poll_votesUpsertWithWhereUniqueWithoutCollab_pollsInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_poll_votesUpdateWithWhereUniqueWithoutCollab_pollsInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_poll_votesUpdateManyWithWhereWithoutCollab_pollsInput = { + where: Prisma.collab_poll_votesScalarWhereInput + data: Prisma.XOR +} + +export type collab_poll_votesScalarWhereInput = { + AND?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] + OR?: Prisma.collab_poll_votesScalarWhereInput[] + NOT?: Prisma.collab_poll_votesScalarWhereInput | Prisma.collab_poll_votesScalarWhereInput[] + id?: Prisma.IntFilter<"collab_poll_votes"> | number + poll_id?: Prisma.IntFilter<"collab_poll_votes"> | number + user_id?: Prisma.IntFilter<"collab_poll_votes"> | number + option_index?: Prisma.IntFilter<"collab_poll_votes"> | number + created_at?: Prisma.DateTimeNullableFilter<"collab_poll_votes"> | Date | string | null +} + +export type collab_poll_votesCreateWithoutUsersInput = { + option_index: number + created_at?: Date | string | null + collab_polls: Prisma.collab_pollsCreateNestedOneWithoutCollab_poll_votesInput +} + +export type collab_poll_votesUncheckedCreateWithoutUsersInput = { + id?: number + poll_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesCreateOrConnectWithoutUsersInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + create: Prisma.XOR +} + +export type collab_poll_votesCreateManyUsersInputEnvelope = { + data: Prisma.collab_poll_votesCreateManyUsersInput | Prisma.collab_poll_votesCreateManyUsersInput[] +} + +export type collab_poll_votesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_poll_votesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_poll_votesWhereUniqueInput + data: Prisma.XOR +} + +export type collab_poll_votesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.collab_poll_votesScalarWhereInput + data: Prisma.XOR +} + +export type collab_poll_votesCreateManyCollab_pollsInput = { + id?: number + user_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesUpdateWithoutCollab_pollsInput = { + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_poll_votesNestedInput +} + +export type collab_poll_votesUncheckedUpdateWithoutCollab_pollsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesUncheckedUpdateManyWithoutCollab_pollsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesCreateManyUsersInput = { + id?: number + poll_id: number + option_index: number + created_at?: Date | string | null +} + +export type collab_poll_votesUpdateWithoutUsersInput = { + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_polls?: Prisma.collab_pollsUpdateOneRequiredWithoutCollab_poll_votesNestedInput +} + +export type collab_poll_votesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + poll_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_poll_votesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + poll_id?: Prisma.IntFieldUpdateOperationsInput | number + option_index?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type collab_poll_votesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + poll_id?: boolean + user_id?: boolean + option_index?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +}, ExtArgs["result"]["collab_poll_votes"]> + +export type collab_poll_votesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + poll_id?: boolean + user_id?: boolean + option_index?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +}, ExtArgs["result"]["collab_poll_votes"]> + +export type collab_poll_votesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + poll_id?: boolean + user_id?: boolean + option_index?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +}, ExtArgs["result"]["collab_poll_votes"]> + +export type collab_poll_votesSelectScalar = { + id?: boolean + poll_id?: boolean + user_id?: boolean + option_index?: boolean + created_at?: boolean +} + +export type collab_poll_votesOmit = runtime.Types.Extensions.GetOmit<"id" | "poll_id" | "user_id" | "option_index" | "created_at", ExtArgs["result"]["collab_poll_votes"]> +export type collab_poll_votesInclude = { + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +} +export type collab_poll_votesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +} +export type collab_poll_votesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + collab_polls?: boolean | Prisma.collab_pollsDefaultArgs +} + +export type $collab_poll_votesPayload = { + name: "collab_poll_votes" + objects: { + users: Prisma.$usersPayload + collab_polls: Prisma.$collab_pollsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + poll_id: number + user_id: number + option_index: number + created_at: Date | null + }, ExtArgs["result"]["collab_poll_votes"]> + composites: {} +} + +export type collab_poll_votesGetPayload = runtime.Types.Result.GetResult + +export type collab_poll_votesCountArgs = + Omit & { + select?: Collab_poll_votesCountAggregateInputType | true + } + +export interface collab_poll_votesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['collab_poll_votes'], meta: { name: 'collab_poll_votes' } } + /** + * Find zero or one Collab_poll_votes that matches the filter. + * @param {collab_poll_votesFindUniqueArgs} args - Arguments to find a Collab_poll_votes + * @example + * // Get one Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Collab_poll_votes that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {collab_poll_votesFindUniqueOrThrowArgs} args - Arguments to find a Collab_poll_votes + * @example + * // Get one Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_poll_votes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesFindFirstArgs} args - Arguments to find a Collab_poll_votes + * @example + * // Get one Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_poll_votes that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesFindFirstOrThrowArgs} args - Arguments to find a Collab_poll_votes + * @example + * // Get one Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Collab_poll_votes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findMany() + * + * // Get first 10 Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.findMany({ take: 10 }) + * + * // Only select the `id` + * const collab_poll_votesWithIdOnly = await prisma.collab_poll_votes.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Collab_poll_votes. + * @param {collab_poll_votesCreateArgs} args - Arguments to create a Collab_poll_votes. + * @example + * // Create one Collab_poll_votes + * const Collab_poll_votes = await prisma.collab_poll_votes.create({ + * data: { + * // ... data to create a Collab_poll_votes + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Collab_poll_votes. + * @param {collab_poll_votesCreateManyArgs} args - Arguments to create many Collab_poll_votes. + * @example + * // Create many Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Collab_poll_votes and returns the data saved in the database. + * @param {collab_poll_votesCreateManyAndReturnArgs} args - Arguments to create many Collab_poll_votes. + * @example + * // Create many Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Collab_poll_votes and only return the `id` + * const collab_poll_votesWithIdOnly = await prisma.collab_poll_votes.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Collab_poll_votes. + * @param {collab_poll_votesDeleteArgs} args - Arguments to delete one Collab_poll_votes. + * @example + * // Delete one Collab_poll_votes + * const Collab_poll_votes = await prisma.collab_poll_votes.delete({ + * where: { + * // ... filter to delete one Collab_poll_votes + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Collab_poll_votes. + * @param {collab_poll_votesUpdateArgs} args - Arguments to update one Collab_poll_votes. + * @example + * // Update one Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Collab_poll_votes. + * @param {collab_poll_votesDeleteManyArgs} args - Arguments to filter Collab_poll_votes to delete. + * @example + * // Delete a few Collab_poll_votes + * const { count } = await prisma.collab_poll_votes.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_poll_votes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_poll_votes and returns the data updated in the database. + * @param {collab_poll_votesUpdateManyAndReturnArgs} args - Arguments to update many Collab_poll_votes. + * @example + * // Update many Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Collab_poll_votes and only return the `id` + * const collab_poll_votesWithIdOnly = await prisma.collab_poll_votes.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Collab_poll_votes. + * @param {collab_poll_votesUpsertArgs} args - Arguments to update or create a Collab_poll_votes. + * @example + * // Update or create a Collab_poll_votes + * const collab_poll_votes = await prisma.collab_poll_votes.upsert({ + * create: { + * // ... data to create a Collab_poll_votes + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Collab_poll_votes we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_poll_votesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Collab_poll_votes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesCountArgs} args - Arguments to filter Collab_poll_votes to count. + * @example + * // Count the number of Collab_poll_votes + * const count = await prisma.collab_poll_votes.count({ + * where: { + * // ... the filter for the Collab_poll_votes we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Collab_poll_votes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Collab_poll_votesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Collab_poll_votes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_poll_votesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends collab_poll_votesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: collab_poll_votesGroupByArgs['orderBy'] } + : { orderBy?: collab_poll_votesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollab_poll_votesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the collab_poll_votes model + */ +readonly fields: collab_poll_votesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for collab_poll_votes. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__collab_poll_votesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + collab_polls = {}>(args?: Prisma.Subset>): Prisma.Prisma__collab_pollsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the collab_poll_votes model + */ +export interface collab_poll_votesFieldRefs { + readonly id: Prisma.FieldRef<"collab_poll_votes", 'Int'> + readonly poll_id: Prisma.FieldRef<"collab_poll_votes", 'Int'> + readonly user_id: Prisma.FieldRef<"collab_poll_votes", 'Int'> + readonly option_index: Prisma.FieldRef<"collab_poll_votes", 'Int'> + readonly created_at: Prisma.FieldRef<"collab_poll_votes", 'DateTime'> +} + + +// Custom InputTypes +/** + * collab_poll_votes findUnique + */ +export type collab_poll_votesFindUniqueArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter, which collab_poll_votes to fetch. + */ + where: Prisma.collab_poll_votesWhereUniqueInput +} + +/** + * collab_poll_votes findUniqueOrThrow + */ +export type collab_poll_votesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter, which collab_poll_votes to fetch. + */ + where: Prisma.collab_poll_votesWhereUniqueInput +} + +/** + * collab_poll_votes findFirst + */ +export type collab_poll_votesFindFirstArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter, which collab_poll_votes to fetch. + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_poll_votes to fetch. + */ + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_poll_votes. + */ + cursor?: Prisma.collab_poll_votesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_poll_votes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_poll_votes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_poll_votes. + */ + distinct?: Prisma.Collab_poll_votesScalarFieldEnum | Prisma.Collab_poll_votesScalarFieldEnum[] +} + +/** + * collab_poll_votes findFirstOrThrow + */ +export type collab_poll_votesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter, which collab_poll_votes to fetch. + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_poll_votes to fetch. + */ + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_poll_votes. + */ + cursor?: Prisma.collab_poll_votesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_poll_votes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_poll_votes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_poll_votes. + */ + distinct?: Prisma.Collab_poll_votesScalarFieldEnum | Prisma.Collab_poll_votesScalarFieldEnum[] +} + +/** + * collab_poll_votes findMany + */ +export type collab_poll_votesFindManyArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter, which collab_poll_votes to fetch. + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_poll_votes to fetch. + */ + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing collab_poll_votes. + */ + cursor?: Prisma.collab_poll_votesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_poll_votes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_poll_votes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_poll_votes. + */ + distinct?: Prisma.Collab_poll_votesScalarFieldEnum | Prisma.Collab_poll_votesScalarFieldEnum[] +} + +/** + * collab_poll_votes create + */ +export type collab_poll_votesCreateArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * The data needed to create a collab_poll_votes. + */ + data: Prisma.XOR +} + +/** + * collab_poll_votes createMany + */ +export type collab_poll_votesCreateManyArgs = { + /** + * The data used to create many collab_poll_votes. + */ + data: Prisma.collab_poll_votesCreateManyInput | Prisma.collab_poll_votesCreateManyInput[] +} + +/** + * collab_poll_votes createManyAndReturn + */ +export type collab_poll_votesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * The data used to create many collab_poll_votes. + */ + data: Prisma.collab_poll_votesCreateManyInput | Prisma.collab_poll_votesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesIncludeCreateManyAndReturn | null +} + +/** + * collab_poll_votes update + */ +export type collab_poll_votesUpdateArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * The data needed to update a collab_poll_votes. + */ + data: Prisma.XOR + /** + * Choose, which collab_poll_votes to update. + */ + where: Prisma.collab_poll_votesWhereUniqueInput +} + +/** + * collab_poll_votes updateMany + */ +export type collab_poll_votesUpdateManyArgs = { + /** + * The data used to update collab_poll_votes. + */ + data: Prisma.XOR + /** + * Filter which collab_poll_votes to update + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * Limit how many collab_poll_votes to update. + */ + limit?: number +} + +/** + * collab_poll_votes updateManyAndReturn + */ +export type collab_poll_votesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * The data used to update collab_poll_votes. + */ + data: Prisma.XOR + /** + * Filter which collab_poll_votes to update + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * Limit how many collab_poll_votes to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesIncludeUpdateManyAndReturn | null +} + +/** + * collab_poll_votes upsert + */ +export type collab_poll_votesUpsertArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * The filter to search for the collab_poll_votes to update in case it exists. + */ + where: Prisma.collab_poll_votesWhereUniqueInput + /** + * In case the collab_poll_votes found by the `where` argument doesn't exist, create a new collab_poll_votes with this data. + */ + create: Prisma.XOR + /** + * In case the collab_poll_votes was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * collab_poll_votes delete + */ +export type collab_poll_votesDeleteArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + /** + * Filter which collab_poll_votes to delete. + */ + where: Prisma.collab_poll_votesWhereUniqueInput +} + +/** + * collab_poll_votes deleteMany + */ +export type collab_poll_votesDeleteManyArgs = { + /** + * Filter which collab_poll_votes to delete + */ + where?: Prisma.collab_poll_votesWhereInput + /** + * Limit how many collab_poll_votes to delete. + */ + limit?: number +} + +/** + * collab_poll_votes without action + */ +export type collab_poll_votesDefaultArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null +} diff --git a/server/src/generated/prisma/models/collab_polls.ts b/server/src/generated/prisma/models/collab_polls.ts new file mode 100644 index 00000000..6e7aef25 --- /dev/null +++ b/server/src/generated/prisma/models/collab_polls.ts @@ -0,0 +1,1841 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `collab_polls` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model collab_polls + * + */ +export type collab_pollsModel = runtime.Types.Result.DefaultSelection + +export type AggregateCollab_polls = { + _count: Collab_pollsCountAggregateOutputType | null + _avg: Collab_pollsAvgAggregateOutputType | null + _sum: Collab_pollsSumAggregateOutputType | null + _min: Collab_pollsMinAggregateOutputType | null + _max: Collab_pollsMaxAggregateOutputType | null +} + +export type Collab_pollsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + multiple: number | null + closed: number | null +} + +export type Collab_pollsSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + multiple: number | null + closed: number | null +} + +export type Collab_pollsMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + question: string | null + options: string | null + multiple: number | null + closed: number | null + deadline: string | null + created_at: Date | null +} + +export type Collab_pollsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + question: string | null + options: string | null + multiple: number | null + closed: number | null + deadline: string | null + created_at: Date | null +} + +export type Collab_pollsCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + question: number + options: number + multiple: number + closed: number + deadline: number + created_at: number + _all: number +} + + +export type Collab_pollsAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + multiple?: true + closed?: true +} + +export type Collab_pollsSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + multiple?: true + closed?: true +} + +export type Collab_pollsMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + question?: true + options?: true + multiple?: true + closed?: true + deadline?: true + created_at?: true +} + +export type Collab_pollsMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + question?: true + options?: true + multiple?: true + closed?: true + deadline?: true + created_at?: true +} + +export type Collab_pollsCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + question?: true + options?: true + multiple?: true + closed?: true + deadline?: true + created_at?: true + _all?: true +} + +export type Collab_pollsAggregateArgs = { + /** + * Filter which collab_polls to aggregate. + */ + where?: Prisma.collab_pollsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_polls to fetch. + */ + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.collab_pollsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_polls from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_polls. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned collab_polls + **/ + _count?: true | Collab_pollsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Collab_pollsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Collab_pollsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Collab_pollsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Collab_pollsMaxAggregateInputType +} + +export type GetCollab_pollsAggregateType = { + [P in keyof T & keyof AggregateCollab_polls]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type collab_pollsGroupByArgs = { + where?: Prisma.collab_pollsWhereInput + orderBy?: Prisma.collab_pollsOrderByWithAggregationInput | Prisma.collab_pollsOrderByWithAggregationInput[] + by: Prisma.Collab_pollsScalarFieldEnum[] | Prisma.Collab_pollsScalarFieldEnum + having?: Prisma.collab_pollsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Collab_pollsCountAggregateInputType | true + _avg?: Collab_pollsAvgAggregateInputType + _sum?: Collab_pollsSumAggregateInputType + _min?: Collab_pollsMinAggregateInputType + _max?: Collab_pollsMaxAggregateInputType +} + +export type Collab_pollsGroupByOutputType = { + id: number + trip_id: number + user_id: number + question: string + options: string + multiple: number | null + closed: number | null + deadline: string | null + created_at: Date | null + _count: Collab_pollsCountAggregateOutputType | null + _avg: Collab_pollsAvgAggregateOutputType | null + _sum: Collab_pollsSumAggregateOutputType | null + _min: Collab_pollsMinAggregateOutputType | null + _max: Collab_pollsMaxAggregateOutputType | null +} + +export type GetCollab_pollsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Collab_pollsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type collab_pollsWhereInput = { + AND?: Prisma.collab_pollsWhereInput | Prisma.collab_pollsWhereInput[] + OR?: Prisma.collab_pollsWhereInput[] + NOT?: Prisma.collab_pollsWhereInput | Prisma.collab_pollsWhereInput[] + id?: Prisma.IntFilter<"collab_polls"> | number + trip_id?: Prisma.IntFilter<"collab_polls"> | number + user_id?: Prisma.IntFilter<"collab_polls"> | number + question?: Prisma.StringFilter<"collab_polls"> | string + options?: Prisma.StringFilter<"collab_polls"> | string + multiple?: Prisma.IntNullableFilter<"collab_polls"> | number | null + closed?: Prisma.IntNullableFilter<"collab_polls"> | number | null + deadline?: Prisma.StringNullableFilter<"collab_polls"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"collab_polls"> | Date | string | null + collab_poll_votes?: Prisma.Collab_poll_votesListRelationFilter + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type collab_pollsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + question?: Prisma.SortOrder + options?: Prisma.SortOrder + multiple?: Prisma.SortOrderInput | Prisma.SortOrder + closed?: Prisma.SortOrderInput | Prisma.SortOrder + deadline?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + collab_poll_votes?: Prisma.collab_poll_votesOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type collab_pollsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.collab_pollsWhereInput | Prisma.collab_pollsWhereInput[] + OR?: Prisma.collab_pollsWhereInput[] + NOT?: Prisma.collab_pollsWhereInput | Prisma.collab_pollsWhereInput[] + trip_id?: Prisma.IntFilter<"collab_polls"> | number + user_id?: Prisma.IntFilter<"collab_polls"> | number + question?: Prisma.StringFilter<"collab_polls"> | string + options?: Prisma.StringFilter<"collab_polls"> | string + multiple?: Prisma.IntNullableFilter<"collab_polls"> | number | null + closed?: Prisma.IntNullableFilter<"collab_polls"> | number | null + deadline?: Prisma.StringNullableFilter<"collab_polls"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"collab_polls"> | Date | string | null + collab_poll_votes?: Prisma.Collab_poll_votesListRelationFilter + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id"> + +export type collab_pollsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + question?: Prisma.SortOrder + options?: Prisma.SortOrder + multiple?: Prisma.SortOrderInput | Prisma.SortOrder + closed?: Prisma.SortOrderInput | Prisma.SortOrder + deadline?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.collab_pollsCountOrderByAggregateInput + _avg?: Prisma.collab_pollsAvgOrderByAggregateInput + _max?: Prisma.collab_pollsMaxOrderByAggregateInput + _min?: Prisma.collab_pollsMinOrderByAggregateInput + _sum?: Prisma.collab_pollsSumOrderByAggregateInput +} + +export type collab_pollsScalarWhereWithAggregatesInput = { + AND?: Prisma.collab_pollsScalarWhereWithAggregatesInput | Prisma.collab_pollsScalarWhereWithAggregatesInput[] + OR?: Prisma.collab_pollsScalarWhereWithAggregatesInput[] + NOT?: Prisma.collab_pollsScalarWhereWithAggregatesInput | Prisma.collab_pollsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"collab_polls"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"collab_polls"> | number + user_id?: Prisma.IntWithAggregatesFilter<"collab_polls"> | number + question?: Prisma.StringWithAggregatesFilter<"collab_polls"> | string + options?: Prisma.StringWithAggregatesFilter<"collab_polls"> | string + multiple?: Prisma.IntNullableWithAggregatesFilter<"collab_polls"> | number | null + closed?: Prisma.IntNullableWithAggregatesFilter<"collab_polls"> | number | null + deadline?: Prisma.StringNullableWithAggregatesFilter<"collab_polls"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_polls"> | Date | string | null +} + +export type collab_pollsCreateInput = { + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutCollab_pollsInput + users: Prisma.usersCreateNestedOneWithoutCollab_pollsInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_pollsInput +} + +export type collab_pollsUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutCollab_pollsInput +} + +export type collab_pollsUpdateInput = { + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutCollab_pollsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_pollsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutCollab_pollsNestedInput +} + +export type collab_pollsCreateManyInput = { + id?: number + trip_id: number + user_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null +} + +export type collab_pollsUpdateManyMutationInput = { + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_pollsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Collab_pollsScalarRelationFilter = { + is?: Prisma.collab_pollsWhereInput + isNot?: Prisma.collab_pollsWhereInput +} + +export type collab_pollsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + question?: Prisma.SortOrder + options?: Prisma.SortOrder + multiple?: Prisma.SortOrder + closed?: Prisma.SortOrder + deadline?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_pollsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + multiple?: Prisma.SortOrder + closed?: Prisma.SortOrder +} + +export type collab_pollsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + question?: Prisma.SortOrder + options?: Prisma.SortOrder + multiple?: Prisma.SortOrder + closed?: Prisma.SortOrder + deadline?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_pollsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + question?: Prisma.SortOrder + options?: Prisma.SortOrder + multiple?: Prisma.SortOrder + closed?: Prisma.SortOrder + deadline?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type collab_pollsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + multiple?: Prisma.SortOrder + closed?: Prisma.SortOrder +} + +export type Collab_pollsListRelationFilter = { + every?: Prisma.collab_pollsWhereInput + some?: Prisma.collab_pollsWhereInput + none?: Prisma.collab_pollsWhereInput +} + +export type collab_pollsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type collab_pollsCreateNestedOneWithoutCollab_poll_votesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutCollab_poll_votesInput + connect?: Prisma.collab_pollsWhereUniqueInput +} + +export type collab_pollsUpdateOneRequiredWithoutCollab_poll_votesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutCollab_poll_votesInput + upsert?: Prisma.collab_pollsUpsertWithoutCollab_poll_votesInput + connect?: Prisma.collab_pollsWhereUniqueInput + update?: Prisma.XOR, Prisma.collab_pollsUncheckedUpdateWithoutCollab_poll_votesInput> +} + +export type collab_pollsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutTripsInput[] | Prisma.collab_pollsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutTripsInput | Prisma.collab_pollsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_pollsCreateManyTripsInputEnvelope + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] +} + +export type collab_pollsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutTripsInput[] | Prisma.collab_pollsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutTripsInput | Prisma.collab_pollsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.collab_pollsCreateManyTripsInputEnvelope + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] +} + +export type collab_pollsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutTripsInput[] | Prisma.collab_pollsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutTripsInput | Prisma.collab_pollsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_pollsUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_pollsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_pollsCreateManyTripsInputEnvelope + set?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + disconnect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + delete?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + update?: Prisma.collab_pollsUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_pollsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_pollsUpdateManyWithWhereWithoutTripsInput | Prisma.collab_pollsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] +} + +export type collab_pollsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutTripsInput[] | Prisma.collab_pollsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutTripsInput | Prisma.collab_pollsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.collab_pollsUpsertWithWhereUniqueWithoutTripsInput | Prisma.collab_pollsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.collab_pollsCreateManyTripsInputEnvelope + set?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + disconnect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + delete?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + update?: Prisma.collab_pollsUpdateWithWhereUniqueWithoutTripsInput | Prisma.collab_pollsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.collab_pollsUpdateManyWithWhereWithoutTripsInput | Prisma.collab_pollsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] +} + +export type collab_pollsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutUsersInput[] | Prisma.collab_pollsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutUsersInput | Prisma.collab_pollsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_pollsCreateManyUsersInputEnvelope + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] +} + +export type collab_pollsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutUsersInput[] | Prisma.collab_pollsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutUsersInput | Prisma.collab_pollsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.collab_pollsCreateManyUsersInputEnvelope + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] +} + +export type collab_pollsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutUsersInput[] | Prisma.collab_pollsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutUsersInput | Prisma.collab_pollsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_pollsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_pollsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_pollsCreateManyUsersInputEnvelope + set?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + disconnect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + delete?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + update?: Prisma.collab_pollsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_pollsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_pollsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_pollsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] +} + +export type collab_pollsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.collab_pollsCreateWithoutUsersInput[] | Prisma.collab_pollsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.collab_pollsCreateOrConnectWithoutUsersInput | Prisma.collab_pollsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.collab_pollsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_pollsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.collab_pollsCreateManyUsersInputEnvelope + set?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + disconnect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + delete?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + connect?: Prisma.collab_pollsWhereUniqueInput | Prisma.collab_pollsWhereUniqueInput[] + update?: Prisma.collab_pollsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_pollsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.collab_pollsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_pollsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] +} + +export type collab_pollsCreateWithoutCollab_poll_votesInput = { + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutCollab_pollsInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_pollsInput +} + +export type collab_pollsUncheckedCreateWithoutCollab_poll_votesInput = { + id?: number + trip_id: number + user_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null +} + +export type collab_pollsCreateOrConnectWithoutCollab_poll_votesInput = { + where: Prisma.collab_pollsWhereUniqueInput + create: Prisma.XOR +} + +export type collab_pollsUpsertWithoutCollab_poll_votesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.collab_pollsWhereInput +} + +export type collab_pollsUpdateToOneWithWhereWithoutCollab_poll_votesInput = { + where?: Prisma.collab_pollsWhereInput + data: Prisma.XOR +} + +export type collab_pollsUpdateWithoutCollab_poll_votesInput = { + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutCollab_pollsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateWithoutCollab_poll_votesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_pollsCreateWithoutTripsInput = { + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutCollab_pollsInput + users: Prisma.usersCreateNestedOneWithoutCollab_pollsInput +} + +export type collab_pollsUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutCollab_pollsInput +} + +export type collab_pollsCreateOrConnectWithoutTripsInput = { + where: Prisma.collab_pollsWhereUniqueInput + create: Prisma.XOR +} + +export type collab_pollsCreateManyTripsInputEnvelope = { + data: Prisma.collab_pollsCreateManyTripsInput | Prisma.collab_pollsCreateManyTripsInput[] +} + +export type collab_pollsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_pollsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_pollsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.collab_pollsWhereUniqueInput + data: Prisma.XOR +} + +export type collab_pollsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.collab_pollsScalarWhereInput + data: Prisma.XOR +} + +export type collab_pollsScalarWhereInput = { + AND?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] + OR?: Prisma.collab_pollsScalarWhereInput[] + NOT?: Prisma.collab_pollsScalarWhereInput | Prisma.collab_pollsScalarWhereInput[] + id?: Prisma.IntFilter<"collab_polls"> | number + trip_id?: Prisma.IntFilter<"collab_polls"> | number + user_id?: Prisma.IntFilter<"collab_polls"> | number + question?: Prisma.StringFilter<"collab_polls"> | string + options?: Prisma.StringFilter<"collab_polls"> | string + multiple?: Prisma.IntNullableFilter<"collab_polls"> | number | null + closed?: Prisma.IntNullableFilter<"collab_polls"> | number | null + deadline?: Prisma.StringNullableFilter<"collab_polls"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"collab_polls"> | Date | string | null +} + +export type collab_pollsCreateWithoutUsersInput = { + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutCollab_pollsInput + trips: Prisma.tripsCreateNestedOneWithoutCollab_pollsInput +} + +export type collab_pollsUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutCollab_pollsInput +} + +export type collab_pollsCreateOrConnectWithoutUsersInput = { + where: Prisma.collab_pollsWhereUniqueInput + create: Prisma.XOR +} + +export type collab_pollsCreateManyUsersInputEnvelope = { + data: Prisma.collab_pollsCreateManyUsersInput | Prisma.collab_pollsCreateManyUsersInput[] +} + +export type collab_pollsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_pollsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type collab_pollsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.collab_pollsWhereUniqueInput + data: Prisma.XOR +} + +export type collab_pollsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.collab_pollsScalarWhereInput + data: Prisma.XOR +} + +export type collab_pollsCreateManyTripsInput = { + id?: number + user_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null +} + +export type collab_pollsUpdateWithoutTripsInput = { + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutCollab_pollsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type collab_pollsCreateManyUsersInput = { + id?: number + trip_id: number + question: string + options: string + multiple?: number | null + closed?: number | null + deadline?: string | null + created_at?: Date | string | null +} + +export type collab_pollsUpdateWithoutUsersInput = { + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutCollab_pollsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutCollab_pollsNestedInput +} + +export type collab_pollsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + question?: Prisma.StringFieldUpdateOperationsInput | string + options?: Prisma.StringFieldUpdateOperationsInput | string + multiple?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + closed?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deadline?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type Collab_pollsCountOutputType + */ + +export type Collab_pollsCountOutputType = { + collab_poll_votes: number +} + +export type Collab_pollsCountOutputTypeSelect = { + collab_poll_votes?: boolean | Collab_pollsCountOutputTypeCountCollab_poll_votesArgs +} + +/** + * Collab_pollsCountOutputType without action + */ +export type Collab_pollsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Collab_pollsCountOutputType + */ + select?: Prisma.Collab_pollsCountOutputTypeSelect | null +} + +/** + * Collab_pollsCountOutputType without action + */ +export type Collab_pollsCountOutputTypeCountCollab_poll_votesArgs = { + where?: Prisma.collab_poll_votesWhereInput +} + + +export type collab_pollsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + question?: boolean + options?: boolean + multiple?: boolean + closed?: boolean + deadline?: boolean + created_at?: boolean + collab_poll_votes?: boolean | Prisma.collab_polls$collab_poll_votesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Collab_pollsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["collab_polls"]> + +export type collab_pollsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + question?: boolean + options?: boolean + multiple?: boolean + closed?: boolean + deadline?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_polls"]> + +export type collab_pollsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + question?: boolean + options?: boolean + multiple?: boolean + closed?: boolean + deadline?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["collab_polls"]> + +export type collab_pollsSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + question?: boolean + options?: boolean + multiple?: boolean + closed?: boolean + deadline?: boolean + created_at?: boolean +} + +export type collab_pollsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "question" | "options" | "multiple" | "closed" | "deadline" | "created_at", ExtArgs["result"]["collab_polls"]> +export type collab_pollsInclude = { + collab_poll_votes?: boolean | Prisma.collab_polls$collab_poll_votesArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Collab_pollsCountOutputTypeDefaultArgs +} +export type collab_pollsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type collab_pollsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $collab_pollsPayload = { + name: "collab_polls" + objects: { + collab_poll_votes: Prisma.$collab_poll_votesPayload[] + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + question: string + options: string + multiple: number | null + closed: number | null + deadline: string | null + created_at: Date | null + }, ExtArgs["result"]["collab_polls"]> + composites: {} +} + +export type collab_pollsGetPayload = runtime.Types.Result.GetResult + +export type collab_pollsCountArgs = + Omit & { + select?: Collab_pollsCountAggregateInputType | true + } + +export interface collab_pollsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['collab_polls'], meta: { name: 'collab_polls' } } + /** + * Find zero or one Collab_polls that matches the filter. + * @param {collab_pollsFindUniqueArgs} args - Arguments to find a Collab_polls + * @example + * // Get one Collab_polls + * const collab_polls = await prisma.collab_polls.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Collab_polls that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {collab_pollsFindUniqueOrThrowArgs} args - Arguments to find a Collab_polls + * @example + * // Get one Collab_polls + * const collab_polls = await prisma.collab_polls.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_polls that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsFindFirstArgs} args - Arguments to find a Collab_polls + * @example + * // Get one Collab_polls + * const collab_polls = await prisma.collab_polls.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Collab_polls that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsFindFirstOrThrowArgs} args - Arguments to find a Collab_polls + * @example + * // Get one Collab_polls + * const collab_polls = await prisma.collab_polls.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Collab_polls that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Collab_polls + * const collab_polls = await prisma.collab_polls.findMany() + * + * // Get first 10 Collab_polls + * const collab_polls = await prisma.collab_polls.findMany({ take: 10 }) + * + * // Only select the `id` + * const collab_pollsWithIdOnly = await prisma.collab_polls.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Collab_polls. + * @param {collab_pollsCreateArgs} args - Arguments to create a Collab_polls. + * @example + * // Create one Collab_polls + * const Collab_polls = await prisma.collab_polls.create({ + * data: { + * // ... data to create a Collab_polls + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Collab_polls. + * @param {collab_pollsCreateManyArgs} args - Arguments to create many Collab_polls. + * @example + * // Create many Collab_polls + * const collab_polls = await prisma.collab_polls.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Collab_polls and returns the data saved in the database. + * @param {collab_pollsCreateManyAndReturnArgs} args - Arguments to create many Collab_polls. + * @example + * // Create many Collab_polls + * const collab_polls = await prisma.collab_polls.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Collab_polls and only return the `id` + * const collab_pollsWithIdOnly = await prisma.collab_polls.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Collab_polls. + * @param {collab_pollsDeleteArgs} args - Arguments to delete one Collab_polls. + * @example + * // Delete one Collab_polls + * const Collab_polls = await prisma.collab_polls.delete({ + * where: { + * // ... filter to delete one Collab_polls + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Collab_polls. + * @param {collab_pollsUpdateArgs} args - Arguments to update one Collab_polls. + * @example + * // Update one Collab_polls + * const collab_polls = await prisma.collab_polls.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Collab_polls. + * @param {collab_pollsDeleteManyArgs} args - Arguments to filter Collab_polls to delete. + * @example + * // Delete a few Collab_polls + * const { count } = await prisma.collab_polls.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_polls. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Collab_polls + * const collab_polls = await prisma.collab_polls.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Collab_polls and returns the data updated in the database. + * @param {collab_pollsUpdateManyAndReturnArgs} args - Arguments to update many Collab_polls. + * @example + * // Update many Collab_polls + * const collab_polls = await prisma.collab_polls.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Collab_polls and only return the `id` + * const collab_pollsWithIdOnly = await prisma.collab_polls.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Collab_polls. + * @param {collab_pollsUpsertArgs} args - Arguments to update or create a Collab_polls. + * @example + * // Update or create a Collab_polls + * const collab_polls = await prisma.collab_polls.upsert({ + * create: { + * // ... data to create a Collab_polls + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Collab_polls we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_pollsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Collab_polls. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsCountArgs} args - Arguments to filter Collab_polls to count. + * @example + * // Count the number of Collab_polls + * const count = await prisma.collab_polls.count({ + * where: { + * // ... the filter for the Collab_polls we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Collab_polls. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Collab_pollsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Collab_polls. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {collab_pollsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends collab_pollsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: collab_pollsGroupByArgs['orderBy'] } + : { orderBy?: collab_pollsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollab_pollsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the collab_polls model + */ +readonly fields: collab_pollsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for collab_polls. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__collab_pollsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + collab_poll_votes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the collab_polls model + */ +export interface collab_pollsFieldRefs { + readonly id: Prisma.FieldRef<"collab_polls", 'Int'> + readonly trip_id: Prisma.FieldRef<"collab_polls", 'Int'> + readonly user_id: Prisma.FieldRef<"collab_polls", 'Int'> + readonly question: Prisma.FieldRef<"collab_polls", 'String'> + readonly options: Prisma.FieldRef<"collab_polls", 'String'> + readonly multiple: Prisma.FieldRef<"collab_polls", 'Int'> + readonly closed: Prisma.FieldRef<"collab_polls", 'Int'> + readonly deadline: Prisma.FieldRef<"collab_polls", 'String'> + readonly created_at: Prisma.FieldRef<"collab_polls", 'DateTime'> +} + + +// Custom InputTypes +/** + * collab_polls findUnique + */ +export type collab_pollsFindUniqueArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter, which collab_polls to fetch. + */ + where: Prisma.collab_pollsWhereUniqueInput +} + +/** + * collab_polls findUniqueOrThrow + */ +export type collab_pollsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter, which collab_polls to fetch. + */ + where: Prisma.collab_pollsWhereUniqueInput +} + +/** + * collab_polls findFirst + */ +export type collab_pollsFindFirstArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter, which collab_polls to fetch. + */ + where?: Prisma.collab_pollsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_polls to fetch. + */ + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_polls. + */ + cursor?: Prisma.collab_pollsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_polls from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_polls. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_polls. + */ + distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[] +} + +/** + * collab_polls findFirstOrThrow + */ +export type collab_pollsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter, which collab_polls to fetch. + */ + where?: Prisma.collab_pollsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_polls to fetch. + */ + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for collab_polls. + */ + cursor?: Prisma.collab_pollsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_polls from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_polls. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_polls. + */ + distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[] +} + +/** + * collab_polls findMany + */ +export type collab_pollsFindManyArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter, which collab_polls to fetch. + */ + where?: Prisma.collab_pollsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of collab_polls to fetch. + */ + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing collab_polls. + */ + cursor?: Prisma.collab_pollsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` collab_polls from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` collab_polls. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of collab_polls. + */ + distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[] +} + +/** + * collab_polls create + */ +export type collab_pollsCreateArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * The data needed to create a collab_polls. + */ + data: Prisma.XOR +} + +/** + * collab_polls createMany + */ +export type collab_pollsCreateManyArgs = { + /** + * The data used to create many collab_polls. + */ + data: Prisma.collab_pollsCreateManyInput | Prisma.collab_pollsCreateManyInput[] +} + +/** + * collab_polls createManyAndReturn + */ +export type collab_pollsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * The data used to create many collab_polls. + */ + data: Prisma.collab_pollsCreateManyInput | Prisma.collab_pollsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsIncludeCreateManyAndReturn | null +} + +/** + * collab_polls update + */ +export type collab_pollsUpdateArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * The data needed to update a collab_polls. + */ + data: Prisma.XOR + /** + * Choose, which collab_polls to update. + */ + where: Prisma.collab_pollsWhereUniqueInput +} + +/** + * collab_polls updateMany + */ +export type collab_pollsUpdateManyArgs = { + /** + * The data used to update collab_polls. + */ + data: Prisma.XOR + /** + * Filter which collab_polls to update + */ + where?: Prisma.collab_pollsWhereInput + /** + * Limit how many collab_polls to update. + */ + limit?: number +} + +/** + * collab_polls updateManyAndReturn + */ +export type collab_pollsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * The data used to update collab_polls. + */ + data: Prisma.XOR + /** + * Filter which collab_polls to update + */ + where?: Prisma.collab_pollsWhereInput + /** + * Limit how many collab_polls to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsIncludeUpdateManyAndReturn | null +} + +/** + * collab_polls upsert + */ +export type collab_pollsUpsertArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * The filter to search for the collab_polls to update in case it exists. + */ + where: Prisma.collab_pollsWhereUniqueInput + /** + * In case the collab_polls found by the `where` argument doesn't exist, create a new collab_polls with this data. + */ + create: Prisma.XOR + /** + * In case the collab_polls was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * collab_polls delete + */ +export type collab_pollsDeleteArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + /** + * Filter which collab_polls to delete. + */ + where: Prisma.collab_pollsWhereUniqueInput +} + +/** + * collab_polls deleteMany + */ +export type collab_pollsDeleteManyArgs = { + /** + * Filter which collab_polls to delete + */ + where?: Prisma.collab_pollsWhereInput + /** + * Limit how many collab_polls to delete. + */ + limit?: number +} + +/** + * collab_polls.collab_poll_votes + */ +export type collab_polls$collab_poll_votesArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + where?: Prisma.collab_poll_votesWhereInput + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + cursor?: Prisma.collab_poll_votesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_poll_votesScalarFieldEnum | Prisma.Collab_poll_votesScalarFieldEnum[] +} + +/** + * collab_polls without action + */ +export type collab_pollsDefaultArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null +} diff --git a/server/src/generated/prisma/models/day_accommodations.ts b/server/src/generated/prisma/models/day_accommodations.ts new file mode 100644 index 00000000..2cf273ab --- /dev/null +++ b/server/src/generated/prisma/models/day_accommodations.ts @@ -0,0 +1,2093 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `day_accommodations` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model day_accommodations + * + */ +export type day_accommodationsModel = runtime.Types.Result.DefaultSelection + +export type AggregateDay_accommodations = { + _count: Day_accommodationsCountAggregateOutputType | null + _avg: Day_accommodationsAvgAggregateOutputType | null + _sum: Day_accommodationsSumAggregateOutputType | null + _min: Day_accommodationsMinAggregateOutputType | null + _max: Day_accommodationsMaxAggregateOutputType | null +} + +export type Day_accommodationsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + start_day_id: number | null + end_day_id: number | null +} + +export type Day_accommodationsSumAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + start_day_id: number | null + end_day_id: number | null +} + +export type Day_accommodationsMinAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + start_day_id: number | null + end_day_id: number | null + check_in: string | null + check_in_end: string | null + check_out: string | null + confirmation: string | null + notes: string | null + created_at: Date | null +} + +export type Day_accommodationsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + start_day_id: number | null + end_day_id: number | null + check_in: string | null + check_in_end: string | null + check_out: string | null + confirmation: string | null + notes: string | null + created_at: Date | null +} + +export type Day_accommodationsCountAggregateOutputType = { + id: number + trip_id: number + place_id: number + start_day_id: number + end_day_id: number + check_in: number + check_in_end: number + check_out: number + confirmation: number + notes: number + created_at: number + _all: number +} + + +export type Day_accommodationsAvgAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + start_day_id?: true + end_day_id?: true +} + +export type Day_accommodationsSumAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + start_day_id?: true + end_day_id?: true +} + +export type Day_accommodationsMinAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + start_day_id?: true + end_day_id?: true + check_in?: true + check_in_end?: true + check_out?: true + confirmation?: true + notes?: true + created_at?: true +} + +export type Day_accommodationsMaxAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + start_day_id?: true + end_day_id?: true + check_in?: true + check_in_end?: true + check_out?: true + confirmation?: true + notes?: true + created_at?: true +} + +export type Day_accommodationsCountAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + start_day_id?: true + end_day_id?: true + check_in?: true + check_in_end?: true + check_out?: true + confirmation?: true + notes?: true + created_at?: true + _all?: true +} + +export type Day_accommodationsAggregateArgs = { + /** + * Filter which day_accommodations to aggregate. + */ + where?: Prisma.day_accommodationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_accommodations to fetch. + */ + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.day_accommodationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_accommodations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_accommodations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned day_accommodations + **/ + _count?: true | Day_accommodationsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Day_accommodationsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Day_accommodationsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Day_accommodationsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Day_accommodationsMaxAggregateInputType +} + +export type GetDay_accommodationsAggregateType = { + [P in keyof T & keyof AggregateDay_accommodations]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type day_accommodationsGroupByArgs = { + where?: Prisma.day_accommodationsWhereInput + orderBy?: Prisma.day_accommodationsOrderByWithAggregationInput | Prisma.day_accommodationsOrderByWithAggregationInput[] + by: Prisma.Day_accommodationsScalarFieldEnum[] | Prisma.Day_accommodationsScalarFieldEnum + having?: Prisma.day_accommodationsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Day_accommodationsCountAggregateInputType | true + _avg?: Day_accommodationsAvgAggregateInputType + _sum?: Day_accommodationsSumAggregateInputType + _min?: Day_accommodationsMinAggregateInputType + _max?: Day_accommodationsMaxAggregateInputType +} + +export type Day_accommodationsGroupByOutputType = { + id: number + trip_id: number + place_id: number | null + start_day_id: number + end_day_id: number + check_in: string | null + check_in_end: string | null + check_out: string | null + confirmation: string | null + notes: string | null + created_at: Date | null + _count: Day_accommodationsCountAggregateOutputType | null + _avg: Day_accommodationsAvgAggregateOutputType | null + _sum: Day_accommodationsSumAggregateOutputType | null + _min: Day_accommodationsMinAggregateOutputType | null + _max: Day_accommodationsMaxAggregateOutputType | null +} + +export type GetDay_accommodationsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Day_accommodationsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type day_accommodationsWhereInput = { + AND?: Prisma.day_accommodationsWhereInput | Prisma.day_accommodationsWhereInput[] + OR?: Prisma.day_accommodationsWhereInput[] + NOT?: Prisma.day_accommodationsWhereInput | Prisma.day_accommodationsWhereInput[] + id?: Prisma.IntFilter<"day_accommodations"> | number + trip_id?: Prisma.IntFilter<"day_accommodations"> | number + place_id?: Prisma.IntNullableFilter<"day_accommodations"> | number | null + start_day_id?: Prisma.IntFilter<"day_accommodations"> | number + end_day_id?: Prisma.IntFilter<"day_accommodations"> | number + check_in?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_in_end?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_out?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + confirmation?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + notes?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_accommodations"> | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.XOR + days_day_accommodations_start_day_idTodays?: Prisma.XOR + places?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type day_accommodationsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + check_in?: Prisma.SortOrderInput | Prisma.SortOrder + check_in_end?: Prisma.SortOrderInput | Prisma.SortOrder + check_out?: Prisma.SortOrderInput | Prisma.SortOrder + confirmation?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + days_day_accommodations_end_day_idTodays?: Prisma.daysOrderByWithRelationInput + days_day_accommodations_start_day_idTodays?: Prisma.daysOrderByWithRelationInput + places?: Prisma.placesOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type day_accommodationsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.day_accommodationsWhereInput | Prisma.day_accommodationsWhereInput[] + OR?: Prisma.day_accommodationsWhereInput[] + NOT?: Prisma.day_accommodationsWhereInput | Prisma.day_accommodationsWhereInput[] + trip_id?: Prisma.IntFilter<"day_accommodations"> | number + place_id?: Prisma.IntNullableFilter<"day_accommodations"> | number | null + start_day_id?: Prisma.IntFilter<"day_accommodations"> | number + end_day_id?: Prisma.IntFilter<"day_accommodations"> | number + check_in?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_in_end?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_out?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + confirmation?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + notes?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_accommodations"> | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.XOR + days_day_accommodations_start_day_idTodays?: Prisma.XOR + places?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type day_accommodationsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + check_in?: Prisma.SortOrderInput | Prisma.SortOrder + check_in_end?: Prisma.SortOrderInput | Prisma.SortOrder + check_out?: Prisma.SortOrderInput | Prisma.SortOrder + confirmation?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.day_accommodationsCountOrderByAggregateInput + _avg?: Prisma.day_accommodationsAvgOrderByAggregateInput + _max?: Prisma.day_accommodationsMaxOrderByAggregateInput + _min?: Prisma.day_accommodationsMinOrderByAggregateInput + _sum?: Prisma.day_accommodationsSumOrderByAggregateInput +} + +export type day_accommodationsScalarWhereWithAggregatesInput = { + AND?: Prisma.day_accommodationsScalarWhereWithAggregatesInput | Prisma.day_accommodationsScalarWhereWithAggregatesInput[] + OR?: Prisma.day_accommodationsScalarWhereWithAggregatesInput[] + NOT?: Prisma.day_accommodationsScalarWhereWithAggregatesInput | Prisma.day_accommodationsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"day_accommodations"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"day_accommodations"> | number + place_id?: Prisma.IntNullableWithAggregatesFilter<"day_accommodations"> | number | null + start_day_id?: Prisma.IntWithAggregatesFilter<"day_accommodations"> | number + end_day_id?: Prisma.IntWithAggregatesFilter<"day_accommodations"> | number + check_in?: Prisma.StringNullableWithAggregatesFilter<"day_accommodations"> | string | null + check_in_end?: Prisma.StringNullableWithAggregatesFilter<"day_accommodations"> | string | null + check_out?: Prisma.StringNullableWithAggregatesFilter<"day_accommodations"> | string | null + confirmation?: Prisma.StringNullableWithAggregatesFilter<"day_accommodations"> | string | null + notes?: Prisma.StringNullableWithAggregatesFilter<"day_accommodations"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"day_accommodations"> | Date | string | null +} + +export type day_accommodationsCreateInput = { + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null + days_day_accommodations_end_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + days_day_accommodations_start_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + places?: Prisma.placesCreateNestedOneWithoutDay_accommodationsInput + trips: Prisma.tripsCreateNestedOneWithoutDay_accommodationsInput +} + +export type day_accommodationsUncheckedCreateInput = { + id?: number + trip_id: number + place_id?: number | null + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsUpdateInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_end_day_idTodaysNestedInput + days_day_accommodations_start_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_start_day_idTodaysNestedInput + places?: Prisma.placesUpdateOneWithoutDay_accommodationsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput +} + +export type day_accommodationsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsCreateManyInput = { + id?: number + trip_id: number + place_id?: number | null + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsUpdateManyMutationInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + check_in?: Prisma.SortOrder + check_in_end?: Prisma.SortOrder + check_out?: Prisma.SortOrder + confirmation?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_accommodationsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder +} + +export type day_accommodationsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + check_in?: Prisma.SortOrder + check_in_end?: Prisma.SortOrder + check_out?: Prisma.SortOrder + confirmation?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_accommodationsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + check_in?: Prisma.SortOrder + check_in_end?: Prisma.SortOrder + check_out?: Prisma.SortOrder + confirmation?: Prisma.SortOrder + notes?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_accommodationsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + start_day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder +} + +export type Day_accommodationsListRelationFilter = { + every?: Prisma.day_accommodationsWhereInput + some?: Prisma.day_accommodationsWhereInput + none?: Prisma.day_accommodationsWhereInput +} + +export type day_accommodationsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_end_day_idTodaysInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_start_day_idTodaysInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_end_day_idTodaysInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] | Prisma.day_accommodationsUncheckedCreateWithoutDays_day_accommodations_start_day_idTodaysInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput[] + createMany?: Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_start_day_idTodaysInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutPlacesInput[] | Prisma.day_accommodationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput | Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.day_accommodationsCreateManyPlacesInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutPlacesInput[] | Prisma.day_accommodationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput | Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.day_accommodationsCreateManyPlacesInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutPlacesInput[] | Prisma.day_accommodationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput | Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.day_accommodationsCreateManyPlacesInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutPlacesInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutPlacesInput[] | Prisma.day_accommodationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput | Prisma.day_accommodationsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.day_accommodationsCreateManyPlacesInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutPlacesInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutTripsInput[] | Prisma.day_accommodationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutTripsInput | Prisma.day_accommodationsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.day_accommodationsCreateManyTripsInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutTripsInput[] | Prisma.day_accommodationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutTripsInput | Prisma.day_accommodationsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.day_accommodationsCreateManyTripsInputEnvelope + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] +} + +export type day_accommodationsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutTripsInput[] | Prisma.day_accommodationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutTripsInput | Prisma.day_accommodationsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutTripsInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.day_accommodationsCreateManyTripsInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutTripsInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutTripsInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.day_accommodationsCreateWithoutTripsInput[] | Prisma.day_accommodationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_accommodationsCreateOrConnectWithoutTripsInput | Prisma.day_accommodationsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.day_accommodationsUpsertWithWhereUniqueWithoutTripsInput | Prisma.day_accommodationsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.day_accommodationsCreateManyTripsInputEnvelope + set?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + disconnect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + delete?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + connect?: Prisma.day_accommodationsWhereUniqueInput | Prisma.day_accommodationsWhereUniqueInput[] + update?: Prisma.day_accommodationsUpdateWithWhereUniqueWithoutTripsInput | Prisma.day_accommodationsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.day_accommodationsUpdateManyWithWhereWithoutTripsInput | Prisma.day_accommodationsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] +} + +export type day_accommodationsCreateWithoutDays_day_accommodations_end_day_idTodaysInput = { + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null + days_day_accommodations_start_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + places?: Prisma.placesCreateNestedOneWithoutDay_accommodationsInput + trips: Prisma.tripsCreateNestedOneWithoutDay_accommodationsInput +} + +export type day_accommodationsUncheckedCreateWithoutDays_day_accommodations_end_day_idTodaysInput = { + id?: number + trip_id: number + place_id?: number | null + start_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsCreateOrConnectWithoutDays_day_accommodations_end_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + create: Prisma.XOR +} + +export type day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInputEnvelope = { + data: Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInput | Prisma.day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInput[] +} + +export type day_accommodationsCreateWithoutDays_day_accommodations_start_day_idTodaysInput = { + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null + days_day_accommodations_end_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + places?: Prisma.placesCreateNestedOneWithoutDay_accommodationsInput + trips: Prisma.tripsCreateNestedOneWithoutDay_accommodationsInput +} + +export type day_accommodationsUncheckedCreateWithoutDays_day_accommodations_start_day_idTodaysInput = { + id?: number + trip_id: number + place_id?: number | null + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsCreateOrConnectWithoutDays_day_accommodations_start_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + create: Prisma.XOR +} + +export type day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInputEnvelope = { + data: Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInput | Prisma.day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInput[] +} + +export type day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_end_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + data: Prisma.XOR +} + +export type day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_end_day_idTodaysInput = { + where: Prisma.day_accommodationsScalarWhereInput + data: Prisma.XOR +} + +export type day_accommodationsScalarWhereInput = { + AND?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] + OR?: Prisma.day_accommodationsScalarWhereInput[] + NOT?: Prisma.day_accommodationsScalarWhereInput | Prisma.day_accommodationsScalarWhereInput[] + id?: Prisma.IntFilter<"day_accommodations"> | number + trip_id?: Prisma.IntFilter<"day_accommodations"> | number + place_id?: Prisma.IntNullableFilter<"day_accommodations"> | number | null + start_day_id?: Prisma.IntFilter<"day_accommodations"> | number + end_day_id?: Prisma.IntFilter<"day_accommodations"> | number + check_in?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_in_end?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + check_out?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + confirmation?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + notes?: Prisma.StringNullableFilter<"day_accommodations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_accommodations"> | Date | string | null +} + +export type day_accommodationsUpsertWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_accommodationsUpdateWithWhereUniqueWithoutDays_day_accommodations_start_day_idTodaysInput = { + where: Prisma.day_accommodationsWhereUniqueInput + data: Prisma.XOR +} + +export type day_accommodationsUpdateManyWithWhereWithoutDays_day_accommodations_start_day_idTodaysInput = { + where: Prisma.day_accommodationsScalarWhereInput + data: Prisma.XOR +} + +export type day_accommodationsCreateWithoutPlacesInput = { + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null + days_day_accommodations_end_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + days_day_accommodations_start_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutDay_accommodationsInput +} + +export type day_accommodationsUncheckedCreateWithoutPlacesInput = { + id?: number + trip_id: number + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsCreateOrConnectWithoutPlacesInput = { + where: Prisma.day_accommodationsWhereUniqueInput + create: Prisma.XOR +} + +export type day_accommodationsCreateManyPlacesInputEnvelope = { + data: Prisma.day_accommodationsCreateManyPlacesInput | Prisma.day_accommodationsCreateManyPlacesInput[] +} + +export type day_accommodationsUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.day_accommodationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_accommodationsUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.day_accommodationsWhereUniqueInput + data: Prisma.XOR +} + +export type day_accommodationsUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.day_accommodationsScalarWhereInput + data: Prisma.XOR +} + +export type day_accommodationsCreateWithoutTripsInput = { + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null + days_day_accommodations_end_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + days_day_accommodations_start_day_idTodays: Prisma.daysCreateNestedOneWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + places?: Prisma.placesCreateNestedOneWithoutDay_accommodationsInput +} + +export type day_accommodationsUncheckedCreateWithoutTripsInput = { + id?: number + place_id?: number | null + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsCreateOrConnectWithoutTripsInput = { + where: Prisma.day_accommodationsWhereUniqueInput + create: Prisma.XOR +} + +export type day_accommodationsCreateManyTripsInputEnvelope = { + data: Prisma.day_accommodationsCreateManyTripsInput | Prisma.day_accommodationsCreateManyTripsInput[] +} + +export type day_accommodationsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.day_accommodationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_accommodationsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.day_accommodationsWhereUniqueInput + data: Prisma.XOR +} + +export type day_accommodationsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.day_accommodationsScalarWhereInput + data: Prisma.XOR +} + +export type day_accommodationsCreateManyDays_day_accommodations_end_day_idTodaysInput = { + id?: number + trip_id: number + place_id?: number | null + start_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsCreateManyDays_day_accommodations_start_day_idTodaysInput = { + id?: number + trip_id: number + place_id?: number | null + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsUpdateWithoutDays_day_accommodations_end_day_idTodaysInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days_day_accommodations_start_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_start_day_idTodaysNestedInput + places?: Prisma.placesUpdateOneWithoutDay_accommodationsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput +} + +export type day_accommodationsUncheckedUpdateWithoutDays_day_accommodations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUpdateWithoutDays_day_accommodations_start_day_idTodaysInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_end_day_idTodaysNestedInput + places?: Prisma.placesUpdateOneWithoutDay_accommodationsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput +} + +export type day_accommodationsUncheckedUpdateWithoutDays_day_accommodations_start_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsCreateManyPlacesInput = { + id?: number + trip_id: number + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsUpdateWithoutPlacesInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_end_day_idTodaysNestedInput + days_day_accommodations_start_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_start_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput +} + +export type day_accommodationsUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsCreateManyTripsInput = { + id?: number + place_id?: number | null + start_day_id: number + end_day_id: number + check_in?: string | null + check_in_end?: string | null + check_out?: string | null + confirmation?: string | null + notes?: string | null + created_at?: Date | string | null +} + +export type day_accommodationsUpdateWithoutTripsInput = { + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days_day_accommodations_end_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_end_day_idTodaysNestedInput + days_day_accommodations_start_day_idTodays?: Prisma.daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_start_day_idTodaysNestedInput + places?: Prisma.placesUpdateOneWithoutDay_accommodationsNestedInput +} + +export type day_accommodationsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_accommodationsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + start_day_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.IntFieldUpdateOperationsInput | number + check_in?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_in_end?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + check_out?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type day_accommodationsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + start_day_id?: boolean + end_day_id?: boolean + check_in?: boolean + check_in_end?: boolean + check_out?: boolean + confirmation?: boolean + notes?: boolean + created_at?: boolean + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["day_accommodations"]> + +export type day_accommodationsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + start_day_id?: boolean + end_day_id?: boolean + check_in?: boolean + check_in_end?: boolean + check_out?: boolean + confirmation?: boolean + notes?: boolean + created_at?: boolean + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["day_accommodations"]> + +export type day_accommodationsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + start_day_id?: boolean + end_day_id?: boolean + check_in?: boolean + check_in_end?: boolean + check_out?: boolean + confirmation?: boolean + notes?: boolean + created_at?: boolean + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["day_accommodations"]> + +export type day_accommodationsSelectScalar = { + id?: boolean + trip_id?: boolean + place_id?: boolean + start_day_id?: boolean + end_day_id?: boolean + check_in?: boolean + check_in_end?: boolean + check_out?: boolean + confirmation?: boolean + notes?: boolean + created_at?: boolean +} + +export type day_accommodationsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "place_id" | "start_day_id" | "end_day_id" | "check_in" | "check_in_end" | "check_out" | "confirmation" | "notes" | "created_at", ExtArgs["result"]["day_accommodations"]> +export type day_accommodationsInclude = { + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type day_accommodationsIncludeCreateManyAndReturn = { + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type day_accommodationsIncludeUpdateManyAndReturn = { + days_day_accommodations_end_day_idTodays?: boolean | Prisma.daysDefaultArgs + days_day_accommodations_start_day_idTodays?: boolean | Prisma.daysDefaultArgs + places?: boolean | Prisma.day_accommodations$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $day_accommodationsPayload = { + name: "day_accommodations" + objects: { + days_day_accommodations_end_day_idTodays: Prisma.$daysPayload + days_day_accommodations_start_day_idTodays: Prisma.$daysPayload + places: Prisma.$placesPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + place_id: number | null + start_day_id: number + end_day_id: number + check_in: string | null + check_in_end: string | null + check_out: string | null + confirmation: string | null + notes: string | null + created_at: Date | null + }, ExtArgs["result"]["day_accommodations"]> + composites: {} +} + +export type day_accommodationsGetPayload = runtime.Types.Result.GetResult + +export type day_accommodationsCountArgs = + Omit & { + select?: Day_accommodationsCountAggregateInputType | true + } + +export interface day_accommodationsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['day_accommodations'], meta: { name: 'day_accommodations' } } + /** + * Find zero or one Day_accommodations that matches the filter. + * @param {day_accommodationsFindUniqueArgs} args - Arguments to find a Day_accommodations + * @example + * // Get one Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Day_accommodations that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {day_accommodationsFindUniqueOrThrowArgs} args - Arguments to find a Day_accommodations + * @example + * // Get one Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_accommodations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsFindFirstArgs} args - Arguments to find a Day_accommodations + * @example + * // Get one Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_accommodations that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsFindFirstOrThrowArgs} args - Arguments to find a Day_accommodations + * @example + * // Get one Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Day_accommodations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findMany() + * + * // Get first 10 Day_accommodations + * const day_accommodations = await prisma.day_accommodations.findMany({ take: 10 }) + * + * // Only select the `id` + * const day_accommodationsWithIdOnly = await prisma.day_accommodations.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Day_accommodations. + * @param {day_accommodationsCreateArgs} args - Arguments to create a Day_accommodations. + * @example + * // Create one Day_accommodations + * const Day_accommodations = await prisma.day_accommodations.create({ + * data: { + * // ... data to create a Day_accommodations + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Day_accommodations. + * @param {day_accommodationsCreateManyArgs} args - Arguments to create many Day_accommodations. + * @example + * // Create many Day_accommodations + * const day_accommodations = await prisma.day_accommodations.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Day_accommodations and returns the data saved in the database. + * @param {day_accommodationsCreateManyAndReturnArgs} args - Arguments to create many Day_accommodations. + * @example + * // Create many Day_accommodations + * const day_accommodations = await prisma.day_accommodations.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Day_accommodations and only return the `id` + * const day_accommodationsWithIdOnly = await prisma.day_accommodations.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Day_accommodations. + * @param {day_accommodationsDeleteArgs} args - Arguments to delete one Day_accommodations. + * @example + * // Delete one Day_accommodations + * const Day_accommodations = await prisma.day_accommodations.delete({ + * where: { + * // ... filter to delete one Day_accommodations + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Day_accommodations. + * @param {day_accommodationsUpdateArgs} args - Arguments to update one Day_accommodations. + * @example + * // Update one Day_accommodations + * const day_accommodations = await prisma.day_accommodations.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Day_accommodations. + * @param {day_accommodationsDeleteManyArgs} args - Arguments to filter Day_accommodations to delete. + * @example + * // Delete a few Day_accommodations + * const { count } = await prisma.day_accommodations.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_accommodations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Day_accommodations + * const day_accommodations = await prisma.day_accommodations.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_accommodations and returns the data updated in the database. + * @param {day_accommodationsUpdateManyAndReturnArgs} args - Arguments to update many Day_accommodations. + * @example + * // Update many Day_accommodations + * const day_accommodations = await prisma.day_accommodations.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Day_accommodations and only return the `id` + * const day_accommodationsWithIdOnly = await prisma.day_accommodations.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Day_accommodations. + * @param {day_accommodationsUpsertArgs} args - Arguments to update or create a Day_accommodations. + * @example + * // Update or create a Day_accommodations + * const day_accommodations = await prisma.day_accommodations.upsert({ + * create: { + * // ... data to create a Day_accommodations + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Day_accommodations we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__day_accommodationsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Day_accommodations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsCountArgs} args - Arguments to filter Day_accommodations to count. + * @example + * // Count the number of Day_accommodations + * const count = await prisma.day_accommodations.count({ + * where: { + * // ... the filter for the Day_accommodations we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Day_accommodations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Day_accommodationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Day_accommodations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_accommodationsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends day_accommodationsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: day_accommodationsGroupByArgs['orderBy'] } + : { orderBy?: day_accommodationsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetDay_accommodationsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the day_accommodations model + */ +readonly fields: day_accommodationsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for day_accommodations. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__day_accommodationsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + days_day_accommodations_end_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + days_day_accommodations_start_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the day_accommodations model + */ +export interface day_accommodationsFieldRefs { + readonly id: Prisma.FieldRef<"day_accommodations", 'Int'> + readonly trip_id: Prisma.FieldRef<"day_accommodations", 'Int'> + readonly place_id: Prisma.FieldRef<"day_accommodations", 'Int'> + readonly start_day_id: Prisma.FieldRef<"day_accommodations", 'Int'> + readonly end_day_id: Prisma.FieldRef<"day_accommodations", 'Int'> + readonly check_in: Prisma.FieldRef<"day_accommodations", 'String'> + readonly check_in_end: Prisma.FieldRef<"day_accommodations", 'String'> + readonly check_out: Prisma.FieldRef<"day_accommodations", 'String'> + readonly confirmation: Prisma.FieldRef<"day_accommodations", 'String'> + readonly notes: Prisma.FieldRef<"day_accommodations", 'String'> + readonly created_at: Prisma.FieldRef<"day_accommodations", 'DateTime'> +} + + +// Custom InputTypes +/** + * day_accommodations findUnique + */ +export type day_accommodationsFindUniqueArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter, which day_accommodations to fetch. + */ + where: Prisma.day_accommodationsWhereUniqueInput +} + +/** + * day_accommodations findUniqueOrThrow + */ +export type day_accommodationsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter, which day_accommodations to fetch. + */ + where: Prisma.day_accommodationsWhereUniqueInput +} + +/** + * day_accommodations findFirst + */ +export type day_accommodationsFindFirstArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter, which day_accommodations to fetch. + */ + where?: Prisma.day_accommodationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_accommodations to fetch. + */ + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_accommodations. + */ + cursor?: Prisma.day_accommodationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_accommodations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_accommodations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_accommodations. + */ + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * day_accommodations findFirstOrThrow + */ +export type day_accommodationsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter, which day_accommodations to fetch. + */ + where?: Prisma.day_accommodationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_accommodations to fetch. + */ + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_accommodations. + */ + cursor?: Prisma.day_accommodationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_accommodations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_accommodations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_accommodations. + */ + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * day_accommodations findMany + */ +export type day_accommodationsFindManyArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter, which day_accommodations to fetch. + */ + where?: Prisma.day_accommodationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_accommodations to fetch. + */ + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing day_accommodations. + */ + cursor?: Prisma.day_accommodationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_accommodations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_accommodations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_accommodations. + */ + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * day_accommodations create + */ +export type day_accommodationsCreateArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * The data needed to create a day_accommodations. + */ + data: Prisma.XOR +} + +/** + * day_accommodations createMany + */ +export type day_accommodationsCreateManyArgs = { + /** + * The data used to create many day_accommodations. + */ + data: Prisma.day_accommodationsCreateManyInput | Prisma.day_accommodationsCreateManyInput[] +} + +/** + * day_accommodations createManyAndReturn + */ +export type day_accommodationsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * The data used to create many day_accommodations. + */ + data: Prisma.day_accommodationsCreateManyInput | Prisma.day_accommodationsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsIncludeCreateManyAndReturn | null +} + +/** + * day_accommodations update + */ +export type day_accommodationsUpdateArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * The data needed to update a day_accommodations. + */ + data: Prisma.XOR + /** + * Choose, which day_accommodations to update. + */ + where: Prisma.day_accommodationsWhereUniqueInput +} + +/** + * day_accommodations updateMany + */ +export type day_accommodationsUpdateManyArgs = { + /** + * The data used to update day_accommodations. + */ + data: Prisma.XOR + /** + * Filter which day_accommodations to update + */ + where?: Prisma.day_accommodationsWhereInput + /** + * Limit how many day_accommodations to update. + */ + limit?: number +} + +/** + * day_accommodations updateManyAndReturn + */ +export type day_accommodationsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * The data used to update day_accommodations. + */ + data: Prisma.XOR + /** + * Filter which day_accommodations to update + */ + where?: Prisma.day_accommodationsWhereInput + /** + * Limit how many day_accommodations to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsIncludeUpdateManyAndReturn | null +} + +/** + * day_accommodations upsert + */ +export type day_accommodationsUpsertArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * The filter to search for the day_accommodations to update in case it exists. + */ + where: Prisma.day_accommodationsWhereUniqueInput + /** + * In case the day_accommodations found by the `where` argument doesn't exist, create a new day_accommodations with this data. + */ + create: Prisma.XOR + /** + * In case the day_accommodations was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * day_accommodations delete + */ +export type day_accommodationsDeleteArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + /** + * Filter which day_accommodations to delete. + */ + where: Prisma.day_accommodationsWhereUniqueInput +} + +/** + * day_accommodations deleteMany + */ +export type day_accommodationsDeleteManyArgs = { + /** + * Filter which day_accommodations to delete + */ + where?: Prisma.day_accommodationsWhereInput + /** + * Limit how many day_accommodations to delete. + */ + limit?: number +} + +/** + * day_accommodations.places + */ +export type day_accommodations$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * day_accommodations without action + */ +export type day_accommodationsDefaultArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null +} diff --git a/server/src/generated/prisma/models/day_assignments.ts b/server/src/generated/prisma/models/day_assignments.ts new file mode 100644 index 00000000..ce7de508 --- /dev/null +++ b/server/src/generated/prisma/models/day_assignments.ts @@ -0,0 +1,2230 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `day_assignments` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model day_assignments + * + */ +export type day_assignmentsModel = runtime.Types.Result.DefaultSelection + +export type AggregateDay_assignments = { + _count: Day_assignmentsCountAggregateOutputType | null + _avg: Day_assignmentsAvgAggregateOutputType | null + _sum: Day_assignmentsSumAggregateOutputType | null + _min: Day_assignmentsMinAggregateOutputType | null + _max: Day_assignmentsMaxAggregateOutputType | null +} + +export type Day_assignmentsAvgAggregateOutputType = { + id: number | null + day_id: number | null + place_id: number | null + order_index: number | null +} + +export type Day_assignmentsSumAggregateOutputType = { + id: number | null + day_id: number | null + place_id: number | null + order_index: number | null +} + +export type Day_assignmentsMinAggregateOutputType = { + id: number | null + day_id: number | null + place_id: number | null + order_index: number | null + notes: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + created_at: Date | null + assignment_time: string | null + assignment_end_time: string | null +} + +export type Day_assignmentsMaxAggregateOutputType = { + id: number | null + day_id: number | null + place_id: number | null + order_index: number | null + notes: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + created_at: Date | null + assignment_time: string | null + assignment_end_time: string | null +} + +export type Day_assignmentsCountAggregateOutputType = { + id: number + day_id: number + place_id: number + order_index: number + notes: number + reservation_status: number + reservation_notes: number + reservation_datetime: number + created_at: number + assignment_time: number + assignment_end_time: number + _all: number +} + + +export type Day_assignmentsAvgAggregateInputType = { + id?: true + day_id?: true + place_id?: true + order_index?: true +} + +export type Day_assignmentsSumAggregateInputType = { + id?: true + day_id?: true + place_id?: true + order_index?: true +} + +export type Day_assignmentsMinAggregateInputType = { + id?: true + day_id?: true + place_id?: true + order_index?: true + notes?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + created_at?: true + assignment_time?: true + assignment_end_time?: true +} + +export type Day_assignmentsMaxAggregateInputType = { + id?: true + day_id?: true + place_id?: true + order_index?: true + notes?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + created_at?: true + assignment_time?: true + assignment_end_time?: true +} + +export type Day_assignmentsCountAggregateInputType = { + id?: true + day_id?: true + place_id?: true + order_index?: true + notes?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + created_at?: true + assignment_time?: true + assignment_end_time?: true + _all?: true +} + +export type Day_assignmentsAggregateArgs = { + /** + * Filter which day_assignments to aggregate. + */ + where?: Prisma.day_assignmentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_assignments to fetch. + */ + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.day_assignmentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_assignments from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_assignments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned day_assignments + **/ + _count?: true | Day_assignmentsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Day_assignmentsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Day_assignmentsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Day_assignmentsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Day_assignmentsMaxAggregateInputType +} + +export type GetDay_assignmentsAggregateType = { + [P in keyof T & keyof AggregateDay_assignments]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type day_assignmentsGroupByArgs = { + where?: Prisma.day_assignmentsWhereInput + orderBy?: Prisma.day_assignmentsOrderByWithAggregationInput | Prisma.day_assignmentsOrderByWithAggregationInput[] + by: Prisma.Day_assignmentsScalarFieldEnum[] | Prisma.Day_assignmentsScalarFieldEnum + having?: Prisma.day_assignmentsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Day_assignmentsCountAggregateInputType | true + _avg?: Day_assignmentsAvgAggregateInputType + _sum?: Day_assignmentsSumAggregateInputType + _min?: Day_assignmentsMinAggregateInputType + _max?: Day_assignmentsMaxAggregateInputType +} + +export type Day_assignmentsGroupByOutputType = { + id: number + day_id: number + place_id: number + order_index: number | null + notes: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + created_at: Date | null + assignment_time: string | null + assignment_end_time: string | null + _count: Day_assignmentsCountAggregateOutputType | null + _avg: Day_assignmentsAvgAggregateOutputType | null + _sum: Day_assignmentsSumAggregateOutputType | null + _min: Day_assignmentsMinAggregateOutputType | null + _max: Day_assignmentsMaxAggregateOutputType | null +} + +export type GetDay_assignmentsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Day_assignmentsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type day_assignmentsWhereInput = { + AND?: Prisma.day_assignmentsWhereInput | Prisma.day_assignmentsWhereInput[] + OR?: Prisma.day_assignmentsWhereInput[] + NOT?: Prisma.day_assignmentsWhereInput | Prisma.day_assignmentsWhereInput[] + id?: Prisma.IntFilter<"day_assignments"> | number + day_id?: Prisma.IntFilter<"day_assignments"> | number + place_id?: Prisma.IntFilter<"day_assignments"> | number + order_index?: Prisma.IntNullableFilter<"day_assignments"> | number | null + notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_status?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"day_assignments"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_assignments"> | Date | string | null + assignment_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null + assignment_end_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null + assignment_participants?: Prisma.Assignment_participantsListRelationFilter + places?: Prisma.XOR + days?: Prisma.XOR + file_links?: Prisma.File_linksListRelationFilter + reservations?: Prisma.ReservationsListRelationFilter +} + +export type day_assignmentsOrderByWithRelationInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_status?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_datetime?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_time?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_end_time?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_participants?: Prisma.assignment_participantsOrderByRelationAggregateInput + places?: Prisma.placesOrderByWithRelationInput + days?: Prisma.daysOrderByWithRelationInput + file_links?: Prisma.file_linksOrderByRelationAggregateInput + reservations?: Prisma.reservationsOrderByRelationAggregateInput +} + +export type day_assignmentsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.day_assignmentsWhereInput | Prisma.day_assignmentsWhereInput[] + OR?: Prisma.day_assignmentsWhereInput[] + NOT?: Prisma.day_assignmentsWhereInput | Prisma.day_assignmentsWhereInput[] + day_id?: Prisma.IntFilter<"day_assignments"> | number + place_id?: Prisma.IntFilter<"day_assignments"> | number + order_index?: Prisma.IntNullableFilter<"day_assignments"> | number | null + notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_status?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"day_assignments"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_assignments"> | Date | string | null + assignment_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null + assignment_end_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null + assignment_participants?: Prisma.Assignment_participantsListRelationFilter + places?: Prisma.XOR + days?: Prisma.XOR + file_links?: Prisma.File_linksListRelationFilter + reservations?: Prisma.ReservationsListRelationFilter +}, "id"> + +export type day_assignmentsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_status?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_datetime?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_time?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_end_time?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.day_assignmentsCountOrderByAggregateInput + _avg?: Prisma.day_assignmentsAvgOrderByAggregateInput + _max?: Prisma.day_assignmentsMaxOrderByAggregateInput + _min?: Prisma.day_assignmentsMinOrderByAggregateInput + _sum?: Prisma.day_assignmentsSumOrderByAggregateInput +} + +export type day_assignmentsScalarWhereWithAggregatesInput = { + AND?: Prisma.day_assignmentsScalarWhereWithAggregatesInput | Prisma.day_assignmentsScalarWhereWithAggregatesInput[] + OR?: Prisma.day_assignmentsScalarWhereWithAggregatesInput[] + NOT?: Prisma.day_assignmentsScalarWhereWithAggregatesInput | Prisma.day_assignmentsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"day_assignments"> | number + day_id?: Prisma.IntWithAggregatesFilter<"day_assignments"> | number + place_id?: Prisma.IntWithAggregatesFilter<"day_assignments"> | number + order_index?: Prisma.IntNullableWithAggregatesFilter<"day_assignments"> | number | null + notes?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null + reservation_status?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null + reservation_notes?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null + reservation_datetime?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"day_assignments"> | Date | string | null + assignment_time?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null + assignment_end_time?: Prisma.StringNullableWithAggregatesFilter<"day_assignments"> | string | null +} + +export type day_assignmentsCreateInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutDay_assignmentsInput + places: Prisma.placesCreateNestedOneWithoutDay_assignmentsInput + days: Prisma.daysCreateNestedOneWithoutDay_assignmentsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateInput = { + id?: number + day_id: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUpdateInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput + places?: Prisma.placesUpdateOneRequiredWithoutDay_assignmentsNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsCreateManyInput = { + id?: number + day_id: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null +} + +export type day_assignmentsUpdateManyMutationInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type day_assignmentsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Day_assignmentsScalarRelationFilter = { + is?: Prisma.day_assignmentsWhereInput + isNot?: Prisma.day_assignmentsWhereInput +} + +export type day_assignmentsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrder + notes?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + created_at?: Prisma.SortOrder + assignment_time?: Prisma.SortOrder + assignment_end_time?: Prisma.SortOrder +} + +export type day_assignmentsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrder +} + +export type day_assignmentsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrder + notes?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + created_at?: Prisma.SortOrder + assignment_time?: Prisma.SortOrder + assignment_end_time?: Prisma.SortOrder +} + +export type day_assignmentsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrder + notes?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + created_at?: Prisma.SortOrder + assignment_time?: Prisma.SortOrder + assignment_end_time?: Prisma.SortOrder +} + +export type day_assignmentsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + order_index?: Prisma.SortOrder +} + +export type Day_assignmentsListRelationFilter = { + every?: Prisma.day_assignmentsWhereInput + some?: Prisma.day_assignmentsWhereInput + none?: Prisma.day_assignmentsWhereInput +} + +export type day_assignmentsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type Day_assignmentsNullableScalarRelationFilter = { + is?: Prisma.day_assignmentsWhereInput | null + isNot?: Prisma.day_assignmentsWhereInput | null +} + +export type day_assignmentsCreateNestedOneWithoutAssignment_participantsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutAssignment_participantsInput + connect?: Prisma.day_assignmentsWhereUniqueInput +} + +export type day_assignmentsUpdateOneRequiredWithoutAssignment_participantsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutAssignment_participantsInput + upsert?: Prisma.day_assignmentsUpsertWithoutAssignment_participantsInput + connect?: Prisma.day_assignmentsWhereUniqueInput + update?: Prisma.XOR, Prisma.day_assignmentsUncheckedUpdateWithoutAssignment_participantsInput> +} + +export type day_assignmentsCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutDaysInput[] | Prisma.day_assignmentsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutDaysInput | Prisma.day_assignmentsCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.day_assignmentsCreateManyDaysInputEnvelope + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] +} + +export type day_assignmentsUncheckedCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutDaysInput[] | Prisma.day_assignmentsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutDaysInput | Prisma.day_assignmentsCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.day_assignmentsCreateManyDaysInputEnvelope + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] +} + +export type day_assignmentsUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutDaysInput[] | Prisma.day_assignmentsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutDaysInput | Prisma.day_assignmentsCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.day_assignmentsUpsertWithWhereUniqueWithoutDaysInput | Prisma.day_assignmentsUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.day_assignmentsCreateManyDaysInputEnvelope + set?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + disconnect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + delete?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + update?: Prisma.day_assignmentsUpdateWithWhereUniqueWithoutDaysInput | Prisma.day_assignmentsUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.day_assignmentsUpdateManyWithWhereWithoutDaysInput | Prisma.day_assignmentsUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] +} + +export type day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutDaysInput[] | Prisma.day_assignmentsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutDaysInput | Prisma.day_assignmentsCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.day_assignmentsUpsertWithWhereUniqueWithoutDaysInput | Prisma.day_assignmentsUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.day_assignmentsCreateManyDaysInputEnvelope + set?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + disconnect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + delete?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + update?: Prisma.day_assignmentsUpdateWithWhereUniqueWithoutDaysInput | Prisma.day_assignmentsUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.day_assignmentsUpdateManyWithWhereWithoutDaysInput | Prisma.day_assignmentsUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] +} + +export type day_assignmentsCreateNestedOneWithoutFile_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutFile_linksInput + connect?: Prisma.day_assignmentsWhereUniqueInput +} + +export type day_assignmentsUpdateOneWithoutFile_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutFile_linksInput + upsert?: Prisma.day_assignmentsUpsertWithoutFile_linksInput + disconnect?: Prisma.day_assignmentsWhereInput | boolean + delete?: Prisma.day_assignmentsWhereInput | boolean + connect?: Prisma.day_assignmentsWhereUniqueInput + update?: Prisma.XOR, Prisma.day_assignmentsUncheckedUpdateWithoutFile_linksInput> +} + +export type day_assignmentsCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutPlacesInput[] | Prisma.day_assignmentsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput | Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.day_assignmentsCreateManyPlacesInputEnvelope + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] +} + +export type day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutPlacesInput[] | Prisma.day_assignmentsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput | Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.day_assignmentsCreateManyPlacesInputEnvelope + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] +} + +export type day_assignmentsUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutPlacesInput[] | Prisma.day_assignmentsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput | Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.day_assignmentsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.day_assignmentsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.day_assignmentsCreateManyPlacesInputEnvelope + set?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + disconnect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + delete?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + update?: Prisma.day_assignmentsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.day_assignmentsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.day_assignmentsUpdateManyWithWhereWithoutPlacesInput | Prisma.day_assignmentsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] +} + +export type day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.day_assignmentsCreateWithoutPlacesInput[] | Prisma.day_assignmentsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput | Prisma.day_assignmentsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.day_assignmentsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.day_assignmentsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.day_assignmentsCreateManyPlacesInputEnvelope + set?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + disconnect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + delete?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + connect?: Prisma.day_assignmentsWhereUniqueInput | Prisma.day_assignmentsWhereUniqueInput[] + update?: Prisma.day_assignmentsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.day_assignmentsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.day_assignmentsUpdateManyWithWhereWithoutPlacesInput | Prisma.day_assignmentsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] +} + +export type day_assignmentsCreateNestedOneWithoutReservationsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutReservationsInput + connect?: Prisma.day_assignmentsWhereUniqueInput +} + +export type day_assignmentsUpdateOneWithoutReservationsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.day_assignmentsCreateOrConnectWithoutReservationsInput + upsert?: Prisma.day_assignmentsUpsertWithoutReservationsInput + disconnect?: Prisma.day_assignmentsWhereInput | boolean + delete?: Prisma.day_assignmentsWhereInput | boolean + connect?: Prisma.day_assignmentsWhereUniqueInput + update?: Prisma.XOR, Prisma.day_assignmentsUncheckedUpdateWithoutReservationsInput> +} + +export type day_assignmentsCreateWithoutAssignment_participantsInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + places: Prisma.placesCreateNestedOneWithoutDay_assignmentsInput + days: Prisma.daysCreateNestedOneWithoutDay_assignmentsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateWithoutAssignment_participantsInput = { + id?: number + day_id: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsCreateOrConnectWithoutAssignment_participantsInput = { + where: Prisma.day_assignmentsWhereUniqueInput + create: Prisma.XOR +} + +export type day_assignmentsUpsertWithoutAssignment_participantsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.day_assignmentsWhereInput +} + +export type day_assignmentsUpdateToOneWithWhereWithoutAssignment_participantsInput = { + where?: Prisma.day_assignmentsWhereInput + data: Prisma.XOR +} + +export type day_assignmentsUpdateWithoutAssignment_participantsInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + places?: Prisma.placesUpdateOneRequiredWithoutDay_assignmentsNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateWithoutAssignment_participantsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsCreateWithoutDaysInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutDay_assignmentsInput + places: Prisma.placesCreateNestedOneWithoutDay_assignmentsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateWithoutDaysInput = { + id?: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsCreateOrConnectWithoutDaysInput = { + where: Prisma.day_assignmentsWhereUniqueInput + create: Prisma.XOR +} + +export type day_assignmentsCreateManyDaysInputEnvelope = { + data: Prisma.day_assignmentsCreateManyDaysInput | Prisma.day_assignmentsCreateManyDaysInput[] +} + +export type day_assignmentsUpsertWithWhereUniqueWithoutDaysInput = { + where: Prisma.day_assignmentsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_assignmentsUpdateWithWhereUniqueWithoutDaysInput = { + where: Prisma.day_assignmentsWhereUniqueInput + data: Prisma.XOR +} + +export type day_assignmentsUpdateManyWithWhereWithoutDaysInput = { + where: Prisma.day_assignmentsScalarWhereInput + data: Prisma.XOR +} + +export type day_assignmentsScalarWhereInput = { + AND?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] + OR?: Prisma.day_assignmentsScalarWhereInput[] + NOT?: Prisma.day_assignmentsScalarWhereInput | Prisma.day_assignmentsScalarWhereInput[] + id?: Prisma.IntFilter<"day_assignments"> | number + day_id?: Prisma.IntFilter<"day_assignments"> | number + place_id?: Prisma.IntFilter<"day_assignments"> | number + order_index?: Prisma.IntNullableFilter<"day_assignments"> | number | null + notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_status?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"day_assignments"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"day_assignments"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"day_assignments"> | Date | string | null + assignment_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null + assignment_end_time?: Prisma.StringNullableFilter<"day_assignments"> | string | null +} + +export type day_assignmentsCreateWithoutFile_linksInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutDay_assignmentsInput + places: Prisma.placesCreateNestedOneWithoutDay_assignmentsInput + days: Prisma.daysCreateNestedOneWithoutDay_assignmentsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateWithoutFile_linksInput = { + id?: number + day_id: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsCreateOrConnectWithoutFile_linksInput = { + where: Prisma.day_assignmentsWhereUniqueInput + create: Prisma.XOR +} + +export type day_assignmentsUpsertWithoutFile_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.day_assignmentsWhereInput +} + +export type day_assignmentsUpdateToOneWithWhereWithoutFile_linksInput = { + where?: Prisma.day_assignmentsWhereInput + data: Prisma.XOR +} + +export type day_assignmentsUpdateWithoutFile_linksInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput + places?: Prisma.placesUpdateOneRequiredWithoutDay_assignmentsNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateWithoutFile_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsCreateWithoutPlacesInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutDay_assignmentsInput + days: Prisma.daysCreateNestedOneWithoutDay_assignmentsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateWithoutPlacesInput = { + id?: number + day_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsCreateOrConnectWithoutPlacesInput = { + where: Prisma.day_assignmentsWhereUniqueInput + create: Prisma.XOR +} + +export type day_assignmentsCreateManyPlacesInputEnvelope = { + data: Prisma.day_assignmentsCreateManyPlacesInput | Prisma.day_assignmentsCreateManyPlacesInput[] +} + +export type day_assignmentsUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.day_assignmentsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_assignmentsUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.day_assignmentsWhereUniqueInput + data: Prisma.XOR +} + +export type day_assignmentsUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.day_assignmentsScalarWhereInput + data: Prisma.XOR +} + +export type day_assignmentsCreateWithoutReservationsInput = { + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutDay_assignmentsInput + places: Prisma.placesCreateNestedOneWithoutDay_assignmentsInput + days: Prisma.daysCreateNestedOneWithoutDay_assignmentsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsUncheckedCreateWithoutReservationsInput = { + id?: number + day_id: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutDay_assignmentsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput +} + +export type day_assignmentsCreateOrConnectWithoutReservationsInput = { + where: Prisma.day_assignmentsWhereUniqueInput + create: Prisma.XOR +} + +export type day_assignmentsUpsertWithoutReservationsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.day_assignmentsWhereInput +} + +export type day_assignmentsUpdateToOneWithWhereWithoutReservationsInput = { + where?: Prisma.day_assignmentsWhereInput + data: Prisma.XOR +} + +export type day_assignmentsUpdateWithoutReservationsInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput + places?: Prisma.placesUpdateOneRequiredWithoutDay_assignmentsNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsCreateManyDaysInput = { + id?: number + place_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null +} + +export type day_assignmentsUpdateWithoutDaysInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput + places?: Prisma.placesUpdateOneRequiredWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateManyWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type day_assignmentsCreateManyPlacesInput = { + id?: number + day_id: number + order_index?: number | null + notes?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + created_at?: Date | string | null + assignment_time?: string | null + assignment_end_time?: string | null +} + +export type day_assignmentsUpdateWithoutPlacesInput = { + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutDay_assignmentsNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutDay_assignmentsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput +} + +export type day_assignmentsUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + order_index?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + assignment_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assignment_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Day_assignmentsCountOutputType + */ + +export type Day_assignmentsCountOutputType = { + assignment_participants: number + file_links: number + reservations: number +} + +export type Day_assignmentsCountOutputTypeSelect = { + assignment_participants?: boolean | Day_assignmentsCountOutputTypeCountAssignment_participantsArgs + file_links?: boolean | Day_assignmentsCountOutputTypeCountFile_linksArgs + reservations?: boolean | Day_assignmentsCountOutputTypeCountReservationsArgs +} + +/** + * Day_assignmentsCountOutputType without action + */ +export type Day_assignmentsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Day_assignmentsCountOutputType + */ + select?: Prisma.Day_assignmentsCountOutputTypeSelect | null +} + +/** + * Day_assignmentsCountOutputType without action + */ +export type Day_assignmentsCountOutputTypeCountAssignment_participantsArgs = { + where?: Prisma.assignment_participantsWhereInput +} + +/** + * Day_assignmentsCountOutputType without action + */ +export type Day_assignmentsCountOutputTypeCountFile_linksArgs = { + where?: Prisma.file_linksWhereInput +} + +/** + * Day_assignmentsCountOutputType without action + */ +export type Day_assignmentsCountOutputTypeCountReservationsArgs = { + where?: Prisma.reservationsWhereInput +} + + +export type day_assignmentsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + place_id?: boolean + order_index?: boolean + notes?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + created_at?: boolean + assignment_time?: boolean + assignment_end_time?: boolean + assignment_participants?: boolean | Prisma.day_assignments$assignment_participantsArgs + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs + file_links?: boolean | Prisma.day_assignments$file_linksArgs + reservations?: boolean | Prisma.day_assignments$reservationsArgs + _count?: boolean | Prisma.Day_assignmentsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["day_assignments"]> + +export type day_assignmentsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + place_id?: boolean + order_index?: boolean + notes?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + created_at?: boolean + assignment_time?: boolean + assignment_end_time?: boolean + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +}, ExtArgs["result"]["day_assignments"]> + +export type day_assignmentsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + place_id?: boolean + order_index?: boolean + notes?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + created_at?: boolean + assignment_time?: boolean + assignment_end_time?: boolean + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +}, ExtArgs["result"]["day_assignments"]> + +export type day_assignmentsSelectScalar = { + id?: boolean + day_id?: boolean + place_id?: boolean + order_index?: boolean + notes?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + created_at?: boolean + assignment_time?: boolean + assignment_end_time?: boolean +} + +export type day_assignmentsOmit = runtime.Types.Extensions.GetOmit<"id" | "day_id" | "place_id" | "order_index" | "notes" | "reservation_status" | "reservation_notes" | "reservation_datetime" | "created_at" | "assignment_time" | "assignment_end_time", ExtArgs["result"]["day_assignments"]> +export type day_assignmentsInclude = { + assignment_participants?: boolean | Prisma.day_assignments$assignment_participantsArgs + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs + file_links?: boolean | Prisma.day_assignments$file_linksArgs + reservations?: boolean | Prisma.day_assignments$reservationsArgs + _count?: boolean | Prisma.Day_assignmentsCountOutputTypeDefaultArgs +} +export type day_assignmentsIncludeCreateManyAndReturn = { + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +} +export type day_assignmentsIncludeUpdateManyAndReturn = { + places?: boolean | Prisma.placesDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +} + +export type $day_assignmentsPayload = { + name: "day_assignments" + objects: { + assignment_participants: Prisma.$assignment_participantsPayload[] + places: Prisma.$placesPayload + days: Prisma.$daysPayload + file_links: Prisma.$file_linksPayload[] + reservations: Prisma.$reservationsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + day_id: number + place_id: number + order_index: number | null + notes: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + created_at: Date | null + assignment_time: string | null + assignment_end_time: string | null + }, ExtArgs["result"]["day_assignments"]> + composites: {} +} + +export type day_assignmentsGetPayload = runtime.Types.Result.GetResult + +export type day_assignmentsCountArgs = + Omit & { + select?: Day_assignmentsCountAggregateInputType | true + } + +export interface day_assignmentsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['day_assignments'], meta: { name: 'day_assignments' } } + /** + * Find zero or one Day_assignments that matches the filter. + * @param {day_assignmentsFindUniqueArgs} args - Arguments to find a Day_assignments + * @example + * // Get one Day_assignments + * const day_assignments = await prisma.day_assignments.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Day_assignments that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {day_assignmentsFindUniqueOrThrowArgs} args - Arguments to find a Day_assignments + * @example + * // Get one Day_assignments + * const day_assignments = await prisma.day_assignments.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_assignments that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsFindFirstArgs} args - Arguments to find a Day_assignments + * @example + * // Get one Day_assignments + * const day_assignments = await prisma.day_assignments.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_assignments that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsFindFirstOrThrowArgs} args - Arguments to find a Day_assignments + * @example + * // Get one Day_assignments + * const day_assignments = await prisma.day_assignments.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Day_assignments that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Day_assignments + * const day_assignments = await prisma.day_assignments.findMany() + * + * // Get first 10 Day_assignments + * const day_assignments = await prisma.day_assignments.findMany({ take: 10 }) + * + * // Only select the `id` + * const day_assignmentsWithIdOnly = await prisma.day_assignments.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Day_assignments. + * @param {day_assignmentsCreateArgs} args - Arguments to create a Day_assignments. + * @example + * // Create one Day_assignments + * const Day_assignments = await prisma.day_assignments.create({ + * data: { + * // ... data to create a Day_assignments + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Day_assignments. + * @param {day_assignmentsCreateManyArgs} args - Arguments to create many Day_assignments. + * @example + * // Create many Day_assignments + * const day_assignments = await prisma.day_assignments.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Day_assignments and returns the data saved in the database. + * @param {day_assignmentsCreateManyAndReturnArgs} args - Arguments to create many Day_assignments. + * @example + * // Create many Day_assignments + * const day_assignments = await prisma.day_assignments.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Day_assignments and only return the `id` + * const day_assignmentsWithIdOnly = await prisma.day_assignments.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Day_assignments. + * @param {day_assignmentsDeleteArgs} args - Arguments to delete one Day_assignments. + * @example + * // Delete one Day_assignments + * const Day_assignments = await prisma.day_assignments.delete({ + * where: { + * // ... filter to delete one Day_assignments + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Day_assignments. + * @param {day_assignmentsUpdateArgs} args - Arguments to update one Day_assignments. + * @example + * // Update one Day_assignments + * const day_assignments = await prisma.day_assignments.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Day_assignments. + * @param {day_assignmentsDeleteManyArgs} args - Arguments to filter Day_assignments to delete. + * @example + * // Delete a few Day_assignments + * const { count } = await prisma.day_assignments.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_assignments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Day_assignments + * const day_assignments = await prisma.day_assignments.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_assignments and returns the data updated in the database. + * @param {day_assignmentsUpdateManyAndReturnArgs} args - Arguments to update many Day_assignments. + * @example + * // Update many Day_assignments + * const day_assignments = await prisma.day_assignments.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Day_assignments and only return the `id` + * const day_assignmentsWithIdOnly = await prisma.day_assignments.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Day_assignments. + * @param {day_assignmentsUpsertArgs} args - Arguments to update or create a Day_assignments. + * @example + * // Update or create a Day_assignments + * const day_assignments = await prisma.day_assignments.upsert({ + * create: { + * // ... data to create a Day_assignments + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Day_assignments we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__day_assignmentsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Day_assignments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsCountArgs} args - Arguments to filter Day_assignments to count. + * @example + * // Count the number of Day_assignments + * const count = await prisma.day_assignments.count({ + * where: { + * // ... the filter for the Day_assignments we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Day_assignments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Day_assignmentsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Day_assignments. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_assignmentsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends day_assignmentsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: day_assignmentsGroupByArgs['orderBy'] } + : { orderBy?: day_assignmentsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetDay_assignmentsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the day_assignments model + */ +readonly fields: day_assignmentsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for day_assignments. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__day_assignmentsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + assignment_participants = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + days = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + file_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the day_assignments model + */ +export interface day_assignmentsFieldRefs { + readonly id: Prisma.FieldRef<"day_assignments", 'Int'> + readonly day_id: Prisma.FieldRef<"day_assignments", 'Int'> + readonly place_id: Prisma.FieldRef<"day_assignments", 'Int'> + readonly order_index: Prisma.FieldRef<"day_assignments", 'Int'> + readonly notes: Prisma.FieldRef<"day_assignments", 'String'> + readonly reservation_status: Prisma.FieldRef<"day_assignments", 'String'> + readonly reservation_notes: Prisma.FieldRef<"day_assignments", 'String'> + readonly reservation_datetime: Prisma.FieldRef<"day_assignments", 'String'> + readonly created_at: Prisma.FieldRef<"day_assignments", 'DateTime'> + readonly assignment_time: Prisma.FieldRef<"day_assignments", 'String'> + readonly assignment_end_time: Prisma.FieldRef<"day_assignments", 'String'> +} + + +// Custom InputTypes +/** + * day_assignments findUnique + */ +export type day_assignmentsFindUniqueArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter, which day_assignments to fetch. + */ + where: Prisma.day_assignmentsWhereUniqueInput +} + +/** + * day_assignments findUniqueOrThrow + */ +export type day_assignmentsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter, which day_assignments to fetch. + */ + where: Prisma.day_assignmentsWhereUniqueInput +} + +/** + * day_assignments findFirst + */ +export type day_assignmentsFindFirstArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter, which day_assignments to fetch. + */ + where?: Prisma.day_assignmentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_assignments to fetch. + */ + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_assignments. + */ + cursor?: Prisma.day_assignmentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_assignments from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_assignments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_assignments. + */ + distinct?: Prisma.Day_assignmentsScalarFieldEnum | Prisma.Day_assignmentsScalarFieldEnum[] +} + +/** + * day_assignments findFirstOrThrow + */ +export type day_assignmentsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter, which day_assignments to fetch. + */ + where?: Prisma.day_assignmentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_assignments to fetch. + */ + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_assignments. + */ + cursor?: Prisma.day_assignmentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_assignments from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_assignments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_assignments. + */ + distinct?: Prisma.Day_assignmentsScalarFieldEnum | Prisma.Day_assignmentsScalarFieldEnum[] +} + +/** + * day_assignments findMany + */ +export type day_assignmentsFindManyArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter, which day_assignments to fetch. + */ + where?: Prisma.day_assignmentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_assignments to fetch. + */ + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing day_assignments. + */ + cursor?: Prisma.day_assignmentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_assignments from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_assignments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_assignments. + */ + distinct?: Prisma.Day_assignmentsScalarFieldEnum | Prisma.Day_assignmentsScalarFieldEnum[] +} + +/** + * day_assignments create + */ +export type day_assignmentsCreateArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * The data needed to create a day_assignments. + */ + data: Prisma.XOR +} + +/** + * day_assignments createMany + */ +export type day_assignmentsCreateManyArgs = { + /** + * The data used to create many day_assignments. + */ + data: Prisma.day_assignmentsCreateManyInput | Prisma.day_assignmentsCreateManyInput[] +} + +/** + * day_assignments createManyAndReturn + */ +export type day_assignmentsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * The data used to create many day_assignments. + */ + data: Prisma.day_assignmentsCreateManyInput | Prisma.day_assignmentsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsIncludeCreateManyAndReturn | null +} + +/** + * day_assignments update + */ +export type day_assignmentsUpdateArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * The data needed to update a day_assignments. + */ + data: Prisma.XOR + /** + * Choose, which day_assignments to update. + */ + where: Prisma.day_assignmentsWhereUniqueInput +} + +/** + * day_assignments updateMany + */ +export type day_assignmentsUpdateManyArgs = { + /** + * The data used to update day_assignments. + */ + data: Prisma.XOR + /** + * Filter which day_assignments to update + */ + where?: Prisma.day_assignmentsWhereInput + /** + * Limit how many day_assignments to update. + */ + limit?: number +} + +/** + * day_assignments updateManyAndReturn + */ +export type day_assignmentsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * The data used to update day_assignments. + */ + data: Prisma.XOR + /** + * Filter which day_assignments to update + */ + where?: Prisma.day_assignmentsWhereInput + /** + * Limit how many day_assignments to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsIncludeUpdateManyAndReturn | null +} + +/** + * day_assignments upsert + */ +export type day_assignmentsUpsertArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * The filter to search for the day_assignments to update in case it exists. + */ + where: Prisma.day_assignmentsWhereUniqueInput + /** + * In case the day_assignments found by the `where` argument doesn't exist, create a new day_assignments with this data. + */ + create: Prisma.XOR + /** + * In case the day_assignments was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * day_assignments delete + */ +export type day_assignmentsDeleteArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + /** + * Filter which day_assignments to delete. + */ + where: Prisma.day_assignmentsWhereUniqueInput +} + +/** + * day_assignments deleteMany + */ +export type day_assignmentsDeleteManyArgs = { + /** + * Filter which day_assignments to delete + */ + where?: Prisma.day_assignmentsWhereInput + /** + * Limit how many day_assignments to delete. + */ + limit?: number +} + +/** + * day_assignments.assignment_participants + */ +export type day_assignments$assignment_participantsArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + where?: Prisma.assignment_participantsWhereInput + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + cursor?: Prisma.assignment_participantsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Assignment_participantsScalarFieldEnum | Prisma.Assignment_participantsScalarFieldEnum[] +} + +/** + * day_assignments.file_links + */ +export type day_assignments$file_linksArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + where?: Prisma.file_linksWhereInput + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + cursor?: Prisma.file_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * day_assignments.reservations + */ +export type day_assignments$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + cursor?: Prisma.reservationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * day_assignments without action + */ +export type day_assignmentsDefaultArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null +} diff --git a/server/src/generated/prisma/models/day_notes.ts b/server/src/generated/prisma/models/day_notes.ts new file mode 100644 index 00000000..0b5249db --- /dev/null +++ b/server/src/generated/prisma/models/day_notes.ts @@ -0,0 +1,1639 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `day_notes` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model day_notes + * + */ +export type day_notesModel = runtime.Types.Result.DefaultSelection + +export type AggregateDay_notes = { + _count: Day_notesCountAggregateOutputType | null + _avg: Day_notesAvgAggregateOutputType | null + _sum: Day_notesSumAggregateOutputType | null + _min: Day_notesMinAggregateOutputType | null + _max: Day_notesMaxAggregateOutputType | null +} + +export type Day_notesAvgAggregateOutputType = { + id: number | null + day_id: number | null + trip_id: number | null + sort_order: number | null +} + +export type Day_notesSumAggregateOutputType = { + id: number | null + day_id: number | null + trip_id: number | null + sort_order: number | null +} + +export type Day_notesMinAggregateOutputType = { + id: number | null + day_id: number | null + trip_id: number | null + text: string | null + time: string | null + icon: string | null + sort_order: number | null + created_at: Date | null +} + +export type Day_notesMaxAggregateOutputType = { + id: number | null + day_id: number | null + trip_id: number | null + text: string | null + time: string | null + icon: string | null + sort_order: number | null + created_at: Date | null +} + +export type Day_notesCountAggregateOutputType = { + id: number + day_id: number + trip_id: number + text: number + time: number + icon: number + sort_order: number + created_at: number + _all: number +} + + +export type Day_notesAvgAggregateInputType = { + id?: true + day_id?: true + trip_id?: true + sort_order?: true +} + +export type Day_notesSumAggregateInputType = { + id?: true + day_id?: true + trip_id?: true + sort_order?: true +} + +export type Day_notesMinAggregateInputType = { + id?: true + day_id?: true + trip_id?: true + text?: true + time?: true + icon?: true + sort_order?: true + created_at?: true +} + +export type Day_notesMaxAggregateInputType = { + id?: true + day_id?: true + trip_id?: true + text?: true + time?: true + icon?: true + sort_order?: true + created_at?: true +} + +export type Day_notesCountAggregateInputType = { + id?: true + day_id?: true + trip_id?: true + text?: true + time?: true + icon?: true + sort_order?: true + created_at?: true + _all?: true +} + +export type Day_notesAggregateArgs = { + /** + * Filter which day_notes to aggregate. + */ + where?: Prisma.day_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_notes to fetch. + */ + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.day_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned day_notes + **/ + _count?: true | Day_notesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Day_notesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Day_notesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Day_notesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Day_notesMaxAggregateInputType +} + +export type GetDay_notesAggregateType = { + [P in keyof T & keyof AggregateDay_notes]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type day_notesGroupByArgs = { + where?: Prisma.day_notesWhereInput + orderBy?: Prisma.day_notesOrderByWithAggregationInput | Prisma.day_notesOrderByWithAggregationInput[] + by: Prisma.Day_notesScalarFieldEnum[] | Prisma.Day_notesScalarFieldEnum + having?: Prisma.day_notesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Day_notesCountAggregateInputType | true + _avg?: Day_notesAvgAggregateInputType + _sum?: Day_notesSumAggregateInputType + _min?: Day_notesMinAggregateInputType + _max?: Day_notesMaxAggregateInputType +} + +export type Day_notesGroupByOutputType = { + id: number + day_id: number + trip_id: number + text: string + time: string | null + icon: string | null + sort_order: number | null + created_at: Date | null + _count: Day_notesCountAggregateOutputType | null + _avg: Day_notesAvgAggregateOutputType | null + _sum: Day_notesSumAggregateOutputType | null + _min: Day_notesMinAggregateOutputType | null + _max: Day_notesMaxAggregateOutputType | null +} + +export type GetDay_notesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Day_notesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type day_notesWhereInput = { + AND?: Prisma.day_notesWhereInput | Prisma.day_notesWhereInput[] + OR?: Prisma.day_notesWhereInput[] + NOT?: Prisma.day_notesWhereInput | Prisma.day_notesWhereInput[] + id?: Prisma.IntFilter<"day_notes"> | number + day_id?: Prisma.IntFilter<"day_notes"> | number + trip_id?: Prisma.IntFilter<"day_notes"> | number + text?: Prisma.StringFilter<"day_notes"> | string + time?: Prisma.StringNullableFilter<"day_notes"> | string | null + icon?: Prisma.StringNullableFilter<"day_notes"> | string | null + sort_order?: Prisma.FloatNullableFilter<"day_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"day_notes"> | Date | string | null + trips?: Prisma.XOR + days?: Prisma.XOR +} + +export type day_notesOrderByWithRelationInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + text?: Prisma.SortOrder + time?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + trips?: Prisma.tripsOrderByWithRelationInput + days?: Prisma.daysOrderByWithRelationInput +} + +export type day_notesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.day_notesWhereInput | Prisma.day_notesWhereInput[] + OR?: Prisma.day_notesWhereInput[] + NOT?: Prisma.day_notesWhereInput | Prisma.day_notesWhereInput[] + day_id?: Prisma.IntFilter<"day_notes"> | number + trip_id?: Prisma.IntFilter<"day_notes"> | number + text?: Prisma.StringFilter<"day_notes"> | string + time?: Prisma.StringNullableFilter<"day_notes"> | string | null + icon?: Prisma.StringNullableFilter<"day_notes"> | string | null + sort_order?: Prisma.FloatNullableFilter<"day_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"day_notes"> | Date | string | null + trips?: Prisma.XOR + days?: Prisma.XOR +}, "id"> + +export type day_notesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + text?: Prisma.SortOrder + time?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.day_notesCountOrderByAggregateInput + _avg?: Prisma.day_notesAvgOrderByAggregateInput + _max?: Prisma.day_notesMaxOrderByAggregateInput + _min?: Prisma.day_notesMinOrderByAggregateInput + _sum?: Prisma.day_notesSumOrderByAggregateInput +} + +export type day_notesScalarWhereWithAggregatesInput = { + AND?: Prisma.day_notesScalarWhereWithAggregatesInput | Prisma.day_notesScalarWhereWithAggregatesInput[] + OR?: Prisma.day_notesScalarWhereWithAggregatesInput[] + NOT?: Prisma.day_notesScalarWhereWithAggregatesInput | Prisma.day_notesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"day_notes"> | number + day_id?: Prisma.IntWithAggregatesFilter<"day_notes"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"day_notes"> | number + text?: Prisma.StringWithAggregatesFilter<"day_notes"> | string + time?: Prisma.StringNullableWithAggregatesFilter<"day_notes"> | string | null + icon?: Prisma.StringNullableWithAggregatesFilter<"day_notes"> | string | null + sort_order?: Prisma.FloatNullableWithAggregatesFilter<"day_notes"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"day_notes"> | Date | string | null +} + +export type day_notesCreateInput = { + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null + trips: Prisma.tripsCreateNestedOneWithoutDay_notesInput + days: Prisma.daysCreateNestedOneWithoutDay_notesInput +} + +export type day_notesUncheckedCreateInput = { + id?: number + day_id: number + trip_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesUpdateInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_notesNestedInput + days?: Prisma.daysUpdateOneRequiredWithoutDay_notesNestedInput +} + +export type day_notesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesCreateManyInput = { + id?: number + day_id: number + trip_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesUpdateManyMutationInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + text?: Prisma.SortOrder + time?: Prisma.SortOrder + icon?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_notesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type day_notesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + text?: Prisma.SortOrder + time?: Prisma.SortOrder + icon?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_notesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + text?: Prisma.SortOrder + time?: Prisma.SortOrder + icon?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type day_notesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type Day_notesListRelationFilter = { + every?: Prisma.day_notesWhereInput + some?: Prisma.day_notesWhereInput + none?: Prisma.day_notesWhereInput +} + +export type day_notesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type day_notesCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutDaysInput[] | Prisma.day_notesUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutDaysInput | Prisma.day_notesCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.day_notesCreateManyDaysInputEnvelope + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] +} + +export type day_notesUncheckedCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutDaysInput[] | Prisma.day_notesUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutDaysInput | Prisma.day_notesCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.day_notesCreateManyDaysInputEnvelope + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] +} + +export type day_notesUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutDaysInput[] | Prisma.day_notesUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutDaysInput | Prisma.day_notesCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.day_notesUpsertWithWhereUniqueWithoutDaysInput | Prisma.day_notesUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.day_notesCreateManyDaysInputEnvelope + set?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + disconnect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + delete?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + update?: Prisma.day_notesUpdateWithWhereUniqueWithoutDaysInput | Prisma.day_notesUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.day_notesUpdateManyWithWhereWithoutDaysInput | Prisma.day_notesUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] +} + +export type day_notesUncheckedUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutDaysInput[] | Prisma.day_notesUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutDaysInput | Prisma.day_notesCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.day_notesUpsertWithWhereUniqueWithoutDaysInput | Prisma.day_notesUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.day_notesCreateManyDaysInputEnvelope + set?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + disconnect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + delete?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + update?: Prisma.day_notesUpdateWithWhereUniqueWithoutDaysInput | Prisma.day_notesUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.day_notesUpdateManyWithWhereWithoutDaysInput | Prisma.day_notesUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] +} + +export type day_notesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutTripsInput[] | Prisma.day_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutTripsInput | Prisma.day_notesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.day_notesCreateManyTripsInputEnvelope + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] +} + +export type day_notesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutTripsInput[] | Prisma.day_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutTripsInput | Prisma.day_notesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.day_notesCreateManyTripsInputEnvelope + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] +} + +export type day_notesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutTripsInput[] | Prisma.day_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutTripsInput | Prisma.day_notesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.day_notesUpsertWithWhereUniqueWithoutTripsInput | Prisma.day_notesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.day_notesCreateManyTripsInputEnvelope + set?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + disconnect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + delete?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + update?: Prisma.day_notesUpdateWithWhereUniqueWithoutTripsInput | Prisma.day_notesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.day_notesUpdateManyWithWhereWithoutTripsInput | Prisma.day_notesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] +} + +export type day_notesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.day_notesCreateWithoutTripsInput[] | Prisma.day_notesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.day_notesCreateOrConnectWithoutTripsInput | Prisma.day_notesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.day_notesUpsertWithWhereUniqueWithoutTripsInput | Prisma.day_notesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.day_notesCreateManyTripsInputEnvelope + set?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + disconnect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + delete?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + connect?: Prisma.day_notesWhereUniqueInput | Prisma.day_notesWhereUniqueInput[] + update?: Prisma.day_notesUpdateWithWhereUniqueWithoutTripsInput | Prisma.day_notesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.day_notesUpdateManyWithWhereWithoutTripsInput | Prisma.day_notesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] +} + +export type day_notesCreateWithoutDaysInput = { + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null + trips: Prisma.tripsCreateNestedOneWithoutDay_notesInput +} + +export type day_notesUncheckedCreateWithoutDaysInput = { + id?: number + trip_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesCreateOrConnectWithoutDaysInput = { + where: Prisma.day_notesWhereUniqueInput + create: Prisma.XOR +} + +export type day_notesCreateManyDaysInputEnvelope = { + data: Prisma.day_notesCreateManyDaysInput | Prisma.day_notesCreateManyDaysInput[] +} + +export type day_notesUpsertWithWhereUniqueWithoutDaysInput = { + where: Prisma.day_notesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_notesUpdateWithWhereUniqueWithoutDaysInput = { + where: Prisma.day_notesWhereUniqueInput + data: Prisma.XOR +} + +export type day_notesUpdateManyWithWhereWithoutDaysInput = { + where: Prisma.day_notesScalarWhereInput + data: Prisma.XOR +} + +export type day_notesScalarWhereInput = { + AND?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] + OR?: Prisma.day_notesScalarWhereInput[] + NOT?: Prisma.day_notesScalarWhereInput | Prisma.day_notesScalarWhereInput[] + id?: Prisma.IntFilter<"day_notes"> | number + day_id?: Prisma.IntFilter<"day_notes"> | number + trip_id?: Prisma.IntFilter<"day_notes"> | number + text?: Prisma.StringFilter<"day_notes"> | string + time?: Prisma.StringNullableFilter<"day_notes"> | string | null + icon?: Prisma.StringNullableFilter<"day_notes"> | string | null + sort_order?: Prisma.FloatNullableFilter<"day_notes"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"day_notes"> | Date | string | null +} + +export type day_notesCreateWithoutTripsInput = { + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null + days: Prisma.daysCreateNestedOneWithoutDay_notesInput +} + +export type day_notesUncheckedCreateWithoutTripsInput = { + id?: number + day_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesCreateOrConnectWithoutTripsInput = { + where: Prisma.day_notesWhereUniqueInput + create: Prisma.XOR +} + +export type day_notesCreateManyTripsInputEnvelope = { + data: Prisma.day_notesCreateManyTripsInput | Prisma.day_notesCreateManyTripsInput[] +} + +export type day_notesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.day_notesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type day_notesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.day_notesWhereUniqueInput + data: Prisma.XOR +} + +export type day_notesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.day_notesScalarWhereInput + data: Prisma.XOR +} + +export type day_notesCreateManyDaysInput = { + id?: number + trip_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesUpdateWithoutDaysInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutDay_notesNestedInput +} + +export type day_notesUncheckedUpdateWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesUncheckedUpdateManyWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesCreateManyTripsInput = { + id?: number + day_id: number + text: string + time?: string | null + icon?: string | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type day_notesUpdateWithoutTripsInput = { + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days?: Prisma.daysUpdateOneRequiredWithoutDay_notesNestedInput +} + +export type day_notesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type day_notesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + text?: Prisma.StringFieldUpdateOperationsInput | string + time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type day_notesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + trip_id?: boolean + text?: boolean + time?: boolean + icon?: boolean + sort_order?: boolean + created_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +}, ExtArgs["result"]["day_notes"]> + +export type day_notesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + trip_id?: boolean + text?: boolean + time?: boolean + icon?: boolean + sort_order?: boolean + created_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +}, ExtArgs["result"]["day_notes"]> + +export type day_notesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + day_id?: boolean + trip_id?: boolean + text?: boolean + time?: boolean + icon?: boolean + sort_order?: boolean + created_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +}, ExtArgs["result"]["day_notes"]> + +export type day_notesSelectScalar = { + id?: boolean + day_id?: boolean + trip_id?: boolean + text?: boolean + time?: boolean + icon?: boolean + sort_order?: boolean + created_at?: boolean +} + +export type day_notesOmit = runtime.Types.Extensions.GetOmit<"id" | "day_id" | "trip_id" | "text" | "time" | "icon" | "sort_order" | "created_at", ExtArgs["result"]["day_notes"]> +export type day_notesInclude = { + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +} +export type day_notesIncludeCreateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +} +export type day_notesIncludeUpdateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs + days?: boolean | Prisma.daysDefaultArgs +} + +export type $day_notesPayload = { + name: "day_notes" + objects: { + trips: Prisma.$tripsPayload + days: Prisma.$daysPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + day_id: number + trip_id: number + text: string + time: string | null + icon: string | null + sort_order: number | null + created_at: Date | null + }, ExtArgs["result"]["day_notes"]> + composites: {} +} + +export type day_notesGetPayload = runtime.Types.Result.GetResult + +export type day_notesCountArgs = + Omit & { + select?: Day_notesCountAggregateInputType | true + } + +export interface day_notesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['day_notes'], meta: { name: 'day_notes' } } + /** + * Find zero or one Day_notes that matches the filter. + * @param {day_notesFindUniqueArgs} args - Arguments to find a Day_notes + * @example + * // Get one Day_notes + * const day_notes = await prisma.day_notes.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Day_notes that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {day_notesFindUniqueOrThrowArgs} args - Arguments to find a Day_notes + * @example + * // Get one Day_notes + * const day_notes = await prisma.day_notes.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_notes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesFindFirstArgs} args - Arguments to find a Day_notes + * @example + * // Get one Day_notes + * const day_notes = await prisma.day_notes.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Day_notes that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesFindFirstOrThrowArgs} args - Arguments to find a Day_notes + * @example + * // Get one Day_notes + * const day_notes = await prisma.day_notes.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Day_notes that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Day_notes + * const day_notes = await prisma.day_notes.findMany() + * + * // Get first 10 Day_notes + * const day_notes = await prisma.day_notes.findMany({ take: 10 }) + * + * // Only select the `id` + * const day_notesWithIdOnly = await prisma.day_notes.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Day_notes. + * @param {day_notesCreateArgs} args - Arguments to create a Day_notes. + * @example + * // Create one Day_notes + * const Day_notes = await prisma.day_notes.create({ + * data: { + * // ... data to create a Day_notes + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Day_notes. + * @param {day_notesCreateManyArgs} args - Arguments to create many Day_notes. + * @example + * // Create many Day_notes + * const day_notes = await prisma.day_notes.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Day_notes and returns the data saved in the database. + * @param {day_notesCreateManyAndReturnArgs} args - Arguments to create many Day_notes. + * @example + * // Create many Day_notes + * const day_notes = await prisma.day_notes.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Day_notes and only return the `id` + * const day_notesWithIdOnly = await prisma.day_notes.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Day_notes. + * @param {day_notesDeleteArgs} args - Arguments to delete one Day_notes. + * @example + * // Delete one Day_notes + * const Day_notes = await prisma.day_notes.delete({ + * where: { + * // ... filter to delete one Day_notes + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Day_notes. + * @param {day_notesUpdateArgs} args - Arguments to update one Day_notes. + * @example + * // Update one Day_notes + * const day_notes = await prisma.day_notes.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Day_notes. + * @param {day_notesDeleteManyArgs} args - Arguments to filter Day_notes to delete. + * @example + * // Delete a few Day_notes + * const { count } = await prisma.day_notes.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Day_notes + * const day_notes = await prisma.day_notes.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Day_notes and returns the data updated in the database. + * @param {day_notesUpdateManyAndReturnArgs} args - Arguments to update many Day_notes. + * @example + * // Update many Day_notes + * const day_notes = await prisma.day_notes.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Day_notes and only return the `id` + * const day_notesWithIdOnly = await prisma.day_notes.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Day_notes. + * @param {day_notesUpsertArgs} args - Arguments to update or create a Day_notes. + * @example + * // Update or create a Day_notes + * const day_notes = await prisma.day_notes.upsert({ + * create: { + * // ... data to create a Day_notes + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Day_notes we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__day_notesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Day_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesCountArgs} args - Arguments to filter Day_notes to count. + * @example + * // Count the number of Day_notes + * const count = await prisma.day_notes.count({ + * where: { + * // ... the filter for the Day_notes we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Day_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Day_notesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Day_notes. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {day_notesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends day_notesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: day_notesGroupByArgs['orderBy'] } + : { orderBy?: day_notesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetDay_notesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the day_notes model + */ +readonly fields: day_notesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for day_notes. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__day_notesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + days = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the day_notes model + */ +export interface day_notesFieldRefs { + readonly id: Prisma.FieldRef<"day_notes", 'Int'> + readonly day_id: Prisma.FieldRef<"day_notes", 'Int'> + readonly trip_id: Prisma.FieldRef<"day_notes", 'Int'> + readonly text: Prisma.FieldRef<"day_notes", 'String'> + readonly time: Prisma.FieldRef<"day_notes", 'String'> + readonly icon: Prisma.FieldRef<"day_notes", 'String'> + readonly sort_order: Prisma.FieldRef<"day_notes", 'Float'> + readonly created_at: Prisma.FieldRef<"day_notes", 'DateTime'> +} + + +// Custom InputTypes +/** + * day_notes findUnique + */ +export type day_notesFindUniqueArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter, which day_notes to fetch. + */ + where: Prisma.day_notesWhereUniqueInput +} + +/** + * day_notes findUniqueOrThrow + */ +export type day_notesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter, which day_notes to fetch. + */ + where: Prisma.day_notesWhereUniqueInput +} + +/** + * day_notes findFirst + */ +export type day_notesFindFirstArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter, which day_notes to fetch. + */ + where?: Prisma.day_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_notes to fetch. + */ + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_notes. + */ + cursor?: Prisma.day_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_notes. + */ + distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[] +} + +/** + * day_notes findFirstOrThrow + */ +export type day_notesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter, which day_notes to fetch. + */ + where?: Prisma.day_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_notes to fetch. + */ + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for day_notes. + */ + cursor?: Prisma.day_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_notes. + */ + distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[] +} + +/** + * day_notes findMany + */ +export type day_notesFindManyArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter, which day_notes to fetch. + */ + where?: Prisma.day_notesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of day_notes to fetch. + */ + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing day_notes. + */ + cursor?: Prisma.day_notesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` day_notes from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` day_notes. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of day_notes. + */ + distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[] +} + +/** + * day_notes create + */ +export type day_notesCreateArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * The data needed to create a day_notes. + */ + data: Prisma.XOR +} + +/** + * day_notes createMany + */ +export type day_notesCreateManyArgs = { + /** + * The data used to create many day_notes. + */ + data: Prisma.day_notesCreateManyInput | Prisma.day_notesCreateManyInput[] +} + +/** + * day_notes createManyAndReturn + */ +export type day_notesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * The data used to create many day_notes. + */ + data: Prisma.day_notesCreateManyInput | Prisma.day_notesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesIncludeCreateManyAndReturn | null +} + +/** + * day_notes update + */ +export type day_notesUpdateArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * The data needed to update a day_notes. + */ + data: Prisma.XOR + /** + * Choose, which day_notes to update. + */ + where: Prisma.day_notesWhereUniqueInput +} + +/** + * day_notes updateMany + */ +export type day_notesUpdateManyArgs = { + /** + * The data used to update day_notes. + */ + data: Prisma.XOR + /** + * Filter which day_notes to update + */ + where?: Prisma.day_notesWhereInput + /** + * Limit how many day_notes to update. + */ + limit?: number +} + +/** + * day_notes updateManyAndReturn + */ +export type day_notesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * The data used to update day_notes. + */ + data: Prisma.XOR + /** + * Filter which day_notes to update + */ + where?: Prisma.day_notesWhereInput + /** + * Limit how many day_notes to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesIncludeUpdateManyAndReturn | null +} + +/** + * day_notes upsert + */ +export type day_notesUpsertArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * The filter to search for the day_notes to update in case it exists. + */ + where: Prisma.day_notesWhereUniqueInput + /** + * In case the day_notes found by the `where` argument doesn't exist, create a new day_notes with this data. + */ + create: Prisma.XOR + /** + * In case the day_notes was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * day_notes delete + */ +export type day_notesDeleteArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + /** + * Filter which day_notes to delete. + */ + where: Prisma.day_notesWhereUniqueInput +} + +/** + * day_notes deleteMany + */ +export type day_notesDeleteManyArgs = { + /** + * Filter which day_notes to delete + */ + where?: Prisma.day_notesWhereInput + /** + * Limit how many day_notes to delete. + */ + limit?: number +} + +/** + * day_notes without action + */ +export type day_notesDefaultArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null +} diff --git a/server/src/generated/prisma/models/days.ts b/server/src/generated/prisma/models/days.ts new file mode 100644 index 00000000..b3f3e55b --- /dev/null +++ b/server/src/generated/prisma/models/days.ts @@ -0,0 +1,2592 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `days` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model days + * + */ +export type daysModel = runtime.Types.Result.DefaultSelection + +export type AggregateDays = { + _count: DaysCountAggregateOutputType | null + _avg: DaysAvgAggregateOutputType | null + _sum: DaysSumAggregateOutputType | null + _min: DaysMinAggregateOutputType | null + _max: DaysMaxAggregateOutputType | null +} + +export type DaysAvgAggregateOutputType = { + id: number | null + trip_id: number | null + day_number: number | null +} + +export type DaysSumAggregateOutputType = { + id: number | null + trip_id: number | null + day_number: number | null +} + +export type DaysMinAggregateOutputType = { + id: number | null + trip_id: number | null + day_number: number | null + date: string | null + notes: string | null + title: string | null +} + +export type DaysMaxAggregateOutputType = { + id: number | null + trip_id: number | null + day_number: number | null + date: string | null + notes: string | null + title: string | null +} + +export type DaysCountAggregateOutputType = { + id: number + trip_id: number + day_number: number + date: number + notes: number + title: number + _all: number +} + + +export type DaysAvgAggregateInputType = { + id?: true + trip_id?: true + day_number?: true +} + +export type DaysSumAggregateInputType = { + id?: true + trip_id?: true + day_number?: true +} + +export type DaysMinAggregateInputType = { + id?: true + trip_id?: true + day_number?: true + date?: true + notes?: true + title?: true +} + +export type DaysMaxAggregateInputType = { + id?: true + trip_id?: true + day_number?: true + date?: true + notes?: true + title?: true +} + +export type DaysCountAggregateInputType = { + id?: true + trip_id?: true + day_number?: true + date?: true + notes?: true + title?: true + _all?: true +} + +export type DaysAggregateArgs = { + /** + * Filter which days to aggregate. + */ + where?: Prisma.daysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of days to fetch. + */ + orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.daysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` days from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` days. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned days + **/ + _count?: true | DaysCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: DaysAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: DaysSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: DaysMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: DaysMaxAggregateInputType +} + +export type GetDaysAggregateType = { + [P in keyof T & keyof AggregateDays]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type daysGroupByArgs = { + where?: Prisma.daysWhereInput + orderBy?: Prisma.daysOrderByWithAggregationInput | Prisma.daysOrderByWithAggregationInput[] + by: Prisma.DaysScalarFieldEnum[] | Prisma.DaysScalarFieldEnum + having?: Prisma.daysScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: DaysCountAggregateInputType | true + _avg?: DaysAvgAggregateInputType + _sum?: DaysSumAggregateInputType + _min?: DaysMinAggregateInputType + _max?: DaysMaxAggregateInputType +} + +export type DaysGroupByOutputType = { + id: number + trip_id: number + day_number: number + date: string | null + notes: string | null + title: string | null + _count: DaysCountAggregateOutputType | null + _avg: DaysAvgAggregateOutputType | null + _sum: DaysSumAggregateOutputType | null + _min: DaysMinAggregateOutputType | null + _max: DaysMaxAggregateOutputType | null +} + +export type GetDaysGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof DaysGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type daysWhereInput = { + AND?: Prisma.daysWhereInput | Prisma.daysWhereInput[] + OR?: Prisma.daysWhereInput[] + NOT?: Prisma.daysWhereInput | Prisma.daysWhereInput[] + id?: Prisma.IntFilter<"days"> | number + trip_id?: Prisma.IntFilter<"days"> | number + day_number?: Prisma.IntFilter<"days"> | number + date?: Prisma.StringNullableFilter<"days"> | string | null + notes?: Prisma.StringNullableFilter<"days"> | string | null + title?: Prisma.StringNullableFilter<"days"> | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.Day_accommodationsListRelationFilter + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.Day_accommodationsListRelationFilter + day_assignments?: Prisma.Day_assignmentsListRelationFilter + day_notes?: Prisma.Day_notesListRelationFilter + trips?: Prisma.XOR + photos?: Prisma.PhotosListRelationFilter + reservation_day_positions?: Prisma.Reservation_day_positionsListRelationFilter + reservations_reservations_end_day_idTodays?: Prisma.ReservationsListRelationFilter + reservations_reservations_day_idTodays?: Prisma.ReservationsListRelationFilter +} + +export type daysOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder + date?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrderInput | Prisma.SortOrder + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsOrderByRelationAggregateInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsOrderByRelationAggregateInput + day_assignments?: Prisma.day_assignmentsOrderByRelationAggregateInput + day_notes?: Prisma.day_notesOrderByRelationAggregateInput + trips?: Prisma.tripsOrderByWithRelationInput + photos?: Prisma.photosOrderByRelationAggregateInput + reservation_day_positions?: Prisma.reservation_day_positionsOrderByRelationAggregateInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsOrderByRelationAggregateInput + reservations_reservations_day_idTodays?: Prisma.reservationsOrderByRelationAggregateInput +} + +export type daysWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_day_number?: Prisma.daysTrip_idDay_numberCompoundUniqueInput + AND?: Prisma.daysWhereInput | Prisma.daysWhereInput[] + OR?: Prisma.daysWhereInput[] + NOT?: Prisma.daysWhereInput | Prisma.daysWhereInput[] + trip_id?: Prisma.IntFilter<"days"> | number + day_number?: Prisma.IntFilter<"days"> | number + date?: Prisma.StringNullableFilter<"days"> | string | null + notes?: Prisma.StringNullableFilter<"days"> | string | null + title?: Prisma.StringNullableFilter<"days"> | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.Day_accommodationsListRelationFilter + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.Day_accommodationsListRelationFilter + day_assignments?: Prisma.Day_assignmentsListRelationFilter + day_notes?: Prisma.Day_notesListRelationFilter + trips?: Prisma.XOR + photos?: Prisma.PhotosListRelationFilter + reservation_day_positions?: Prisma.Reservation_day_positionsListRelationFilter + reservations_reservations_end_day_idTodays?: Prisma.ReservationsListRelationFilter + reservations_reservations_day_idTodays?: Prisma.ReservationsListRelationFilter +}, "id" | "trip_id_day_number"> + +export type daysOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder + date?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.daysCountOrderByAggregateInput + _avg?: Prisma.daysAvgOrderByAggregateInput + _max?: Prisma.daysMaxOrderByAggregateInput + _min?: Prisma.daysMinOrderByAggregateInput + _sum?: Prisma.daysSumOrderByAggregateInput +} + +export type daysScalarWhereWithAggregatesInput = { + AND?: Prisma.daysScalarWhereWithAggregatesInput | Prisma.daysScalarWhereWithAggregatesInput[] + OR?: Prisma.daysScalarWhereWithAggregatesInput[] + NOT?: Prisma.daysScalarWhereWithAggregatesInput | Prisma.daysScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"days"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"days"> | number + day_number?: Prisma.IntWithAggregatesFilter<"days"> | number + date?: Prisma.StringNullableWithAggregatesFilter<"days"> | string | null + notes?: Prisma.StringNullableWithAggregatesFilter<"days"> | string | null + title?: Prisma.StringNullableWithAggregatesFilter<"days"> | string | null +} + +export type daysCreateInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUpdateInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateManyInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null +} + +export type daysUpdateManyMutationInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type daysUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type DaysScalarRelationFilter = { + is?: Prisma.daysWhereInput + isNot?: Prisma.daysWhereInput +} + +export type daysTrip_idDay_numberCompoundUniqueInput = { + trip_id: number + day_number: number +} + +export type daysCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder + date?: Prisma.SortOrder + notes?: Prisma.SortOrder + title?: Prisma.SortOrder +} + +export type daysAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder +} + +export type daysMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder + date?: Prisma.SortOrder + notes?: Prisma.SortOrder + title?: Prisma.SortOrder +} + +export type daysMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder + date?: Prisma.SortOrder + notes?: Prisma.SortOrder + title?: Prisma.SortOrder +} + +export type daysSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_number?: Prisma.SortOrder +} + +export type DaysNullableScalarRelationFilter = { + is?: Prisma.daysWhereInput | null + isNot?: Prisma.daysWhereInput | null +} + +export type DaysListRelationFilter = { + every?: Prisma.daysWhereInput + some?: Prisma.daysWhereInput + none?: Prisma.daysWhereInput +} + +export type daysOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type daysCreateNestedOneWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysCreateNestedOneWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + upsert?: Prisma.daysUpsertWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput> +} + +export type daysUpdateOneRequiredWithoutDay_accommodations_day_accommodations_start_day_idTodaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + upsert?: Prisma.daysUpsertWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput> +} + +export type daysCreateNestedOneWithoutDay_assignmentsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_assignmentsInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneRequiredWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_assignmentsInput + upsert?: Prisma.daysUpsertWithoutDay_assignmentsInput + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutDay_assignmentsInput> +} + +export type daysCreateNestedOneWithoutDay_notesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_notesInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneRequiredWithoutDay_notesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutDay_notesInput + upsert?: Prisma.daysUpsertWithoutDay_notesInput + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutDay_notesInput> +} + +export type daysCreateNestedOneWithoutPhotosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutPhotosInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneWithoutPhotosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutPhotosInput + upsert?: Prisma.daysUpsertWithoutPhotosInput + disconnect?: Prisma.daysWhereInput | boolean + delete?: Prisma.daysWhereInput | boolean + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutPhotosInput> +} + +export type daysCreateNestedOneWithoutReservation_day_positionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservation_day_positionsInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneRequiredWithoutReservation_day_positionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservation_day_positionsInput + upsert?: Prisma.daysUpsertWithoutReservation_day_positionsInput + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutReservation_day_positionsInput> +} + +export type daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservations_reservations_end_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservations_reservations_day_idTodaysInput + connect?: Prisma.daysWhereUniqueInput +} + +export type daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservations_reservations_end_day_idTodaysInput + upsert?: Prisma.daysUpsertWithoutReservations_reservations_end_day_idTodaysInput + disconnect?: Prisma.daysWhereInput | boolean + delete?: Prisma.daysWhereInput | boolean + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutReservations_reservations_end_day_idTodaysInput> +} + +export type daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.daysCreateOrConnectWithoutReservations_reservations_day_idTodaysInput + upsert?: Prisma.daysUpsertWithoutReservations_reservations_day_idTodaysInput + disconnect?: Prisma.daysWhereInput | boolean + delete?: Prisma.daysWhereInput | boolean + connect?: Prisma.daysWhereUniqueInput + update?: Prisma.XOR, Prisma.daysUncheckedUpdateWithoutReservations_reservations_day_idTodaysInput> +} + +export type daysCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.daysCreateWithoutTripsInput[] | Prisma.daysUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.daysCreateOrConnectWithoutTripsInput | Prisma.daysCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.daysCreateManyTripsInputEnvelope + connect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] +} + +export type daysUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.daysCreateWithoutTripsInput[] | Prisma.daysUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.daysCreateOrConnectWithoutTripsInput | Prisma.daysCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.daysCreateManyTripsInputEnvelope + connect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] +} + +export type daysUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.daysCreateWithoutTripsInput[] | Prisma.daysUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.daysCreateOrConnectWithoutTripsInput | Prisma.daysCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.daysUpsertWithWhereUniqueWithoutTripsInput | Prisma.daysUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.daysCreateManyTripsInputEnvelope + set?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + disconnect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + delete?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + connect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + update?: Prisma.daysUpdateWithWhereUniqueWithoutTripsInput | Prisma.daysUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.daysUpdateManyWithWhereWithoutTripsInput | Prisma.daysUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.daysScalarWhereInput | Prisma.daysScalarWhereInput[] +} + +export type daysUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.daysCreateWithoutTripsInput[] | Prisma.daysUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.daysCreateOrConnectWithoutTripsInput | Prisma.daysCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.daysUpsertWithWhereUniqueWithoutTripsInput | Prisma.daysUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.daysCreateManyTripsInputEnvelope + set?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + disconnect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + delete?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + connect?: Prisma.daysWhereUniqueInput | Prisma.daysWhereUniqueInput[] + update?: Prisma.daysUpdateWithWhereUniqueWithoutTripsInput | Prisma.daysUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.daysUpdateManyWithWhereWithoutTripsInput | Prisma.daysUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.daysScalarWhereInput | Prisma.daysScalarWhereInput[] +} + +export type daysCreateWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysCreateWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutDay_accommodations_day_accommodations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUpsertWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutDay_accommodations_day_accommodations_start_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateWithoutDay_assignmentsInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutDay_assignmentsInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutDay_assignmentsInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutDay_assignmentsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutDay_assignmentsInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutDay_assignmentsInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateWithoutDay_notesInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutDay_notesInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutDay_notesInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutDay_notesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutDay_notesInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutDay_notesInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutDay_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateWithoutPhotosInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutPhotosInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutPhotosInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutPhotosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutPhotosInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutPhotosInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutPhotosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateWithoutReservation_day_positionsInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutReservation_day_positionsInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutReservation_day_positionsInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutReservation_day_positionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutReservation_day_positionsInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutReservation_day_positionsInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutReservation_day_positionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysCreateWithoutReservations_reservations_end_day_idTodaysInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutReservations_reservations_end_day_idTodaysInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutReservations_reservations_end_day_idTodaysInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysCreateWithoutReservations_reservations_day_idTodaysInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + trips: Prisma.tripsCreateNestedOneWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutReservations_reservations_day_idTodaysInput = { + id?: number + trip_id: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutReservations_reservations_day_idTodaysInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysUpsertWithoutReservations_reservations_end_day_idTodaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutReservations_reservations_end_day_idTodaysInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutReservations_reservations_end_day_idTodaysInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutReservations_reservations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUpsertWithoutReservations_reservations_day_idTodaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.daysWhereInput +} + +export type daysUpdateToOneWithWhereWithoutReservations_reservations_day_idTodaysInput = { + where?: Prisma.daysWhereInput + data: Prisma.XOR +} + +export type daysUpdateWithoutReservations_reservations_day_idTodaysInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutReservations_reservations_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput +} + +export type daysCreateWithoutTripsInput = { + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutDaysInput + photos?: Prisma.photosCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysUncheckedCreateWithoutTripsInput = { + id?: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_end_day_idTodaysInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutDays_day_accommodations_start_day_idTodaysInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutDaysInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutDaysInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutDaysInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput +} + +export type daysCreateOrConnectWithoutTripsInput = { + where: Prisma.daysWhereUniqueInput + create: Prisma.XOR +} + +export type daysCreateManyTripsInputEnvelope = { + data: Prisma.daysCreateManyTripsInput | Prisma.daysCreateManyTripsInput[] +} + +export type daysUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.daysWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type daysUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.daysWhereUniqueInput + data: Prisma.XOR +} + +export type daysUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.daysScalarWhereInput + data: Prisma.XOR +} + +export type daysScalarWhereInput = { + AND?: Prisma.daysScalarWhereInput | Prisma.daysScalarWhereInput[] + OR?: Prisma.daysScalarWhereInput[] + NOT?: Prisma.daysScalarWhereInput | Prisma.daysScalarWhereInput[] + id?: Prisma.IntFilter<"days"> | number + trip_id?: Prisma.IntFilter<"days"> | number + day_number?: Prisma.IntFilter<"days"> | number + date?: Prisma.StringNullableFilter<"days"> | string | null + notes?: Prisma.StringNullableFilter<"days"> | string | null + title?: Prisma.StringNullableFilter<"days"> | string | null +} + +export type daysCreateManyTripsInput = { + id?: number + day_number: number + date?: string | null + notes?: string | null + title?: string | null +} + +export type daysUpdateWithoutTripsInput = { + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations_day_accommodations_end_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_end_day_idTodaysNestedInput + day_accommodations_day_accommodations_start_day_idTodays?: Prisma.day_accommodationsUncheckedUpdateManyWithoutDays_day_accommodations_start_day_idTodaysNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutDaysNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutDaysNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutDaysNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput + reservations_reservations_end_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput + reservations_reservations_day_idTodays?: Prisma.reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput +} + +export type daysUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_number?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type DaysCountOutputType + */ + +export type DaysCountOutputType = { + day_accommodations_day_accommodations_end_day_idTodays: number + day_accommodations_day_accommodations_start_day_idTodays: number + day_assignments: number + day_notes: number + photos: number + reservation_day_positions: number + reservations_reservations_end_day_idTodays: number + reservations_reservations_day_idTodays: number +} + +export type DaysCountOutputTypeSelect = { + day_accommodations_day_accommodations_end_day_idTodays?: boolean | DaysCountOutputTypeCountDay_accommodations_day_accommodations_end_day_idTodaysArgs + day_accommodations_day_accommodations_start_day_idTodays?: boolean | DaysCountOutputTypeCountDay_accommodations_day_accommodations_start_day_idTodaysArgs + day_assignments?: boolean | DaysCountOutputTypeCountDay_assignmentsArgs + day_notes?: boolean | DaysCountOutputTypeCountDay_notesArgs + photos?: boolean | DaysCountOutputTypeCountPhotosArgs + reservation_day_positions?: boolean | DaysCountOutputTypeCountReservation_day_positionsArgs + reservations_reservations_end_day_idTodays?: boolean | DaysCountOutputTypeCountReservations_reservations_end_day_idTodaysArgs + reservations_reservations_day_idTodays?: boolean | DaysCountOutputTypeCountReservations_reservations_day_idTodaysArgs +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the DaysCountOutputType + */ + select?: Prisma.DaysCountOutputTypeSelect | null +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountDay_accommodations_day_accommodations_end_day_idTodaysArgs = { + where?: Prisma.day_accommodationsWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountDay_accommodations_day_accommodations_start_day_idTodaysArgs = { + where?: Prisma.day_accommodationsWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountDay_assignmentsArgs = { + where?: Prisma.day_assignmentsWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountDay_notesArgs = { + where?: Prisma.day_notesWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountPhotosArgs = { + where?: Prisma.photosWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountReservation_day_positionsArgs = { + where?: Prisma.reservation_day_positionsWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountReservations_reservations_end_day_idTodaysArgs = { + where?: Prisma.reservationsWhereInput +} + +/** + * DaysCountOutputType without action + */ +export type DaysCountOutputTypeCountReservations_reservations_day_idTodaysArgs = { + where?: Prisma.reservationsWhereInput +} + + +export type daysSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_number?: boolean + date?: boolean + notes?: boolean + title?: boolean + day_accommodations_day_accommodations_end_day_idTodays?: boolean | Prisma.days$day_accommodations_day_accommodations_end_day_idTodaysArgs + day_accommodations_day_accommodations_start_day_idTodays?: boolean | Prisma.days$day_accommodations_day_accommodations_start_day_idTodaysArgs + day_assignments?: boolean | Prisma.days$day_assignmentsArgs + day_notes?: boolean | Prisma.days$day_notesArgs + trips?: boolean | Prisma.tripsDefaultArgs + photos?: boolean | Prisma.days$photosArgs + reservation_day_positions?: boolean | Prisma.days$reservation_day_positionsArgs + reservations_reservations_end_day_idTodays?: boolean | Prisma.days$reservations_reservations_end_day_idTodaysArgs + reservations_reservations_day_idTodays?: boolean | Prisma.days$reservations_reservations_day_idTodaysArgs + _count?: boolean | Prisma.DaysCountOutputTypeDefaultArgs +}, ExtArgs["result"]["days"]> + +export type daysSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_number?: boolean + date?: boolean + notes?: boolean + title?: boolean + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["days"]> + +export type daysSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_number?: boolean + date?: boolean + notes?: boolean + title?: boolean + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["days"]> + +export type daysSelectScalar = { + id?: boolean + trip_id?: boolean + day_number?: boolean + date?: boolean + notes?: boolean + title?: boolean +} + +export type daysOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "day_number" | "date" | "notes" | "title", ExtArgs["result"]["days"]> +export type daysInclude = { + day_accommodations_day_accommodations_end_day_idTodays?: boolean | Prisma.days$day_accommodations_day_accommodations_end_day_idTodaysArgs + day_accommodations_day_accommodations_start_day_idTodays?: boolean | Prisma.days$day_accommodations_day_accommodations_start_day_idTodaysArgs + day_assignments?: boolean | Prisma.days$day_assignmentsArgs + day_notes?: boolean | Prisma.days$day_notesArgs + trips?: boolean | Prisma.tripsDefaultArgs + photos?: boolean | Prisma.days$photosArgs + reservation_day_positions?: boolean | Prisma.days$reservation_day_positionsArgs + reservations_reservations_end_day_idTodays?: boolean | Prisma.days$reservations_reservations_end_day_idTodaysArgs + reservations_reservations_day_idTodays?: boolean | Prisma.days$reservations_reservations_day_idTodaysArgs + _count?: boolean | Prisma.DaysCountOutputTypeDefaultArgs +} +export type daysIncludeCreateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs +} +export type daysIncludeUpdateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $daysPayload = { + name: "days" + objects: { + day_accommodations_day_accommodations_end_day_idTodays: Prisma.$day_accommodationsPayload[] + day_accommodations_day_accommodations_start_day_idTodays: Prisma.$day_accommodationsPayload[] + day_assignments: Prisma.$day_assignmentsPayload[] + day_notes: Prisma.$day_notesPayload[] + trips: Prisma.$tripsPayload + photos: Prisma.$photosPayload[] + reservation_day_positions: Prisma.$reservation_day_positionsPayload[] + reservations_reservations_end_day_idTodays: Prisma.$reservationsPayload[] + reservations_reservations_day_idTodays: Prisma.$reservationsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + day_number: number + date: string | null + notes: string | null + title: string | null + }, ExtArgs["result"]["days"]> + composites: {} +} + +export type daysGetPayload = runtime.Types.Result.GetResult + +export type daysCountArgs = + Omit & { + select?: DaysCountAggregateInputType | true + } + +export interface daysDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['days'], meta: { name: 'days' } } + /** + * Find zero or one Days that matches the filter. + * @param {daysFindUniqueArgs} args - Arguments to find a Days + * @example + * // Get one Days + * const days = await prisma.days.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Days that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {daysFindUniqueOrThrowArgs} args - Arguments to find a Days + * @example + * // Get one Days + * const days = await prisma.days.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Days that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysFindFirstArgs} args - Arguments to find a Days + * @example + * // Get one Days + * const days = await prisma.days.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Days that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysFindFirstOrThrowArgs} args - Arguments to find a Days + * @example + * // Get one Days + * const days = await prisma.days.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Days that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Days + * const days = await prisma.days.findMany() + * + * // Get first 10 Days + * const days = await prisma.days.findMany({ take: 10 }) + * + * // Only select the `id` + * const daysWithIdOnly = await prisma.days.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Days. + * @param {daysCreateArgs} args - Arguments to create a Days. + * @example + * // Create one Days + * const Days = await prisma.days.create({ + * data: { + * // ... data to create a Days + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Days. + * @param {daysCreateManyArgs} args - Arguments to create many Days. + * @example + * // Create many Days + * const days = await prisma.days.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Days and returns the data saved in the database. + * @param {daysCreateManyAndReturnArgs} args - Arguments to create many Days. + * @example + * // Create many Days + * const days = await prisma.days.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Days and only return the `id` + * const daysWithIdOnly = await prisma.days.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Days. + * @param {daysDeleteArgs} args - Arguments to delete one Days. + * @example + * // Delete one Days + * const Days = await prisma.days.delete({ + * where: { + * // ... filter to delete one Days + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Days. + * @param {daysUpdateArgs} args - Arguments to update one Days. + * @example + * // Update one Days + * const days = await prisma.days.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Days. + * @param {daysDeleteManyArgs} args - Arguments to filter Days to delete. + * @example + * // Delete a few Days + * const { count } = await prisma.days.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Days. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Days + * const days = await prisma.days.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Days and returns the data updated in the database. + * @param {daysUpdateManyAndReturnArgs} args - Arguments to update many Days. + * @example + * // Update many Days + * const days = await prisma.days.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Days and only return the `id` + * const daysWithIdOnly = await prisma.days.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Days. + * @param {daysUpsertArgs} args - Arguments to update or create a Days. + * @example + * // Update or create a Days + * const days = await prisma.days.upsert({ + * create: { + * // ... data to create a Days + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Days we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__daysClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Days. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysCountArgs} args - Arguments to filter Days to count. + * @example + * // Count the number of Days + * const count = await prisma.days.count({ + * where: { + * // ... the filter for the Days we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Days. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {DaysAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Days. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {daysGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends daysGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: daysGroupByArgs['orderBy'] } + : { orderBy?: daysGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetDaysGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the days model + */ +readonly fields: daysFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for days. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__daysClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + day_accommodations_day_accommodations_end_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_accommodations_day_accommodations_start_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_assignments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_notes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservation_day_positions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservations_reservations_end_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservations_reservations_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the days model + */ +export interface daysFieldRefs { + readonly id: Prisma.FieldRef<"days", 'Int'> + readonly trip_id: Prisma.FieldRef<"days", 'Int'> + readonly day_number: Prisma.FieldRef<"days", 'Int'> + readonly date: Prisma.FieldRef<"days", 'String'> + readonly notes: Prisma.FieldRef<"days", 'String'> + readonly title: Prisma.FieldRef<"days", 'String'> +} + + +// Custom InputTypes +/** + * days findUnique + */ +export type daysFindUniqueArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter, which days to fetch. + */ + where: Prisma.daysWhereUniqueInput +} + +/** + * days findUniqueOrThrow + */ +export type daysFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter, which days to fetch. + */ + where: Prisma.daysWhereUniqueInput +} + +/** + * days findFirst + */ +export type daysFindFirstArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter, which days to fetch. + */ + where?: Prisma.daysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of days to fetch. + */ + orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for days. + */ + cursor?: Prisma.daysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` days from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` days. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of days. + */ + distinct?: Prisma.DaysScalarFieldEnum | Prisma.DaysScalarFieldEnum[] +} + +/** + * days findFirstOrThrow + */ +export type daysFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter, which days to fetch. + */ + where?: Prisma.daysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of days to fetch. + */ + orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for days. + */ + cursor?: Prisma.daysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` days from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` days. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of days. + */ + distinct?: Prisma.DaysScalarFieldEnum | Prisma.DaysScalarFieldEnum[] +} + +/** + * days findMany + */ +export type daysFindManyArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter, which days to fetch. + */ + where?: Prisma.daysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of days to fetch. + */ + orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing days. + */ + cursor?: Prisma.daysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` days from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` days. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of days. + */ + distinct?: Prisma.DaysScalarFieldEnum | Prisma.DaysScalarFieldEnum[] +} + +/** + * days create + */ +export type daysCreateArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * The data needed to create a days. + */ + data: Prisma.XOR +} + +/** + * days createMany + */ +export type daysCreateManyArgs = { + /** + * The data used to create many days. + */ + data: Prisma.daysCreateManyInput | Prisma.daysCreateManyInput[] +} + +/** + * days createManyAndReturn + */ +export type daysCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelectCreateManyAndReturn | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * The data used to create many days. + */ + data: Prisma.daysCreateManyInput | Prisma.daysCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysIncludeCreateManyAndReturn | null +} + +/** + * days update + */ +export type daysUpdateArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * The data needed to update a days. + */ + data: Prisma.XOR + /** + * Choose, which days to update. + */ + where: Prisma.daysWhereUniqueInput +} + +/** + * days updateMany + */ +export type daysUpdateManyArgs = { + /** + * The data used to update days. + */ + data: Prisma.XOR + /** + * Filter which days to update + */ + where?: Prisma.daysWhereInput + /** + * Limit how many days to update. + */ + limit?: number +} + +/** + * days updateManyAndReturn + */ +export type daysUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * The data used to update days. + */ + data: Prisma.XOR + /** + * Filter which days to update + */ + where?: Prisma.daysWhereInput + /** + * Limit how many days to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysIncludeUpdateManyAndReturn | null +} + +/** + * days upsert + */ +export type daysUpsertArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * The filter to search for the days to update in case it exists. + */ + where: Prisma.daysWhereUniqueInput + /** + * In case the days found by the `where` argument doesn't exist, create a new days with this data. + */ + create: Prisma.XOR + /** + * In case the days was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * days delete + */ +export type daysDeleteArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + /** + * Filter which days to delete. + */ + where: Prisma.daysWhereUniqueInput +} + +/** + * days deleteMany + */ +export type daysDeleteManyArgs = { + /** + * Filter which days to delete + */ + where?: Prisma.daysWhereInput + /** + * Limit how many days to delete. + */ + limit?: number +} + +/** + * days.day_accommodations_day_accommodations_end_day_idTodays + */ +export type days$day_accommodations_day_accommodations_end_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + where?: Prisma.day_accommodationsWhereInput + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + cursor?: Prisma.day_accommodationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * days.day_accommodations_day_accommodations_start_day_idTodays + */ +export type days$day_accommodations_day_accommodations_start_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + where?: Prisma.day_accommodationsWhereInput + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + cursor?: Prisma.day_accommodationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * days.day_assignments + */ +export type days$day_assignmentsArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + where?: Prisma.day_assignmentsWhereInput + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + cursor?: Prisma.day_assignmentsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_assignmentsScalarFieldEnum | Prisma.Day_assignmentsScalarFieldEnum[] +} + +/** + * days.day_notes + */ +export type days$day_notesArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + where?: Prisma.day_notesWhereInput + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + cursor?: Prisma.day_notesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[] +} + +/** + * days.photos + */ +export type days$photosArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + where?: Prisma.photosWhereInput + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + cursor?: Prisma.photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * days.reservation_day_positions + */ +export type days$reservation_day_positionsArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + where?: Prisma.reservation_day_positionsWhereInput + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Reservation_day_positionsScalarFieldEnum | Prisma.Reservation_day_positionsScalarFieldEnum[] +} + +/** + * days.reservations_reservations_end_day_idTodays + */ +export type days$reservations_reservations_end_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + cursor?: Prisma.reservationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * days.reservations_reservations_day_idTodays + */ +export type days$reservations_reservations_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + cursor?: Prisma.reservationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * days without action + */ +export type daysDefaultArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null +} diff --git a/server/src/generated/prisma/models/file_links.ts b/server/src/generated/prisma/models/file_links.ts new file mode 100644 index 00000000..ffedbbc1 --- /dev/null +++ b/server/src/generated/prisma/models/file_links.ts @@ -0,0 +1,1884 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `file_links` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model file_links + * + */ +export type file_linksModel = runtime.Types.Result.DefaultSelection + +export type AggregateFile_links = { + _count: File_linksCountAggregateOutputType | null + _avg: File_linksAvgAggregateOutputType | null + _sum: File_linksSumAggregateOutputType | null + _min: File_linksMinAggregateOutputType | null + _max: File_linksMaxAggregateOutputType | null +} + +export type File_linksAvgAggregateOutputType = { + id: number | null + file_id: number | null + reservation_id: number | null + assignment_id: number | null + place_id: number | null +} + +export type File_linksSumAggregateOutputType = { + id: number | null + file_id: number | null + reservation_id: number | null + assignment_id: number | null + place_id: number | null +} + +export type File_linksMinAggregateOutputType = { + id: number | null + file_id: number | null + reservation_id: number | null + assignment_id: number | null + place_id: number | null + created_at: Date | null +} + +export type File_linksMaxAggregateOutputType = { + id: number | null + file_id: number | null + reservation_id: number | null + assignment_id: number | null + place_id: number | null + created_at: Date | null +} + +export type File_linksCountAggregateOutputType = { + id: number + file_id: number + reservation_id: number + assignment_id: number + place_id: number + created_at: number + _all: number +} + + +export type File_linksAvgAggregateInputType = { + id?: true + file_id?: true + reservation_id?: true + assignment_id?: true + place_id?: true +} + +export type File_linksSumAggregateInputType = { + id?: true + file_id?: true + reservation_id?: true + assignment_id?: true + place_id?: true +} + +export type File_linksMinAggregateInputType = { + id?: true + file_id?: true + reservation_id?: true + assignment_id?: true + place_id?: true + created_at?: true +} + +export type File_linksMaxAggregateInputType = { + id?: true + file_id?: true + reservation_id?: true + assignment_id?: true + place_id?: true + created_at?: true +} + +export type File_linksCountAggregateInputType = { + id?: true + file_id?: true + reservation_id?: true + assignment_id?: true + place_id?: true + created_at?: true + _all?: true +} + +export type File_linksAggregateArgs = { + /** + * Filter which file_links to aggregate. + */ + where?: Prisma.file_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of file_links to fetch. + */ + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.file_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` file_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` file_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned file_links + **/ + _count?: true | File_linksCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: File_linksAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: File_linksSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: File_linksMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: File_linksMaxAggregateInputType +} + +export type GetFile_linksAggregateType = { + [P in keyof T & keyof AggregateFile_links]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type file_linksGroupByArgs = { + where?: Prisma.file_linksWhereInput + orderBy?: Prisma.file_linksOrderByWithAggregationInput | Prisma.file_linksOrderByWithAggregationInput[] + by: Prisma.File_linksScalarFieldEnum[] | Prisma.File_linksScalarFieldEnum + having?: Prisma.file_linksScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: File_linksCountAggregateInputType | true + _avg?: File_linksAvgAggregateInputType + _sum?: File_linksSumAggregateInputType + _min?: File_linksMinAggregateInputType + _max?: File_linksMaxAggregateInputType +} + +export type File_linksGroupByOutputType = { + id: number + file_id: number + reservation_id: number | null + assignment_id: number | null + place_id: number | null + created_at: Date | null + _count: File_linksCountAggregateOutputType | null + _avg: File_linksAvgAggregateOutputType | null + _sum: File_linksSumAggregateOutputType | null + _min: File_linksMinAggregateOutputType | null + _max: File_linksMaxAggregateOutputType | null +} + +export type GetFile_linksGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof File_linksGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type file_linksWhereInput = { + AND?: Prisma.file_linksWhereInput | Prisma.file_linksWhereInput[] + OR?: Prisma.file_linksWhereInput[] + NOT?: Prisma.file_linksWhereInput | Prisma.file_linksWhereInput[] + id?: Prisma.IntFilter<"file_links"> | number + file_id?: Prisma.IntFilter<"file_links"> | number + reservation_id?: Prisma.IntNullableFilter<"file_links"> | number | null + assignment_id?: Prisma.IntNullableFilter<"file_links"> | number | null + place_id?: Prisma.IntNullableFilter<"file_links"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"file_links"> | Date | string | null + places?: Prisma.XOR | null + day_assignments?: Prisma.XOR | null + reservations?: Prisma.XOR | null + trip_files?: Prisma.XOR +} + +export type file_linksOrderByWithRelationInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + places?: Prisma.placesOrderByWithRelationInput + day_assignments?: Prisma.day_assignmentsOrderByWithRelationInput + reservations?: Prisma.reservationsOrderByWithRelationInput + trip_files?: Prisma.trip_filesOrderByWithRelationInput +} + +export type file_linksWhereUniqueInput = Prisma.AtLeast<{ + id?: number + file_id_place_id?: Prisma.file_linksFile_idPlace_idCompoundUniqueInput + file_id_assignment_id?: Prisma.file_linksFile_idAssignment_idCompoundUniqueInput + file_id_reservation_id?: Prisma.file_linksFile_idReservation_idCompoundUniqueInput + AND?: Prisma.file_linksWhereInput | Prisma.file_linksWhereInput[] + OR?: Prisma.file_linksWhereInput[] + NOT?: Prisma.file_linksWhereInput | Prisma.file_linksWhereInput[] + file_id?: Prisma.IntFilter<"file_links"> | number + reservation_id?: Prisma.IntNullableFilter<"file_links"> | number | null + assignment_id?: Prisma.IntNullableFilter<"file_links"> | number | null + place_id?: Prisma.IntNullableFilter<"file_links"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"file_links"> | Date | string | null + places?: Prisma.XOR | null + day_assignments?: Prisma.XOR | null + reservations?: Prisma.XOR | null + trip_files?: Prisma.XOR +}, "id" | "file_id_place_id" | "file_id_assignment_id" | "file_id_reservation_id"> + +export type file_linksOrderByWithAggregationInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.file_linksCountOrderByAggregateInput + _avg?: Prisma.file_linksAvgOrderByAggregateInput + _max?: Prisma.file_linksMaxOrderByAggregateInput + _min?: Prisma.file_linksMinOrderByAggregateInput + _sum?: Prisma.file_linksSumOrderByAggregateInput +} + +export type file_linksScalarWhereWithAggregatesInput = { + AND?: Prisma.file_linksScalarWhereWithAggregatesInput | Prisma.file_linksScalarWhereWithAggregatesInput[] + OR?: Prisma.file_linksScalarWhereWithAggregatesInput[] + NOT?: Prisma.file_linksScalarWhereWithAggregatesInput | Prisma.file_linksScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"file_links"> | number + file_id?: Prisma.IntWithAggregatesFilter<"file_links"> | number + reservation_id?: Prisma.IntNullableWithAggregatesFilter<"file_links"> | number | null + assignment_id?: Prisma.IntNullableWithAggregatesFilter<"file_links"> | number | null + place_id?: Prisma.IntNullableWithAggregatesFilter<"file_links"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"file_links"> | Date | string | null +} + +export type file_linksCreateInput = { + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutFile_linksInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutFile_linksInput + reservations?: Prisma.reservationsCreateNestedOneWithoutFile_linksInput + trip_files: Prisma.trip_filesCreateNestedOneWithoutFile_linksInput +} + +export type file_linksUncheckedCreateInput = { + id?: number + file_id: number + reservation_id?: number | null + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutFile_linksNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutFile_linksNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutFile_linksNestedInput + trip_files?: Prisma.trip_filesUpdateOneRequiredWithoutFile_linksNestedInput +} + +export type file_linksUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksCreateManyInput = { + id?: number + file_id: number + reservation_id?: number | null + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateManyMutationInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type File_linksListRelationFilter = { + every?: Prisma.file_linksWhereInput + some?: Prisma.file_linksWhereInput + none?: Prisma.file_linksWhereInput +} + +export type file_linksOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type file_linksFile_idPlace_idCompoundUniqueInput = { + file_id: number + place_id: number +} + +export type file_linksFile_idAssignment_idCompoundUniqueInput = { + file_id: number + assignment_id: number +} + +export type file_linksFile_idReservation_idCompoundUniqueInput = { + file_id: number + reservation_id: number +} + +export type file_linksCountOrderByAggregateInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type file_linksAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder +} + +export type file_linksMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type file_linksMinOrderByAggregateInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type file_linksSumOrderByAggregateInput = { + id?: Prisma.SortOrder + file_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder +} + +export type file_linksCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutDay_assignmentsInput[] | Prisma.file_linksUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput | Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.file_linksCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUncheckedCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutDay_assignmentsInput[] | Prisma.file_linksUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput | Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.file_linksCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutDay_assignmentsInput[] | Prisma.file_linksUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput | Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.file_linksUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.file_linksCreateManyDay_assignmentsInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.file_linksUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.file_linksUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksUncheckedUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutDay_assignmentsInput[] | Prisma.file_linksUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput | Prisma.file_linksCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.file_linksUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.file_linksCreateManyDay_assignmentsInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.file_linksUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.file_linksUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutPlacesInput[] | Prisma.file_linksUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutPlacesInput | Prisma.file_linksCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.file_linksCreateManyPlacesInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutPlacesInput[] | Prisma.file_linksUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutPlacesInput | Prisma.file_linksCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.file_linksCreateManyPlacesInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutPlacesInput[] | Prisma.file_linksUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutPlacesInput | Prisma.file_linksCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutPlacesInput | Prisma.file_linksUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.file_linksCreateManyPlacesInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutPlacesInput | Prisma.file_linksUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutPlacesInput | Prisma.file_linksUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutPlacesInput[] | Prisma.file_linksUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutPlacesInput | Prisma.file_linksCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutPlacesInput | Prisma.file_linksUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.file_linksCreateManyPlacesInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutPlacesInput | Prisma.file_linksUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutPlacesInput | Prisma.file_linksUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutReservationsInput[] | Prisma.file_linksUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutReservationsInput | Prisma.file_linksCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.file_linksCreateManyReservationsInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUncheckedCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutReservationsInput[] | Prisma.file_linksUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutReservationsInput | Prisma.file_linksCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.file_linksCreateManyReservationsInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutReservationsInput[] | Prisma.file_linksUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutReservationsInput | Prisma.file_linksCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutReservationsInput | Prisma.file_linksUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.file_linksCreateManyReservationsInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutReservationsInput | Prisma.file_linksUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutReservationsInput | Prisma.file_linksUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksUncheckedUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutReservationsInput[] | Prisma.file_linksUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutReservationsInput | Prisma.file_linksCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutReservationsInput | Prisma.file_linksUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.file_linksCreateManyReservationsInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutReservationsInput | Prisma.file_linksUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutReservationsInput | Prisma.file_linksUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksCreateNestedManyWithoutTrip_filesInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutTrip_filesInput[] | Prisma.file_linksUncheckedCreateWithoutTrip_filesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutTrip_filesInput | Prisma.file_linksCreateOrConnectWithoutTrip_filesInput[] + createMany?: Prisma.file_linksCreateManyTrip_filesInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUncheckedCreateNestedManyWithoutTrip_filesInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutTrip_filesInput[] | Prisma.file_linksUncheckedCreateWithoutTrip_filesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutTrip_filesInput | Prisma.file_linksCreateOrConnectWithoutTrip_filesInput[] + createMany?: Prisma.file_linksCreateManyTrip_filesInputEnvelope + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] +} + +export type file_linksUpdateManyWithoutTrip_filesNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutTrip_filesInput[] | Prisma.file_linksUncheckedCreateWithoutTrip_filesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutTrip_filesInput | Prisma.file_linksCreateOrConnectWithoutTrip_filesInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutTrip_filesInput | Prisma.file_linksUpsertWithWhereUniqueWithoutTrip_filesInput[] + createMany?: Prisma.file_linksCreateManyTrip_filesInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutTrip_filesInput | Prisma.file_linksUpdateWithWhereUniqueWithoutTrip_filesInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutTrip_filesInput | Prisma.file_linksUpdateManyWithWhereWithoutTrip_filesInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput = { + create?: Prisma.XOR | Prisma.file_linksCreateWithoutTrip_filesInput[] | Prisma.file_linksUncheckedCreateWithoutTrip_filesInput[] + connectOrCreate?: Prisma.file_linksCreateOrConnectWithoutTrip_filesInput | Prisma.file_linksCreateOrConnectWithoutTrip_filesInput[] + upsert?: Prisma.file_linksUpsertWithWhereUniqueWithoutTrip_filesInput | Prisma.file_linksUpsertWithWhereUniqueWithoutTrip_filesInput[] + createMany?: Prisma.file_linksCreateManyTrip_filesInputEnvelope + set?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + disconnect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + delete?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + connect?: Prisma.file_linksWhereUniqueInput | Prisma.file_linksWhereUniqueInput[] + update?: Prisma.file_linksUpdateWithWhereUniqueWithoutTrip_filesInput | Prisma.file_linksUpdateWithWhereUniqueWithoutTrip_filesInput[] + updateMany?: Prisma.file_linksUpdateManyWithWhereWithoutTrip_filesInput | Prisma.file_linksUpdateManyWithWhereWithoutTrip_filesInput[] + deleteMany?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] +} + +export type file_linksCreateWithoutDay_assignmentsInput = { + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutFile_linksInput + reservations?: Prisma.reservationsCreateNestedOneWithoutFile_linksInput + trip_files: Prisma.trip_filesCreateNestedOneWithoutFile_linksInput +} + +export type file_linksUncheckedCreateWithoutDay_assignmentsInput = { + id?: number + file_id: number + reservation_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksCreateOrConnectWithoutDay_assignmentsInput = { + where: Prisma.file_linksWhereUniqueInput + create: Prisma.XOR +} + +export type file_linksCreateManyDay_assignmentsInputEnvelope = { + data: Prisma.file_linksCreateManyDay_assignmentsInput | Prisma.file_linksCreateManyDay_assignmentsInput[] +} + +export type file_linksUpsertWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.file_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type file_linksUpdateWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.file_linksWhereUniqueInput + data: Prisma.XOR +} + +export type file_linksUpdateManyWithWhereWithoutDay_assignmentsInput = { + where: Prisma.file_linksScalarWhereInput + data: Prisma.XOR +} + +export type file_linksScalarWhereInput = { + AND?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] + OR?: Prisma.file_linksScalarWhereInput[] + NOT?: Prisma.file_linksScalarWhereInput | Prisma.file_linksScalarWhereInput[] + id?: Prisma.IntFilter<"file_links"> | number + file_id?: Prisma.IntFilter<"file_links"> | number + reservation_id?: Prisma.IntNullableFilter<"file_links"> | number | null + assignment_id?: Prisma.IntNullableFilter<"file_links"> | number | null + place_id?: Prisma.IntNullableFilter<"file_links"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"file_links"> | Date | string | null +} + +export type file_linksCreateWithoutPlacesInput = { + created_at?: Date | string | null + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutFile_linksInput + reservations?: Prisma.reservationsCreateNestedOneWithoutFile_linksInput + trip_files: Prisma.trip_filesCreateNestedOneWithoutFile_linksInput +} + +export type file_linksUncheckedCreateWithoutPlacesInput = { + id?: number + file_id: number + reservation_id?: number | null + assignment_id?: number | null + created_at?: Date | string | null +} + +export type file_linksCreateOrConnectWithoutPlacesInput = { + where: Prisma.file_linksWhereUniqueInput + create: Prisma.XOR +} + +export type file_linksCreateManyPlacesInputEnvelope = { + data: Prisma.file_linksCreateManyPlacesInput | Prisma.file_linksCreateManyPlacesInput[] +} + +export type file_linksUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.file_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type file_linksUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.file_linksWhereUniqueInput + data: Prisma.XOR +} + +export type file_linksUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.file_linksScalarWhereInput + data: Prisma.XOR +} + +export type file_linksCreateWithoutReservationsInput = { + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutFile_linksInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutFile_linksInput + trip_files: Prisma.trip_filesCreateNestedOneWithoutFile_linksInput +} + +export type file_linksUncheckedCreateWithoutReservationsInput = { + id?: number + file_id: number + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksCreateOrConnectWithoutReservationsInput = { + where: Prisma.file_linksWhereUniqueInput + create: Prisma.XOR +} + +export type file_linksCreateManyReservationsInputEnvelope = { + data: Prisma.file_linksCreateManyReservationsInput | Prisma.file_linksCreateManyReservationsInput[] +} + +export type file_linksUpsertWithWhereUniqueWithoutReservationsInput = { + where: Prisma.file_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type file_linksUpdateWithWhereUniqueWithoutReservationsInput = { + where: Prisma.file_linksWhereUniqueInput + data: Prisma.XOR +} + +export type file_linksUpdateManyWithWhereWithoutReservationsInput = { + where: Prisma.file_linksScalarWhereInput + data: Prisma.XOR +} + +export type file_linksCreateWithoutTrip_filesInput = { + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutFile_linksInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutFile_linksInput + reservations?: Prisma.reservationsCreateNestedOneWithoutFile_linksInput +} + +export type file_linksUncheckedCreateWithoutTrip_filesInput = { + id?: number + reservation_id?: number | null + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.file_linksWhereUniqueInput + create: Prisma.XOR +} + +export type file_linksCreateManyTrip_filesInputEnvelope = { + data: Prisma.file_linksCreateManyTrip_filesInput | Prisma.file_linksCreateManyTrip_filesInput[] +} + +export type file_linksUpsertWithWhereUniqueWithoutTrip_filesInput = { + where: Prisma.file_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type file_linksUpdateWithWhereUniqueWithoutTrip_filesInput = { + where: Prisma.file_linksWhereUniqueInput + data: Prisma.XOR +} + +export type file_linksUpdateManyWithWhereWithoutTrip_filesInput = { + where: Prisma.file_linksScalarWhereInput + data: Prisma.XOR +} + +export type file_linksCreateManyDay_assignmentsInput = { + id?: number + file_id: number + reservation_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateWithoutDay_assignmentsInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutFile_linksNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutFile_linksNestedInput + trip_files?: Prisma.trip_filesUpdateOneRequiredWithoutFile_linksNestedInput +} + +export type file_linksUncheckedUpdateWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksUncheckedUpdateManyWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksCreateManyPlacesInput = { + id?: number + file_id: number + reservation_id?: number | null + assignment_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateWithoutPlacesInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutFile_linksNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutFile_linksNestedInput + trip_files?: Prisma.trip_filesUpdateOneRequiredWithoutFile_linksNestedInput +} + +export type file_linksUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksCreateManyReservationsInput = { + id?: number + file_id: number + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateWithoutReservationsInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutFile_linksNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutFile_linksNestedInput + trip_files?: Prisma.trip_filesUpdateOneRequiredWithoutFile_linksNestedInput +} + +export type file_linksUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksUncheckedUpdateManyWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + file_id?: Prisma.IntFieldUpdateOperationsInput | number + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksCreateManyTrip_filesInput = { + id?: number + reservation_id?: number | null + assignment_id?: number | null + place_id?: number | null + created_at?: Date | string | null +} + +export type file_linksUpdateWithoutTrip_filesInput = { + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutFile_linksNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutFile_linksNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutFile_linksNestedInput +} + +export type file_linksUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type file_linksUncheckedUpdateManyWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type file_linksSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + file_id?: boolean + reservation_id?: boolean + assignment_id?: boolean + place_id?: boolean + created_at?: boolean + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +}, ExtArgs["result"]["file_links"]> + +export type file_linksSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + file_id?: boolean + reservation_id?: boolean + assignment_id?: boolean + place_id?: boolean + created_at?: boolean + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +}, ExtArgs["result"]["file_links"]> + +export type file_linksSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + file_id?: boolean + reservation_id?: boolean + assignment_id?: boolean + place_id?: boolean + created_at?: boolean + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +}, ExtArgs["result"]["file_links"]> + +export type file_linksSelectScalar = { + id?: boolean + file_id?: boolean + reservation_id?: boolean + assignment_id?: boolean + place_id?: boolean + created_at?: boolean +} + +export type file_linksOmit = runtime.Types.Extensions.GetOmit<"id" | "file_id" | "reservation_id" | "assignment_id" | "place_id" | "created_at", ExtArgs["result"]["file_links"]> +export type file_linksInclude = { + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +} +export type file_linksIncludeCreateManyAndReturn = { + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +} +export type file_linksIncludeUpdateManyAndReturn = { + places?: boolean | Prisma.file_links$placesArgs + day_assignments?: boolean | Prisma.file_links$day_assignmentsArgs + reservations?: boolean | Prisma.file_links$reservationsArgs + trip_files?: boolean | Prisma.trip_filesDefaultArgs +} + +export type $file_linksPayload = { + name: "file_links" + objects: { + places: Prisma.$placesPayload | null + day_assignments: Prisma.$day_assignmentsPayload | null + reservations: Prisma.$reservationsPayload | null + trip_files: Prisma.$trip_filesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + file_id: number + reservation_id: number | null + assignment_id: number | null + place_id: number | null + created_at: Date | null + }, ExtArgs["result"]["file_links"]> + composites: {} +} + +export type file_linksGetPayload = runtime.Types.Result.GetResult + +export type file_linksCountArgs = + Omit & { + select?: File_linksCountAggregateInputType | true + } + +export interface file_linksDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['file_links'], meta: { name: 'file_links' } } + /** + * Find zero or one File_links that matches the filter. + * @param {file_linksFindUniqueArgs} args - Arguments to find a File_links + * @example + * // Get one File_links + * const file_links = await prisma.file_links.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one File_links that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {file_linksFindUniqueOrThrowArgs} args - Arguments to find a File_links + * @example + * // Get one File_links + * const file_links = await prisma.file_links.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first File_links that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksFindFirstArgs} args - Arguments to find a File_links + * @example + * // Get one File_links + * const file_links = await prisma.file_links.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first File_links that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksFindFirstOrThrowArgs} args - Arguments to find a File_links + * @example + * // Get one File_links + * const file_links = await prisma.file_links.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more File_links that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all File_links + * const file_links = await prisma.file_links.findMany() + * + * // Get first 10 File_links + * const file_links = await prisma.file_links.findMany({ take: 10 }) + * + * // Only select the `id` + * const file_linksWithIdOnly = await prisma.file_links.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a File_links. + * @param {file_linksCreateArgs} args - Arguments to create a File_links. + * @example + * // Create one File_links + * const File_links = await prisma.file_links.create({ + * data: { + * // ... data to create a File_links + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many File_links. + * @param {file_linksCreateManyArgs} args - Arguments to create many File_links. + * @example + * // Create many File_links + * const file_links = await prisma.file_links.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many File_links and returns the data saved in the database. + * @param {file_linksCreateManyAndReturnArgs} args - Arguments to create many File_links. + * @example + * // Create many File_links + * const file_links = await prisma.file_links.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many File_links and only return the `id` + * const file_linksWithIdOnly = await prisma.file_links.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a File_links. + * @param {file_linksDeleteArgs} args - Arguments to delete one File_links. + * @example + * // Delete one File_links + * const File_links = await prisma.file_links.delete({ + * where: { + * // ... filter to delete one File_links + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one File_links. + * @param {file_linksUpdateArgs} args - Arguments to update one File_links. + * @example + * // Update one File_links + * const file_links = await prisma.file_links.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more File_links. + * @param {file_linksDeleteManyArgs} args - Arguments to filter File_links to delete. + * @example + * // Delete a few File_links + * const { count } = await prisma.file_links.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more File_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many File_links + * const file_links = await prisma.file_links.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more File_links and returns the data updated in the database. + * @param {file_linksUpdateManyAndReturnArgs} args - Arguments to update many File_links. + * @example + * // Update many File_links + * const file_links = await prisma.file_links.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more File_links and only return the `id` + * const file_linksWithIdOnly = await prisma.file_links.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one File_links. + * @param {file_linksUpsertArgs} args - Arguments to update or create a File_links. + * @example + * // Update or create a File_links + * const file_links = await prisma.file_links.upsert({ + * create: { + * // ... data to create a File_links + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the File_links we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__file_linksClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of File_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksCountArgs} args - Arguments to filter File_links to count. + * @example + * // Count the number of File_links + * const count = await prisma.file_links.count({ + * where: { + * // ... the filter for the File_links we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a File_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {File_linksAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by File_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {file_linksGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends file_linksGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: file_linksGroupByArgs['orderBy'] } + : { orderBy?: file_linksGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetFile_linksGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the file_links model + */ +readonly fields: file_linksFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for file_links. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__file_linksClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + day_assignments = {}>(args?: Prisma.Subset>): Prisma.Prisma__day_assignmentsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + reservations = {}>(args?: Prisma.Subset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trip_files = {}>(args?: Prisma.Subset>): Prisma.Prisma__trip_filesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the file_links model + */ +export interface file_linksFieldRefs { + readonly id: Prisma.FieldRef<"file_links", 'Int'> + readonly file_id: Prisma.FieldRef<"file_links", 'Int'> + readonly reservation_id: Prisma.FieldRef<"file_links", 'Int'> + readonly assignment_id: Prisma.FieldRef<"file_links", 'Int'> + readonly place_id: Prisma.FieldRef<"file_links", 'Int'> + readonly created_at: Prisma.FieldRef<"file_links", 'DateTime'> +} + + +// Custom InputTypes +/** + * file_links findUnique + */ +export type file_linksFindUniqueArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter, which file_links to fetch. + */ + where: Prisma.file_linksWhereUniqueInput +} + +/** + * file_links findUniqueOrThrow + */ +export type file_linksFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter, which file_links to fetch. + */ + where: Prisma.file_linksWhereUniqueInput +} + +/** + * file_links findFirst + */ +export type file_linksFindFirstArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter, which file_links to fetch. + */ + where?: Prisma.file_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of file_links to fetch. + */ + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for file_links. + */ + cursor?: Prisma.file_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` file_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` file_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of file_links. + */ + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * file_links findFirstOrThrow + */ +export type file_linksFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter, which file_links to fetch. + */ + where?: Prisma.file_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of file_links to fetch. + */ + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for file_links. + */ + cursor?: Prisma.file_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` file_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` file_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of file_links. + */ + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * file_links findMany + */ +export type file_linksFindManyArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter, which file_links to fetch. + */ + where?: Prisma.file_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of file_links to fetch. + */ + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing file_links. + */ + cursor?: Prisma.file_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` file_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` file_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of file_links. + */ + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * file_links create + */ +export type file_linksCreateArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * The data needed to create a file_links. + */ + data: Prisma.XOR +} + +/** + * file_links createMany + */ +export type file_linksCreateManyArgs = { + /** + * The data used to create many file_links. + */ + data: Prisma.file_linksCreateManyInput | Prisma.file_linksCreateManyInput[] +} + +/** + * file_links createManyAndReturn + */ +export type file_linksCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelectCreateManyAndReturn | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * The data used to create many file_links. + */ + data: Prisma.file_linksCreateManyInput | Prisma.file_linksCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksIncludeCreateManyAndReturn | null +} + +/** + * file_links update + */ +export type file_linksUpdateArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * The data needed to update a file_links. + */ + data: Prisma.XOR + /** + * Choose, which file_links to update. + */ + where: Prisma.file_linksWhereUniqueInput +} + +/** + * file_links updateMany + */ +export type file_linksUpdateManyArgs = { + /** + * The data used to update file_links. + */ + data: Prisma.XOR + /** + * Filter which file_links to update + */ + where?: Prisma.file_linksWhereInput + /** + * Limit how many file_links to update. + */ + limit?: number +} + +/** + * file_links updateManyAndReturn + */ +export type file_linksUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * The data used to update file_links. + */ + data: Prisma.XOR + /** + * Filter which file_links to update + */ + where?: Prisma.file_linksWhereInput + /** + * Limit how many file_links to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksIncludeUpdateManyAndReturn | null +} + +/** + * file_links upsert + */ +export type file_linksUpsertArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * The filter to search for the file_links to update in case it exists. + */ + where: Prisma.file_linksWhereUniqueInput + /** + * In case the file_links found by the `where` argument doesn't exist, create a new file_links with this data. + */ + create: Prisma.XOR + /** + * In case the file_links was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * file_links delete + */ +export type file_linksDeleteArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + /** + * Filter which file_links to delete. + */ + where: Prisma.file_linksWhereUniqueInput +} + +/** + * file_links deleteMany + */ +export type file_linksDeleteManyArgs = { + /** + * Filter which file_links to delete + */ + where?: Prisma.file_linksWhereInput + /** + * Limit how many file_links to delete. + */ + limit?: number +} + +/** + * file_links.places + */ +export type file_links$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * file_links.day_assignments + */ +export type file_links$day_assignmentsArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + where?: Prisma.day_assignmentsWhereInput +} + +/** + * file_links.reservations + */ +export type file_links$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput +} + +/** + * file_links without action + */ +export type file_linksDefaultArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null +} diff --git a/server/src/generated/prisma/models/google_place_photo_meta.ts b/server/src/generated/prisma/models/google_place_photo_meta.ts new file mode 100644 index 00000000..b51a4491 --- /dev/null +++ b/server/src/generated/prisma/models/google_place_photo_meta.ts @@ -0,0 +1,1169 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `google_place_photo_meta` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model google_place_photo_meta + * + */ +export type google_place_photo_metaModel = runtime.Types.Result.DefaultSelection + +export type AggregateGoogle_place_photo_meta = { + _count: Google_place_photo_metaCountAggregateOutputType | null + _avg: Google_place_photo_metaAvgAggregateOutputType | null + _sum: Google_place_photo_metaSumAggregateOutputType | null + _min: Google_place_photo_metaMinAggregateOutputType | null + _max: Google_place_photo_metaMaxAggregateOutputType | null +} + +export type Google_place_photo_metaAvgAggregateOutputType = { + fetched_at: number | null + error_at: number | null +} + +export type Google_place_photo_metaSumAggregateOutputType = { + fetched_at: number | null + error_at: number | null +} + +export type Google_place_photo_metaMinAggregateOutputType = { + place_id: string | null + attribution: string | null + fetched_at: number | null + error_at: number | null +} + +export type Google_place_photo_metaMaxAggregateOutputType = { + place_id: string | null + attribution: string | null + fetched_at: number | null + error_at: number | null +} + +export type Google_place_photo_metaCountAggregateOutputType = { + place_id: number + attribution: number + fetched_at: number + error_at: number + _all: number +} + + +export type Google_place_photo_metaAvgAggregateInputType = { + fetched_at?: true + error_at?: true +} + +export type Google_place_photo_metaSumAggregateInputType = { + fetched_at?: true + error_at?: true +} + +export type Google_place_photo_metaMinAggregateInputType = { + place_id?: true + attribution?: true + fetched_at?: true + error_at?: true +} + +export type Google_place_photo_metaMaxAggregateInputType = { + place_id?: true + attribution?: true + fetched_at?: true + error_at?: true +} + +export type Google_place_photo_metaCountAggregateInputType = { + place_id?: true + attribution?: true + fetched_at?: true + error_at?: true + _all?: true +} + +export type Google_place_photo_metaAggregateArgs = { + /** + * Filter which google_place_photo_meta to aggregate. + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of google_place_photo_metas to fetch. + */ + orderBy?: Prisma.google_place_photo_metaOrderByWithRelationInput | Prisma.google_place_photo_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.google_place_photo_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` google_place_photo_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` google_place_photo_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned google_place_photo_metas + **/ + _count?: true | Google_place_photo_metaCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Google_place_photo_metaAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Google_place_photo_metaSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Google_place_photo_metaMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Google_place_photo_metaMaxAggregateInputType +} + +export type GetGoogle_place_photo_metaAggregateType = { + [P in keyof T & keyof AggregateGoogle_place_photo_meta]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type google_place_photo_metaGroupByArgs = { + where?: Prisma.google_place_photo_metaWhereInput + orderBy?: Prisma.google_place_photo_metaOrderByWithAggregationInput | Prisma.google_place_photo_metaOrderByWithAggregationInput[] + by: Prisma.Google_place_photo_metaScalarFieldEnum[] | Prisma.Google_place_photo_metaScalarFieldEnum + having?: Prisma.google_place_photo_metaScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Google_place_photo_metaCountAggregateInputType | true + _avg?: Google_place_photo_metaAvgAggregateInputType + _sum?: Google_place_photo_metaSumAggregateInputType + _min?: Google_place_photo_metaMinAggregateInputType + _max?: Google_place_photo_metaMaxAggregateInputType +} + +export type Google_place_photo_metaGroupByOutputType = { + place_id: string + attribution: string | null + fetched_at: number + error_at: number | null + _count: Google_place_photo_metaCountAggregateOutputType | null + _avg: Google_place_photo_metaAvgAggregateOutputType | null + _sum: Google_place_photo_metaSumAggregateOutputType | null + _min: Google_place_photo_metaMinAggregateOutputType | null + _max: Google_place_photo_metaMaxAggregateOutputType | null +} + +export type GetGoogle_place_photo_metaGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Google_place_photo_metaGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type google_place_photo_metaWhereInput = { + AND?: Prisma.google_place_photo_metaWhereInput | Prisma.google_place_photo_metaWhereInput[] + OR?: Prisma.google_place_photo_metaWhereInput[] + NOT?: Prisma.google_place_photo_metaWhereInput | Prisma.google_place_photo_metaWhereInput[] + place_id?: Prisma.StringFilter<"google_place_photo_meta"> | string + attribution?: Prisma.StringNullableFilter<"google_place_photo_meta"> | string | null + fetched_at?: Prisma.IntFilter<"google_place_photo_meta"> | number + error_at?: Prisma.IntNullableFilter<"google_place_photo_meta"> | number | null +} + +export type google_place_photo_metaOrderByWithRelationInput = { + place_id?: Prisma.SortOrder + attribution?: Prisma.SortOrderInput | Prisma.SortOrder + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrderInput | Prisma.SortOrder +} + +export type google_place_photo_metaWhereUniqueInput = Prisma.AtLeast<{ + place_id?: string + AND?: Prisma.google_place_photo_metaWhereInput | Prisma.google_place_photo_metaWhereInput[] + OR?: Prisma.google_place_photo_metaWhereInput[] + NOT?: Prisma.google_place_photo_metaWhereInput | Prisma.google_place_photo_metaWhereInput[] + attribution?: Prisma.StringNullableFilter<"google_place_photo_meta"> | string | null + fetched_at?: Prisma.IntFilter<"google_place_photo_meta"> | number + error_at?: Prisma.IntNullableFilter<"google_place_photo_meta"> | number | null +}, "place_id"> + +export type google_place_photo_metaOrderByWithAggregationInput = { + place_id?: Prisma.SortOrder + attribution?: Prisma.SortOrderInput | Prisma.SortOrder + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.google_place_photo_metaCountOrderByAggregateInput + _avg?: Prisma.google_place_photo_metaAvgOrderByAggregateInput + _max?: Prisma.google_place_photo_metaMaxOrderByAggregateInput + _min?: Prisma.google_place_photo_metaMinOrderByAggregateInput + _sum?: Prisma.google_place_photo_metaSumOrderByAggregateInput +} + +export type google_place_photo_metaScalarWhereWithAggregatesInput = { + AND?: Prisma.google_place_photo_metaScalarWhereWithAggregatesInput | Prisma.google_place_photo_metaScalarWhereWithAggregatesInput[] + OR?: Prisma.google_place_photo_metaScalarWhereWithAggregatesInput[] + NOT?: Prisma.google_place_photo_metaScalarWhereWithAggregatesInput | Prisma.google_place_photo_metaScalarWhereWithAggregatesInput[] + place_id?: Prisma.StringWithAggregatesFilter<"google_place_photo_meta"> | string + attribution?: Prisma.StringNullableWithAggregatesFilter<"google_place_photo_meta"> | string | null + fetched_at?: Prisma.IntWithAggregatesFilter<"google_place_photo_meta"> | number + error_at?: Prisma.IntNullableWithAggregatesFilter<"google_place_photo_meta"> | number | null +} + +export type google_place_photo_metaCreateInput = { + place_id: string + attribution?: string | null + fetched_at: number + error_at?: number | null +} + +export type google_place_photo_metaUncheckedCreateInput = { + place_id: string + attribution?: string | null + fetched_at: number + error_at?: number | null +} + +export type google_place_photo_metaUpdateInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + attribution?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number + error_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type google_place_photo_metaUncheckedUpdateInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + attribution?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number + error_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type google_place_photo_metaCreateManyInput = { + place_id: string + attribution?: string | null + fetched_at: number + error_at?: number | null +} + +export type google_place_photo_metaUpdateManyMutationInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + attribution?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number + error_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type google_place_photo_metaUncheckedUpdateManyInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + attribution?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number + error_at?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type google_place_photo_metaCountOrderByAggregateInput = { + place_id?: Prisma.SortOrder + attribution?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrder +} + +export type google_place_photo_metaAvgOrderByAggregateInput = { + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrder +} + +export type google_place_photo_metaMaxOrderByAggregateInput = { + place_id?: Prisma.SortOrder + attribution?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrder +} + +export type google_place_photo_metaMinOrderByAggregateInput = { + place_id?: Prisma.SortOrder + attribution?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrder +} + +export type google_place_photo_metaSumOrderByAggregateInput = { + fetched_at?: Prisma.SortOrder + error_at?: Prisma.SortOrder +} + + + +export type google_place_photo_metaSelect = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + attribution?: boolean + fetched_at?: boolean + error_at?: boolean +}, ExtArgs["result"]["google_place_photo_meta"]> + +export type google_place_photo_metaSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + attribution?: boolean + fetched_at?: boolean + error_at?: boolean +}, ExtArgs["result"]["google_place_photo_meta"]> + +export type google_place_photo_metaSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + attribution?: boolean + fetched_at?: boolean + error_at?: boolean +}, ExtArgs["result"]["google_place_photo_meta"]> + +export type google_place_photo_metaSelectScalar = { + place_id?: boolean + attribution?: boolean + fetched_at?: boolean + error_at?: boolean +} + +export type google_place_photo_metaOmit = runtime.Types.Extensions.GetOmit<"place_id" | "attribution" | "fetched_at" | "error_at", ExtArgs["result"]["google_place_photo_meta"]> + +export type $google_place_photo_metaPayload = { + name: "google_place_photo_meta" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + place_id: string + attribution: string | null + fetched_at: number + error_at: number | null + }, ExtArgs["result"]["google_place_photo_meta"]> + composites: {} +} + +export type google_place_photo_metaGetPayload = runtime.Types.Result.GetResult + +export type google_place_photo_metaCountArgs = + Omit & { + select?: Google_place_photo_metaCountAggregateInputType | true + } + +export interface google_place_photo_metaDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['google_place_photo_meta'], meta: { name: 'google_place_photo_meta' } } + /** + * Find zero or one Google_place_photo_meta that matches the filter. + * @param {google_place_photo_metaFindUniqueArgs} args - Arguments to find a Google_place_photo_meta + * @example + * // Get one Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Google_place_photo_meta that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {google_place_photo_metaFindUniqueOrThrowArgs} args - Arguments to find a Google_place_photo_meta + * @example + * // Get one Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Google_place_photo_meta that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaFindFirstArgs} args - Arguments to find a Google_place_photo_meta + * @example + * // Get one Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Google_place_photo_meta that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaFindFirstOrThrowArgs} args - Arguments to find a Google_place_photo_meta + * @example + * // Get one Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Google_place_photo_metas that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Google_place_photo_metas + * const google_place_photo_metas = await prisma.google_place_photo_meta.findMany() + * + * // Get first 10 Google_place_photo_metas + * const google_place_photo_metas = await prisma.google_place_photo_meta.findMany({ take: 10 }) + * + * // Only select the `place_id` + * const google_place_photo_metaWithPlace_idOnly = await prisma.google_place_photo_meta.findMany({ select: { place_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Google_place_photo_meta. + * @param {google_place_photo_metaCreateArgs} args - Arguments to create a Google_place_photo_meta. + * @example + * // Create one Google_place_photo_meta + * const Google_place_photo_meta = await prisma.google_place_photo_meta.create({ + * data: { + * // ... data to create a Google_place_photo_meta + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Google_place_photo_metas. + * @param {google_place_photo_metaCreateManyArgs} args - Arguments to create many Google_place_photo_metas. + * @example + * // Create many Google_place_photo_metas + * const google_place_photo_meta = await prisma.google_place_photo_meta.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Google_place_photo_metas and returns the data saved in the database. + * @param {google_place_photo_metaCreateManyAndReturnArgs} args - Arguments to create many Google_place_photo_metas. + * @example + * // Create many Google_place_photo_metas + * const google_place_photo_meta = await prisma.google_place_photo_meta.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Google_place_photo_metas and only return the `place_id` + * const google_place_photo_metaWithPlace_idOnly = await prisma.google_place_photo_meta.createManyAndReturn({ + * select: { place_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Google_place_photo_meta. + * @param {google_place_photo_metaDeleteArgs} args - Arguments to delete one Google_place_photo_meta. + * @example + * // Delete one Google_place_photo_meta + * const Google_place_photo_meta = await prisma.google_place_photo_meta.delete({ + * where: { + * // ... filter to delete one Google_place_photo_meta + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Google_place_photo_meta. + * @param {google_place_photo_metaUpdateArgs} args - Arguments to update one Google_place_photo_meta. + * @example + * // Update one Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Google_place_photo_metas. + * @param {google_place_photo_metaDeleteManyArgs} args - Arguments to filter Google_place_photo_metas to delete. + * @example + * // Delete a few Google_place_photo_metas + * const { count } = await prisma.google_place_photo_meta.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Google_place_photo_metas. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Google_place_photo_metas + * const google_place_photo_meta = await prisma.google_place_photo_meta.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Google_place_photo_metas and returns the data updated in the database. + * @param {google_place_photo_metaUpdateManyAndReturnArgs} args - Arguments to update many Google_place_photo_metas. + * @example + * // Update many Google_place_photo_metas + * const google_place_photo_meta = await prisma.google_place_photo_meta.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Google_place_photo_metas and only return the `place_id` + * const google_place_photo_metaWithPlace_idOnly = await prisma.google_place_photo_meta.updateManyAndReturn({ + * select: { place_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Google_place_photo_meta. + * @param {google_place_photo_metaUpsertArgs} args - Arguments to update or create a Google_place_photo_meta. + * @example + * // Update or create a Google_place_photo_meta + * const google_place_photo_meta = await prisma.google_place_photo_meta.upsert({ + * create: { + * // ... data to create a Google_place_photo_meta + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Google_place_photo_meta we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__google_place_photo_metaClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Google_place_photo_metas. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaCountArgs} args - Arguments to filter Google_place_photo_metas to count. + * @example + * // Count the number of Google_place_photo_metas + * const count = await prisma.google_place_photo_meta.count({ + * where: { + * // ... the filter for the Google_place_photo_metas we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Google_place_photo_meta. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Google_place_photo_metaAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Google_place_photo_meta. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {google_place_photo_metaGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends google_place_photo_metaGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: google_place_photo_metaGroupByArgs['orderBy'] } + : { orderBy?: google_place_photo_metaGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetGoogle_place_photo_metaGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the google_place_photo_meta model + */ +readonly fields: google_place_photo_metaFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for google_place_photo_meta. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__google_place_photo_metaClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the google_place_photo_meta model + */ +export interface google_place_photo_metaFieldRefs { + readonly place_id: Prisma.FieldRef<"google_place_photo_meta", 'String'> + readonly attribution: Prisma.FieldRef<"google_place_photo_meta", 'String'> + readonly fetched_at: Prisma.FieldRef<"google_place_photo_meta", 'Int'> + readonly error_at: Prisma.FieldRef<"google_place_photo_meta", 'Int'> +} + + +// Custom InputTypes +/** + * google_place_photo_meta findUnique + */ +export type google_place_photo_metaFindUniqueArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter, which google_place_photo_meta to fetch. + */ + where: Prisma.google_place_photo_metaWhereUniqueInput +} + +/** + * google_place_photo_meta findUniqueOrThrow + */ +export type google_place_photo_metaFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter, which google_place_photo_meta to fetch. + */ + where: Prisma.google_place_photo_metaWhereUniqueInput +} + +/** + * google_place_photo_meta findFirst + */ +export type google_place_photo_metaFindFirstArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter, which google_place_photo_meta to fetch. + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of google_place_photo_metas to fetch. + */ + orderBy?: Prisma.google_place_photo_metaOrderByWithRelationInput | Prisma.google_place_photo_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for google_place_photo_metas. + */ + cursor?: Prisma.google_place_photo_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` google_place_photo_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` google_place_photo_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of google_place_photo_metas. + */ + distinct?: Prisma.Google_place_photo_metaScalarFieldEnum | Prisma.Google_place_photo_metaScalarFieldEnum[] +} + +/** + * google_place_photo_meta findFirstOrThrow + */ +export type google_place_photo_metaFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter, which google_place_photo_meta to fetch. + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of google_place_photo_metas to fetch. + */ + orderBy?: Prisma.google_place_photo_metaOrderByWithRelationInput | Prisma.google_place_photo_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for google_place_photo_metas. + */ + cursor?: Prisma.google_place_photo_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` google_place_photo_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` google_place_photo_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of google_place_photo_metas. + */ + distinct?: Prisma.Google_place_photo_metaScalarFieldEnum | Prisma.Google_place_photo_metaScalarFieldEnum[] +} + +/** + * google_place_photo_meta findMany + */ +export type google_place_photo_metaFindManyArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter, which google_place_photo_metas to fetch. + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of google_place_photo_metas to fetch. + */ + orderBy?: Prisma.google_place_photo_metaOrderByWithRelationInput | Prisma.google_place_photo_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing google_place_photo_metas. + */ + cursor?: Prisma.google_place_photo_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` google_place_photo_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` google_place_photo_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of google_place_photo_metas. + */ + distinct?: Prisma.Google_place_photo_metaScalarFieldEnum | Prisma.Google_place_photo_metaScalarFieldEnum[] +} + +/** + * google_place_photo_meta create + */ +export type google_place_photo_metaCreateArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * The data needed to create a google_place_photo_meta. + */ + data: Prisma.XOR +} + +/** + * google_place_photo_meta createMany + */ +export type google_place_photo_metaCreateManyArgs = { + /** + * The data used to create many google_place_photo_metas. + */ + data: Prisma.google_place_photo_metaCreateManyInput | Prisma.google_place_photo_metaCreateManyInput[] +} + +/** + * google_place_photo_meta createManyAndReturn + */ +export type google_place_photo_metaCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelectCreateManyAndReturn | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * The data used to create many google_place_photo_metas. + */ + data: Prisma.google_place_photo_metaCreateManyInput | Prisma.google_place_photo_metaCreateManyInput[] +} + +/** + * google_place_photo_meta update + */ +export type google_place_photo_metaUpdateArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * The data needed to update a google_place_photo_meta. + */ + data: Prisma.XOR + /** + * Choose, which google_place_photo_meta to update. + */ + where: Prisma.google_place_photo_metaWhereUniqueInput +} + +/** + * google_place_photo_meta updateMany + */ +export type google_place_photo_metaUpdateManyArgs = { + /** + * The data used to update google_place_photo_metas. + */ + data: Prisma.XOR + /** + * Filter which google_place_photo_metas to update + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * Limit how many google_place_photo_metas to update. + */ + limit?: number +} + +/** + * google_place_photo_meta updateManyAndReturn + */ +export type google_place_photo_metaUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * The data used to update google_place_photo_metas. + */ + data: Prisma.XOR + /** + * Filter which google_place_photo_metas to update + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * Limit how many google_place_photo_metas to update. + */ + limit?: number +} + +/** + * google_place_photo_meta upsert + */ +export type google_place_photo_metaUpsertArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * The filter to search for the google_place_photo_meta to update in case it exists. + */ + where: Prisma.google_place_photo_metaWhereUniqueInput + /** + * In case the google_place_photo_meta found by the `where` argument doesn't exist, create a new google_place_photo_meta with this data. + */ + create: Prisma.XOR + /** + * In case the google_place_photo_meta was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * google_place_photo_meta delete + */ +export type google_place_photo_metaDeleteArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null + /** + * Filter which google_place_photo_meta to delete. + */ + where: Prisma.google_place_photo_metaWhereUniqueInput +} + +/** + * google_place_photo_meta deleteMany + */ +export type google_place_photo_metaDeleteManyArgs = { + /** + * Filter which google_place_photo_metas to delete + */ + where?: Prisma.google_place_photo_metaWhereInput + /** + * Limit how many google_place_photo_metas to delete. + */ + limit?: number +} + +/** + * google_place_photo_meta without action + */ +export type google_place_photo_metaDefaultArgs = { + /** + * Select specific fields to fetch from the google_place_photo_meta + */ + select?: Prisma.google_place_photo_metaSelect | null + /** + * Omit specific fields from the google_place_photo_meta + */ + omit?: Prisma.google_place_photo_metaOmit | null +} diff --git a/server/src/generated/prisma/models/idempotency_keys.ts b/server/src/generated/prisma/models/idempotency_keys.ts new file mode 100644 index 00000000..21e29c42 --- /dev/null +++ b/server/src/generated/prisma/models/idempotency_keys.ts @@ -0,0 +1,1476 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `idempotency_keys` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model idempotency_keys + * + */ +export type idempotency_keysModel = runtime.Types.Result.DefaultSelection + +export type AggregateIdempotency_keys = { + _count: Idempotency_keysCountAggregateOutputType | null + _avg: Idempotency_keysAvgAggregateOutputType | null + _sum: Idempotency_keysSumAggregateOutputType | null + _min: Idempotency_keysMinAggregateOutputType | null + _max: Idempotency_keysMaxAggregateOutputType | null +} + +export type Idempotency_keysAvgAggregateOutputType = { + user_id: number | null + status_code: number | null + created_at: number | null +} + +export type Idempotency_keysSumAggregateOutputType = { + user_id: number | null + status_code: number | null + created_at: number | null +} + +export type Idempotency_keysMinAggregateOutputType = { + key: string | null + user_id: number | null + method: string | null + path: string | null + status_code: number | null + response_body: string | null + created_at: number | null +} + +export type Idempotency_keysMaxAggregateOutputType = { + key: string | null + user_id: number | null + method: string | null + path: string | null + status_code: number | null + response_body: string | null + created_at: number | null +} + +export type Idempotency_keysCountAggregateOutputType = { + key: number + user_id: number + method: number + path: number + status_code: number + response_body: number + created_at: number + _all: number +} + + +export type Idempotency_keysAvgAggregateInputType = { + user_id?: true + status_code?: true + created_at?: true +} + +export type Idempotency_keysSumAggregateInputType = { + user_id?: true + status_code?: true + created_at?: true +} + +export type Idempotency_keysMinAggregateInputType = { + key?: true + user_id?: true + method?: true + path?: true + status_code?: true + response_body?: true + created_at?: true +} + +export type Idempotency_keysMaxAggregateInputType = { + key?: true + user_id?: true + method?: true + path?: true + status_code?: true + response_body?: true + created_at?: true +} + +export type Idempotency_keysCountAggregateInputType = { + key?: true + user_id?: true + method?: true + path?: true + status_code?: true + response_body?: true + created_at?: true + _all?: true +} + +export type Idempotency_keysAggregateArgs = { + /** + * Filter which idempotency_keys to aggregate. + */ + where?: Prisma.idempotency_keysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of idempotency_keys to fetch. + */ + orderBy?: Prisma.idempotency_keysOrderByWithRelationInput | Prisma.idempotency_keysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.idempotency_keysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` idempotency_keys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` idempotency_keys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned idempotency_keys + **/ + _count?: true | Idempotency_keysCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Idempotency_keysAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Idempotency_keysSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Idempotency_keysMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Idempotency_keysMaxAggregateInputType +} + +export type GetIdempotency_keysAggregateType = { + [P in keyof T & keyof AggregateIdempotency_keys]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type idempotency_keysGroupByArgs = { + where?: Prisma.idempotency_keysWhereInput + orderBy?: Prisma.idempotency_keysOrderByWithAggregationInput | Prisma.idempotency_keysOrderByWithAggregationInput[] + by: Prisma.Idempotency_keysScalarFieldEnum[] | Prisma.Idempotency_keysScalarFieldEnum + having?: Prisma.idempotency_keysScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Idempotency_keysCountAggregateInputType | true + _avg?: Idempotency_keysAvgAggregateInputType + _sum?: Idempotency_keysSumAggregateInputType + _min?: Idempotency_keysMinAggregateInputType + _max?: Idempotency_keysMaxAggregateInputType +} + +export type Idempotency_keysGroupByOutputType = { + key: string + user_id: number + method: string + path: string + status_code: number + response_body: string + created_at: number + _count: Idempotency_keysCountAggregateOutputType | null + _avg: Idempotency_keysAvgAggregateOutputType | null + _sum: Idempotency_keysSumAggregateOutputType | null + _min: Idempotency_keysMinAggregateOutputType | null + _max: Idempotency_keysMaxAggregateOutputType | null +} + +export type GetIdempotency_keysGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Idempotency_keysGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type idempotency_keysWhereInput = { + AND?: Prisma.idempotency_keysWhereInput | Prisma.idempotency_keysWhereInput[] + OR?: Prisma.idempotency_keysWhereInput[] + NOT?: Prisma.idempotency_keysWhereInput | Prisma.idempotency_keysWhereInput[] + key?: Prisma.StringFilter<"idempotency_keys"> | string + user_id?: Prisma.IntFilter<"idempotency_keys"> | number + method?: Prisma.StringFilter<"idempotency_keys"> | string + path?: Prisma.StringFilter<"idempotency_keys"> | string + status_code?: Prisma.IntFilter<"idempotency_keys"> | number + response_body?: Prisma.StringFilter<"idempotency_keys"> | string + created_at?: Prisma.IntFilter<"idempotency_keys"> | number + users?: Prisma.XOR +} + +export type idempotency_keysOrderByWithRelationInput = { + key?: Prisma.SortOrder + user_id?: Prisma.SortOrder + method?: Prisma.SortOrder + path?: Prisma.SortOrder + status_code?: Prisma.SortOrder + response_body?: Prisma.SortOrder + created_at?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type idempotency_keysWhereUniqueInput = Prisma.AtLeast<{ + key_user_id_method_path?: Prisma.idempotency_keysKeyUser_idMethodPathCompoundUniqueInput + AND?: Prisma.idempotency_keysWhereInput | Prisma.idempotency_keysWhereInput[] + OR?: Prisma.idempotency_keysWhereInput[] + NOT?: Prisma.idempotency_keysWhereInput | Prisma.idempotency_keysWhereInput[] + key?: Prisma.StringFilter<"idempotency_keys"> | string + user_id?: Prisma.IntFilter<"idempotency_keys"> | number + method?: Prisma.StringFilter<"idempotency_keys"> | string + path?: Prisma.StringFilter<"idempotency_keys"> | string + status_code?: Prisma.IntFilter<"idempotency_keys"> | number + response_body?: Prisma.StringFilter<"idempotency_keys"> | string + created_at?: Prisma.IntFilter<"idempotency_keys"> | number + users?: Prisma.XOR +}, "key_user_id_method_path"> + +export type idempotency_keysOrderByWithAggregationInput = { + key?: Prisma.SortOrder + user_id?: Prisma.SortOrder + method?: Prisma.SortOrder + path?: Prisma.SortOrder + status_code?: Prisma.SortOrder + response_body?: Prisma.SortOrder + created_at?: Prisma.SortOrder + _count?: Prisma.idempotency_keysCountOrderByAggregateInput + _avg?: Prisma.idempotency_keysAvgOrderByAggregateInput + _max?: Prisma.idempotency_keysMaxOrderByAggregateInput + _min?: Prisma.idempotency_keysMinOrderByAggregateInput + _sum?: Prisma.idempotency_keysSumOrderByAggregateInput +} + +export type idempotency_keysScalarWhereWithAggregatesInput = { + AND?: Prisma.idempotency_keysScalarWhereWithAggregatesInput | Prisma.idempotency_keysScalarWhereWithAggregatesInput[] + OR?: Prisma.idempotency_keysScalarWhereWithAggregatesInput[] + NOT?: Prisma.idempotency_keysScalarWhereWithAggregatesInput | Prisma.idempotency_keysScalarWhereWithAggregatesInput[] + key?: Prisma.StringWithAggregatesFilter<"idempotency_keys"> | string + user_id?: Prisma.IntWithAggregatesFilter<"idempotency_keys"> | number + method?: Prisma.StringWithAggregatesFilter<"idempotency_keys"> | string + path?: Prisma.StringWithAggregatesFilter<"idempotency_keys"> | string + status_code?: Prisma.IntWithAggregatesFilter<"idempotency_keys"> | number + response_body?: Prisma.StringWithAggregatesFilter<"idempotency_keys"> | string + created_at?: Prisma.IntWithAggregatesFilter<"idempotency_keys"> | number +} + +export type idempotency_keysCreateInput = { + key: string + method: string + path: string + status_code: number + response_body: string + created_at?: number + users: Prisma.usersCreateNestedOneWithoutIdempotency_keysInput +} + +export type idempotency_keysUncheckedCreateInput = { + key: string + user_id: number + method: string + path: string + status_code: number + response_body: string + created_at?: number +} + +export type idempotency_keysUpdateInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutIdempotency_keysNestedInput +} + +export type idempotency_keysUncheckedUpdateInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type idempotency_keysCreateManyInput = { + key: string + user_id: number + method: string + path: string + status_code: number + response_body: string + created_at?: number +} + +export type idempotency_keysUpdateManyMutationInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type idempotency_keysUncheckedUpdateManyInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type idempotency_keysKeyUser_idMethodPathCompoundUniqueInput = { + key: string + user_id: number + method: string + path: string +} + +export type idempotency_keysCountOrderByAggregateInput = { + key?: Prisma.SortOrder + user_id?: Prisma.SortOrder + method?: Prisma.SortOrder + path?: Prisma.SortOrder + status_code?: Prisma.SortOrder + response_body?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type idempotency_keysAvgOrderByAggregateInput = { + user_id?: Prisma.SortOrder + status_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type idempotency_keysMaxOrderByAggregateInput = { + key?: Prisma.SortOrder + user_id?: Prisma.SortOrder + method?: Prisma.SortOrder + path?: Prisma.SortOrder + status_code?: Prisma.SortOrder + response_body?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type idempotency_keysMinOrderByAggregateInput = { + key?: Prisma.SortOrder + user_id?: Prisma.SortOrder + method?: Prisma.SortOrder + path?: Prisma.SortOrder + status_code?: Prisma.SortOrder + response_body?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type idempotency_keysSumOrderByAggregateInput = { + user_id?: Prisma.SortOrder + status_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type Idempotency_keysListRelationFilter = { + every?: Prisma.idempotency_keysWhereInput + some?: Prisma.idempotency_keysWhereInput + none?: Prisma.idempotency_keysWhereInput +} + +export type idempotency_keysOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type idempotency_keysCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.idempotency_keysCreateWithoutUsersInput[] | Prisma.idempotency_keysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.idempotency_keysCreateOrConnectWithoutUsersInput | Prisma.idempotency_keysCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.idempotency_keysCreateManyUsersInputEnvelope + connect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] +} + +export type idempotency_keysUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.idempotency_keysCreateWithoutUsersInput[] | Prisma.idempotency_keysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.idempotency_keysCreateOrConnectWithoutUsersInput | Prisma.idempotency_keysCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.idempotency_keysCreateManyUsersInputEnvelope + connect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] +} + +export type idempotency_keysUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.idempotency_keysCreateWithoutUsersInput[] | Prisma.idempotency_keysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.idempotency_keysCreateOrConnectWithoutUsersInput | Prisma.idempotency_keysCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.idempotency_keysUpsertWithWhereUniqueWithoutUsersInput | Prisma.idempotency_keysUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.idempotency_keysCreateManyUsersInputEnvelope + set?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + disconnect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + delete?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + connect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + update?: Prisma.idempotency_keysUpdateWithWhereUniqueWithoutUsersInput | Prisma.idempotency_keysUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.idempotency_keysUpdateManyWithWhereWithoutUsersInput | Prisma.idempotency_keysUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.idempotency_keysScalarWhereInput | Prisma.idempotency_keysScalarWhereInput[] +} + +export type idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.idempotency_keysCreateWithoutUsersInput[] | Prisma.idempotency_keysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.idempotency_keysCreateOrConnectWithoutUsersInput | Prisma.idempotency_keysCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.idempotency_keysUpsertWithWhereUniqueWithoutUsersInput | Prisma.idempotency_keysUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.idempotency_keysCreateManyUsersInputEnvelope + set?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + disconnect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + delete?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + connect?: Prisma.idempotency_keysWhereUniqueInput | Prisma.idempotency_keysWhereUniqueInput[] + update?: Prisma.idempotency_keysUpdateWithWhereUniqueWithoutUsersInput | Prisma.idempotency_keysUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.idempotency_keysUpdateManyWithWhereWithoutUsersInput | Prisma.idempotency_keysUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.idempotency_keysScalarWhereInput | Prisma.idempotency_keysScalarWhereInput[] +} + +export type idempotency_keysCreateWithoutUsersInput = { + key: string + method: string + path: string + status_code: number + response_body: string + created_at?: number +} + +export type idempotency_keysUncheckedCreateWithoutUsersInput = { + key: string + method: string + path: string + status_code: number + response_body: string + created_at?: number +} + +export type idempotency_keysCreateOrConnectWithoutUsersInput = { + where: Prisma.idempotency_keysWhereUniqueInput + create: Prisma.XOR +} + +export type idempotency_keysCreateManyUsersInputEnvelope = { + data: Prisma.idempotency_keysCreateManyUsersInput | Prisma.idempotency_keysCreateManyUsersInput[] +} + +export type idempotency_keysUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.idempotency_keysWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type idempotency_keysUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.idempotency_keysWhereUniqueInput + data: Prisma.XOR +} + +export type idempotency_keysUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.idempotency_keysScalarWhereInput + data: Prisma.XOR +} + +export type idempotency_keysScalarWhereInput = { + AND?: Prisma.idempotency_keysScalarWhereInput | Prisma.idempotency_keysScalarWhereInput[] + OR?: Prisma.idempotency_keysScalarWhereInput[] + NOT?: Prisma.idempotency_keysScalarWhereInput | Prisma.idempotency_keysScalarWhereInput[] + key?: Prisma.StringFilter<"idempotency_keys"> | string + user_id?: Prisma.IntFilter<"idempotency_keys"> | number + method?: Prisma.StringFilter<"idempotency_keys"> | string + path?: Prisma.StringFilter<"idempotency_keys"> | string + status_code?: Prisma.IntFilter<"idempotency_keys"> | number + response_body?: Prisma.StringFilter<"idempotency_keys"> | string + created_at?: Prisma.IntFilter<"idempotency_keys"> | number +} + +export type idempotency_keysCreateManyUsersInput = { + key: string + method: string + path: string + status_code: number + response_body: string + created_at?: number +} + +export type idempotency_keysUpdateWithoutUsersInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type idempotency_keysUncheckedUpdateWithoutUsersInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type idempotency_keysUncheckedUpdateManyWithoutUsersInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + method?: Prisma.StringFieldUpdateOperationsInput | string + path?: Prisma.StringFieldUpdateOperationsInput | string + status_code?: Prisma.IntFieldUpdateOperationsInput | number + response_body?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type idempotency_keysSelect = runtime.Types.Extensions.GetSelect<{ + key?: boolean + user_id?: boolean + method?: boolean + path?: boolean + status_code?: boolean + response_body?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["idempotency_keys"]> + +export type idempotency_keysSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + key?: boolean + user_id?: boolean + method?: boolean + path?: boolean + status_code?: boolean + response_body?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["idempotency_keys"]> + +export type idempotency_keysSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + key?: boolean + user_id?: boolean + method?: boolean + path?: boolean + status_code?: boolean + response_body?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["idempotency_keys"]> + +export type idempotency_keysSelectScalar = { + key?: boolean + user_id?: boolean + method?: boolean + path?: boolean + status_code?: boolean + response_body?: boolean + created_at?: boolean +} + +export type idempotency_keysOmit = runtime.Types.Extensions.GetOmit<"key" | "user_id" | "method" | "path" | "status_code" | "response_body" | "created_at", ExtArgs["result"]["idempotency_keys"]> +export type idempotency_keysInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type idempotency_keysIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type idempotency_keysIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $idempotency_keysPayload = { + name: "idempotency_keys" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + key: string + user_id: number + method: string + path: string + status_code: number + response_body: string + created_at: number + }, ExtArgs["result"]["idempotency_keys"]> + composites: {} +} + +export type idempotency_keysGetPayload = runtime.Types.Result.GetResult + +export type idempotency_keysCountArgs = + Omit & { + select?: Idempotency_keysCountAggregateInputType | true + } + +export interface idempotency_keysDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['idempotency_keys'], meta: { name: 'idempotency_keys' } } + /** + * Find zero or one Idempotency_keys that matches the filter. + * @param {idempotency_keysFindUniqueArgs} args - Arguments to find a Idempotency_keys + * @example + * // Get one Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Idempotency_keys that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {idempotency_keysFindUniqueOrThrowArgs} args - Arguments to find a Idempotency_keys + * @example + * // Get one Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Idempotency_keys that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysFindFirstArgs} args - Arguments to find a Idempotency_keys + * @example + * // Get one Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Idempotency_keys that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysFindFirstOrThrowArgs} args - Arguments to find a Idempotency_keys + * @example + * // Get one Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Idempotency_keys that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findMany() + * + * // Get first 10 Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.findMany({ take: 10 }) + * + * // Only select the `key` + * const idempotency_keysWithKeyOnly = await prisma.idempotency_keys.findMany({ select: { key: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Idempotency_keys. + * @param {idempotency_keysCreateArgs} args - Arguments to create a Idempotency_keys. + * @example + * // Create one Idempotency_keys + * const Idempotency_keys = await prisma.idempotency_keys.create({ + * data: { + * // ... data to create a Idempotency_keys + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Idempotency_keys. + * @param {idempotency_keysCreateManyArgs} args - Arguments to create many Idempotency_keys. + * @example + * // Create many Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Idempotency_keys and returns the data saved in the database. + * @param {idempotency_keysCreateManyAndReturnArgs} args - Arguments to create many Idempotency_keys. + * @example + * // Create many Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Idempotency_keys and only return the `key` + * const idempotency_keysWithKeyOnly = await prisma.idempotency_keys.createManyAndReturn({ + * select: { key: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Idempotency_keys. + * @param {idempotency_keysDeleteArgs} args - Arguments to delete one Idempotency_keys. + * @example + * // Delete one Idempotency_keys + * const Idempotency_keys = await prisma.idempotency_keys.delete({ + * where: { + * // ... filter to delete one Idempotency_keys + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Idempotency_keys. + * @param {idempotency_keysUpdateArgs} args - Arguments to update one Idempotency_keys. + * @example + * // Update one Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Idempotency_keys. + * @param {idempotency_keysDeleteManyArgs} args - Arguments to filter Idempotency_keys to delete. + * @example + * // Delete a few Idempotency_keys + * const { count } = await prisma.idempotency_keys.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Idempotency_keys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Idempotency_keys and returns the data updated in the database. + * @param {idempotency_keysUpdateManyAndReturnArgs} args - Arguments to update many Idempotency_keys. + * @example + * // Update many Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Idempotency_keys and only return the `key` + * const idempotency_keysWithKeyOnly = await prisma.idempotency_keys.updateManyAndReturn({ + * select: { key: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Idempotency_keys. + * @param {idempotency_keysUpsertArgs} args - Arguments to update or create a Idempotency_keys. + * @example + * // Update or create a Idempotency_keys + * const idempotency_keys = await prisma.idempotency_keys.upsert({ + * create: { + * // ... data to create a Idempotency_keys + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Idempotency_keys we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__idempotency_keysClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Idempotency_keys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysCountArgs} args - Arguments to filter Idempotency_keys to count. + * @example + * // Count the number of Idempotency_keys + * const count = await prisma.idempotency_keys.count({ + * where: { + * // ... the filter for the Idempotency_keys we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Idempotency_keys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Idempotency_keysAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Idempotency_keys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {idempotency_keysGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends idempotency_keysGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: idempotency_keysGroupByArgs['orderBy'] } + : { orderBy?: idempotency_keysGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetIdempotency_keysGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the idempotency_keys model + */ +readonly fields: idempotency_keysFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for idempotency_keys. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__idempotency_keysClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the idempotency_keys model + */ +export interface idempotency_keysFieldRefs { + readonly key: Prisma.FieldRef<"idempotency_keys", 'String'> + readonly user_id: Prisma.FieldRef<"idempotency_keys", 'Int'> + readonly method: Prisma.FieldRef<"idempotency_keys", 'String'> + readonly path: Prisma.FieldRef<"idempotency_keys", 'String'> + readonly status_code: Prisma.FieldRef<"idempotency_keys", 'Int'> + readonly response_body: Prisma.FieldRef<"idempotency_keys", 'String'> + readonly created_at: Prisma.FieldRef<"idempotency_keys", 'Int'> +} + + +// Custom InputTypes +/** + * idempotency_keys findUnique + */ +export type idempotency_keysFindUniqueArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter, which idempotency_keys to fetch. + */ + where: Prisma.idempotency_keysWhereUniqueInput +} + +/** + * idempotency_keys findUniqueOrThrow + */ +export type idempotency_keysFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter, which idempotency_keys to fetch. + */ + where: Prisma.idempotency_keysWhereUniqueInput +} + +/** + * idempotency_keys findFirst + */ +export type idempotency_keysFindFirstArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter, which idempotency_keys to fetch. + */ + where?: Prisma.idempotency_keysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of idempotency_keys to fetch. + */ + orderBy?: Prisma.idempotency_keysOrderByWithRelationInput | Prisma.idempotency_keysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for idempotency_keys. + */ + cursor?: Prisma.idempotency_keysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` idempotency_keys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` idempotency_keys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of idempotency_keys. + */ + distinct?: Prisma.Idempotency_keysScalarFieldEnum | Prisma.Idempotency_keysScalarFieldEnum[] +} + +/** + * idempotency_keys findFirstOrThrow + */ +export type idempotency_keysFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter, which idempotency_keys to fetch. + */ + where?: Prisma.idempotency_keysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of idempotency_keys to fetch. + */ + orderBy?: Prisma.idempotency_keysOrderByWithRelationInput | Prisma.idempotency_keysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for idempotency_keys. + */ + cursor?: Prisma.idempotency_keysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` idempotency_keys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` idempotency_keys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of idempotency_keys. + */ + distinct?: Prisma.Idempotency_keysScalarFieldEnum | Prisma.Idempotency_keysScalarFieldEnum[] +} + +/** + * idempotency_keys findMany + */ +export type idempotency_keysFindManyArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter, which idempotency_keys to fetch. + */ + where?: Prisma.idempotency_keysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of idempotency_keys to fetch. + */ + orderBy?: Prisma.idempotency_keysOrderByWithRelationInput | Prisma.idempotency_keysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing idempotency_keys. + */ + cursor?: Prisma.idempotency_keysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` idempotency_keys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` idempotency_keys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of idempotency_keys. + */ + distinct?: Prisma.Idempotency_keysScalarFieldEnum | Prisma.Idempotency_keysScalarFieldEnum[] +} + +/** + * idempotency_keys create + */ +export type idempotency_keysCreateArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * The data needed to create a idempotency_keys. + */ + data: Prisma.XOR +} + +/** + * idempotency_keys createMany + */ +export type idempotency_keysCreateManyArgs = { + /** + * The data used to create many idempotency_keys. + */ + data: Prisma.idempotency_keysCreateManyInput | Prisma.idempotency_keysCreateManyInput[] +} + +/** + * idempotency_keys createManyAndReturn + */ +export type idempotency_keysCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelectCreateManyAndReturn | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * The data used to create many idempotency_keys. + */ + data: Prisma.idempotency_keysCreateManyInput | Prisma.idempotency_keysCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysIncludeCreateManyAndReturn | null +} + +/** + * idempotency_keys update + */ +export type idempotency_keysUpdateArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * The data needed to update a idempotency_keys. + */ + data: Prisma.XOR + /** + * Choose, which idempotency_keys to update. + */ + where: Prisma.idempotency_keysWhereUniqueInput +} + +/** + * idempotency_keys updateMany + */ +export type idempotency_keysUpdateManyArgs = { + /** + * The data used to update idempotency_keys. + */ + data: Prisma.XOR + /** + * Filter which idempotency_keys to update + */ + where?: Prisma.idempotency_keysWhereInput + /** + * Limit how many idempotency_keys to update. + */ + limit?: number +} + +/** + * idempotency_keys updateManyAndReturn + */ +export type idempotency_keysUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * The data used to update idempotency_keys. + */ + data: Prisma.XOR + /** + * Filter which idempotency_keys to update + */ + where?: Prisma.idempotency_keysWhereInput + /** + * Limit how many idempotency_keys to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysIncludeUpdateManyAndReturn | null +} + +/** + * idempotency_keys upsert + */ +export type idempotency_keysUpsertArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * The filter to search for the idempotency_keys to update in case it exists. + */ + where: Prisma.idempotency_keysWhereUniqueInput + /** + * In case the idempotency_keys found by the `where` argument doesn't exist, create a new idempotency_keys with this data. + */ + create: Prisma.XOR + /** + * In case the idempotency_keys was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * idempotency_keys delete + */ +export type idempotency_keysDeleteArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + /** + * Filter which idempotency_keys to delete. + */ + where: Prisma.idempotency_keysWhereUniqueInput +} + +/** + * idempotency_keys deleteMany + */ +export type idempotency_keysDeleteManyArgs = { + /** + * Filter which idempotency_keys to delete + */ + where?: Prisma.idempotency_keysWhereInput + /** + * Limit how many idempotency_keys to delete. + */ + limit?: number +} + +/** + * idempotency_keys without action + */ +export type idempotency_keysDefaultArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null +} diff --git a/server/src/generated/prisma/models/invite_tokens.ts b/server/src/generated/prisma/models/invite_tokens.ts new file mode 100644 index 00000000..e5a74f89 --- /dev/null +++ b/server/src/generated/prisma/models/invite_tokens.ts @@ -0,0 +1,1469 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `invite_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model invite_tokens + * + */ +export type invite_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregateInvite_tokens = { + _count: Invite_tokensCountAggregateOutputType | null + _avg: Invite_tokensAvgAggregateOutputType | null + _sum: Invite_tokensSumAggregateOutputType | null + _min: Invite_tokensMinAggregateOutputType | null + _max: Invite_tokensMaxAggregateOutputType | null +} + +export type Invite_tokensAvgAggregateOutputType = { + id: number | null + max_uses: number | null + used_count: number | null + created_by: number | null +} + +export type Invite_tokensSumAggregateOutputType = { + id: number | null + max_uses: number | null + used_count: number | null + created_by: number | null +} + +export type Invite_tokensMinAggregateOutputType = { + id: number | null + token: string | null + max_uses: number | null + used_count: number | null + expires_at: string | null + created_by: number | null + created_at: Date | null +} + +export type Invite_tokensMaxAggregateOutputType = { + id: number | null + token: string | null + max_uses: number | null + used_count: number | null + expires_at: string | null + created_by: number | null + created_at: Date | null +} + +export type Invite_tokensCountAggregateOutputType = { + id: number + token: number + max_uses: number + used_count: number + expires_at: number + created_by: number + created_at: number + _all: number +} + + +export type Invite_tokensAvgAggregateInputType = { + id?: true + max_uses?: true + used_count?: true + created_by?: true +} + +export type Invite_tokensSumAggregateInputType = { + id?: true + max_uses?: true + used_count?: true + created_by?: true +} + +export type Invite_tokensMinAggregateInputType = { + id?: true + token?: true + max_uses?: true + used_count?: true + expires_at?: true + created_by?: true + created_at?: true +} + +export type Invite_tokensMaxAggregateInputType = { + id?: true + token?: true + max_uses?: true + used_count?: true + expires_at?: true + created_by?: true + created_at?: true +} + +export type Invite_tokensCountAggregateInputType = { + id?: true + token?: true + max_uses?: true + used_count?: true + expires_at?: true + created_by?: true + created_at?: true + _all?: true +} + +export type Invite_tokensAggregateArgs = { + /** + * Filter which invite_tokens to aggregate. + */ + where?: Prisma.invite_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of invite_tokens to fetch. + */ + orderBy?: Prisma.invite_tokensOrderByWithRelationInput | Prisma.invite_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.invite_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` invite_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` invite_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned invite_tokens + **/ + _count?: true | Invite_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Invite_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Invite_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Invite_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Invite_tokensMaxAggregateInputType +} + +export type GetInvite_tokensAggregateType = { + [P in keyof T & keyof AggregateInvite_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type invite_tokensGroupByArgs = { + where?: Prisma.invite_tokensWhereInput + orderBy?: Prisma.invite_tokensOrderByWithAggregationInput | Prisma.invite_tokensOrderByWithAggregationInput[] + by: Prisma.Invite_tokensScalarFieldEnum[] | Prisma.Invite_tokensScalarFieldEnum + having?: Prisma.invite_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Invite_tokensCountAggregateInputType | true + _avg?: Invite_tokensAvgAggregateInputType + _sum?: Invite_tokensSumAggregateInputType + _min?: Invite_tokensMinAggregateInputType + _max?: Invite_tokensMaxAggregateInputType +} + +export type Invite_tokensGroupByOutputType = { + id: number + token: string + max_uses: number + used_count: number + expires_at: string | null + created_by: number + created_at: Date | null + _count: Invite_tokensCountAggregateOutputType | null + _avg: Invite_tokensAvgAggregateOutputType | null + _sum: Invite_tokensSumAggregateOutputType | null + _min: Invite_tokensMinAggregateOutputType | null + _max: Invite_tokensMaxAggregateOutputType | null +} + +export type GetInvite_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Invite_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type invite_tokensWhereInput = { + AND?: Prisma.invite_tokensWhereInput | Prisma.invite_tokensWhereInput[] + OR?: Prisma.invite_tokensWhereInput[] + NOT?: Prisma.invite_tokensWhereInput | Prisma.invite_tokensWhereInput[] + id?: Prisma.IntFilter<"invite_tokens"> | number + token?: Prisma.StringFilter<"invite_tokens"> | string + max_uses?: Prisma.IntFilter<"invite_tokens"> | number + used_count?: Prisma.IntFilter<"invite_tokens"> | number + expires_at?: Prisma.StringNullableFilter<"invite_tokens"> | string | null + created_by?: Prisma.IntFilter<"invite_tokens"> | number + created_at?: Prisma.DateTimeNullableFilter<"invite_tokens"> | Date | string | null + users?: Prisma.XOR +} + +export type invite_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + token?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + expires_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type invite_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + token?: string + AND?: Prisma.invite_tokensWhereInput | Prisma.invite_tokensWhereInput[] + OR?: Prisma.invite_tokensWhereInput[] + NOT?: Prisma.invite_tokensWhereInput | Prisma.invite_tokensWhereInput[] + max_uses?: Prisma.IntFilter<"invite_tokens"> | number + used_count?: Prisma.IntFilter<"invite_tokens"> | number + expires_at?: Prisma.StringNullableFilter<"invite_tokens"> | string | null + created_by?: Prisma.IntFilter<"invite_tokens"> | number + created_at?: Prisma.DateTimeNullableFilter<"invite_tokens"> | Date | string | null + users?: Prisma.XOR +}, "id" | "token"> + +export type invite_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + token?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + expires_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.invite_tokensCountOrderByAggregateInput + _avg?: Prisma.invite_tokensAvgOrderByAggregateInput + _max?: Prisma.invite_tokensMaxOrderByAggregateInput + _min?: Prisma.invite_tokensMinOrderByAggregateInput + _sum?: Prisma.invite_tokensSumOrderByAggregateInput +} + +export type invite_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.invite_tokensScalarWhereWithAggregatesInput | Prisma.invite_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.invite_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.invite_tokensScalarWhereWithAggregatesInput | Prisma.invite_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"invite_tokens"> | number + token?: Prisma.StringWithAggregatesFilter<"invite_tokens"> | string + max_uses?: Prisma.IntWithAggregatesFilter<"invite_tokens"> | number + used_count?: Prisma.IntWithAggregatesFilter<"invite_tokens"> | number + expires_at?: Prisma.StringNullableWithAggregatesFilter<"invite_tokens"> | string | null + created_by?: Prisma.IntWithAggregatesFilter<"invite_tokens"> | number + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"invite_tokens"> | Date | string | null +} + +export type invite_tokensCreateInput = { + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutInvite_tokensInput +} + +export type invite_tokensUncheckedCreateInput = { + id?: number + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_by: number + created_at?: Date | string | null +} + +export type invite_tokensUpdateInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutInvite_tokensNestedInput +} + +export type invite_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_by?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type invite_tokensCreateManyInput = { + id?: number + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_by: number + created_at?: Date | string | null +} + +export type invite_tokensUpdateManyMutationInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type invite_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_by?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type invite_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + token?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type invite_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + created_by?: Prisma.SortOrder +} + +export type invite_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + token?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type invite_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + token?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type invite_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + max_uses?: Prisma.SortOrder + used_count?: Prisma.SortOrder + created_by?: Prisma.SortOrder +} + +export type Invite_tokensListRelationFilter = { + every?: Prisma.invite_tokensWhereInput + some?: Prisma.invite_tokensWhereInput + none?: Prisma.invite_tokensWhereInput +} + +export type invite_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type invite_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.invite_tokensCreateWithoutUsersInput[] | Prisma.invite_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.invite_tokensCreateOrConnectWithoutUsersInput | Prisma.invite_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.invite_tokensCreateManyUsersInputEnvelope + connect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] +} + +export type invite_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.invite_tokensCreateWithoutUsersInput[] | Prisma.invite_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.invite_tokensCreateOrConnectWithoutUsersInput | Prisma.invite_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.invite_tokensCreateManyUsersInputEnvelope + connect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] +} + +export type invite_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.invite_tokensCreateWithoutUsersInput[] | Prisma.invite_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.invite_tokensCreateOrConnectWithoutUsersInput | Prisma.invite_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.invite_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.invite_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.invite_tokensCreateManyUsersInputEnvelope + set?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + disconnect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + delete?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + connect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + update?: Prisma.invite_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.invite_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.invite_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.invite_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.invite_tokensScalarWhereInput | Prisma.invite_tokensScalarWhereInput[] +} + +export type invite_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.invite_tokensCreateWithoutUsersInput[] | Prisma.invite_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.invite_tokensCreateOrConnectWithoutUsersInput | Prisma.invite_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.invite_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.invite_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.invite_tokensCreateManyUsersInputEnvelope + set?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + disconnect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + delete?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + connect?: Prisma.invite_tokensWhereUniqueInput | Prisma.invite_tokensWhereUniqueInput[] + update?: Prisma.invite_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.invite_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.invite_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.invite_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.invite_tokensScalarWhereInput | Prisma.invite_tokensScalarWhereInput[] +} + +export type invite_tokensCreateWithoutUsersInput = { + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_at?: Date | string | null +} + +export type invite_tokensUncheckedCreateWithoutUsersInput = { + id?: number + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_at?: Date | string | null +} + +export type invite_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.invite_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type invite_tokensCreateManyUsersInputEnvelope = { + data: Prisma.invite_tokensCreateManyUsersInput | Prisma.invite_tokensCreateManyUsersInput[] +} + +export type invite_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.invite_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type invite_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.invite_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type invite_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.invite_tokensScalarWhereInput + data: Prisma.XOR +} + +export type invite_tokensScalarWhereInput = { + AND?: Prisma.invite_tokensScalarWhereInput | Prisma.invite_tokensScalarWhereInput[] + OR?: Prisma.invite_tokensScalarWhereInput[] + NOT?: Prisma.invite_tokensScalarWhereInput | Prisma.invite_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"invite_tokens"> | number + token?: Prisma.StringFilter<"invite_tokens"> | string + max_uses?: Prisma.IntFilter<"invite_tokens"> | number + used_count?: Prisma.IntFilter<"invite_tokens"> | number + expires_at?: Prisma.StringNullableFilter<"invite_tokens"> | string | null + created_by?: Prisma.IntFilter<"invite_tokens"> | number + created_at?: Prisma.DateTimeNullableFilter<"invite_tokens"> | Date | string | null +} + +export type invite_tokensCreateManyUsersInput = { + id?: number + token: string + max_uses?: number + used_count?: number + expires_at?: string | null + created_at?: Date | string | null +} + +export type invite_tokensUpdateWithoutUsersInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type invite_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type invite_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + max_uses?: Prisma.IntFieldUpdateOperationsInput | number + used_count?: Prisma.IntFieldUpdateOperationsInput | number + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type invite_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + token?: boolean + max_uses?: boolean + used_count?: boolean + expires_at?: boolean + created_by?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["invite_tokens"]> + +export type invite_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + token?: boolean + max_uses?: boolean + used_count?: boolean + expires_at?: boolean + created_by?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["invite_tokens"]> + +export type invite_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + token?: boolean + max_uses?: boolean + used_count?: boolean + expires_at?: boolean + created_by?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["invite_tokens"]> + +export type invite_tokensSelectScalar = { + id?: boolean + token?: boolean + max_uses?: boolean + used_count?: boolean + expires_at?: boolean + created_by?: boolean + created_at?: boolean +} + +export type invite_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "token" | "max_uses" | "used_count" | "expires_at" | "created_by" | "created_at", ExtArgs["result"]["invite_tokens"]> +export type invite_tokensInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type invite_tokensIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type invite_tokensIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $invite_tokensPayload = { + name: "invite_tokens" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + token: string + max_uses: number + used_count: number + expires_at: string | null + created_by: number + created_at: Date | null + }, ExtArgs["result"]["invite_tokens"]> + composites: {} +} + +export type invite_tokensGetPayload = runtime.Types.Result.GetResult + +export type invite_tokensCountArgs = + Omit & { + select?: Invite_tokensCountAggregateInputType | true + } + +export interface invite_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['invite_tokens'], meta: { name: 'invite_tokens' } } + /** + * Find zero or one Invite_tokens that matches the filter. + * @param {invite_tokensFindUniqueArgs} args - Arguments to find a Invite_tokens + * @example + * // Get one Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Invite_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {invite_tokensFindUniqueOrThrowArgs} args - Arguments to find a Invite_tokens + * @example + * // Get one Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Invite_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensFindFirstArgs} args - Arguments to find a Invite_tokens + * @example + * // Get one Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Invite_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensFindFirstOrThrowArgs} args - Arguments to find a Invite_tokens + * @example + * // Get one Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Invite_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findMany() + * + * // Get first 10 Invite_tokens + * const invite_tokens = await prisma.invite_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const invite_tokensWithIdOnly = await prisma.invite_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Invite_tokens. + * @param {invite_tokensCreateArgs} args - Arguments to create a Invite_tokens. + * @example + * // Create one Invite_tokens + * const Invite_tokens = await prisma.invite_tokens.create({ + * data: { + * // ... data to create a Invite_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Invite_tokens. + * @param {invite_tokensCreateManyArgs} args - Arguments to create many Invite_tokens. + * @example + * // Create many Invite_tokens + * const invite_tokens = await prisma.invite_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Invite_tokens and returns the data saved in the database. + * @param {invite_tokensCreateManyAndReturnArgs} args - Arguments to create many Invite_tokens. + * @example + * // Create many Invite_tokens + * const invite_tokens = await prisma.invite_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Invite_tokens and only return the `id` + * const invite_tokensWithIdOnly = await prisma.invite_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Invite_tokens. + * @param {invite_tokensDeleteArgs} args - Arguments to delete one Invite_tokens. + * @example + * // Delete one Invite_tokens + * const Invite_tokens = await prisma.invite_tokens.delete({ + * where: { + * // ... filter to delete one Invite_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Invite_tokens. + * @param {invite_tokensUpdateArgs} args - Arguments to update one Invite_tokens. + * @example + * // Update one Invite_tokens + * const invite_tokens = await prisma.invite_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Invite_tokens. + * @param {invite_tokensDeleteManyArgs} args - Arguments to filter Invite_tokens to delete. + * @example + * // Delete a few Invite_tokens + * const { count } = await prisma.invite_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Invite_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Invite_tokens + * const invite_tokens = await prisma.invite_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Invite_tokens and returns the data updated in the database. + * @param {invite_tokensUpdateManyAndReturnArgs} args - Arguments to update many Invite_tokens. + * @example + * // Update many Invite_tokens + * const invite_tokens = await prisma.invite_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Invite_tokens and only return the `id` + * const invite_tokensWithIdOnly = await prisma.invite_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Invite_tokens. + * @param {invite_tokensUpsertArgs} args - Arguments to update or create a Invite_tokens. + * @example + * // Update or create a Invite_tokens + * const invite_tokens = await prisma.invite_tokens.upsert({ + * create: { + * // ... data to create a Invite_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Invite_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__invite_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Invite_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensCountArgs} args - Arguments to filter Invite_tokens to count. + * @example + * // Count the number of Invite_tokens + * const count = await prisma.invite_tokens.count({ + * where: { + * // ... the filter for the Invite_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Invite_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Invite_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Invite_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {invite_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends invite_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: invite_tokensGroupByArgs['orderBy'] } + : { orderBy?: invite_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetInvite_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the invite_tokens model + */ +readonly fields: invite_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for invite_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__invite_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the invite_tokens model + */ +export interface invite_tokensFieldRefs { + readonly id: Prisma.FieldRef<"invite_tokens", 'Int'> + readonly token: Prisma.FieldRef<"invite_tokens", 'String'> + readonly max_uses: Prisma.FieldRef<"invite_tokens", 'Int'> + readonly used_count: Prisma.FieldRef<"invite_tokens", 'Int'> + readonly expires_at: Prisma.FieldRef<"invite_tokens", 'String'> + readonly created_by: Prisma.FieldRef<"invite_tokens", 'Int'> + readonly created_at: Prisma.FieldRef<"invite_tokens", 'DateTime'> +} + + +// Custom InputTypes +/** + * invite_tokens findUnique + */ +export type invite_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter, which invite_tokens to fetch. + */ + where: Prisma.invite_tokensWhereUniqueInput +} + +/** + * invite_tokens findUniqueOrThrow + */ +export type invite_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter, which invite_tokens to fetch. + */ + where: Prisma.invite_tokensWhereUniqueInput +} + +/** + * invite_tokens findFirst + */ +export type invite_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter, which invite_tokens to fetch. + */ + where?: Prisma.invite_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of invite_tokens to fetch. + */ + orderBy?: Prisma.invite_tokensOrderByWithRelationInput | Prisma.invite_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for invite_tokens. + */ + cursor?: Prisma.invite_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` invite_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` invite_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of invite_tokens. + */ + distinct?: Prisma.Invite_tokensScalarFieldEnum | Prisma.Invite_tokensScalarFieldEnum[] +} + +/** + * invite_tokens findFirstOrThrow + */ +export type invite_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter, which invite_tokens to fetch. + */ + where?: Prisma.invite_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of invite_tokens to fetch. + */ + orderBy?: Prisma.invite_tokensOrderByWithRelationInput | Prisma.invite_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for invite_tokens. + */ + cursor?: Prisma.invite_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` invite_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` invite_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of invite_tokens. + */ + distinct?: Prisma.Invite_tokensScalarFieldEnum | Prisma.Invite_tokensScalarFieldEnum[] +} + +/** + * invite_tokens findMany + */ +export type invite_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter, which invite_tokens to fetch. + */ + where?: Prisma.invite_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of invite_tokens to fetch. + */ + orderBy?: Prisma.invite_tokensOrderByWithRelationInput | Prisma.invite_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing invite_tokens. + */ + cursor?: Prisma.invite_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` invite_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` invite_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of invite_tokens. + */ + distinct?: Prisma.Invite_tokensScalarFieldEnum | Prisma.Invite_tokensScalarFieldEnum[] +} + +/** + * invite_tokens create + */ +export type invite_tokensCreateArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * The data needed to create a invite_tokens. + */ + data: Prisma.XOR +} + +/** + * invite_tokens createMany + */ +export type invite_tokensCreateManyArgs = { + /** + * The data used to create many invite_tokens. + */ + data: Prisma.invite_tokensCreateManyInput | Prisma.invite_tokensCreateManyInput[] +} + +/** + * invite_tokens createManyAndReturn + */ +export type invite_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * The data used to create many invite_tokens. + */ + data: Prisma.invite_tokensCreateManyInput | Prisma.invite_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensIncludeCreateManyAndReturn | null +} + +/** + * invite_tokens update + */ +export type invite_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * The data needed to update a invite_tokens. + */ + data: Prisma.XOR + /** + * Choose, which invite_tokens to update. + */ + where: Prisma.invite_tokensWhereUniqueInput +} + +/** + * invite_tokens updateMany + */ +export type invite_tokensUpdateManyArgs = { + /** + * The data used to update invite_tokens. + */ + data: Prisma.XOR + /** + * Filter which invite_tokens to update + */ + where?: Prisma.invite_tokensWhereInput + /** + * Limit how many invite_tokens to update. + */ + limit?: number +} + +/** + * invite_tokens updateManyAndReturn + */ +export type invite_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * The data used to update invite_tokens. + */ + data: Prisma.XOR + /** + * Filter which invite_tokens to update + */ + where?: Prisma.invite_tokensWhereInput + /** + * Limit how many invite_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensIncludeUpdateManyAndReturn | null +} + +/** + * invite_tokens upsert + */ +export type invite_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * The filter to search for the invite_tokens to update in case it exists. + */ + where: Prisma.invite_tokensWhereUniqueInput + /** + * In case the invite_tokens found by the `where` argument doesn't exist, create a new invite_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the invite_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * invite_tokens delete + */ +export type invite_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + /** + * Filter which invite_tokens to delete. + */ + where: Prisma.invite_tokensWhereUniqueInput +} + +/** + * invite_tokens deleteMany + */ +export type invite_tokensDeleteManyArgs = { + /** + * Filter which invite_tokens to delete + */ + where?: Prisma.invite_tokensWhereInput + /** + * Limit how many invite_tokens to delete. + */ + limit?: number +} + +/** + * invite_tokens without action + */ +export type invite_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/journey_contributors.ts b/server/src/generated/prisma/models/journey_contributors.ts new file mode 100644 index 00000000..f80dd9a4 --- /dev/null +++ b/server/src/generated/prisma/models/journey_contributors.ts @@ -0,0 +1,1529 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_contributors` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_contributors + * + */ +export type journey_contributorsModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_contributors = { + _count: Journey_contributorsCountAggregateOutputType | null + _avg: Journey_contributorsAvgAggregateOutputType | null + _sum: Journey_contributorsSumAggregateOutputType | null + _min: Journey_contributorsMinAggregateOutputType | null + _max: Journey_contributorsMaxAggregateOutputType | null +} + +export type Journey_contributorsAvgAggregateOutputType = { + journey_id: number | null + user_id: number | null + added_at: number | null + hide_skeletons: number | null +} + +export type Journey_contributorsSumAggregateOutputType = { + journey_id: number | null + user_id: number | null + added_at: number | null + hide_skeletons: number | null +} + +export type Journey_contributorsMinAggregateOutputType = { + journey_id: number | null + user_id: number | null + role: string | null + added_at: number | null + hide_skeletons: number | null +} + +export type Journey_contributorsMaxAggregateOutputType = { + journey_id: number | null + user_id: number | null + role: string | null + added_at: number | null + hide_skeletons: number | null +} + +export type Journey_contributorsCountAggregateOutputType = { + journey_id: number + user_id: number + role: number + added_at: number + hide_skeletons: number + _all: number +} + + +export type Journey_contributorsAvgAggregateInputType = { + journey_id?: true + user_id?: true + added_at?: true + hide_skeletons?: true +} + +export type Journey_contributorsSumAggregateInputType = { + journey_id?: true + user_id?: true + added_at?: true + hide_skeletons?: true +} + +export type Journey_contributorsMinAggregateInputType = { + journey_id?: true + user_id?: true + role?: true + added_at?: true + hide_skeletons?: true +} + +export type Journey_contributorsMaxAggregateInputType = { + journey_id?: true + user_id?: true + role?: true + added_at?: true + hide_skeletons?: true +} + +export type Journey_contributorsCountAggregateInputType = { + journey_id?: true + user_id?: true + role?: true + added_at?: true + hide_skeletons?: true + _all?: true +} + +export type Journey_contributorsAggregateArgs = { + /** + * Filter which journey_contributors to aggregate. + */ + where?: Prisma.journey_contributorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_contributors to fetch. + */ + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_contributorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_contributors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_contributors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_contributors + **/ + _count?: true | Journey_contributorsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_contributorsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_contributorsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_contributorsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_contributorsMaxAggregateInputType +} + +export type GetJourney_contributorsAggregateType = { + [P in keyof T & keyof AggregateJourney_contributors]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_contributorsGroupByArgs = { + where?: Prisma.journey_contributorsWhereInput + orderBy?: Prisma.journey_contributorsOrderByWithAggregationInput | Prisma.journey_contributorsOrderByWithAggregationInput[] + by: Prisma.Journey_contributorsScalarFieldEnum[] | Prisma.Journey_contributorsScalarFieldEnum + having?: Prisma.journey_contributorsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_contributorsCountAggregateInputType | true + _avg?: Journey_contributorsAvgAggregateInputType + _sum?: Journey_contributorsSumAggregateInputType + _min?: Journey_contributorsMinAggregateInputType + _max?: Journey_contributorsMaxAggregateInputType +} + +export type Journey_contributorsGroupByOutputType = { + journey_id: number + user_id: number + role: string + added_at: number + hide_skeletons: number + _count: Journey_contributorsCountAggregateOutputType | null + _avg: Journey_contributorsAvgAggregateOutputType | null + _sum: Journey_contributorsSumAggregateOutputType | null + _min: Journey_contributorsMinAggregateOutputType | null + _max: Journey_contributorsMaxAggregateOutputType | null +} + +export type GetJourney_contributorsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_contributorsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_contributorsWhereInput = { + AND?: Prisma.journey_contributorsWhereInput | Prisma.journey_contributorsWhereInput[] + OR?: Prisma.journey_contributorsWhereInput[] + NOT?: Prisma.journey_contributorsWhereInput | Prisma.journey_contributorsWhereInput[] + journey_id?: Prisma.IntFilter<"journey_contributors"> | number + user_id?: Prisma.IntFilter<"journey_contributors"> | number + role?: Prisma.StringFilter<"journey_contributors"> | string + added_at?: Prisma.IntFilter<"journey_contributors"> | number + hide_skeletons?: Prisma.IntFilter<"journey_contributors"> | number + users?: Prisma.XOR + journeys?: Prisma.XOR +} + +export type journey_contributorsOrderByWithRelationInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + role?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + journeys?: Prisma.journeysOrderByWithRelationInput +} + +export type journey_contributorsWhereUniqueInput = Prisma.AtLeast<{ + journey_id_user_id?: Prisma.journey_contributorsJourney_idUser_idCompoundUniqueInput + AND?: Prisma.journey_contributorsWhereInput | Prisma.journey_contributorsWhereInput[] + OR?: Prisma.journey_contributorsWhereInput[] + NOT?: Prisma.journey_contributorsWhereInput | Prisma.journey_contributorsWhereInput[] + journey_id?: Prisma.IntFilter<"journey_contributors"> | number + user_id?: Prisma.IntFilter<"journey_contributors"> | number + role?: Prisma.StringFilter<"journey_contributors"> | string + added_at?: Prisma.IntFilter<"journey_contributors"> | number + hide_skeletons?: Prisma.IntFilter<"journey_contributors"> | number + users?: Prisma.XOR + journeys?: Prisma.XOR +}, "journey_id_user_id"> + +export type journey_contributorsOrderByWithAggregationInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + role?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder + _count?: Prisma.journey_contributorsCountOrderByAggregateInput + _avg?: Prisma.journey_contributorsAvgOrderByAggregateInput + _max?: Prisma.journey_contributorsMaxOrderByAggregateInput + _min?: Prisma.journey_contributorsMinOrderByAggregateInput + _sum?: Prisma.journey_contributorsSumOrderByAggregateInput +} + +export type journey_contributorsScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_contributorsScalarWhereWithAggregatesInput | Prisma.journey_contributorsScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_contributorsScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_contributorsScalarWhereWithAggregatesInput | Prisma.journey_contributorsScalarWhereWithAggregatesInput[] + journey_id?: Prisma.IntWithAggregatesFilter<"journey_contributors"> | number + user_id?: Prisma.IntWithAggregatesFilter<"journey_contributors"> | number + role?: Prisma.StringWithAggregatesFilter<"journey_contributors"> | string + added_at?: Prisma.IntWithAggregatesFilter<"journey_contributors"> | number + hide_skeletons?: Prisma.IntWithAggregatesFilter<"journey_contributors"> | number +} + +export type journey_contributorsCreateInput = { + role: string + added_at: number + hide_skeletons?: number + users: Prisma.usersCreateNestedOneWithoutJourney_contributorsInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_contributorsInput +} + +export type journey_contributorsUncheckedCreateInput = { + journey_id: number + user_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsUpdateInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutJourney_contributorsNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_contributorsNestedInput +} + +export type journey_contributorsUncheckedUpdateInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsCreateManyInput = { + journey_id: number + user_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsUpdateManyMutationInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsUncheckedUpdateManyInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsJourney_idUser_idCompoundUniqueInput = { + journey_id: number + user_id: number +} + +export type journey_contributorsCountOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + role?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder +} + +export type journey_contributorsAvgOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder +} + +export type journey_contributorsMaxOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + role?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder +} + +export type journey_contributorsMinOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + role?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder +} + +export type journey_contributorsSumOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder + hide_skeletons?: Prisma.SortOrder +} + +export type Journey_contributorsListRelationFilter = { + every?: Prisma.journey_contributorsWhereInput + some?: Prisma.journey_contributorsWhereInput + none?: Prisma.journey_contributorsWhereInput +} + +export type journey_contributorsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_contributorsCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutJourneysInput[] | Prisma.journey_contributorsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput | Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_contributorsCreateManyJourneysInputEnvelope + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] +} + +export type journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutJourneysInput[] | Prisma.journey_contributorsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput | Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_contributorsCreateManyJourneysInputEnvelope + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] +} + +export type journey_contributorsUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutJourneysInput[] | Prisma.journey_contributorsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput | Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_contributorsUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_contributorsUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_contributorsCreateManyJourneysInputEnvelope + set?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + disconnect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + delete?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + update?: Prisma.journey_contributorsUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_contributorsUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_contributorsUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_contributorsUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] +} + +export type journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutJourneysInput[] | Prisma.journey_contributorsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput | Prisma.journey_contributorsCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_contributorsUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_contributorsUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_contributorsCreateManyJourneysInputEnvelope + set?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + disconnect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + delete?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + update?: Prisma.journey_contributorsUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_contributorsUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_contributorsUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_contributorsUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] +} + +export type journey_contributorsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutUsersInput[] | Prisma.journey_contributorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutUsersInput | Prisma.journey_contributorsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_contributorsCreateManyUsersInputEnvelope + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] +} + +export type journey_contributorsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutUsersInput[] | Prisma.journey_contributorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutUsersInput | Prisma.journey_contributorsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_contributorsCreateManyUsersInputEnvelope + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] +} + +export type journey_contributorsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutUsersInput[] | Prisma.journey_contributorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutUsersInput | Prisma.journey_contributorsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_contributorsUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_contributorsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_contributorsCreateManyUsersInputEnvelope + set?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + disconnect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + delete?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + update?: Prisma.journey_contributorsUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_contributorsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_contributorsUpdateManyWithWhereWithoutUsersInput | Prisma.journey_contributorsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] +} + +export type journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_contributorsCreateWithoutUsersInput[] | Prisma.journey_contributorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_contributorsCreateOrConnectWithoutUsersInput | Prisma.journey_contributorsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_contributorsUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_contributorsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_contributorsCreateManyUsersInputEnvelope + set?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + disconnect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + delete?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + connect?: Prisma.journey_contributorsWhereUniqueInput | Prisma.journey_contributorsWhereUniqueInput[] + update?: Prisma.journey_contributorsUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_contributorsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_contributorsUpdateManyWithWhereWithoutUsersInput | Prisma.journey_contributorsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] +} + +export type journey_contributorsCreateWithoutJourneysInput = { + role: string + added_at: number + hide_skeletons?: number + users: Prisma.usersCreateNestedOneWithoutJourney_contributorsInput +} + +export type journey_contributorsUncheckedCreateWithoutJourneysInput = { + user_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsCreateOrConnectWithoutJourneysInput = { + where: Prisma.journey_contributorsWhereUniqueInput + create: Prisma.XOR +} + +export type journey_contributorsCreateManyJourneysInputEnvelope = { + data: Prisma.journey_contributorsCreateManyJourneysInput | Prisma.journey_contributorsCreateManyJourneysInput[] +} + +export type journey_contributorsUpsertWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_contributorsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_contributorsUpdateWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_contributorsWhereUniqueInput + data: Prisma.XOR +} + +export type journey_contributorsUpdateManyWithWhereWithoutJourneysInput = { + where: Prisma.journey_contributorsScalarWhereInput + data: Prisma.XOR +} + +export type journey_contributorsScalarWhereInput = { + AND?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] + OR?: Prisma.journey_contributorsScalarWhereInput[] + NOT?: Prisma.journey_contributorsScalarWhereInput | Prisma.journey_contributorsScalarWhereInput[] + journey_id?: Prisma.IntFilter<"journey_contributors"> | number + user_id?: Prisma.IntFilter<"journey_contributors"> | number + role?: Prisma.StringFilter<"journey_contributors"> | string + added_at?: Prisma.IntFilter<"journey_contributors"> | number + hide_skeletons?: Prisma.IntFilter<"journey_contributors"> | number +} + +export type journey_contributorsCreateWithoutUsersInput = { + role: string + added_at: number + hide_skeletons?: number + journeys: Prisma.journeysCreateNestedOneWithoutJourney_contributorsInput +} + +export type journey_contributorsUncheckedCreateWithoutUsersInput = { + journey_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsCreateOrConnectWithoutUsersInput = { + where: Prisma.journey_contributorsWhereUniqueInput + create: Prisma.XOR +} + +export type journey_contributorsCreateManyUsersInputEnvelope = { + data: Prisma.journey_contributorsCreateManyUsersInput | Prisma.journey_contributorsCreateManyUsersInput[] +} + +export type journey_contributorsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_contributorsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_contributorsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_contributorsWhereUniqueInput + data: Prisma.XOR +} + +export type journey_contributorsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.journey_contributorsScalarWhereInput + data: Prisma.XOR +} + +export type journey_contributorsCreateManyJourneysInput = { + user_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsUpdateWithoutJourneysInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutJourney_contributorsNestedInput +} + +export type journey_contributorsUncheckedUpdateWithoutJourneysInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsUncheckedUpdateManyWithoutJourneysInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsCreateManyUsersInput = { + journey_id: number + role: string + added_at: number + hide_skeletons?: number +} + +export type journey_contributorsUpdateWithoutUsersInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_contributorsNestedInput +} + +export type journey_contributorsUncheckedUpdateWithoutUsersInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_contributorsUncheckedUpdateManyWithoutUsersInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + added_at?: Prisma.IntFieldUpdateOperationsInput | number + hide_skeletons?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type journey_contributorsSelect = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + user_id?: boolean + role?: boolean + added_at?: boolean + hide_skeletons?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_contributors"]> + +export type journey_contributorsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + user_id?: boolean + role?: boolean + added_at?: boolean + hide_skeletons?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_contributors"]> + +export type journey_contributorsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + user_id?: boolean + role?: boolean + added_at?: boolean + hide_skeletons?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_contributors"]> + +export type journey_contributorsSelectScalar = { + journey_id?: boolean + user_id?: boolean + role?: boolean + added_at?: boolean + hide_skeletons?: boolean +} + +export type journey_contributorsOmit = runtime.Types.Extensions.GetOmit<"journey_id" | "user_id" | "role" | "added_at" | "hide_skeletons", ExtArgs["result"]["journey_contributors"]> +export type journey_contributorsInclude = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_contributorsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_contributorsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} + +export type $journey_contributorsPayload = { + name: "journey_contributors" + objects: { + users: Prisma.$usersPayload + journeys: Prisma.$journeysPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + journey_id: number + user_id: number + role: string + added_at: number + hide_skeletons: number + }, ExtArgs["result"]["journey_contributors"]> + composites: {} +} + +export type journey_contributorsGetPayload = runtime.Types.Result.GetResult + +export type journey_contributorsCountArgs = + Omit & { + select?: Journey_contributorsCountAggregateInputType | true + } + +export interface journey_contributorsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_contributors'], meta: { name: 'journey_contributors' } } + /** + * Find zero or one Journey_contributors that matches the filter. + * @param {journey_contributorsFindUniqueArgs} args - Arguments to find a Journey_contributors + * @example + * // Get one Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_contributors that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_contributorsFindUniqueOrThrowArgs} args - Arguments to find a Journey_contributors + * @example + * // Get one Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_contributors that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsFindFirstArgs} args - Arguments to find a Journey_contributors + * @example + * // Get one Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_contributors that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsFindFirstOrThrowArgs} args - Arguments to find a Journey_contributors + * @example + * // Get one Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_contributors that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findMany() + * + * // Get first 10 Journey_contributors + * const journey_contributors = await prisma.journey_contributors.findMany({ take: 10 }) + * + * // Only select the `journey_id` + * const journey_contributorsWithJourney_idOnly = await prisma.journey_contributors.findMany({ select: { journey_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_contributors. + * @param {journey_contributorsCreateArgs} args - Arguments to create a Journey_contributors. + * @example + * // Create one Journey_contributors + * const Journey_contributors = await prisma.journey_contributors.create({ + * data: { + * // ... data to create a Journey_contributors + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_contributors. + * @param {journey_contributorsCreateManyArgs} args - Arguments to create many Journey_contributors. + * @example + * // Create many Journey_contributors + * const journey_contributors = await prisma.journey_contributors.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_contributors and returns the data saved in the database. + * @param {journey_contributorsCreateManyAndReturnArgs} args - Arguments to create many Journey_contributors. + * @example + * // Create many Journey_contributors + * const journey_contributors = await prisma.journey_contributors.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_contributors and only return the `journey_id` + * const journey_contributorsWithJourney_idOnly = await prisma.journey_contributors.createManyAndReturn({ + * select: { journey_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_contributors. + * @param {journey_contributorsDeleteArgs} args - Arguments to delete one Journey_contributors. + * @example + * // Delete one Journey_contributors + * const Journey_contributors = await prisma.journey_contributors.delete({ + * where: { + * // ... filter to delete one Journey_contributors + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_contributors. + * @param {journey_contributorsUpdateArgs} args - Arguments to update one Journey_contributors. + * @example + * // Update one Journey_contributors + * const journey_contributors = await prisma.journey_contributors.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_contributors. + * @param {journey_contributorsDeleteManyArgs} args - Arguments to filter Journey_contributors to delete. + * @example + * // Delete a few Journey_contributors + * const { count } = await prisma.journey_contributors.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_contributors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_contributors + * const journey_contributors = await prisma.journey_contributors.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_contributors and returns the data updated in the database. + * @param {journey_contributorsUpdateManyAndReturnArgs} args - Arguments to update many Journey_contributors. + * @example + * // Update many Journey_contributors + * const journey_contributors = await prisma.journey_contributors.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_contributors and only return the `journey_id` + * const journey_contributorsWithJourney_idOnly = await prisma.journey_contributors.updateManyAndReturn({ + * select: { journey_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_contributors. + * @param {journey_contributorsUpsertArgs} args - Arguments to update or create a Journey_contributors. + * @example + * // Update or create a Journey_contributors + * const journey_contributors = await prisma.journey_contributors.upsert({ + * create: { + * // ... data to create a Journey_contributors + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_contributors we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_contributorsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_contributors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsCountArgs} args - Arguments to filter Journey_contributors to count. + * @example + * // Count the number of Journey_contributors + * const count = await prisma.journey_contributors.count({ + * where: { + * // ... the filter for the Journey_contributors we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_contributors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_contributorsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_contributors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_contributorsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_contributorsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_contributorsGroupByArgs['orderBy'] } + : { orderBy?: journey_contributorsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_contributorsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_contributors model + */ +readonly fields: journey_contributorsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_contributors. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_contributorsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journeys = {}>(args?: Prisma.Subset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_contributors model + */ +export interface journey_contributorsFieldRefs { + readonly journey_id: Prisma.FieldRef<"journey_contributors", 'Int'> + readonly user_id: Prisma.FieldRef<"journey_contributors", 'Int'> + readonly role: Prisma.FieldRef<"journey_contributors", 'String'> + readonly added_at: Prisma.FieldRef<"journey_contributors", 'Int'> + readonly hide_skeletons: Prisma.FieldRef<"journey_contributors", 'Int'> +} + + +// Custom InputTypes +/** + * journey_contributors findUnique + */ +export type journey_contributorsFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter, which journey_contributors to fetch. + */ + where: Prisma.journey_contributorsWhereUniqueInput +} + +/** + * journey_contributors findUniqueOrThrow + */ +export type journey_contributorsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter, which journey_contributors to fetch. + */ + where: Prisma.journey_contributorsWhereUniqueInput +} + +/** + * journey_contributors findFirst + */ +export type journey_contributorsFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter, which journey_contributors to fetch. + */ + where?: Prisma.journey_contributorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_contributors to fetch. + */ + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_contributors. + */ + cursor?: Prisma.journey_contributorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_contributors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_contributors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_contributors. + */ + distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] +} + +/** + * journey_contributors findFirstOrThrow + */ +export type journey_contributorsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter, which journey_contributors to fetch. + */ + where?: Prisma.journey_contributorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_contributors to fetch. + */ + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_contributors. + */ + cursor?: Prisma.journey_contributorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_contributors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_contributors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_contributors. + */ + distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] +} + +/** + * journey_contributors findMany + */ +export type journey_contributorsFindManyArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter, which journey_contributors to fetch. + */ + where?: Prisma.journey_contributorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_contributors to fetch. + */ + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_contributors. + */ + cursor?: Prisma.journey_contributorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_contributors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_contributors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_contributors. + */ + distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] +} + +/** + * journey_contributors create + */ +export type journey_contributorsCreateArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * The data needed to create a journey_contributors. + */ + data: Prisma.XOR +} + +/** + * journey_contributors createMany + */ +export type journey_contributorsCreateManyArgs = { + /** + * The data used to create many journey_contributors. + */ + data: Prisma.journey_contributorsCreateManyInput | Prisma.journey_contributorsCreateManyInput[] +} + +/** + * journey_contributors createManyAndReturn + */ +export type journey_contributorsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * The data used to create many journey_contributors. + */ + data: Prisma.journey_contributorsCreateManyInput | Prisma.journey_contributorsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsIncludeCreateManyAndReturn | null +} + +/** + * journey_contributors update + */ +export type journey_contributorsUpdateArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * The data needed to update a journey_contributors. + */ + data: Prisma.XOR + /** + * Choose, which journey_contributors to update. + */ + where: Prisma.journey_contributorsWhereUniqueInput +} + +/** + * journey_contributors updateMany + */ +export type journey_contributorsUpdateManyArgs = { + /** + * The data used to update journey_contributors. + */ + data: Prisma.XOR + /** + * Filter which journey_contributors to update + */ + where?: Prisma.journey_contributorsWhereInput + /** + * Limit how many journey_contributors to update. + */ + limit?: number +} + +/** + * journey_contributors updateManyAndReturn + */ +export type journey_contributorsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * The data used to update journey_contributors. + */ + data: Prisma.XOR + /** + * Filter which journey_contributors to update + */ + where?: Prisma.journey_contributorsWhereInput + /** + * Limit how many journey_contributors to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsIncludeUpdateManyAndReturn | null +} + +/** + * journey_contributors upsert + */ +export type journey_contributorsUpsertArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * The filter to search for the journey_contributors to update in case it exists. + */ + where: Prisma.journey_contributorsWhereUniqueInput + /** + * In case the journey_contributors found by the `where` argument doesn't exist, create a new journey_contributors with this data. + */ + create: Prisma.XOR + /** + * In case the journey_contributors was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_contributors delete + */ +export type journey_contributorsDeleteArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + /** + * Filter which journey_contributors to delete. + */ + where: Prisma.journey_contributorsWhereUniqueInput +} + +/** + * journey_contributors deleteMany + */ +export type journey_contributorsDeleteManyArgs = { + /** + * Filter which journey_contributors to delete + */ + where?: Prisma.journey_contributorsWhereInput + /** + * Limit how many journey_contributors to delete. + */ + limit?: number +} + +/** + * journey_contributors without action + */ +export type journey_contributorsDefaultArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null +} diff --git a/server/src/generated/prisma/models/journey_entries.ts b/server/src/generated/prisma/models/journey_entries.ts new file mode 100644 index 00000000..8822b2af --- /dev/null +++ b/server/src/generated/prisma/models/journey_entries.ts @@ -0,0 +1,2883 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_entries` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_entries + * + */ +export type journey_entriesModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_entries = { + _count: Journey_entriesCountAggregateOutputType | null + _avg: Journey_entriesAvgAggregateOutputType | null + _sum: Journey_entriesSumAggregateOutputType | null + _min: Journey_entriesMinAggregateOutputType | null + _max: Journey_entriesMaxAggregateOutputType | null +} + +export type Journey_entriesAvgAggregateOutputType = { + id: number | null + journey_id: number | null + source_trip_id: number | null + source_place_id: number | null + author_id: number | null + location_lat: number | null + location_lng: number | null + sort_order: number | null + created_at: number | null + updated_at: number | null +} + +export type Journey_entriesSumAggregateOutputType = { + id: number | null + journey_id: number | null + source_trip_id: number | null + source_place_id: number | null + author_id: number | null + location_lat: number | null + location_lng: number | null + sort_order: number | null + created_at: number | null + updated_at: number | null +} + +export type Journey_entriesMinAggregateOutputType = { + id: number | null + journey_id: number | null + source_trip_id: number | null + source_place_id: number | null + author_id: number | null + type: string | null + title: string | null + story: string | null + entry_date: string | null + entry_time: string | null + location_name: string | null + location_lat: number | null + location_lng: number | null + mood: string | null + weather: string | null + tags: string | null + visibility: string | null + sort_order: number | null + created_at: number | null + updated_at: number | null + pros_cons: string | null +} + +export type Journey_entriesMaxAggregateOutputType = { + id: number | null + journey_id: number | null + source_trip_id: number | null + source_place_id: number | null + author_id: number | null + type: string | null + title: string | null + story: string | null + entry_date: string | null + entry_time: string | null + location_name: string | null + location_lat: number | null + location_lng: number | null + mood: string | null + weather: string | null + tags: string | null + visibility: string | null + sort_order: number | null + created_at: number | null + updated_at: number | null + pros_cons: string | null +} + +export type Journey_entriesCountAggregateOutputType = { + id: number + journey_id: number + source_trip_id: number + source_place_id: number + author_id: number + type: number + title: number + story: number + entry_date: number + entry_time: number + location_name: number + location_lat: number + location_lng: number + mood: number + weather: number + tags: number + visibility: number + sort_order: number + created_at: number + updated_at: number + pros_cons: number + _all: number +} + + +export type Journey_entriesAvgAggregateInputType = { + id?: true + journey_id?: true + source_trip_id?: true + source_place_id?: true + author_id?: true + location_lat?: true + location_lng?: true + sort_order?: true + created_at?: true + updated_at?: true +} + +export type Journey_entriesSumAggregateInputType = { + id?: true + journey_id?: true + source_trip_id?: true + source_place_id?: true + author_id?: true + location_lat?: true + location_lng?: true + sort_order?: true + created_at?: true + updated_at?: true +} + +export type Journey_entriesMinAggregateInputType = { + id?: true + journey_id?: true + source_trip_id?: true + source_place_id?: true + author_id?: true + type?: true + title?: true + story?: true + entry_date?: true + entry_time?: true + location_name?: true + location_lat?: true + location_lng?: true + mood?: true + weather?: true + tags?: true + visibility?: true + sort_order?: true + created_at?: true + updated_at?: true + pros_cons?: true +} + +export type Journey_entriesMaxAggregateInputType = { + id?: true + journey_id?: true + source_trip_id?: true + source_place_id?: true + author_id?: true + type?: true + title?: true + story?: true + entry_date?: true + entry_time?: true + location_name?: true + location_lat?: true + location_lng?: true + mood?: true + weather?: true + tags?: true + visibility?: true + sort_order?: true + created_at?: true + updated_at?: true + pros_cons?: true +} + +export type Journey_entriesCountAggregateInputType = { + id?: true + journey_id?: true + source_trip_id?: true + source_place_id?: true + author_id?: true + type?: true + title?: true + story?: true + entry_date?: true + entry_time?: true + location_name?: true + location_lat?: true + location_lng?: true + mood?: true + weather?: true + tags?: true + visibility?: true + sort_order?: true + created_at?: true + updated_at?: true + pros_cons?: true + _all?: true +} + +export type Journey_entriesAggregateArgs = { + /** + * Filter which journey_entries to aggregate. + */ + where?: Prisma.journey_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entries to fetch. + */ + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_entries + **/ + _count?: true | Journey_entriesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_entriesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_entriesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_entriesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_entriesMaxAggregateInputType +} + +export type GetJourney_entriesAggregateType = { + [P in keyof T & keyof AggregateJourney_entries]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_entriesGroupByArgs = { + where?: Prisma.journey_entriesWhereInput + orderBy?: Prisma.journey_entriesOrderByWithAggregationInput | Prisma.journey_entriesOrderByWithAggregationInput[] + by: Prisma.Journey_entriesScalarFieldEnum[] | Prisma.Journey_entriesScalarFieldEnum + having?: Prisma.journey_entriesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_entriesCountAggregateInputType | true + _avg?: Journey_entriesAvgAggregateInputType + _sum?: Journey_entriesSumAggregateInputType + _min?: Journey_entriesMinAggregateInputType + _max?: Journey_entriesMaxAggregateInputType +} + +export type Journey_entriesGroupByOutputType = { + id: number + journey_id: number + source_trip_id: number | null + source_place_id: number | null + author_id: number + type: string + title: string | null + story: string | null + entry_date: string + entry_time: string | null + location_name: string | null + location_lat: number | null + location_lng: number | null + mood: string | null + weather: string | null + tags: string | null + visibility: string | null + sort_order: number | null + created_at: number + updated_at: number + pros_cons: string | null + _count: Journey_entriesCountAggregateOutputType | null + _avg: Journey_entriesAvgAggregateOutputType | null + _sum: Journey_entriesSumAggregateOutputType | null + _min: Journey_entriesMinAggregateOutputType | null + _max: Journey_entriesMaxAggregateOutputType | null +} + +export type GetJourney_entriesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_entriesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_entriesWhereInput = { + AND?: Prisma.journey_entriesWhereInput | Prisma.journey_entriesWhereInput[] + OR?: Prisma.journey_entriesWhereInput[] + NOT?: Prisma.journey_entriesWhereInput | Prisma.journey_entriesWhereInput[] + id?: Prisma.IntFilter<"journey_entries"> | number + journey_id?: Prisma.IntFilter<"journey_entries"> | number + source_trip_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + source_place_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + author_id?: Prisma.IntFilter<"journey_entries"> | number + type?: Prisma.StringFilter<"journey_entries"> | string + title?: Prisma.StringNullableFilter<"journey_entries"> | string | null + story?: Prisma.StringNullableFilter<"journey_entries"> | string | null + entry_date?: Prisma.StringFilter<"journey_entries"> | string + entry_time?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_name?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_lat?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + location_lng?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + mood?: Prisma.StringNullableFilter<"journey_entries"> | string | null + weather?: Prisma.StringNullableFilter<"journey_entries"> | string | null + tags?: Prisma.StringNullableFilter<"journey_entries"> | string | null + visibility?: Prisma.StringNullableFilter<"journey_entries"> | string | null + sort_order?: Prisma.IntNullableFilter<"journey_entries"> | number | null + created_at?: Prisma.IntFilter<"journey_entries"> | number + updated_at?: Prisma.IntFilter<"journey_entries"> | number + pros_cons?: Prisma.StringNullableFilter<"journey_entries"> | string | null + users?: Prisma.XOR + places?: Prisma.XOR | null + trips?: Prisma.XOR | null + journeys?: Prisma.XOR + journey_entry_photos?: Prisma.Journey_entry_photosListRelationFilter +} + +export type journey_entriesOrderByWithRelationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrderInput | Prisma.SortOrder + source_place_id?: Prisma.SortOrderInput | Prisma.SortOrder + author_id?: Prisma.SortOrder + type?: Prisma.SortOrder + title?: Prisma.SortOrderInput | Prisma.SortOrder + story?: Prisma.SortOrderInput | Prisma.SortOrder + entry_date?: Prisma.SortOrder + entry_time?: Prisma.SortOrderInput | Prisma.SortOrder + location_name?: Prisma.SortOrderInput | Prisma.SortOrder + location_lat?: Prisma.SortOrderInput | Prisma.SortOrder + location_lng?: Prisma.SortOrderInput | Prisma.SortOrder + mood?: Prisma.SortOrderInput | Prisma.SortOrder + weather?: Prisma.SortOrderInput | Prisma.SortOrder + tags?: Prisma.SortOrderInput | Prisma.SortOrder + visibility?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + pros_cons?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + places?: Prisma.placesOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + journeys?: Prisma.journeysOrderByWithRelationInput + journey_entry_photos?: Prisma.journey_entry_photosOrderByRelationAggregateInput +} + +export type journey_entriesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.journey_entriesWhereInput | Prisma.journey_entriesWhereInput[] + OR?: Prisma.journey_entriesWhereInput[] + NOT?: Prisma.journey_entriesWhereInput | Prisma.journey_entriesWhereInput[] + journey_id?: Prisma.IntFilter<"journey_entries"> | number + source_trip_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + source_place_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + author_id?: Prisma.IntFilter<"journey_entries"> | number + type?: Prisma.StringFilter<"journey_entries"> | string + title?: Prisma.StringNullableFilter<"journey_entries"> | string | null + story?: Prisma.StringNullableFilter<"journey_entries"> | string | null + entry_date?: Prisma.StringFilter<"journey_entries"> | string + entry_time?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_name?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_lat?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + location_lng?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + mood?: Prisma.StringNullableFilter<"journey_entries"> | string | null + weather?: Prisma.StringNullableFilter<"journey_entries"> | string | null + tags?: Prisma.StringNullableFilter<"journey_entries"> | string | null + visibility?: Prisma.StringNullableFilter<"journey_entries"> | string | null + sort_order?: Prisma.IntNullableFilter<"journey_entries"> | number | null + created_at?: Prisma.IntFilter<"journey_entries"> | number + updated_at?: Prisma.IntFilter<"journey_entries"> | number + pros_cons?: Prisma.StringNullableFilter<"journey_entries"> | string | null + users?: Prisma.XOR + places?: Prisma.XOR | null + trips?: Prisma.XOR | null + journeys?: Prisma.XOR + journey_entry_photos?: Prisma.Journey_entry_photosListRelationFilter +}, "id"> + +export type journey_entriesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrderInput | Prisma.SortOrder + source_place_id?: Prisma.SortOrderInput | Prisma.SortOrder + author_id?: Prisma.SortOrder + type?: Prisma.SortOrder + title?: Prisma.SortOrderInput | Prisma.SortOrder + story?: Prisma.SortOrderInput | Prisma.SortOrder + entry_date?: Prisma.SortOrder + entry_time?: Prisma.SortOrderInput | Prisma.SortOrder + location_name?: Prisma.SortOrderInput | Prisma.SortOrder + location_lat?: Prisma.SortOrderInput | Prisma.SortOrder + location_lng?: Prisma.SortOrderInput | Prisma.SortOrder + mood?: Prisma.SortOrderInput | Prisma.SortOrder + weather?: Prisma.SortOrderInput | Prisma.SortOrder + tags?: Prisma.SortOrderInput | Prisma.SortOrder + visibility?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + pros_cons?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.journey_entriesCountOrderByAggregateInput + _avg?: Prisma.journey_entriesAvgOrderByAggregateInput + _max?: Prisma.journey_entriesMaxOrderByAggregateInput + _min?: Prisma.journey_entriesMinOrderByAggregateInput + _sum?: Prisma.journey_entriesSumOrderByAggregateInput +} + +export type journey_entriesScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_entriesScalarWhereWithAggregatesInput | Prisma.journey_entriesScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_entriesScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_entriesScalarWhereWithAggregatesInput | Prisma.journey_entriesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"journey_entries"> | number + journey_id?: Prisma.IntWithAggregatesFilter<"journey_entries"> | number + source_trip_id?: Prisma.IntNullableWithAggregatesFilter<"journey_entries"> | number | null + source_place_id?: Prisma.IntNullableWithAggregatesFilter<"journey_entries"> | number | null + author_id?: Prisma.IntWithAggregatesFilter<"journey_entries"> | number + type?: Prisma.StringWithAggregatesFilter<"journey_entries"> | string + title?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + story?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + entry_date?: Prisma.StringWithAggregatesFilter<"journey_entries"> | string + entry_time?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + location_name?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + location_lat?: Prisma.FloatNullableWithAggregatesFilter<"journey_entries"> | number | null + location_lng?: Prisma.FloatNullableWithAggregatesFilter<"journey_entries"> | number | null + mood?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + weather?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + tags?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + visibility?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"journey_entries"> | number | null + created_at?: Prisma.IntWithAggregatesFilter<"journey_entries"> | number + updated_at?: Prisma.IntWithAggregatesFilter<"journey_entries"> | number + pros_cons?: Prisma.StringNullableWithAggregatesFilter<"journey_entries"> | string | null +} + +export type journey_entriesCreateInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + users: Prisma.usersCreateNestedOneWithoutJourney_entriesInput + places?: Prisma.placesCreateNestedOneWithoutJourney_entriesInput + trips?: Prisma.tripsCreateNestedOneWithoutJourney_entriesInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_entriesInput + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateInput = { + id?: number + journey_id: number + source_trip_id?: number | null + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUpdateInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_entriesNestedInput + places?: Prisma.placesUpdateOneWithoutJourney_entriesNestedInput + trips?: Prisma.tripsUpdateOneWithoutJourney_entriesNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_entriesNestedInput + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesCreateManyInput = { + id?: number + journey_id: number + source_trip_id?: number | null + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesUpdateManyMutationInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrder + source_place_id?: Prisma.SortOrder + author_id?: Prisma.SortOrder + type?: Prisma.SortOrder + title?: Prisma.SortOrder + story?: Prisma.SortOrder + entry_date?: Prisma.SortOrder + entry_time?: Prisma.SortOrder + location_name?: Prisma.SortOrder + location_lat?: Prisma.SortOrder + location_lng?: Prisma.SortOrder + mood?: Prisma.SortOrder + weather?: Prisma.SortOrder + tags?: Prisma.SortOrder + visibility?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + pros_cons?: Prisma.SortOrder +} + +export type journey_entriesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrder + source_place_id?: Prisma.SortOrder + author_id?: Prisma.SortOrder + location_lat?: Prisma.SortOrder + location_lng?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type journey_entriesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrder + source_place_id?: Prisma.SortOrder + author_id?: Prisma.SortOrder + type?: Prisma.SortOrder + title?: Prisma.SortOrder + story?: Prisma.SortOrder + entry_date?: Prisma.SortOrder + entry_time?: Prisma.SortOrder + location_name?: Prisma.SortOrder + location_lat?: Prisma.SortOrder + location_lng?: Prisma.SortOrder + mood?: Prisma.SortOrder + weather?: Prisma.SortOrder + tags?: Prisma.SortOrder + visibility?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + pros_cons?: Prisma.SortOrder +} + +export type journey_entriesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrder + source_place_id?: Prisma.SortOrder + author_id?: Prisma.SortOrder + type?: Prisma.SortOrder + title?: Prisma.SortOrder + story?: Prisma.SortOrder + entry_date?: Prisma.SortOrder + entry_time?: Prisma.SortOrder + location_name?: Prisma.SortOrder + location_lat?: Prisma.SortOrder + location_lng?: Prisma.SortOrder + mood?: Prisma.SortOrder + weather?: Prisma.SortOrder + tags?: Prisma.SortOrder + visibility?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + pros_cons?: Prisma.SortOrder +} + +export type journey_entriesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + source_trip_id?: Prisma.SortOrder + source_place_id?: Prisma.SortOrder + author_id?: Prisma.SortOrder + location_lat?: Prisma.SortOrder + location_lng?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type Journey_entriesScalarRelationFilter = { + is?: Prisma.journey_entriesWhereInput + isNot?: Prisma.journey_entriesWhereInput +} + +export type Journey_entriesListRelationFilter = { + every?: Prisma.journey_entriesWhereInput + some?: Prisma.journey_entriesWhereInput + none?: Prisma.journey_entriesWhereInput +} + +export type journey_entriesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_entriesCreateNestedOneWithoutJourney_entry_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourney_entry_photosInput + connect?: Prisma.journey_entriesWhereUniqueInput +} + +export type journey_entriesUpdateOneRequiredWithoutJourney_entry_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourney_entry_photosInput + upsert?: Prisma.journey_entriesUpsertWithoutJourney_entry_photosInput + connect?: Prisma.journey_entriesWhereUniqueInput + update?: Prisma.XOR, Prisma.journey_entriesUncheckedUpdateWithoutJourney_entry_photosInput> +} + +export type journey_entriesCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutJourneysInput[] | Prisma.journey_entriesUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourneysInput | Prisma.journey_entriesCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_entriesCreateManyJourneysInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUncheckedCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutJourneysInput[] | Prisma.journey_entriesUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourneysInput | Prisma.journey_entriesCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_entriesCreateManyJourneysInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutJourneysInput[] | Prisma.journey_entriesUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourneysInput | Prisma.journey_entriesCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_entriesCreateManyJourneysInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_entriesUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutJourneysInput[] | Prisma.journey_entriesUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutJourneysInput | Prisma.journey_entriesCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_entriesCreateManyJourneysInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_entriesUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutPlacesInput[] | Prisma.journey_entriesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutPlacesInput | Prisma.journey_entriesCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.journey_entriesCreateManyPlacesInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutPlacesInput[] | Prisma.journey_entriesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutPlacesInput | Prisma.journey_entriesCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.journey_entriesCreateManyPlacesInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutPlacesInput[] | Prisma.journey_entriesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutPlacesInput | Prisma.journey_entriesCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutPlacesInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.journey_entriesCreateManyPlacesInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutPlacesInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutPlacesInput | Prisma.journey_entriesUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutPlacesInput[] | Prisma.journey_entriesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutPlacesInput | Prisma.journey_entriesCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutPlacesInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.journey_entriesCreateManyPlacesInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutPlacesInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutPlacesInput | Prisma.journey_entriesUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutTripsInput[] | Prisma.journey_entriesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutTripsInput | Prisma.journey_entriesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.journey_entriesCreateManyTripsInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutTripsInput[] | Prisma.journey_entriesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutTripsInput | Prisma.journey_entriesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.journey_entriesCreateManyTripsInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutTripsInput[] | Prisma.journey_entriesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutTripsInput | Prisma.journey_entriesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutTripsInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.journey_entriesCreateManyTripsInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutTripsInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutTripsInput | Prisma.journey_entriesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutTripsInput[] | Prisma.journey_entriesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutTripsInput | Prisma.journey_entriesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutTripsInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.journey_entriesCreateManyTripsInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutTripsInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutTripsInput | Prisma.journey_entriesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutUsersInput[] | Prisma.journey_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutUsersInput | Prisma.journey_entriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_entriesCreateManyUsersInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutUsersInput[] | Prisma.journey_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutUsersInput | Prisma.journey_entriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_entriesCreateManyUsersInputEnvelope + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] +} + +export type journey_entriesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutUsersInput[] | Prisma.journey_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutUsersInput | Prisma.journey_entriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_entriesCreateManyUsersInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutUsersInput | Prisma.journey_entriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_entriesCreateWithoutUsersInput[] | Prisma.journey_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_entriesCreateOrConnectWithoutUsersInput | Prisma.journey_entriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_entriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_entriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_entriesCreateManyUsersInputEnvelope + set?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + disconnect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + delete?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + connect?: Prisma.journey_entriesWhereUniqueInput | Prisma.journey_entriesWhereUniqueInput[] + update?: Prisma.journey_entriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_entriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_entriesUpdateManyWithWhereWithoutUsersInput | Prisma.journey_entriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] +} + +export type journey_entriesCreateWithoutJourney_entry_photosInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + users: Prisma.usersCreateNestedOneWithoutJourney_entriesInput + places?: Prisma.placesCreateNestedOneWithoutJourney_entriesInput + trips?: Prisma.tripsCreateNestedOneWithoutJourney_entriesInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateWithoutJourney_entry_photosInput = { + id?: number + journey_id: number + source_trip_id?: number | null + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesCreateOrConnectWithoutJourney_entry_photosInput = { + where: Prisma.journey_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entriesUpsertWithoutJourney_entry_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journey_entriesWhereInput +} + +export type journey_entriesUpdateToOneWithWhereWithoutJourney_entry_photosInput = { + where?: Prisma.journey_entriesWhereInput + data: Prisma.XOR +} + +export type journey_entriesUpdateWithoutJourney_entry_photosInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_entriesNestedInput + places?: Prisma.placesUpdateOneWithoutJourney_entriesNestedInput + trips?: Prisma.tripsUpdateOneWithoutJourney_entriesNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateWithoutJourney_entry_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesCreateWithoutJourneysInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + users: Prisma.usersCreateNestedOneWithoutJourney_entriesInput + places?: Prisma.placesCreateNestedOneWithoutJourney_entriesInput + trips?: Prisma.tripsCreateNestedOneWithoutJourney_entriesInput + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateWithoutJourneysInput = { + id?: number + source_trip_id?: number | null + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesCreateOrConnectWithoutJourneysInput = { + where: Prisma.journey_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entriesCreateManyJourneysInputEnvelope = { + data: Prisma.journey_entriesCreateManyJourneysInput | Prisma.journey_entriesCreateManyJourneysInput[] +} + +export type journey_entriesUpsertWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entriesUpdateWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entriesUpdateManyWithWhereWithoutJourneysInput = { + where: Prisma.journey_entriesScalarWhereInput + data: Prisma.XOR +} + +export type journey_entriesScalarWhereInput = { + AND?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] + OR?: Prisma.journey_entriesScalarWhereInput[] + NOT?: Prisma.journey_entriesScalarWhereInput | Prisma.journey_entriesScalarWhereInput[] + id?: Prisma.IntFilter<"journey_entries"> | number + journey_id?: Prisma.IntFilter<"journey_entries"> | number + source_trip_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + source_place_id?: Prisma.IntNullableFilter<"journey_entries"> | number | null + author_id?: Prisma.IntFilter<"journey_entries"> | number + type?: Prisma.StringFilter<"journey_entries"> | string + title?: Prisma.StringNullableFilter<"journey_entries"> | string | null + story?: Prisma.StringNullableFilter<"journey_entries"> | string | null + entry_date?: Prisma.StringFilter<"journey_entries"> | string + entry_time?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_name?: Prisma.StringNullableFilter<"journey_entries"> | string | null + location_lat?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + location_lng?: Prisma.FloatNullableFilter<"journey_entries"> | number | null + mood?: Prisma.StringNullableFilter<"journey_entries"> | string | null + weather?: Prisma.StringNullableFilter<"journey_entries"> | string | null + tags?: Prisma.StringNullableFilter<"journey_entries"> | string | null + visibility?: Prisma.StringNullableFilter<"journey_entries"> | string | null + sort_order?: Prisma.IntNullableFilter<"journey_entries"> | number | null + created_at?: Prisma.IntFilter<"journey_entries"> | number + updated_at?: Prisma.IntFilter<"journey_entries"> | number + pros_cons?: Prisma.StringNullableFilter<"journey_entries"> | string | null +} + +export type journey_entriesCreateWithoutPlacesInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + users: Prisma.usersCreateNestedOneWithoutJourney_entriesInput + trips?: Prisma.tripsCreateNestedOneWithoutJourney_entriesInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_entriesInput + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateWithoutPlacesInput = { + id?: number + journey_id: number + source_trip_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesCreateOrConnectWithoutPlacesInput = { + where: Prisma.journey_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entriesCreateManyPlacesInputEnvelope = { + data: Prisma.journey_entriesCreateManyPlacesInput | Prisma.journey_entriesCreateManyPlacesInput[] +} + +export type journey_entriesUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.journey_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entriesUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.journey_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entriesUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.journey_entriesScalarWhereInput + data: Prisma.XOR +} + +export type journey_entriesCreateWithoutTripsInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + users: Prisma.usersCreateNestedOneWithoutJourney_entriesInput + places?: Prisma.placesCreateNestedOneWithoutJourney_entriesInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_entriesInput + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateWithoutTripsInput = { + id?: number + journey_id: number + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesCreateOrConnectWithoutTripsInput = { + where: Prisma.journey_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entriesCreateManyTripsInputEnvelope = { + data: Prisma.journey_entriesCreateManyTripsInput | Prisma.journey_entriesCreateManyTripsInput[] +} + +export type journey_entriesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.journey_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entriesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.journey_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entriesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.journey_entriesScalarWhereInput + data: Prisma.XOR +} + +export type journey_entriesCreateWithoutUsersInput = { + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + places?: Prisma.placesCreateNestedOneWithoutJourney_entriesInput + trips?: Prisma.tripsCreateNestedOneWithoutJourney_entriesInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_entriesInput + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesUncheckedCreateWithoutUsersInput = { + id?: number + journey_id: number + source_trip_id?: number | null + source_place_id?: number | null + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput +} + +export type journey_entriesCreateOrConnectWithoutUsersInput = { + where: Prisma.journey_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entriesCreateManyUsersInputEnvelope = { + data: Prisma.journey_entriesCreateManyUsersInput | Prisma.journey_entriesCreateManyUsersInput[] +} + +export type journey_entriesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entriesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entriesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.journey_entriesScalarWhereInput + data: Prisma.XOR +} + +export type journey_entriesCreateManyJourneysInput = { + id?: number + source_trip_id?: number | null + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesUpdateWithoutJourneysInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_entriesNestedInput + places?: Prisma.placesUpdateOneWithoutJourney_entriesNestedInput + trips?: Prisma.tripsUpdateOneWithoutJourney_entriesNestedInput + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateManyWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesCreateManyPlacesInput = { + id?: number + journey_id: number + source_trip_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesUpdateWithoutPlacesInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_entriesNestedInput + trips?: Prisma.tripsUpdateOneWithoutJourney_entriesNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_entriesNestedInput + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesCreateManyTripsInput = { + id?: number + journey_id: number + source_place_id?: number | null + author_id: number + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesUpdateWithoutTripsInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_entriesNestedInput + places?: Prisma.placesUpdateOneWithoutJourney_entriesNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_entriesNestedInput + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + author_id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journey_entriesCreateManyUsersInput = { + id?: number + journey_id: number + source_trip_id?: number | null + source_place_id?: number | null + type: string + title?: string | null + story?: string | null + entry_date: string + entry_time?: string | null + location_name?: string | null + location_lat?: number | null + location_lng?: number | null + mood?: string | null + weather?: string | null + tags?: string | null + visibility?: string | null + sort_order?: number | null + created_at: number + updated_at: number + pros_cons?: string | null +} + +export type journey_entriesUpdateWithoutUsersInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + places?: Prisma.placesUpdateOneWithoutJourney_entriesNestedInput + trips?: Prisma.tripsUpdateOneWithoutJourney_entriesNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_entriesNestedInput + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput +} + +export type journey_entriesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + source_trip_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + source_place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + type?: Prisma.StringFieldUpdateOperationsInput | string + title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + story?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + entry_date?: Prisma.StringFieldUpdateOperationsInput | string + entry_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location_lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + location_lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + mood?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + weather?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + tags?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + visibility?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + pros_cons?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Journey_entriesCountOutputType + */ + +export type Journey_entriesCountOutputType = { + journey_entry_photos: number +} + +export type Journey_entriesCountOutputTypeSelect = { + journey_entry_photos?: boolean | Journey_entriesCountOutputTypeCountJourney_entry_photosArgs +} + +/** + * Journey_entriesCountOutputType without action + */ +export type Journey_entriesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Journey_entriesCountOutputType + */ + select?: Prisma.Journey_entriesCountOutputTypeSelect | null +} + +/** + * Journey_entriesCountOutputType without action + */ +export type Journey_entriesCountOutputTypeCountJourney_entry_photosArgs = { + where?: Prisma.journey_entry_photosWhereInput +} + + +export type journey_entriesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + source_trip_id?: boolean + source_place_id?: boolean + author_id?: boolean + type?: boolean + title?: boolean + story?: boolean + entry_date?: boolean + entry_time?: boolean + location_name?: boolean + location_lat?: boolean + location_lng?: boolean + mood?: boolean + weather?: boolean + tags?: boolean + visibility?: boolean + sort_order?: boolean + created_at?: boolean + updated_at?: boolean + pros_cons?: boolean + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs + journey_entry_photos?: boolean | Prisma.journey_entries$journey_entry_photosArgs + _count?: boolean | Prisma.Journey_entriesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["journey_entries"]> + +export type journey_entriesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + source_trip_id?: boolean + source_place_id?: boolean + author_id?: boolean + type?: boolean + title?: boolean + story?: boolean + entry_date?: boolean + entry_time?: boolean + location_name?: boolean + location_lat?: boolean + location_lng?: boolean + mood?: boolean + weather?: boolean + tags?: boolean + visibility?: boolean + sort_order?: boolean + created_at?: boolean + updated_at?: boolean + pros_cons?: boolean + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_entries"]> + +export type journey_entriesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + source_trip_id?: boolean + source_place_id?: boolean + author_id?: boolean + type?: boolean + title?: boolean + story?: boolean + entry_date?: boolean + entry_time?: boolean + location_name?: boolean + location_lat?: boolean + location_lng?: boolean + mood?: boolean + weather?: boolean + tags?: boolean + visibility?: boolean + sort_order?: boolean + created_at?: boolean + updated_at?: boolean + pros_cons?: boolean + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_entries"]> + +export type journey_entriesSelectScalar = { + id?: boolean + journey_id?: boolean + source_trip_id?: boolean + source_place_id?: boolean + author_id?: boolean + type?: boolean + title?: boolean + story?: boolean + entry_date?: boolean + entry_time?: boolean + location_name?: boolean + location_lat?: boolean + location_lng?: boolean + mood?: boolean + weather?: boolean + tags?: boolean + visibility?: boolean + sort_order?: boolean + created_at?: boolean + updated_at?: boolean + pros_cons?: boolean +} + +export type journey_entriesOmit = runtime.Types.Extensions.GetOmit<"id" | "journey_id" | "source_trip_id" | "source_place_id" | "author_id" | "type" | "title" | "story" | "entry_date" | "entry_time" | "location_name" | "location_lat" | "location_lng" | "mood" | "weather" | "tags" | "visibility" | "sort_order" | "created_at" | "updated_at" | "pros_cons", ExtArgs["result"]["journey_entries"]> +export type journey_entriesInclude = { + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs + journey_entry_photos?: boolean | Prisma.journey_entries$journey_entry_photosArgs + _count?: boolean | Prisma.Journey_entriesCountOutputTypeDefaultArgs +} +export type journey_entriesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_entriesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + places?: boolean | Prisma.journey_entries$placesArgs + trips?: boolean | Prisma.journey_entries$tripsArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} + +export type $journey_entriesPayload = { + name: "journey_entries" + objects: { + users: Prisma.$usersPayload + places: Prisma.$placesPayload | null + trips: Prisma.$tripsPayload | null + journeys: Prisma.$journeysPayload + journey_entry_photos: Prisma.$journey_entry_photosPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + journey_id: number + source_trip_id: number | null + source_place_id: number | null + author_id: number + type: string + title: string | null + story: string | null + entry_date: string + entry_time: string | null + location_name: string | null + location_lat: number | null + location_lng: number | null + mood: string | null + weather: string | null + tags: string | null + visibility: string | null + sort_order: number | null + created_at: number + updated_at: number + pros_cons: string | null + }, ExtArgs["result"]["journey_entries"]> + composites: {} +} + +export type journey_entriesGetPayload = runtime.Types.Result.GetResult + +export type journey_entriesCountArgs = + Omit & { + select?: Journey_entriesCountAggregateInputType | true + } + +export interface journey_entriesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_entries'], meta: { name: 'journey_entries' } } + /** + * Find zero or one Journey_entries that matches the filter. + * @param {journey_entriesFindUniqueArgs} args - Arguments to find a Journey_entries + * @example + * // Get one Journey_entries + * const journey_entries = await prisma.journey_entries.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_entries that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_entriesFindUniqueOrThrowArgs} args - Arguments to find a Journey_entries + * @example + * // Get one Journey_entries + * const journey_entries = await prisma.journey_entries.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_entries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesFindFirstArgs} args - Arguments to find a Journey_entries + * @example + * // Get one Journey_entries + * const journey_entries = await prisma.journey_entries.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_entries that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesFindFirstOrThrowArgs} args - Arguments to find a Journey_entries + * @example + * // Get one Journey_entries + * const journey_entries = await prisma.journey_entries.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_entries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_entries + * const journey_entries = await prisma.journey_entries.findMany() + * + * // Get first 10 Journey_entries + * const journey_entries = await prisma.journey_entries.findMany({ take: 10 }) + * + * // Only select the `id` + * const journey_entriesWithIdOnly = await prisma.journey_entries.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_entries. + * @param {journey_entriesCreateArgs} args - Arguments to create a Journey_entries. + * @example + * // Create one Journey_entries + * const Journey_entries = await prisma.journey_entries.create({ + * data: { + * // ... data to create a Journey_entries + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_entries. + * @param {journey_entriesCreateManyArgs} args - Arguments to create many Journey_entries. + * @example + * // Create many Journey_entries + * const journey_entries = await prisma.journey_entries.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_entries and returns the data saved in the database. + * @param {journey_entriesCreateManyAndReturnArgs} args - Arguments to create many Journey_entries. + * @example + * // Create many Journey_entries + * const journey_entries = await prisma.journey_entries.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_entries and only return the `id` + * const journey_entriesWithIdOnly = await prisma.journey_entries.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_entries. + * @param {journey_entriesDeleteArgs} args - Arguments to delete one Journey_entries. + * @example + * // Delete one Journey_entries + * const Journey_entries = await prisma.journey_entries.delete({ + * where: { + * // ... filter to delete one Journey_entries + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_entries. + * @param {journey_entriesUpdateArgs} args - Arguments to update one Journey_entries. + * @example + * // Update one Journey_entries + * const journey_entries = await prisma.journey_entries.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_entries. + * @param {journey_entriesDeleteManyArgs} args - Arguments to filter Journey_entries to delete. + * @example + * // Delete a few Journey_entries + * const { count } = await prisma.journey_entries.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_entries + * const journey_entries = await prisma.journey_entries.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_entries and returns the data updated in the database. + * @param {journey_entriesUpdateManyAndReturnArgs} args - Arguments to update many Journey_entries. + * @example + * // Update many Journey_entries + * const journey_entries = await prisma.journey_entries.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_entries and only return the `id` + * const journey_entriesWithIdOnly = await prisma.journey_entries.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_entries. + * @param {journey_entriesUpsertArgs} args - Arguments to update or create a Journey_entries. + * @example + * // Update or create a Journey_entries + * const journey_entries = await prisma.journey_entries.upsert({ + * create: { + * // ... data to create a Journey_entries + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_entries we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entriesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesCountArgs} args - Arguments to filter Journey_entries to count. + * @example + * // Count the number of Journey_entries + * const count = await prisma.journey_entries.count({ + * where: { + * // ... the filter for the Journey_entries we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_entriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entriesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_entriesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_entriesGroupByArgs['orderBy'] } + : { orderBy?: journey_entriesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_entriesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_entries model + */ +readonly fields: journey_entriesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_entries. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_entriesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + journeys = {}>(args?: Prisma.Subset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journey_entry_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_entries model + */ +export interface journey_entriesFieldRefs { + readonly id: Prisma.FieldRef<"journey_entries", 'Int'> + readonly journey_id: Prisma.FieldRef<"journey_entries", 'Int'> + readonly source_trip_id: Prisma.FieldRef<"journey_entries", 'Int'> + readonly source_place_id: Prisma.FieldRef<"journey_entries", 'Int'> + readonly author_id: Prisma.FieldRef<"journey_entries", 'Int'> + readonly type: Prisma.FieldRef<"journey_entries", 'String'> + readonly title: Prisma.FieldRef<"journey_entries", 'String'> + readonly story: Prisma.FieldRef<"journey_entries", 'String'> + readonly entry_date: Prisma.FieldRef<"journey_entries", 'String'> + readonly entry_time: Prisma.FieldRef<"journey_entries", 'String'> + readonly location_name: Prisma.FieldRef<"journey_entries", 'String'> + readonly location_lat: Prisma.FieldRef<"journey_entries", 'Float'> + readonly location_lng: Prisma.FieldRef<"journey_entries", 'Float'> + readonly mood: Prisma.FieldRef<"journey_entries", 'String'> + readonly weather: Prisma.FieldRef<"journey_entries", 'String'> + readonly tags: Prisma.FieldRef<"journey_entries", 'String'> + readonly visibility: Prisma.FieldRef<"journey_entries", 'String'> + readonly sort_order: Prisma.FieldRef<"journey_entries", 'Int'> + readonly created_at: Prisma.FieldRef<"journey_entries", 'Int'> + readonly updated_at: Prisma.FieldRef<"journey_entries", 'Int'> + readonly pros_cons: Prisma.FieldRef<"journey_entries", 'String'> +} + + +// Custom InputTypes +/** + * journey_entries findUnique + */ +export type journey_entriesFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter, which journey_entries to fetch. + */ + where: Prisma.journey_entriesWhereUniqueInput +} + +/** + * journey_entries findUniqueOrThrow + */ +export type journey_entriesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter, which journey_entries to fetch. + */ + where: Prisma.journey_entriesWhereUniqueInput +} + +/** + * journey_entries findFirst + */ +export type journey_entriesFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter, which journey_entries to fetch. + */ + where?: Prisma.journey_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entries to fetch. + */ + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_entries. + */ + cursor?: Prisma.journey_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entries. + */ + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * journey_entries findFirstOrThrow + */ +export type journey_entriesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter, which journey_entries to fetch. + */ + where?: Prisma.journey_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entries to fetch. + */ + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_entries. + */ + cursor?: Prisma.journey_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entries. + */ + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * journey_entries findMany + */ +export type journey_entriesFindManyArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter, which journey_entries to fetch. + */ + where?: Prisma.journey_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entries to fetch. + */ + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_entries. + */ + cursor?: Prisma.journey_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entries. + */ + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * journey_entries create + */ +export type journey_entriesCreateArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * The data needed to create a journey_entries. + */ + data: Prisma.XOR +} + +/** + * journey_entries createMany + */ +export type journey_entriesCreateManyArgs = { + /** + * The data used to create many journey_entries. + */ + data: Prisma.journey_entriesCreateManyInput | Prisma.journey_entriesCreateManyInput[] +} + +/** + * journey_entries createManyAndReturn + */ +export type journey_entriesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * The data used to create many journey_entries. + */ + data: Prisma.journey_entriesCreateManyInput | Prisma.journey_entriesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesIncludeCreateManyAndReturn | null +} + +/** + * journey_entries update + */ +export type journey_entriesUpdateArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * The data needed to update a journey_entries. + */ + data: Prisma.XOR + /** + * Choose, which journey_entries to update. + */ + where: Prisma.journey_entriesWhereUniqueInput +} + +/** + * journey_entries updateMany + */ +export type journey_entriesUpdateManyArgs = { + /** + * The data used to update journey_entries. + */ + data: Prisma.XOR + /** + * Filter which journey_entries to update + */ + where?: Prisma.journey_entriesWhereInput + /** + * Limit how many journey_entries to update. + */ + limit?: number +} + +/** + * journey_entries updateManyAndReturn + */ +export type journey_entriesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * The data used to update journey_entries. + */ + data: Prisma.XOR + /** + * Filter which journey_entries to update + */ + where?: Prisma.journey_entriesWhereInput + /** + * Limit how many journey_entries to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesIncludeUpdateManyAndReturn | null +} + +/** + * journey_entries upsert + */ +export type journey_entriesUpsertArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * The filter to search for the journey_entries to update in case it exists. + */ + where: Prisma.journey_entriesWhereUniqueInput + /** + * In case the journey_entries found by the `where` argument doesn't exist, create a new journey_entries with this data. + */ + create: Prisma.XOR + /** + * In case the journey_entries was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_entries delete + */ +export type journey_entriesDeleteArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + /** + * Filter which journey_entries to delete. + */ + where: Prisma.journey_entriesWhereUniqueInput +} + +/** + * journey_entries deleteMany + */ +export type journey_entriesDeleteManyArgs = { + /** + * Filter which journey_entries to delete + */ + where?: Prisma.journey_entriesWhereInput + /** + * Limit how many journey_entries to delete. + */ + limit?: number +} + +/** + * journey_entries.places + */ +export type journey_entries$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * journey_entries.trips + */ +export type journey_entries$tripsArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + where?: Prisma.tripsWhereInput +} + +/** + * journey_entries.journey_entry_photos + */ +export type journey_entries$journey_entry_photosArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + where?: Prisma.journey_entry_photosWhereInput + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + cursor?: Prisma.journey_entry_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entry_photosScalarFieldEnum | Prisma.Journey_entry_photosScalarFieldEnum[] +} + +/** + * journey_entries without action + */ +export type journey_entriesDefaultArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null +} diff --git a/server/src/generated/prisma/models/journey_entry_photos.ts b/server/src/generated/prisma/models/journey_entry_photos.ts new file mode 100644 index 00000000..e23da252 --- /dev/null +++ b/server/src/generated/prisma/models/journey_entry_photos.ts @@ -0,0 +1,1488 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_entry_photos` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_entry_photos + * + */ +export type journey_entry_photosModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_entry_photos = { + _count: Journey_entry_photosCountAggregateOutputType | null + _avg: Journey_entry_photosAvgAggregateOutputType | null + _sum: Journey_entry_photosSumAggregateOutputType | null + _min: Journey_entry_photosMinAggregateOutputType | null + _max: Journey_entry_photosMaxAggregateOutputType | null +} + +export type Journey_entry_photosAvgAggregateOutputType = { + entry_id: number | null + journey_photo_id: number | null + sort_order: number | null + created_at: number | null +} + +export type Journey_entry_photosSumAggregateOutputType = { + entry_id: number | null + journey_photo_id: number | null + sort_order: number | null + created_at: number | null +} + +export type Journey_entry_photosMinAggregateOutputType = { + entry_id: number | null + journey_photo_id: number | null + sort_order: number | null + created_at: number | null +} + +export type Journey_entry_photosMaxAggregateOutputType = { + entry_id: number | null + journey_photo_id: number | null + sort_order: number | null + created_at: number | null +} + +export type Journey_entry_photosCountAggregateOutputType = { + entry_id: number + journey_photo_id: number + sort_order: number + created_at: number + _all: number +} + + +export type Journey_entry_photosAvgAggregateInputType = { + entry_id?: true + journey_photo_id?: true + sort_order?: true + created_at?: true +} + +export type Journey_entry_photosSumAggregateInputType = { + entry_id?: true + journey_photo_id?: true + sort_order?: true + created_at?: true +} + +export type Journey_entry_photosMinAggregateInputType = { + entry_id?: true + journey_photo_id?: true + sort_order?: true + created_at?: true +} + +export type Journey_entry_photosMaxAggregateInputType = { + entry_id?: true + journey_photo_id?: true + sort_order?: true + created_at?: true +} + +export type Journey_entry_photosCountAggregateInputType = { + entry_id?: true + journey_photo_id?: true + sort_order?: true + created_at?: true + _all?: true +} + +export type Journey_entry_photosAggregateArgs = { + /** + * Filter which journey_entry_photos to aggregate. + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entry_photos to fetch. + */ + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_entry_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entry_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entry_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_entry_photos + **/ + _count?: true | Journey_entry_photosCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_entry_photosAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_entry_photosSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_entry_photosMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_entry_photosMaxAggregateInputType +} + +export type GetJourney_entry_photosAggregateType = { + [P in keyof T & keyof AggregateJourney_entry_photos]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_entry_photosGroupByArgs = { + where?: Prisma.journey_entry_photosWhereInput + orderBy?: Prisma.journey_entry_photosOrderByWithAggregationInput | Prisma.journey_entry_photosOrderByWithAggregationInput[] + by: Prisma.Journey_entry_photosScalarFieldEnum[] | Prisma.Journey_entry_photosScalarFieldEnum + having?: Prisma.journey_entry_photosScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_entry_photosCountAggregateInputType | true + _avg?: Journey_entry_photosAvgAggregateInputType + _sum?: Journey_entry_photosSumAggregateInputType + _min?: Journey_entry_photosMinAggregateInputType + _max?: Journey_entry_photosMaxAggregateInputType +} + +export type Journey_entry_photosGroupByOutputType = { + entry_id: number + journey_photo_id: number + sort_order: number | null + created_at: number + _count: Journey_entry_photosCountAggregateOutputType | null + _avg: Journey_entry_photosAvgAggregateOutputType | null + _sum: Journey_entry_photosSumAggregateOutputType | null + _min: Journey_entry_photosMinAggregateOutputType | null + _max: Journey_entry_photosMaxAggregateOutputType | null +} + +export type GetJourney_entry_photosGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_entry_photosGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_entry_photosWhereInput = { + AND?: Prisma.journey_entry_photosWhereInput | Prisma.journey_entry_photosWhereInput[] + OR?: Prisma.journey_entry_photosWhereInput[] + NOT?: Prisma.journey_entry_photosWhereInput | Prisma.journey_entry_photosWhereInput[] + entry_id?: Prisma.IntFilter<"journey_entry_photos"> | number + journey_photo_id?: Prisma.IntFilter<"journey_entry_photos"> | number + sort_order?: Prisma.IntNullableFilter<"journey_entry_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_entry_photos"> | number + journey_photos?: Prisma.XOR + journey_entries?: Prisma.XOR +} + +export type journey_entry_photosOrderByWithRelationInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + journey_photos?: Prisma.journey_photosOrderByWithRelationInput + journey_entries?: Prisma.journey_entriesOrderByWithRelationInput +} + +export type journey_entry_photosWhereUniqueInput = Prisma.AtLeast<{ + entry_id_journey_photo_id?: Prisma.journey_entry_photosEntry_idJourney_photo_idCompoundUniqueInput + AND?: Prisma.journey_entry_photosWhereInput | Prisma.journey_entry_photosWhereInput[] + OR?: Prisma.journey_entry_photosWhereInput[] + NOT?: Prisma.journey_entry_photosWhereInput | Prisma.journey_entry_photosWhereInput[] + entry_id?: Prisma.IntFilter<"journey_entry_photos"> | number + journey_photo_id?: Prisma.IntFilter<"journey_entry_photos"> | number + sort_order?: Prisma.IntNullableFilter<"journey_entry_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_entry_photos"> | number + journey_photos?: Prisma.XOR + journey_entries?: Prisma.XOR +}, "entry_id_journey_photo_id"> + +export type journey_entry_photosOrderByWithAggregationInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + _count?: Prisma.journey_entry_photosCountOrderByAggregateInput + _avg?: Prisma.journey_entry_photosAvgOrderByAggregateInput + _max?: Prisma.journey_entry_photosMaxOrderByAggregateInput + _min?: Prisma.journey_entry_photosMinOrderByAggregateInput + _sum?: Prisma.journey_entry_photosSumOrderByAggregateInput +} + +export type journey_entry_photosScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_entry_photosScalarWhereWithAggregatesInput | Prisma.journey_entry_photosScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_entry_photosScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_entry_photosScalarWhereWithAggregatesInput | Prisma.journey_entry_photosScalarWhereWithAggregatesInput[] + entry_id?: Prisma.IntWithAggregatesFilter<"journey_entry_photos"> | number + journey_photo_id?: Prisma.IntWithAggregatesFilter<"journey_entry_photos"> | number + sort_order?: Prisma.IntNullableWithAggregatesFilter<"journey_entry_photos"> | number | null + created_at?: Prisma.IntWithAggregatesFilter<"journey_entry_photos"> | number +} + +export type journey_entry_photosCreateInput = { + sort_order?: number | null + created_at: number + journey_photos: Prisma.journey_photosCreateNestedOneWithoutJourney_entry_photosInput + journey_entries: Prisma.journey_entriesCreateNestedOneWithoutJourney_entry_photosInput +} + +export type journey_entry_photosUncheckedCreateInput = { + entry_id: number + journey_photo_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosUpdateInput = { + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_photos?: Prisma.journey_photosUpdateOneRequiredWithoutJourney_entry_photosNestedInput + journey_entries?: Prisma.journey_entriesUpdateOneRequiredWithoutJourney_entry_photosNestedInput +} + +export type journey_entry_photosUncheckedUpdateInput = { + entry_id?: Prisma.IntFieldUpdateOperationsInput | number + journey_photo_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_entry_photosCreateManyInput = { + entry_id: number + journey_photo_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosUpdateManyMutationInput = { + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_entry_photosUncheckedUpdateManyInput = { + entry_id?: Prisma.IntFieldUpdateOperationsInput | number + journey_photo_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Journey_entry_photosListRelationFilter = { + every?: Prisma.journey_entry_photosWhereInput + some?: Prisma.journey_entry_photosWhereInput + none?: Prisma.journey_entry_photosWhereInput +} + +export type journey_entry_photosOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_entry_photosEntry_idJourney_photo_idCompoundUniqueInput = { + entry_id: number + journey_photo_id: number +} + +export type journey_entry_photosCountOrderByAggregateInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_entry_photosAvgOrderByAggregateInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_entry_photosMaxOrderByAggregateInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_entry_photosMinOrderByAggregateInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_entry_photosSumOrderByAggregateInput = { + entry_id?: Prisma.SortOrder + journey_photo_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_entry_photosCreateNestedManyWithoutJourney_entriesInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_entriesInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_entriesInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_entriesInputEnvelope + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] +} + +export type journey_entry_photosUncheckedCreateNestedManyWithoutJourney_entriesInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_entriesInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_entriesInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_entriesInputEnvelope + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] +} + +export type journey_entry_photosUpdateManyWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_entriesInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_entriesInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput[] + upsert?: Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_entriesInput | Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_entriesInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_entriesInputEnvelope + set?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + disconnect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + delete?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + update?: Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_entriesInput | Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_entriesInput[] + updateMany?: Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_entriesInput | Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_entriesInput[] + deleteMany?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] +} + +export type journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_entriesInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_entriesInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_entriesInput[] + upsert?: Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_entriesInput | Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_entriesInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_entriesInputEnvelope + set?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + disconnect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + delete?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + update?: Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_entriesInput | Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_entriesInput[] + updateMany?: Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_entriesInput | Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_entriesInput[] + deleteMany?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] +} + +export type journey_entry_photosCreateNestedManyWithoutJourney_photosInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_photosInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_photosInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_photosInputEnvelope + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] +} + +export type journey_entry_photosUncheckedCreateNestedManyWithoutJourney_photosInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_photosInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_photosInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_photosInputEnvelope + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] +} + +export type journey_entry_photosUpdateManyWithoutJourney_photosNestedInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_photosInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_photosInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput[] + upsert?: Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_photosInput | Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_photosInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_photosInputEnvelope + set?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + disconnect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + delete?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + update?: Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_photosInput | Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_photosInput[] + updateMany?: Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_photosInput | Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_photosInput[] + deleteMany?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] +} + +export type journey_entry_photosUncheckedUpdateManyWithoutJourney_photosNestedInput = { + create?: Prisma.XOR | Prisma.journey_entry_photosCreateWithoutJourney_photosInput[] | Prisma.journey_entry_photosUncheckedCreateWithoutJourney_photosInput[] + connectOrCreate?: Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput | Prisma.journey_entry_photosCreateOrConnectWithoutJourney_photosInput[] + upsert?: Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_photosInput | Prisma.journey_entry_photosUpsertWithWhereUniqueWithoutJourney_photosInput[] + createMany?: Prisma.journey_entry_photosCreateManyJourney_photosInputEnvelope + set?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + disconnect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + delete?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + connect?: Prisma.journey_entry_photosWhereUniqueInput | Prisma.journey_entry_photosWhereUniqueInput[] + update?: Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_photosInput | Prisma.journey_entry_photosUpdateWithWhereUniqueWithoutJourney_photosInput[] + updateMany?: Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_photosInput | Prisma.journey_entry_photosUpdateManyWithWhereWithoutJourney_photosInput[] + deleteMany?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] +} + +export type journey_entry_photosCreateWithoutJourney_entriesInput = { + sort_order?: number | null + created_at: number + journey_photos: Prisma.journey_photosCreateNestedOneWithoutJourney_entry_photosInput +} + +export type journey_entry_photosUncheckedCreateWithoutJourney_entriesInput = { + journey_photo_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosCreateOrConnectWithoutJourney_entriesInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entry_photosCreateManyJourney_entriesInputEnvelope = { + data: Prisma.journey_entry_photosCreateManyJourney_entriesInput | Prisma.journey_entry_photosCreateManyJourney_entriesInput[] +} + +export type journey_entry_photosUpsertWithWhereUniqueWithoutJourney_entriesInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entry_photosUpdateWithWhereUniqueWithoutJourney_entriesInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entry_photosUpdateManyWithWhereWithoutJourney_entriesInput = { + where: Prisma.journey_entry_photosScalarWhereInput + data: Prisma.XOR +} + +export type journey_entry_photosScalarWhereInput = { + AND?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] + OR?: Prisma.journey_entry_photosScalarWhereInput[] + NOT?: Prisma.journey_entry_photosScalarWhereInput | Prisma.journey_entry_photosScalarWhereInput[] + entry_id?: Prisma.IntFilter<"journey_entry_photos"> | number + journey_photo_id?: Prisma.IntFilter<"journey_entry_photos"> | number + sort_order?: Prisma.IntNullableFilter<"journey_entry_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_entry_photos"> | number +} + +export type journey_entry_photosCreateWithoutJourney_photosInput = { + sort_order?: number | null + created_at: number + journey_entries: Prisma.journey_entriesCreateNestedOneWithoutJourney_entry_photosInput +} + +export type journey_entry_photosUncheckedCreateWithoutJourney_photosInput = { + entry_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosCreateOrConnectWithoutJourney_photosInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + create: Prisma.XOR +} + +export type journey_entry_photosCreateManyJourney_photosInputEnvelope = { + data: Prisma.journey_entry_photosCreateManyJourney_photosInput | Prisma.journey_entry_photosCreateManyJourney_photosInput[] +} + +export type journey_entry_photosUpsertWithWhereUniqueWithoutJourney_photosInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_entry_photosUpdateWithWhereUniqueWithoutJourney_photosInput = { + where: Prisma.journey_entry_photosWhereUniqueInput + data: Prisma.XOR +} + +export type journey_entry_photosUpdateManyWithWhereWithoutJourney_photosInput = { + where: Prisma.journey_entry_photosScalarWhereInput + data: Prisma.XOR +} + +export type journey_entry_photosCreateManyJourney_entriesInput = { + journey_photo_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosUpdateWithoutJourney_entriesInput = { + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_photos?: Prisma.journey_photosUpdateOneRequiredWithoutJourney_entry_photosNestedInput +} + +export type journey_entry_photosUncheckedUpdateWithoutJourney_entriesInput = { + journey_photo_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_entry_photosUncheckedUpdateManyWithoutJourney_entriesInput = { + journey_photo_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_entry_photosCreateManyJourney_photosInput = { + entry_id: number + sort_order?: number | null + created_at: number +} + +export type journey_entry_photosUpdateWithoutJourney_photosInput = { + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entries?: Prisma.journey_entriesUpdateOneRequiredWithoutJourney_entry_photosNestedInput +} + +export type journey_entry_photosUncheckedUpdateWithoutJourney_photosInput = { + entry_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_entry_photosUncheckedUpdateManyWithoutJourney_photosInput = { + entry_id?: Prisma.IntFieldUpdateOperationsInput | number + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type journey_entry_photosSelect = runtime.Types.Extensions.GetSelect<{ + entry_id?: boolean + journey_photo_id?: boolean + sort_order?: boolean + created_at?: boolean + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +}, ExtArgs["result"]["journey_entry_photos"]> + +export type journey_entry_photosSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + entry_id?: boolean + journey_photo_id?: boolean + sort_order?: boolean + created_at?: boolean + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +}, ExtArgs["result"]["journey_entry_photos"]> + +export type journey_entry_photosSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + entry_id?: boolean + journey_photo_id?: boolean + sort_order?: boolean + created_at?: boolean + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +}, ExtArgs["result"]["journey_entry_photos"]> + +export type journey_entry_photosSelectScalar = { + entry_id?: boolean + journey_photo_id?: boolean + sort_order?: boolean + created_at?: boolean +} + +export type journey_entry_photosOmit = runtime.Types.Extensions.GetOmit<"entry_id" | "journey_photo_id" | "sort_order" | "created_at", ExtArgs["result"]["journey_entry_photos"]> +export type journey_entry_photosInclude = { + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +} +export type journey_entry_photosIncludeCreateManyAndReturn = { + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +} +export type journey_entry_photosIncludeUpdateManyAndReturn = { + journey_photos?: boolean | Prisma.journey_photosDefaultArgs + journey_entries?: boolean | Prisma.journey_entriesDefaultArgs +} + +export type $journey_entry_photosPayload = { + name: "journey_entry_photos" + objects: { + journey_photos: Prisma.$journey_photosPayload + journey_entries: Prisma.$journey_entriesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + entry_id: number + journey_photo_id: number + sort_order: number | null + created_at: number + }, ExtArgs["result"]["journey_entry_photos"]> + composites: {} +} + +export type journey_entry_photosGetPayload = runtime.Types.Result.GetResult + +export type journey_entry_photosCountArgs = + Omit & { + select?: Journey_entry_photosCountAggregateInputType | true + } + +export interface journey_entry_photosDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_entry_photos'], meta: { name: 'journey_entry_photos' } } + /** + * Find zero or one Journey_entry_photos that matches the filter. + * @param {journey_entry_photosFindUniqueArgs} args - Arguments to find a Journey_entry_photos + * @example + * // Get one Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_entry_photos that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_entry_photosFindUniqueOrThrowArgs} args - Arguments to find a Journey_entry_photos + * @example + * // Get one Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_entry_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosFindFirstArgs} args - Arguments to find a Journey_entry_photos + * @example + * // Get one Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_entry_photos that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosFindFirstOrThrowArgs} args - Arguments to find a Journey_entry_photos + * @example + * // Get one Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_entry_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findMany() + * + * // Get first 10 Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.findMany({ take: 10 }) + * + * // Only select the `entry_id` + * const journey_entry_photosWithEntry_idOnly = await prisma.journey_entry_photos.findMany({ select: { entry_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_entry_photos. + * @param {journey_entry_photosCreateArgs} args - Arguments to create a Journey_entry_photos. + * @example + * // Create one Journey_entry_photos + * const Journey_entry_photos = await prisma.journey_entry_photos.create({ + * data: { + * // ... data to create a Journey_entry_photos + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_entry_photos. + * @param {journey_entry_photosCreateManyArgs} args - Arguments to create many Journey_entry_photos. + * @example + * // Create many Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_entry_photos and returns the data saved in the database. + * @param {journey_entry_photosCreateManyAndReturnArgs} args - Arguments to create many Journey_entry_photos. + * @example + * // Create many Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_entry_photos and only return the `entry_id` + * const journey_entry_photosWithEntry_idOnly = await prisma.journey_entry_photos.createManyAndReturn({ + * select: { entry_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_entry_photos. + * @param {journey_entry_photosDeleteArgs} args - Arguments to delete one Journey_entry_photos. + * @example + * // Delete one Journey_entry_photos + * const Journey_entry_photos = await prisma.journey_entry_photos.delete({ + * where: { + * // ... filter to delete one Journey_entry_photos + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_entry_photos. + * @param {journey_entry_photosUpdateArgs} args - Arguments to update one Journey_entry_photos. + * @example + * // Update one Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_entry_photos. + * @param {journey_entry_photosDeleteManyArgs} args - Arguments to filter Journey_entry_photos to delete. + * @example + * // Delete a few Journey_entry_photos + * const { count } = await prisma.journey_entry_photos.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_entry_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_entry_photos and returns the data updated in the database. + * @param {journey_entry_photosUpdateManyAndReturnArgs} args - Arguments to update many Journey_entry_photos. + * @example + * // Update many Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_entry_photos and only return the `entry_id` + * const journey_entry_photosWithEntry_idOnly = await prisma.journey_entry_photos.updateManyAndReturn({ + * select: { entry_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_entry_photos. + * @param {journey_entry_photosUpsertArgs} args - Arguments to update or create a Journey_entry_photos. + * @example + * // Update or create a Journey_entry_photos + * const journey_entry_photos = await prisma.journey_entry_photos.upsert({ + * create: { + * // ... data to create a Journey_entry_photos + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_entry_photos we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_entry_photosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_entry_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosCountArgs} args - Arguments to filter Journey_entry_photos to count. + * @example + * // Count the number of Journey_entry_photos + * const count = await prisma.journey_entry_photos.count({ + * where: { + * // ... the filter for the Journey_entry_photos we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_entry_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_entry_photosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_entry_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_entry_photosGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_entry_photosGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_entry_photosGroupByArgs['orderBy'] } + : { orderBy?: journey_entry_photosGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_entry_photosGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_entry_photos model + */ +readonly fields: journey_entry_photosFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_entry_photos. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_entry_photosClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + journey_photos = {}>(args?: Prisma.Subset>): Prisma.Prisma__journey_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journey_entries = {}>(args?: Prisma.Subset>): Prisma.Prisma__journey_entriesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_entry_photos model + */ +export interface journey_entry_photosFieldRefs { + readonly entry_id: Prisma.FieldRef<"journey_entry_photos", 'Int'> + readonly journey_photo_id: Prisma.FieldRef<"journey_entry_photos", 'Int'> + readonly sort_order: Prisma.FieldRef<"journey_entry_photos", 'Int'> + readonly created_at: Prisma.FieldRef<"journey_entry_photos", 'Int'> +} + + +// Custom InputTypes +/** + * journey_entry_photos findUnique + */ +export type journey_entry_photosFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter, which journey_entry_photos to fetch. + */ + where: Prisma.journey_entry_photosWhereUniqueInput +} + +/** + * journey_entry_photos findUniqueOrThrow + */ +export type journey_entry_photosFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter, which journey_entry_photos to fetch. + */ + where: Prisma.journey_entry_photosWhereUniqueInput +} + +/** + * journey_entry_photos findFirst + */ +export type journey_entry_photosFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter, which journey_entry_photos to fetch. + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entry_photos to fetch. + */ + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_entry_photos. + */ + cursor?: Prisma.journey_entry_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entry_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entry_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entry_photos. + */ + distinct?: Prisma.Journey_entry_photosScalarFieldEnum | Prisma.Journey_entry_photosScalarFieldEnum[] +} + +/** + * journey_entry_photos findFirstOrThrow + */ +export type journey_entry_photosFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter, which journey_entry_photos to fetch. + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entry_photos to fetch. + */ + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_entry_photos. + */ + cursor?: Prisma.journey_entry_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entry_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entry_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entry_photos. + */ + distinct?: Prisma.Journey_entry_photosScalarFieldEnum | Prisma.Journey_entry_photosScalarFieldEnum[] +} + +/** + * journey_entry_photos findMany + */ +export type journey_entry_photosFindManyArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter, which journey_entry_photos to fetch. + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_entry_photos to fetch. + */ + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_entry_photos. + */ + cursor?: Prisma.journey_entry_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_entry_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_entry_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_entry_photos. + */ + distinct?: Prisma.Journey_entry_photosScalarFieldEnum | Prisma.Journey_entry_photosScalarFieldEnum[] +} + +/** + * journey_entry_photos create + */ +export type journey_entry_photosCreateArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * The data needed to create a journey_entry_photos. + */ + data: Prisma.XOR +} + +/** + * journey_entry_photos createMany + */ +export type journey_entry_photosCreateManyArgs = { + /** + * The data used to create many journey_entry_photos. + */ + data: Prisma.journey_entry_photosCreateManyInput | Prisma.journey_entry_photosCreateManyInput[] +} + +/** + * journey_entry_photos createManyAndReturn + */ +export type journey_entry_photosCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * The data used to create many journey_entry_photos. + */ + data: Prisma.journey_entry_photosCreateManyInput | Prisma.journey_entry_photosCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosIncludeCreateManyAndReturn | null +} + +/** + * journey_entry_photos update + */ +export type journey_entry_photosUpdateArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * The data needed to update a journey_entry_photos. + */ + data: Prisma.XOR + /** + * Choose, which journey_entry_photos to update. + */ + where: Prisma.journey_entry_photosWhereUniqueInput +} + +/** + * journey_entry_photos updateMany + */ +export type journey_entry_photosUpdateManyArgs = { + /** + * The data used to update journey_entry_photos. + */ + data: Prisma.XOR + /** + * Filter which journey_entry_photos to update + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * Limit how many journey_entry_photos to update. + */ + limit?: number +} + +/** + * journey_entry_photos updateManyAndReturn + */ +export type journey_entry_photosUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * The data used to update journey_entry_photos. + */ + data: Prisma.XOR + /** + * Filter which journey_entry_photos to update + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * Limit how many journey_entry_photos to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosIncludeUpdateManyAndReturn | null +} + +/** + * journey_entry_photos upsert + */ +export type journey_entry_photosUpsertArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * The filter to search for the journey_entry_photos to update in case it exists. + */ + where: Prisma.journey_entry_photosWhereUniqueInput + /** + * In case the journey_entry_photos found by the `where` argument doesn't exist, create a new journey_entry_photos with this data. + */ + create: Prisma.XOR + /** + * In case the journey_entry_photos was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_entry_photos delete + */ +export type journey_entry_photosDeleteArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + /** + * Filter which journey_entry_photos to delete. + */ + where: Prisma.journey_entry_photosWhereUniqueInput +} + +/** + * journey_entry_photos deleteMany + */ +export type journey_entry_photosDeleteManyArgs = { + /** + * Filter which journey_entry_photos to delete + */ + where?: Prisma.journey_entry_photosWhereInput + /** + * Limit how many journey_entry_photos to delete. + */ + limit?: number +} + +/** + * journey_entry_photos without action + */ +export type journey_entry_photosDefaultArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null +} diff --git a/server/src/generated/prisma/models/journey_photos.ts b/server/src/generated/prisma/models/journey_photos.ts new file mode 100644 index 00000000..927df206 --- /dev/null +++ b/server/src/generated/prisma/models/journey_photos.ts @@ -0,0 +1,1904 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_photos` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_photos + * + */ +export type journey_photosModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_photos = { + _count: Journey_photosCountAggregateOutputType | null + _avg: Journey_photosAvgAggregateOutputType | null + _sum: Journey_photosSumAggregateOutputType | null + _min: Journey_photosMinAggregateOutputType | null + _max: Journey_photosMaxAggregateOutputType | null +} + +export type Journey_photosAvgAggregateOutputType = { + id: number | null + journey_id: number | null + photo_id: number | null + shared: number | null + sort_order: number | null + owner_id: number | null + created_at: number | null +} + +export type Journey_photosSumAggregateOutputType = { + id: number | null + journey_id: number | null + photo_id: number | null + shared: number | null + sort_order: number | null + owner_id: number | null + created_at: number | null +} + +export type Journey_photosMinAggregateOutputType = { + id: number | null + journey_id: number | null + photo_id: number | null + caption: string | null + shared: number | null + sort_order: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + created_at: number | null +} + +export type Journey_photosMaxAggregateOutputType = { + id: number | null + journey_id: number | null + photo_id: number | null + caption: string | null + shared: number | null + sort_order: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + created_at: number | null +} + +export type Journey_photosCountAggregateOutputType = { + id: number + journey_id: number + photo_id: number + caption: number + shared: number + sort_order: number + provider: number + asset_id: number + owner_id: number + created_at: number + _all: number +} + + +export type Journey_photosAvgAggregateInputType = { + id?: true + journey_id?: true + photo_id?: true + shared?: true + sort_order?: true + owner_id?: true + created_at?: true +} + +export type Journey_photosSumAggregateInputType = { + id?: true + journey_id?: true + photo_id?: true + shared?: true + sort_order?: true + owner_id?: true + created_at?: true +} + +export type Journey_photosMinAggregateInputType = { + id?: true + journey_id?: true + photo_id?: true + caption?: true + shared?: true + sort_order?: true + provider?: true + asset_id?: true + owner_id?: true + created_at?: true +} + +export type Journey_photosMaxAggregateInputType = { + id?: true + journey_id?: true + photo_id?: true + caption?: true + shared?: true + sort_order?: true + provider?: true + asset_id?: true + owner_id?: true + created_at?: true +} + +export type Journey_photosCountAggregateInputType = { + id?: true + journey_id?: true + photo_id?: true + caption?: true + shared?: true + sort_order?: true + provider?: true + asset_id?: true + owner_id?: true + created_at?: true + _all?: true +} + +export type Journey_photosAggregateArgs = { + /** + * Filter which journey_photos to aggregate. + */ + where?: Prisma.journey_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_photos to fetch. + */ + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_photos + **/ + _count?: true | Journey_photosCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_photosAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_photosSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_photosMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_photosMaxAggregateInputType +} + +export type GetJourney_photosAggregateType = { + [P in keyof T & keyof AggregateJourney_photos]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_photosGroupByArgs = { + where?: Prisma.journey_photosWhereInput + orderBy?: Prisma.journey_photosOrderByWithAggregationInput | Prisma.journey_photosOrderByWithAggregationInput[] + by: Prisma.Journey_photosScalarFieldEnum[] | Prisma.Journey_photosScalarFieldEnum + having?: Prisma.journey_photosScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_photosCountAggregateInputType | true + _avg?: Journey_photosAvgAggregateInputType + _sum?: Journey_photosSumAggregateInputType + _min?: Journey_photosMinAggregateInputType + _max?: Journey_photosMaxAggregateInputType +} + +export type Journey_photosGroupByOutputType = { + id: number + journey_id: number + photo_id: number + caption: string | null + shared: number | null + sort_order: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + created_at: number + _count: Journey_photosCountAggregateOutputType | null + _avg: Journey_photosAvgAggregateOutputType | null + _sum: Journey_photosSumAggregateOutputType | null + _min: Journey_photosMinAggregateOutputType | null + _max: Journey_photosMaxAggregateOutputType | null +} + +export type GetJourney_photosGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_photosGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_photosWhereInput = { + AND?: Prisma.journey_photosWhereInput | Prisma.journey_photosWhereInput[] + OR?: Prisma.journey_photosWhereInput[] + NOT?: Prisma.journey_photosWhereInput | Prisma.journey_photosWhereInput[] + id?: Prisma.IntFilter<"journey_photos"> | number + journey_id?: Prisma.IntFilter<"journey_photos"> | number + photo_id?: Prisma.IntFilter<"journey_photos"> | number + caption?: Prisma.StringNullableFilter<"journey_photos"> | string | null + shared?: Prisma.IntNullableFilter<"journey_photos"> | number | null + sort_order?: Prisma.IntNullableFilter<"journey_photos"> | number | null + provider?: Prisma.StringNullableFilter<"journey_photos"> | string | null + asset_id?: Prisma.StringNullableFilter<"journey_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"journey_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_photos"> | number + journey_entry_photos?: Prisma.Journey_entry_photosListRelationFilter + trek_photos?: Prisma.XOR + journeys?: Prisma.XOR +} + +export type journey_photosOrderByWithRelationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + caption?: Prisma.SortOrderInput | Prisma.SortOrder + shared?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + provider?: Prisma.SortOrderInput | Prisma.SortOrder + asset_id?: Prisma.SortOrderInput | Prisma.SortOrder + owner_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + journey_entry_photos?: Prisma.journey_entry_photosOrderByRelationAggregateInput + trek_photos?: Prisma.trek_photosOrderByWithRelationInput + journeys?: Prisma.journeysOrderByWithRelationInput +} + +export type journey_photosWhereUniqueInput = Prisma.AtLeast<{ + id?: number + journey_id_photo_id?: Prisma.journey_photosJourney_idPhoto_idCompoundUniqueInput + AND?: Prisma.journey_photosWhereInput | Prisma.journey_photosWhereInput[] + OR?: Prisma.journey_photosWhereInput[] + NOT?: Prisma.journey_photosWhereInput | Prisma.journey_photosWhereInput[] + journey_id?: Prisma.IntFilter<"journey_photos"> | number + photo_id?: Prisma.IntFilter<"journey_photos"> | number + caption?: Prisma.StringNullableFilter<"journey_photos"> | string | null + shared?: Prisma.IntNullableFilter<"journey_photos"> | number | null + sort_order?: Prisma.IntNullableFilter<"journey_photos"> | number | null + provider?: Prisma.StringNullableFilter<"journey_photos"> | string | null + asset_id?: Prisma.StringNullableFilter<"journey_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"journey_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_photos"> | number + journey_entry_photos?: Prisma.Journey_entry_photosListRelationFilter + trek_photos?: Prisma.XOR + journeys?: Prisma.XOR +}, "id" | "journey_id_photo_id"> + +export type journey_photosOrderByWithAggregationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + caption?: Prisma.SortOrderInput | Prisma.SortOrder + shared?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + provider?: Prisma.SortOrderInput | Prisma.SortOrder + asset_id?: Prisma.SortOrderInput | Prisma.SortOrder + owner_id?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + _count?: Prisma.journey_photosCountOrderByAggregateInput + _avg?: Prisma.journey_photosAvgOrderByAggregateInput + _max?: Prisma.journey_photosMaxOrderByAggregateInput + _min?: Prisma.journey_photosMinOrderByAggregateInput + _sum?: Prisma.journey_photosSumOrderByAggregateInput +} + +export type journey_photosScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_photosScalarWhereWithAggregatesInput | Prisma.journey_photosScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_photosScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_photosScalarWhereWithAggregatesInput | Prisma.journey_photosScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"journey_photos"> | number + journey_id?: Prisma.IntWithAggregatesFilter<"journey_photos"> | number + photo_id?: Prisma.IntWithAggregatesFilter<"journey_photos"> | number + caption?: Prisma.StringNullableWithAggregatesFilter<"journey_photos"> | string | null + shared?: Prisma.IntNullableWithAggregatesFilter<"journey_photos"> | number | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"journey_photos"> | number | null + provider?: Prisma.StringNullableWithAggregatesFilter<"journey_photos"> | string | null + asset_id?: Prisma.StringNullableWithAggregatesFilter<"journey_photos"> | string | null + owner_id?: Prisma.IntNullableWithAggregatesFilter<"journey_photos"> | number | null + created_at?: Prisma.IntWithAggregatesFilter<"journey_photos"> | number +} + +export type journey_photosCreateInput = { + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_photosInput + trek_photos: Prisma.trek_photosCreateNestedOneWithoutJourney_photosInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_photosInput +} + +export type journey_photosUncheckedCreateInput = { + id?: number + journey_id: number + photo_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_photosInput +} + +export type journey_photosUpdateInput = { + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_photosNestedInput + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutJourney_photosNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_photosNestedInput +} + +export type journey_photosCreateManyInput = { + id?: number + journey_id: number + photo_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number +} + +export type journey_photosUpdateManyMutationInput = { + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_photosUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Journey_photosScalarRelationFilter = { + is?: Prisma.journey_photosWhereInput + isNot?: Prisma.journey_photosWhereInput +} + +export type journey_photosJourney_idPhoto_idCompoundUniqueInput = { + journey_id: number + photo_id: number +} + +export type journey_photosCountOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + caption?: Prisma.SortOrder + shared?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_photosAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_photosMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + caption?: Prisma.SortOrder + shared?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_photosMinOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + caption?: Prisma.SortOrder + shared?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_photosSumOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type Journey_photosListRelationFilter = { + every?: Prisma.journey_photosWhereInput + some?: Prisma.journey_photosWhereInput + none?: Prisma.journey_photosWhereInput +} + +export type journey_photosOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_photosCreateNestedOneWithoutJourney_entry_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourney_entry_photosInput + connect?: Prisma.journey_photosWhereUniqueInput +} + +export type journey_photosUpdateOneRequiredWithoutJourney_entry_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourney_entry_photosInput + upsert?: Prisma.journey_photosUpsertWithoutJourney_entry_photosInput + connect?: Prisma.journey_photosWhereUniqueInput + update?: Prisma.XOR, Prisma.journey_photosUncheckedUpdateWithoutJourney_entry_photosInput> +} + +export type journey_photosCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutJourneysInput[] | Prisma.journey_photosUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourneysInput | Prisma.journey_photosCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_photosCreateManyJourneysInputEnvelope + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] +} + +export type journey_photosUncheckedCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutJourneysInput[] | Prisma.journey_photosUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourneysInput | Prisma.journey_photosCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_photosCreateManyJourneysInputEnvelope + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] +} + +export type journey_photosUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutJourneysInput[] | Prisma.journey_photosUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourneysInput | Prisma.journey_photosCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_photosUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_photosUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_photosCreateManyJourneysInputEnvelope + set?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + disconnect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + delete?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + update?: Prisma.journey_photosUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_photosUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_photosUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_photosUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] +} + +export type journey_photosUncheckedUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutJourneysInput[] | Prisma.journey_photosUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutJourneysInput | Prisma.journey_photosCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_photosUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_photosUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_photosCreateManyJourneysInputEnvelope + set?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + disconnect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + delete?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + update?: Prisma.journey_photosUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_photosUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_photosUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_photosUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] +} + +export type journey_photosCreateNestedManyWithoutTrek_photosInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutTrek_photosInput[] | Prisma.journey_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput | Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput[] + createMany?: Prisma.journey_photosCreateManyTrek_photosInputEnvelope + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] +} + +export type journey_photosUncheckedCreateNestedManyWithoutTrek_photosInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutTrek_photosInput[] | Prisma.journey_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput | Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput[] + createMany?: Prisma.journey_photosCreateManyTrek_photosInputEnvelope + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] +} + +export type journey_photosUpdateManyWithoutTrek_photosNestedInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutTrek_photosInput[] | Prisma.journey_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput | Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput[] + upsert?: Prisma.journey_photosUpsertWithWhereUniqueWithoutTrek_photosInput | Prisma.journey_photosUpsertWithWhereUniqueWithoutTrek_photosInput[] + createMany?: Prisma.journey_photosCreateManyTrek_photosInputEnvelope + set?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + disconnect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + delete?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + update?: Prisma.journey_photosUpdateWithWhereUniqueWithoutTrek_photosInput | Prisma.journey_photosUpdateWithWhereUniqueWithoutTrek_photosInput[] + updateMany?: Prisma.journey_photosUpdateManyWithWhereWithoutTrek_photosInput | Prisma.journey_photosUpdateManyWithWhereWithoutTrek_photosInput[] + deleteMany?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] +} + +export type journey_photosUncheckedUpdateManyWithoutTrek_photosNestedInput = { + create?: Prisma.XOR | Prisma.journey_photosCreateWithoutTrek_photosInput[] | Prisma.journey_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput | Prisma.journey_photosCreateOrConnectWithoutTrek_photosInput[] + upsert?: Prisma.journey_photosUpsertWithWhereUniqueWithoutTrek_photosInput | Prisma.journey_photosUpsertWithWhereUniqueWithoutTrek_photosInput[] + createMany?: Prisma.journey_photosCreateManyTrek_photosInputEnvelope + set?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + disconnect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + delete?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + connect?: Prisma.journey_photosWhereUniqueInput | Prisma.journey_photosWhereUniqueInput[] + update?: Prisma.journey_photosUpdateWithWhereUniqueWithoutTrek_photosInput | Prisma.journey_photosUpdateWithWhereUniqueWithoutTrek_photosInput[] + updateMany?: Prisma.journey_photosUpdateManyWithWhereWithoutTrek_photosInput | Prisma.journey_photosUpdateManyWithWhereWithoutTrek_photosInput[] + deleteMany?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] +} + +export type journey_photosCreateWithoutJourney_entry_photosInput = { + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + trek_photos: Prisma.trek_photosCreateNestedOneWithoutJourney_photosInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_photosInput +} + +export type journey_photosUncheckedCreateWithoutJourney_entry_photosInput = { + id?: number + journey_id: number + photo_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number +} + +export type journey_photosCreateOrConnectWithoutJourney_entry_photosInput = { + where: Prisma.journey_photosWhereUniqueInput + create: Prisma.XOR +} + +export type journey_photosUpsertWithoutJourney_entry_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journey_photosWhereInput +} + +export type journey_photosUpdateToOneWithWhereWithoutJourney_entry_photosInput = { + where?: Prisma.journey_photosWhereInput + data: Prisma.XOR +} + +export type journey_photosUpdateWithoutJourney_entry_photosInput = { + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutJourney_photosNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateWithoutJourney_entry_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_photosCreateWithoutJourneysInput = { + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_photosInput + trek_photos: Prisma.trek_photosCreateNestedOneWithoutJourney_photosInput +} + +export type journey_photosUncheckedCreateWithoutJourneysInput = { + id?: number + photo_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_photosInput +} + +export type journey_photosCreateOrConnectWithoutJourneysInput = { + where: Prisma.journey_photosWhereUniqueInput + create: Prisma.XOR +} + +export type journey_photosCreateManyJourneysInputEnvelope = { + data: Prisma.journey_photosCreateManyJourneysInput | Prisma.journey_photosCreateManyJourneysInput[] +} + +export type journey_photosUpsertWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_photosUpdateWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_photosWhereUniqueInput + data: Prisma.XOR +} + +export type journey_photosUpdateManyWithWhereWithoutJourneysInput = { + where: Prisma.journey_photosScalarWhereInput + data: Prisma.XOR +} + +export type journey_photosScalarWhereInput = { + AND?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] + OR?: Prisma.journey_photosScalarWhereInput[] + NOT?: Prisma.journey_photosScalarWhereInput | Prisma.journey_photosScalarWhereInput[] + id?: Prisma.IntFilter<"journey_photos"> | number + journey_id?: Prisma.IntFilter<"journey_photos"> | number + photo_id?: Prisma.IntFilter<"journey_photos"> | number + caption?: Prisma.StringNullableFilter<"journey_photos"> | string | null + shared?: Prisma.IntNullableFilter<"journey_photos"> | number | null + sort_order?: Prisma.IntNullableFilter<"journey_photos"> | number | null + provider?: Prisma.StringNullableFilter<"journey_photos"> | string | null + asset_id?: Prisma.StringNullableFilter<"journey_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"journey_photos"> | number | null + created_at?: Prisma.IntFilter<"journey_photos"> | number +} + +export type journey_photosCreateWithoutTrek_photosInput = { + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosCreateNestedManyWithoutJourney_photosInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_photosInput +} + +export type journey_photosUncheckedCreateWithoutTrek_photosInput = { + id?: number + journey_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedCreateNestedManyWithoutJourney_photosInput +} + +export type journey_photosCreateOrConnectWithoutTrek_photosInput = { + where: Prisma.journey_photosWhereUniqueInput + create: Prisma.XOR +} + +export type journey_photosCreateManyTrek_photosInputEnvelope = { + data: Prisma.journey_photosCreateManyTrek_photosInput | Prisma.journey_photosCreateManyTrek_photosInput[] +} + +export type journey_photosUpsertWithWhereUniqueWithoutTrek_photosInput = { + where: Prisma.journey_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_photosUpdateWithWhereUniqueWithoutTrek_photosInput = { + where: Prisma.journey_photosWhereUniqueInput + data: Prisma.XOR +} + +export type journey_photosUpdateManyWithWhereWithoutTrek_photosInput = { + where: Prisma.journey_photosScalarWhereInput + data: Prisma.XOR +} + +export type journey_photosCreateManyJourneysInput = { + id?: number + photo_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number +} + +export type journey_photosUpdateWithoutJourneysInput = { + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_photosNestedInput + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateManyWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_photosCreateManyTrek_photosInput = { + id?: number + journey_id: number + caption?: string | null + shared?: number | null + sort_order?: number | null + provider?: string | null + asset_id?: string | null + owner_id?: number | null + created_at: number +} + +export type journey_photosUpdateWithoutTrek_photosInput = { + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUpdateManyWithoutJourney_photosNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateWithoutTrek_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + journey_entry_photos?: Prisma.journey_entry_photosUncheckedUpdateManyWithoutJourney_photosNestedInput +} + +export type journey_photosUncheckedUpdateManyWithoutTrek_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + shared?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number +} + + +/** + * Count Type Journey_photosCountOutputType + */ + +export type Journey_photosCountOutputType = { + journey_entry_photos: number +} + +export type Journey_photosCountOutputTypeSelect = { + journey_entry_photos?: boolean | Journey_photosCountOutputTypeCountJourney_entry_photosArgs +} + +/** + * Journey_photosCountOutputType without action + */ +export type Journey_photosCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Journey_photosCountOutputType + */ + select?: Prisma.Journey_photosCountOutputTypeSelect | null +} + +/** + * Journey_photosCountOutputType without action + */ +export type Journey_photosCountOutputTypeCountJourney_entry_photosArgs = { + where?: Prisma.journey_entry_photosWhereInput +} + + +export type journey_photosSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + photo_id?: boolean + caption?: boolean + shared?: boolean + sort_order?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + created_at?: boolean + journey_entry_photos?: boolean | Prisma.journey_photos$journey_entry_photosArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs + _count?: boolean | Prisma.Journey_photosCountOutputTypeDefaultArgs +}, ExtArgs["result"]["journey_photos"]> + +export type journey_photosSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + photo_id?: boolean + caption?: boolean + shared?: boolean + sort_order?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + created_at?: boolean + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_photos"]> + +export type journey_photosSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + photo_id?: boolean + caption?: boolean + shared?: boolean + sort_order?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + created_at?: boolean + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_photos"]> + +export type journey_photosSelectScalar = { + id?: boolean + journey_id?: boolean + photo_id?: boolean + caption?: boolean + shared?: boolean + sort_order?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + created_at?: boolean +} + +export type journey_photosOmit = runtime.Types.Extensions.GetOmit<"id" | "journey_id" | "photo_id" | "caption" | "shared" | "sort_order" | "provider" | "asset_id" | "owner_id" | "created_at", ExtArgs["result"]["journey_photos"]> +export type journey_photosInclude = { + journey_entry_photos?: boolean | Prisma.journey_photos$journey_entry_photosArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs + _count?: boolean | Prisma.Journey_photosCountOutputTypeDefaultArgs +} +export type journey_photosIncludeCreateManyAndReturn = { + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_photosIncludeUpdateManyAndReturn = { + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} + +export type $journey_photosPayload = { + name: "journey_photos" + objects: { + journey_entry_photos: Prisma.$journey_entry_photosPayload[] + trek_photos: Prisma.$trek_photosPayload + journeys: Prisma.$journeysPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + journey_id: number + photo_id: number + caption: string | null + shared: number | null + sort_order: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + created_at: number + }, ExtArgs["result"]["journey_photos"]> + composites: {} +} + +export type journey_photosGetPayload = runtime.Types.Result.GetResult + +export type journey_photosCountArgs = + Omit & { + select?: Journey_photosCountAggregateInputType | true + } + +export interface journey_photosDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_photos'], meta: { name: 'journey_photos' } } + /** + * Find zero or one Journey_photos that matches the filter. + * @param {journey_photosFindUniqueArgs} args - Arguments to find a Journey_photos + * @example + * // Get one Journey_photos + * const journey_photos = await prisma.journey_photos.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_photos that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_photosFindUniqueOrThrowArgs} args - Arguments to find a Journey_photos + * @example + * // Get one Journey_photos + * const journey_photos = await prisma.journey_photos.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosFindFirstArgs} args - Arguments to find a Journey_photos + * @example + * // Get one Journey_photos + * const journey_photos = await prisma.journey_photos.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_photos that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosFindFirstOrThrowArgs} args - Arguments to find a Journey_photos + * @example + * // Get one Journey_photos + * const journey_photos = await prisma.journey_photos.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_photos + * const journey_photos = await prisma.journey_photos.findMany() + * + * // Get first 10 Journey_photos + * const journey_photos = await prisma.journey_photos.findMany({ take: 10 }) + * + * // Only select the `id` + * const journey_photosWithIdOnly = await prisma.journey_photos.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_photos. + * @param {journey_photosCreateArgs} args - Arguments to create a Journey_photos. + * @example + * // Create one Journey_photos + * const Journey_photos = await prisma.journey_photos.create({ + * data: { + * // ... data to create a Journey_photos + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_photos. + * @param {journey_photosCreateManyArgs} args - Arguments to create many Journey_photos. + * @example + * // Create many Journey_photos + * const journey_photos = await prisma.journey_photos.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_photos and returns the data saved in the database. + * @param {journey_photosCreateManyAndReturnArgs} args - Arguments to create many Journey_photos. + * @example + * // Create many Journey_photos + * const journey_photos = await prisma.journey_photos.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_photos and only return the `id` + * const journey_photosWithIdOnly = await prisma.journey_photos.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_photos. + * @param {journey_photosDeleteArgs} args - Arguments to delete one Journey_photos. + * @example + * // Delete one Journey_photos + * const Journey_photos = await prisma.journey_photos.delete({ + * where: { + * // ... filter to delete one Journey_photos + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_photos. + * @param {journey_photosUpdateArgs} args - Arguments to update one Journey_photos. + * @example + * // Update one Journey_photos + * const journey_photos = await prisma.journey_photos.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_photos. + * @param {journey_photosDeleteManyArgs} args - Arguments to filter Journey_photos to delete. + * @example + * // Delete a few Journey_photos + * const { count } = await prisma.journey_photos.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_photos + * const journey_photos = await prisma.journey_photos.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_photos and returns the data updated in the database. + * @param {journey_photosUpdateManyAndReturnArgs} args - Arguments to update many Journey_photos. + * @example + * // Update many Journey_photos + * const journey_photos = await prisma.journey_photos.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_photos and only return the `id` + * const journey_photosWithIdOnly = await prisma.journey_photos.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_photos. + * @param {journey_photosUpsertArgs} args - Arguments to update or create a Journey_photos. + * @example + * // Update or create a Journey_photos + * const journey_photos = await prisma.journey_photos.upsert({ + * create: { + * // ... data to create a Journey_photos + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_photos we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_photosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosCountArgs} args - Arguments to filter Journey_photos to count. + * @example + * // Count the number of Journey_photos + * const count = await prisma.journey_photos.count({ + * where: { + * // ... the filter for the Journey_photos we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_photosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_photosGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_photosGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_photosGroupByArgs['orderBy'] } + : { orderBy?: journey_photosGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_photosGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_photos model + */ +readonly fields: journey_photosFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_photos. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_photosClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + journey_entry_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trek_photos = {}>(args?: Prisma.Subset>): Prisma.Prisma__trek_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journeys = {}>(args?: Prisma.Subset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_photos model + */ +export interface journey_photosFieldRefs { + readonly id: Prisma.FieldRef<"journey_photos", 'Int'> + readonly journey_id: Prisma.FieldRef<"journey_photos", 'Int'> + readonly photo_id: Prisma.FieldRef<"journey_photos", 'Int'> + readonly caption: Prisma.FieldRef<"journey_photos", 'String'> + readonly shared: Prisma.FieldRef<"journey_photos", 'Int'> + readonly sort_order: Prisma.FieldRef<"journey_photos", 'Int'> + readonly provider: Prisma.FieldRef<"journey_photos", 'String'> + readonly asset_id: Prisma.FieldRef<"journey_photos", 'String'> + readonly owner_id: Prisma.FieldRef<"journey_photos", 'Int'> + readonly created_at: Prisma.FieldRef<"journey_photos", 'Int'> +} + + +// Custom InputTypes +/** + * journey_photos findUnique + */ +export type journey_photosFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter, which journey_photos to fetch. + */ + where: Prisma.journey_photosWhereUniqueInput +} + +/** + * journey_photos findUniqueOrThrow + */ +export type journey_photosFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter, which journey_photos to fetch. + */ + where: Prisma.journey_photosWhereUniqueInput +} + +/** + * journey_photos findFirst + */ +export type journey_photosFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter, which journey_photos to fetch. + */ + where?: Prisma.journey_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_photos to fetch. + */ + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_photos. + */ + cursor?: Prisma.journey_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_photos. + */ + distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] +} + +/** + * journey_photos findFirstOrThrow + */ +export type journey_photosFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter, which journey_photos to fetch. + */ + where?: Prisma.journey_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_photos to fetch. + */ + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_photos. + */ + cursor?: Prisma.journey_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_photos. + */ + distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] +} + +/** + * journey_photos findMany + */ +export type journey_photosFindManyArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter, which journey_photos to fetch. + */ + where?: Prisma.journey_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_photos to fetch. + */ + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_photos. + */ + cursor?: Prisma.journey_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_photos. + */ + distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] +} + +/** + * journey_photos create + */ +export type journey_photosCreateArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * The data needed to create a journey_photos. + */ + data: Prisma.XOR +} + +/** + * journey_photos createMany + */ +export type journey_photosCreateManyArgs = { + /** + * The data used to create many journey_photos. + */ + data: Prisma.journey_photosCreateManyInput | Prisma.journey_photosCreateManyInput[] +} + +/** + * journey_photos createManyAndReturn + */ +export type journey_photosCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * The data used to create many journey_photos. + */ + data: Prisma.journey_photosCreateManyInput | Prisma.journey_photosCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosIncludeCreateManyAndReturn | null +} + +/** + * journey_photos update + */ +export type journey_photosUpdateArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * The data needed to update a journey_photos. + */ + data: Prisma.XOR + /** + * Choose, which journey_photos to update. + */ + where: Prisma.journey_photosWhereUniqueInput +} + +/** + * journey_photos updateMany + */ +export type journey_photosUpdateManyArgs = { + /** + * The data used to update journey_photos. + */ + data: Prisma.XOR + /** + * Filter which journey_photos to update + */ + where?: Prisma.journey_photosWhereInput + /** + * Limit how many journey_photos to update. + */ + limit?: number +} + +/** + * journey_photos updateManyAndReturn + */ +export type journey_photosUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * The data used to update journey_photos. + */ + data: Prisma.XOR + /** + * Filter which journey_photos to update + */ + where?: Prisma.journey_photosWhereInput + /** + * Limit how many journey_photos to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosIncludeUpdateManyAndReturn | null +} + +/** + * journey_photos upsert + */ +export type journey_photosUpsertArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * The filter to search for the journey_photos to update in case it exists. + */ + where: Prisma.journey_photosWhereUniqueInput + /** + * In case the journey_photos found by the `where` argument doesn't exist, create a new journey_photos with this data. + */ + create: Prisma.XOR + /** + * In case the journey_photos was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_photos delete + */ +export type journey_photosDeleteArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + /** + * Filter which journey_photos to delete. + */ + where: Prisma.journey_photosWhereUniqueInput +} + +/** + * journey_photos deleteMany + */ +export type journey_photosDeleteManyArgs = { + /** + * Filter which journey_photos to delete + */ + where?: Prisma.journey_photosWhereInput + /** + * Limit how many journey_photos to delete. + */ + limit?: number +} + +/** + * journey_photos.journey_entry_photos + */ +export type journey_photos$journey_entry_photosArgs = { + /** + * Select specific fields to fetch from the journey_entry_photos + */ + select?: Prisma.journey_entry_photosSelect | null + /** + * Omit specific fields from the journey_entry_photos + */ + omit?: Prisma.journey_entry_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entry_photosInclude | null + where?: Prisma.journey_entry_photosWhereInput + orderBy?: Prisma.journey_entry_photosOrderByWithRelationInput | Prisma.journey_entry_photosOrderByWithRelationInput[] + cursor?: Prisma.journey_entry_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entry_photosScalarFieldEnum | Prisma.Journey_entry_photosScalarFieldEnum[] +} + +/** + * journey_photos without action + */ +export type journey_photosDefaultArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null +} diff --git a/server/src/generated/prisma/models/journey_share_tokens.ts b/server/src/generated/prisma/models/journey_share_tokens.ts new file mode 100644 index 00000000..0b6afd71 --- /dev/null +++ b/server/src/generated/prisma/models/journey_share_tokens.ts @@ -0,0 +1,1617 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_share_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_share_tokens + * + */ +export type journey_share_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_share_tokens = { + _count: Journey_share_tokensCountAggregateOutputType | null + _avg: Journey_share_tokensAvgAggregateOutputType | null + _sum: Journey_share_tokensSumAggregateOutputType | null + _min: Journey_share_tokensMinAggregateOutputType | null + _max: Journey_share_tokensMaxAggregateOutputType | null +} + +export type Journey_share_tokensAvgAggregateOutputType = { + id: number | null + journey_id: number | null + created_by: number | null + share_timeline: number | null + share_gallery: number | null + share_map: number | null +} + +export type Journey_share_tokensSumAggregateOutputType = { + id: number | null + journey_id: number | null + created_by: number | null + share_timeline: number | null + share_gallery: number | null + share_map: number | null +} + +export type Journey_share_tokensMinAggregateOutputType = { + id: number | null + journey_id: number | null + token: string | null + created_by: number | null + share_timeline: number | null + share_gallery: number | null + share_map: number | null + created_at: Date | null +} + +export type Journey_share_tokensMaxAggregateOutputType = { + id: number | null + journey_id: number | null + token: string | null + created_by: number | null + share_timeline: number | null + share_gallery: number | null + share_map: number | null + created_at: Date | null +} + +export type Journey_share_tokensCountAggregateOutputType = { + id: number + journey_id: number + token: number + created_by: number + share_timeline: number + share_gallery: number + share_map: number + created_at: number + _all: number +} + + +export type Journey_share_tokensAvgAggregateInputType = { + id?: true + journey_id?: true + created_by?: true + share_timeline?: true + share_gallery?: true + share_map?: true +} + +export type Journey_share_tokensSumAggregateInputType = { + id?: true + journey_id?: true + created_by?: true + share_timeline?: true + share_gallery?: true + share_map?: true +} + +export type Journey_share_tokensMinAggregateInputType = { + id?: true + journey_id?: true + token?: true + created_by?: true + share_timeline?: true + share_gallery?: true + share_map?: true + created_at?: true +} + +export type Journey_share_tokensMaxAggregateInputType = { + id?: true + journey_id?: true + token?: true + created_by?: true + share_timeline?: true + share_gallery?: true + share_map?: true + created_at?: true +} + +export type Journey_share_tokensCountAggregateInputType = { + id?: true + journey_id?: true + token?: true + created_by?: true + share_timeline?: true + share_gallery?: true + share_map?: true + created_at?: true + _all?: true +} + +export type Journey_share_tokensAggregateArgs = { + /** + * Filter which journey_share_tokens to aggregate. + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_share_tokens to fetch. + */ + orderBy?: Prisma.journey_share_tokensOrderByWithRelationInput | Prisma.journey_share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_share_tokens + **/ + _count?: true | Journey_share_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_share_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_share_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_share_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_share_tokensMaxAggregateInputType +} + +export type GetJourney_share_tokensAggregateType = { + [P in keyof T & keyof AggregateJourney_share_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_share_tokensGroupByArgs = { + where?: Prisma.journey_share_tokensWhereInput + orderBy?: Prisma.journey_share_tokensOrderByWithAggregationInput | Prisma.journey_share_tokensOrderByWithAggregationInput[] + by: Prisma.Journey_share_tokensScalarFieldEnum[] | Prisma.Journey_share_tokensScalarFieldEnum + having?: Prisma.journey_share_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_share_tokensCountAggregateInputType | true + _avg?: Journey_share_tokensAvgAggregateInputType + _sum?: Journey_share_tokensSumAggregateInputType + _min?: Journey_share_tokensMinAggregateInputType + _max?: Journey_share_tokensMaxAggregateInputType +} + +export type Journey_share_tokensGroupByOutputType = { + id: number + journey_id: number + token: string + created_by: number + share_timeline: number | null + share_gallery: number | null + share_map: number | null + created_at: Date | null + _count: Journey_share_tokensCountAggregateOutputType | null + _avg: Journey_share_tokensAvgAggregateOutputType | null + _sum: Journey_share_tokensSumAggregateOutputType | null + _min: Journey_share_tokensMinAggregateOutputType | null + _max: Journey_share_tokensMaxAggregateOutputType | null +} + +export type GetJourney_share_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_share_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_share_tokensWhereInput = { + AND?: Prisma.journey_share_tokensWhereInput | Prisma.journey_share_tokensWhereInput[] + OR?: Prisma.journey_share_tokensWhereInput[] + NOT?: Prisma.journey_share_tokensWhereInput | Prisma.journey_share_tokensWhereInput[] + id?: Prisma.IntFilter<"journey_share_tokens"> | number + journey_id?: Prisma.IntFilter<"journey_share_tokens"> | number + token?: Prisma.StringFilter<"journey_share_tokens"> | string + created_by?: Prisma.IntFilter<"journey_share_tokens"> | number + share_timeline?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_gallery?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_map?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"journey_share_tokens"> | Date | string | null + users?: Prisma.XOR + journeys?: Prisma.XOR +} + +export type journey_share_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrderInput | Prisma.SortOrder + share_gallery?: Prisma.SortOrderInput | Prisma.SortOrder + share_map?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + journeys?: Prisma.journeysOrderByWithRelationInput +} + +export type journey_share_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + journey_id?: number + token?: string + AND?: Prisma.journey_share_tokensWhereInput | Prisma.journey_share_tokensWhereInput[] + OR?: Prisma.journey_share_tokensWhereInput[] + NOT?: Prisma.journey_share_tokensWhereInput | Prisma.journey_share_tokensWhereInput[] + created_by?: Prisma.IntFilter<"journey_share_tokens"> | number + share_timeline?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_gallery?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_map?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"journey_share_tokens"> | Date | string | null + users?: Prisma.XOR + journeys?: Prisma.XOR +}, "id" | "journey_id" | "token"> + +export type journey_share_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrderInput | Prisma.SortOrder + share_gallery?: Prisma.SortOrderInput | Prisma.SortOrder + share_map?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.journey_share_tokensCountOrderByAggregateInput + _avg?: Prisma.journey_share_tokensAvgOrderByAggregateInput + _max?: Prisma.journey_share_tokensMaxOrderByAggregateInput + _min?: Prisma.journey_share_tokensMinOrderByAggregateInput + _sum?: Prisma.journey_share_tokensSumOrderByAggregateInput +} + +export type journey_share_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_share_tokensScalarWhereWithAggregatesInput | Prisma.journey_share_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_share_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_share_tokensScalarWhereWithAggregatesInput | Prisma.journey_share_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"journey_share_tokens"> | number + journey_id?: Prisma.IntWithAggregatesFilter<"journey_share_tokens"> | number + token?: Prisma.StringWithAggregatesFilter<"journey_share_tokens"> | string + created_by?: Prisma.IntWithAggregatesFilter<"journey_share_tokens"> | number + share_timeline?: Prisma.IntNullableWithAggregatesFilter<"journey_share_tokens"> | number | null + share_gallery?: Prisma.IntNullableWithAggregatesFilter<"journey_share_tokens"> | number | null + share_map?: Prisma.IntNullableWithAggregatesFilter<"journey_share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"journey_share_tokens"> | Date | string | null +} + +export type journey_share_tokensCreateInput = { + token: string + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutJourney_share_tokensInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_share_tokensInput +} + +export type journey_share_tokensUncheckedCreateInput = { + id?: number + journey_id: number + token: string + created_by: number + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null +} + +export type journey_share_tokensUpdateInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_share_tokensNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_share_tokensNestedInput +} + +export type journey_share_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type journey_share_tokensCreateManyInput = { + id?: number + journey_id: number + token: string + created_by: number + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null +} + +export type journey_share_tokensUpdateManyMutationInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type journey_share_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type journey_share_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrder + share_gallery?: Prisma.SortOrder + share_map?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_share_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrder + share_gallery?: Prisma.SortOrder + share_map?: Prisma.SortOrder +} + +export type journey_share_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrder + share_gallery?: Prisma.SortOrder + share_map?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_share_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrder + share_gallery?: Prisma.SortOrder + share_map?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type journey_share_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + journey_id?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_timeline?: Prisma.SortOrder + share_gallery?: Prisma.SortOrder + share_map?: Prisma.SortOrder +} + +export type Journey_share_tokensNullableScalarRelationFilter = { + is?: Prisma.journey_share_tokensWhereInput | null + isNot?: Prisma.journey_share_tokensWhereInput | null +} + +export type Journey_share_tokensListRelationFilter = { + every?: Prisma.journey_share_tokensWhereInput + some?: Prisma.journey_share_tokensWhereInput + none?: Prisma.journey_share_tokensWhereInput +} + +export type journey_share_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_share_tokensCreateNestedOneWithoutJourneysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutJourneysInput + connect?: Prisma.journey_share_tokensWhereUniqueInput +} + +export type journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutJourneysInput + connect?: Prisma.journey_share_tokensWhereUniqueInput +} + +export type journey_share_tokensUpdateOneWithoutJourneysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutJourneysInput + upsert?: Prisma.journey_share_tokensUpsertWithoutJourneysInput + disconnect?: Prisma.journey_share_tokensWhereInput | boolean + delete?: Prisma.journey_share_tokensWhereInput | boolean + connect?: Prisma.journey_share_tokensWhereUniqueInput + update?: Prisma.XOR, Prisma.journey_share_tokensUncheckedUpdateWithoutJourneysInput> +} + +export type journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutJourneysInput + upsert?: Prisma.journey_share_tokensUpsertWithoutJourneysInput + disconnect?: Prisma.journey_share_tokensWhereInput | boolean + delete?: Prisma.journey_share_tokensWhereInput | boolean + connect?: Prisma.journey_share_tokensWhereUniqueInput + update?: Prisma.XOR, Prisma.journey_share_tokensUncheckedUpdateWithoutJourneysInput> +} + +export type journey_share_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_share_tokensCreateWithoutUsersInput[] | Prisma.journey_share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput | Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_share_tokensCreateManyUsersInputEnvelope + connect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] +} + +export type journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journey_share_tokensCreateWithoutUsersInput[] | Prisma.journey_share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput | Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journey_share_tokensCreateManyUsersInputEnvelope + connect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] +} + +export type journey_share_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_share_tokensCreateWithoutUsersInput[] | Prisma.journey_share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput | Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_share_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_share_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_share_tokensCreateManyUsersInputEnvelope + set?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + disconnect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + delete?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + connect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + update?: Prisma.journey_share_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_share_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_share_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.journey_share_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_share_tokensScalarWhereInput | Prisma.journey_share_tokensScalarWhereInput[] +} + +export type journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journey_share_tokensCreateWithoutUsersInput[] | Prisma.journey_share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput | Prisma.journey_share_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journey_share_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.journey_share_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journey_share_tokensCreateManyUsersInputEnvelope + set?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + disconnect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + delete?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + connect?: Prisma.journey_share_tokensWhereUniqueInput | Prisma.journey_share_tokensWhereUniqueInput[] + update?: Prisma.journey_share_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.journey_share_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journey_share_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.journey_share_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journey_share_tokensScalarWhereInput | Prisma.journey_share_tokensScalarWhereInput[] +} + +export type journey_share_tokensCreateWithoutJourneysInput = { + token: string + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutJourney_share_tokensInput +} + +export type journey_share_tokensUncheckedCreateWithoutJourneysInput = { + id?: number + token: string + created_by: number + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null +} + +export type journey_share_tokensCreateOrConnectWithoutJourneysInput = { + where: Prisma.journey_share_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type journey_share_tokensUpsertWithoutJourneysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journey_share_tokensWhereInput +} + +export type journey_share_tokensUpdateToOneWithWhereWithoutJourneysInput = { + where?: Prisma.journey_share_tokensWhereInput + data: Prisma.XOR +} + +export type journey_share_tokensUpdateWithoutJourneysInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutJourney_share_tokensNestedInput +} + +export type journey_share_tokensUncheckedUpdateWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type journey_share_tokensCreateWithoutUsersInput = { + token: string + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null + journeys: Prisma.journeysCreateNestedOneWithoutJourney_share_tokensInput +} + +export type journey_share_tokensUncheckedCreateWithoutUsersInput = { + id?: number + journey_id: number + token: string + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null +} + +export type journey_share_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.journey_share_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type journey_share_tokensCreateManyUsersInputEnvelope = { + data: Prisma.journey_share_tokensCreateManyUsersInput | Prisma.journey_share_tokensCreateManyUsersInput[] +} + +export type journey_share_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_share_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_share_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.journey_share_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type journey_share_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.journey_share_tokensScalarWhereInput + data: Prisma.XOR +} + +export type journey_share_tokensScalarWhereInput = { + AND?: Prisma.journey_share_tokensScalarWhereInput | Prisma.journey_share_tokensScalarWhereInput[] + OR?: Prisma.journey_share_tokensScalarWhereInput[] + NOT?: Prisma.journey_share_tokensScalarWhereInput | Prisma.journey_share_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"journey_share_tokens"> | number + journey_id?: Prisma.IntFilter<"journey_share_tokens"> | number + token?: Prisma.StringFilter<"journey_share_tokens"> | string + created_by?: Prisma.IntFilter<"journey_share_tokens"> | number + share_timeline?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_gallery?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + share_map?: Prisma.IntNullableFilter<"journey_share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"journey_share_tokens"> | Date | string | null +} + +export type journey_share_tokensCreateManyUsersInput = { + id?: number + journey_id: number + token: string + share_timeline?: number | null + share_gallery?: number | null + share_map?: number | null + created_at?: Date | string | null +} + +export type journey_share_tokensUpdateWithoutUsersInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_share_tokensNestedInput +} + +export type journey_share_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type journey_share_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + share_timeline?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_gallery?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type journey_share_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + token?: boolean + created_by?: boolean + share_timeline?: boolean + share_gallery?: boolean + share_map?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_share_tokens"]> + +export type journey_share_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + token?: boolean + created_by?: boolean + share_timeline?: boolean + share_gallery?: boolean + share_map?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_share_tokens"]> + +export type journey_share_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + journey_id?: boolean + token?: boolean + created_by?: boolean + share_timeline?: boolean + share_gallery?: boolean + share_map?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_share_tokens"]> + +export type journey_share_tokensSelectScalar = { + id?: boolean + journey_id?: boolean + token?: boolean + created_by?: boolean + share_timeline?: boolean + share_gallery?: boolean + share_map?: boolean + created_at?: boolean +} + +export type journey_share_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "journey_id" | "token" | "created_by" | "share_timeline" | "share_gallery" | "share_map" | "created_at", ExtArgs["result"]["journey_share_tokens"]> +export type journey_share_tokensInclude = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_share_tokensIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_share_tokensIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} + +export type $journey_share_tokensPayload = { + name: "journey_share_tokens" + objects: { + users: Prisma.$usersPayload + journeys: Prisma.$journeysPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + journey_id: number + token: string + created_by: number + share_timeline: number | null + share_gallery: number | null + share_map: number | null + created_at: Date | null + }, ExtArgs["result"]["journey_share_tokens"]> + composites: {} +} + +export type journey_share_tokensGetPayload = runtime.Types.Result.GetResult + +export type journey_share_tokensCountArgs = + Omit & { + select?: Journey_share_tokensCountAggregateInputType | true + } + +export interface journey_share_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_share_tokens'], meta: { name: 'journey_share_tokens' } } + /** + * Find zero or one Journey_share_tokens that matches the filter. + * @param {journey_share_tokensFindUniqueArgs} args - Arguments to find a Journey_share_tokens + * @example + * // Get one Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_share_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_share_tokensFindUniqueOrThrowArgs} args - Arguments to find a Journey_share_tokens + * @example + * // Get one Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_share_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensFindFirstArgs} args - Arguments to find a Journey_share_tokens + * @example + * // Get one Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_share_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensFindFirstOrThrowArgs} args - Arguments to find a Journey_share_tokens + * @example + * // Get one Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_share_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findMany() + * + * // Get first 10 Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const journey_share_tokensWithIdOnly = await prisma.journey_share_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_share_tokens. + * @param {journey_share_tokensCreateArgs} args - Arguments to create a Journey_share_tokens. + * @example + * // Create one Journey_share_tokens + * const Journey_share_tokens = await prisma.journey_share_tokens.create({ + * data: { + * // ... data to create a Journey_share_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_share_tokens. + * @param {journey_share_tokensCreateManyArgs} args - Arguments to create many Journey_share_tokens. + * @example + * // Create many Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_share_tokens and returns the data saved in the database. + * @param {journey_share_tokensCreateManyAndReturnArgs} args - Arguments to create many Journey_share_tokens. + * @example + * // Create many Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_share_tokens and only return the `id` + * const journey_share_tokensWithIdOnly = await prisma.journey_share_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_share_tokens. + * @param {journey_share_tokensDeleteArgs} args - Arguments to delete one Journey_share_tokens. + * @example + * // Delete one Journey_share_tokens + * const Journey_share_tokens = await prisma.journey_share_tokens.delete({ + * where: { + * // ... filter to delete one Journey_share_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_share_tokens. + * @param {journey_share_tokensUpdateArgs} args - Arguments to update one Journey_share_tokens. + * @example + * // Update one Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_share_tokens. + * @param {journey_share_tokensDeleteManyArgs} args - Arguments to filter Journey_share_tokens to delete. + * @example + * // Delete a few Journey_share_tokens + * const { count } = await prisma.journey_share_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_share_tokens and returns the data updated in the database. + * @param {journey_share_tokensUpdateManyAndReturnArgs} args - Arguments to update many Journey_share_tokens. + * @example + * // Update many Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_share_tokens and only return the `id` + * const journey_share_tokensWithIdOnly = await prisma.journey_share_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_share_tokens. + * @param {journey_share_tokensUpsertArgs} args - Arguments to update or create a Journey_share_tokens. + * @example + * // Update or create a Journey_share_tokens + * const journey_share_tokens = await prisma.journey_share_tokens.upsert({ + * create: { + * // ... data to create a Journey_share_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_share_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_share_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensCountArgs} args - Arguments to filter Journey_share_tokens to count. + * @example + * // Count the number of Journey_share_tokens + * const count = await prisma.journey_share_tokens.count({ + * where: { + * // ... the filter for the Journey_share_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_share_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_share_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_share_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_share_tokensGroupByArgs['orderBy'] } + : { orderBy?: journey_share_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_share_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_share_tokens model + */ +readonly fields: journey_share_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_share_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_share_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journeys = {}>(args?: Prisma.Subset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_share_tokens model + */ +export interface journey_share_tokensFieldRefs { + readonly id: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly journey_id: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly token: Prisma.FieldRef<"journey_share_tokens", 'String'> + readonly created_by: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly share_timeline: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly share_gallery: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly share_map: Prisma.FieldRef<"journey_share_tokens", 'Int'> + readonly created_at: Prisma.FieldRef<"journey_share_tokens", 'DateTime'> +} + + +// Custom InputTypes +/** + * journey_share_tokens findUnique + */ +export type journey_share_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter, which journey_share_tokens to fetch. + */ + where: Prisma.journey_share_tokensWhereUniqueInput +} + +/** + * journey_share_tokens findUniqueOrThrow + */ +export type journey_share_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter, which journey_share_tokens to fetch. + */ + where: Prisma.journey_share_tokensWhereUniqueInput +} + +/** + * journey_share_tokens findFirst + */ +export type journey_share_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter, which journey_share_tokens to fetch. + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_share_tokens to fetch. + */ + orderBy?: Prisma.journey_share_tokensOrderByWithRelationInput | Prisma.journey_share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_share_tokens. + */ + cursor?: Prisma.journey_share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_share_tokens. + */ + distinct?: Prisma.Journey_share_tokensScalarFieldEnum | Prisma.Journey_share_tokensScalarFieldEnum[] +} + +/** + * journey_share_tokens findFirstOrThrow + */ +export type journey_share_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter, which journey_share_tokens to fetch. + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_share_tokens to fetch. + */ + orderBy?: Prisma.journey_share_tokensOrderByWithRelationInput | Prisma.journey_share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_share_tokens. + */ + cursor?: Prisma.journey_share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_share_tokens. + */ + distinct?: Prisma.Journey_share_tokensScalarFieldEnum | Prisma.Journey_share_tokensScalarFieldEnum[] +} + +/** + * journey_share_tokens findMany + */ +export type journey_share_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter, which journey_share_tokens to fetch. + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_share_tokens to fetch. + */ + orderBy?: Prisma.journey_share_tokensOrderByWithRelationInput | Prisma.journey_share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_share_tokens. + */ + cursor?: Prisma.journey_share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_share_tokens. + */ + distinct?: Prisma.Journey_share_tokensScalarFieldEnum | Prisma.Journey_share_tokensScalarFieldEnum[] +} + +/** + * journey_share_tokens create + */ +export type journey_share_tokensCreateArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * The data needed to create a journey_share_tokens. + */ + data: Prisma.XOR +} + +/** + * journey_share_tokens createMany + */ +export type journey_share_tokensCreateManyArgs = { + /** + * The data used to create many journey_share_tokens. + */ + data: Prisma.journey_share_tokensCreateManyInput | Prisma.journey_share_tokensCreateManyInput[] +} + +/** + * journey_share_tokens createManyAndReturn + */ +export type journey_share_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * The data used to create many journey_share_tokens. + */ + data: Prisma.journey_share_tokensCreateManyInput | Prisma.journey_share_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensIncludeCreateManyAndReturn | null +} + +/** + * journey_share_tokens update + */ +export type journey_share_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * The data needed to update a journey_share_tokens. + */ + data: Prisma.XOR + /** + * Choose, which journey_share_tokens to update. + */ + where: Prisma.journey_share_tokensWhereUniqueInput +} + +/** + * journey_share_tokens updateMany + */ +export type journey_share_tokensUpdateManyArgs = { + /** + * The data used to update journey_share_tokens. + */ + data: Prisma.XOR + /** + * Filter which journey_share_tokens to update + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * Limit how many journey_share_tokens to update. + */ + limit?: number +} + +/** + * journey_share_tokens updateManyAndReturn + */ +export type journey_share_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * The data used to update journey_share_tokens. + */ + data: Prisma.XOR + /** + * Filter which journey_share_tokens to update + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * Limit how many journey_share_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensIncludeUpdateManyAndReturn | null +} + +/** + * journey_share_tokens upsert + */ +export type journey_share_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * The filter to search for the journey_share_tokens to update in case it exists. + */ + where: Prisma.journey_share_tokensWhereUniqueInput + /** + * In case the journey_share_tokens found by the `where` argument doesn't exist, create a new journey_share_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the journey_share_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_share_tokens delete + */ +export type journey_share_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + /** + * Filter which journey_share_tokens to delete. + */ + where: Prisma.journey_share_tokensWhereUniqueInput +} + +/** + * journey_share_tokens deleteMany + */ +export type journey_share_tokensDeleteManyArgs = { + /** + * Filter which journey_share_tokens to delete + */ + where?: Prisma.journey_share_tokensWhereInput + /** + * Limit how many journey_share_tokens to delete. + */ + limit?: number +} + +/** + * journey_share_tokens without action + */ +export type journey_share_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/journey_trips.ts b/server/src/generated/prisma/models/journey_trips.ts new file mode 100644 index 00000000..92ed10b4 --- /dev/null +++ b/server/src/generated/prisma/models/journey_trips.ts @@ -0,0 +1,1441 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journey_trips` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journey_trips + * + */ +export type journey_tripsModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourney_trips = { + _count: Journey_tripsCountAggregateOutputType | null + _avg: Journey_tripsAvgAggregateOutputType | null + _sum: Journey_tripsSumAggregateOutputType | null + _min: Journey_tripsMinAggregateOutputType | null + _max: Journey_tripsMaxAggregateOutputType | null +} + +export type Journey_tripsAvgAggregateOutputType = { + journey_id: number | null + trip_id: number | null + added_at: number | null +} + +export type Journey_tripsSumAggregateOutputType = { + journey_id: number | null + trip_id: number | null + added_at: number | null +} + +export type Journey_tripsMinAggregateOutputType = { + journey_id: number | null + trip_id: number | null + added_at: number | null +} + +export type Journey_tripsMaxAggregateOutputType = { + journey_id: number | null + trip_id: number | null + added_at: number | null +} + +export type Journey_tripsCountAggregateOutputType = { + journey_id: number + trip_id: number + added_at: number + _all: number +} + + +export type Journey_tripsAvgAggregateInputType = { + journey_id?: true + trip_id?: true + added_at?: true +} + +export type Journey_tripsSumAggregateInputType = { + journey_id?: true + trip_id?: true + added_at?: true +} + +export type Journey_tripsMinAggregateInputType = { + journey_id?: true + trip_id?: true + added_at?: true +} + +export type Journey_tripsMaxAggregateInputType = { + journey_id?: true + trip_id?: true + added_at?: true +} + +export type Journey_tripsCountAggregateInputType = { + journey_id?: true + trip_id?: true + added_at?: true + _all?: true +} + +export type Journey_tripsAggregateArgs = { + /** + * Filter which journey_trips to aggregate. + */ + where?: Prisma.journey_tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_trips to fetch. + */ + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journey_tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journey_trips + **/ + _count?: true | Journey_tripsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Journey_tripsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Journey_tripsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Journey_tripsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Journey_tripsMaxAggregateInputType +} + +export type GetJourney_tripsAggregateType = { + [P in keyof T & keyof AggregateJourney_trips]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journey_tripsGroupByArgs = { + where?: Prisma.journey_tripsWhereInput + orderBy?: Prisma.journey_tripsOrderByWithAggregationInput | Prisma.journey_tripsOrderByWithAggregationInput[] + by: Prisma.Journey_tripsScalarFieldEnum[] | Prisma.Journey_tripsScalarFieldEnum + having?: Prisma.journey_tripsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Journey_tripsCountAggregateInputType | true + _avg?: Journey_tripsAvgAggregateInputType + _sum?: Journey_tripsSumAggregateInputType + _min?: Journey_tripsMinAggregateInputType + _max?: Journey_tripsMaxAggregateInputType +} + +export type Journey_tripsGroupByOutputType = { + journey_id: number + trip_id: number + added_at: number + _count: Journey_tripsCountAggregateOutputType | null + _avg: Journey_tripsAvgAggregateOutputType | null + _sum: Journey_tripsSumAggregateOutputType | null + _min: Journey_tripsMinAggregateOutputType | null + _max: Journey_tripsMaxAggregateOutputType | null +} + +export type GetJourney_tripsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Journey_tripsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journey_tripsWhereInput = { + AND?: Prisma.journey_tripsWhereInput | Prisma.journey_tripsWhereInput[] + OR?: Prisma.journey_tripsWhereInput[] + NOT?: Prisma.journey_tripsWhereInput | Prisma.journey_tripsWhereInput[] + journey_id?: Prisma.IntFilter<"journey_trips"> | number + trip_id?: Prisma.IntFilter<"journey_trips"> | number + added_at?: Prisma.IntFilter<"journey_trips"> | number + trips?: Prisma.XOR + journeys?: Prisma.XOR +} + +export type journey_tripsOrderByWithRelationInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder + trips?: Prisma.tripsOrderByWithRelationInput + journeys?: Prisma.journeysOrderByWithRelationInput +} + +export type journey_tripsWhereUniqueInput = Prisma.AtLeast<{ + journey_id_trip_id?: Prisma.journey_tripsJourney_idTrip_idCompoundUniqueInput + AND?: Prisma.journey_tripsWhereInput | Prisma.journey_tripsWhereInput[] + OR?: Prisma.journey_tripsWhereInput[] + NOT?: Prisma.journey_tripsWhereInput | Prisma.journey_tripsWhereInput[] + journey_id?: Prisma.IntFilter<"journey_trips"> | number + trip_id?: Prisma.IntFilter<"journey_trips"> | number + added_at?: Prisma.IntFilter<"journey_trips"> | number + trips?: Prisma.XOR + journeys?: Prisma.XOR +}, "journey_id_trip_id"> + +export type journey_tripsOrderByWithAggregationInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder + _count?: Prisma.journey_tripsCountOrderByAggregateInput + _avg?: Prisma.journey_tripsAvgOrderByAggregateInput + _max?: Prisma.journey_tripsMaxOrderByAggregateInput + _min?: Prisma.journey_tripsMinOrderByAggregateInput + _sum?: Prisma.journey_tripsSumOrderByAggregateInput +} + +export type journey_tripsScalarWhereWithAggregatesInput = { + AND?: Prisma.journey_tripsScalarWhereWithAggregatesInput | Prisma.journey_tripsScalarWhereWithAggregatesInput[] + OR?: Prisma.journey_tripsScalarWhereWithAggregatesInput[] + NOT?: Prisma.journey_tripsScalarWhereWithAggregatesInput | Prisma.journey_tripsScalarWhereWithAggregatesInput[] + journey_id?: Prisma.IntWithAggregatesFilter<"journey_trips"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"journey_trips"> | number + added_at?: Prisma.IntWithAggregatesFilter<"journey_trips"> | number +} + +export type journey_tripsCreateInput = { + added_at: number + trips: Prisma.tripsCreateNestedOneWithoutJourney_tripsInput + journeys: Prisma.journeysCreateNestedOneWithoutJourney_tripsInput +} + +export type journey_tripsUncheckedCreateInput = { + journey_id: number + trip_id: number + added_at: number +} + +export type journey_tripsUpdateInput = { + added_at?: Prisma.IntFieldUpdateOperationsInput | number + trips?: Prisma.tripsUpdateOneRequiredWithoutJourney_tripsNestedInput + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_tripsNestedInput +} + +export type journey_tripsUncheckedUpdateInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsCreateManyInput = { + journey_id: number + trip_id: number + added_at: number +} + +export type journey_tripsUpdateManyMutationInput = { + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsUncheckedUpdateManyInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsJourney_idTrip_idCompoundUniqueInput = { + journey_id: number + trip_id: number +} + +export type journey_tripsCountOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type journey_tripsAvgOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type journey_tripsMaxOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type journey_tripsMinOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type journey_tripsSumOrderByAggregateInput = { + journey_id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type Journey_tripsListRelationFilter = { + every?: Prisma.journey_tripsWhereInput + some?: Prisma.journey_tripsWhereInput + none?: Prisma.journey_tripsWhereInput +} + +export type journey_tripsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journey_tripsCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutJourneysInput[] | Prisma.journey_tripsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutJourneysInput | Prisma.journey_tripsCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_tripsCreateManyJourneysInputEnvelope + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] +} + +export type journey_tripsUncheckedCreateNestedManyWithoutJourneysInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutJourneysInput[] | Prisma.journey_tripsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutJourneysInput | Prisma.journey_tripsCreateOrConnectWithoutJourneysInput[] + createMany?: Prisma.journey_tripsCreateManyJourneysInputEnvelope + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] +} + +export type journey_tripsUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutJourneysInput[] | Prisma.journey_tripsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutJourneysInput | Prisma.journey_tripsCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_tripsUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_tripsUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_tripsCreateManyJourneysInputEnvelope + set?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + disconnect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + delete?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + update?: Prisma.journey_tripsUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_tripsUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_tripsUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_tripsUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] +} + +export type journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutJourneysInput[] | Prisma.journey_tripsUncheckedCreateWithoutJourneysInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutJourneysInput | Prisma.journey_tripsCreateOrConnectWithoutJourneysInput[] + upsert?: Prisma.journey_tripsUpsertWithWhereUniqueWithoutJourneysInput | Prisma.journey_tripsUpsertWithWhereUniqueWithoutJourneysInput[] + createMany?: Prisma.journey_tripsCreateManyJourneysInputEnvelope + set?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + disconnect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + delete?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + update?: Prisma.journey_tripsUpdateWithWhereUniqueWithoutJourneysInput | Prisma.journey_tripsUpdateWithWhereUniqueWithoutJourneysInput[] + updateMany?: Prisma.journey_tripsUpdateManyWithWhereWithoutJourneysInput | Prisma.journey_tripsUpdateManyWithWhereWithoutJourneysInput[] + deleteMany?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] +} + +export type journey_tripsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutTripsInput[] | Prisma.journey_tripsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutTripsInput | Prisma.journey_tripsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.journey_tripsCreateManyTripsInputEnvelope + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] +} + +export type journey_tripsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutTripsInput[] | Prisma.journey_tripsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutTripsInput | Prisma.journey_tripsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.journey_tripsCreateManyTripsInputEnvelope + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] +} + +export type journey_tripsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutTripsInput[] | Prisma.journey_tripsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutTripsInput | Prisma.journey_tripsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.journey_tripsUpsertWithWhereUniqueWithoutTripsInput | Prisma.journey_tripsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.journey_tripsCreateManyTripsInputEnvelope + set?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + disconnect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + delete?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + update?: Prisma.journey_tripsUpdateWithWhereUniqueWithoutTripsInput | Prisma.journey_tripsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.journey_tripsUpdateManyWithWhereWithoutTripsInput | Prisma.journey_tripsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] +} + +export type journey_tripsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.journey_tripsCreateWithoutTripsInput[] | Prisma.journey_tripsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.journey_tripsCreateOrConnectWithoutTripsInput | Prisma.journey_tripsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.journey_tripsUpsertWithWhereUniqueWithoutTripsInput | Prisma.journey_tripsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.journey_tripsCreateManyTripsInputEnvelope + set?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + disconnect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + delete?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + connect?: Prisma.journey_tripsWhereUniqueInput | Prisma.journey_tripsWhereUniqueInput[] + update?: Prisma.journey_tripsUpdateWithWhereUniqueWithoutTripsInput | Prisma.journey_tripsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.journey_tripsUpdateManyWithWhereWithoutTripsInput | Prisma.journey_tripsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] +} + +export type journey_tripsCreateWithoutJourneysInput = { + added_at: number + trips: Prisma.tripsCreateNestedOneWithoutJourney_tripsInput +} + +export type journey_tripsUncheckedCreateWithoutJourneysInput = { + trip_id: number + added_at: number +} + +export type journey_tripsCreateOrConnectWithoutJourneysInput = { + where: Prisma.journey_tripsWhereUniqueInput + create: Prisma.XOR +} + +export type journey_tripsCreateManyJourneysInputEnvelope = { + data: Prisma.journey_tripsCreateManyJourneysInput | Prisma.journey_tripsCreateManyJourneysInput[] +} + +export type journey_tripsUpsertWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_tripsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_tripsUpdateWithWhereUniqueWithoutJourneysInput = { + where: Prisma.journey_tripsWhereUniqueInput + data: Prisma.XOR +} + +export type journey_tripsUpdateManyWithWhereWithoutJourneysInput = { + where: Prisma.journey_tripsScalarWhereInput + data: Prisma.XOR +} + +export type journey_tripsScalarWhereInput = { + AND?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] + OR?: Prisma.journey_tripsScalarWhereInput[] + NOT?: Prisma.journey_tripsScalarWhereInput | Prisma.journey_tripsScalarWhereInput[] + journey_id?: Prisma.IntFilter<"journey_trips"> | number + trip_id?: Prisma.IntFilter<"journey_trips"> | number + added_at?: Prisma.IntFilter<"journey_trips"> | number +} + +export type journey_tripsCreateWithoutTripsInput = { + added_at: number + journeys: Prisma.journeysCreateNestedOneWithoutJourney_tripsInput +} + +export type journey_tripsUncheckedCreateWithoutTripsInput = { + journey_id: number + added_at: number +} + +export type journey_tripsCreateOrConnectWithoutTripsInput = { + where: Prisma.journey_tripsWhereUniqueInput + create: Prisma.XOR +} + +export type journey_tripsCreateManyTripsInputEnvelope = { + data: Prisma.journey_tripsCreateManyTripsInput | Prisma.journey_tripsCreateManyTripsInput[] +} + +export type journey_tripsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.journey_tripsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journey_tripsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.journey_tripsWhereUniqueInput + data: Prisma.XOR +} + +export type journey_tripsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.journey_tripsScalarWhereInput + data: Prisma.XOR +} + +export type journey_tripsCreateManyJourneysInput = { + trip_id: number + added_at: number +} + +export type journey_tripsUpdateWithoutJourneysInput = { + added_at?: Prisma.IntFieldUpdateOperationsInput | number + trips?: Prisma.tripsUpdateOneRequiredWithoutJourney_tripsNestedInput +} + +export type journey_tripsUncheckedUpdateWithoutJourneysInput = { + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsUncheckedUpdateManyWithoutJourneysInput = { + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsCreateManyTripsInput = { + journey_id: number + added_at: number +} + +export type journey_tripsUpdateWithoutTripsInput = { + added_at?: Prisma.IntFieldUpdateOperationsInput | number + journeys?: Prisma.journeysUpdateOneRequiredWithoutJourney_tripsNestedInput +} + +export type journey_tripsUncheckedUpdateWithoutTripsInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type journey_tripsUncheckedUpdateManyWithoutTripsInput = { + journey_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type journey_tripsSelect = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + trip_id?: boolean + added_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_trips"]> + +export type journey_tripsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + trip_id?: boolean + added_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_trips"]> + +export type journey_tripsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + journey_id?: boolean + trip_id?: boolean + added_at?: boolean + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +}, ExtArgs["result"]["journey_trips"]> + +export type journey_tripsSelectScalar = { + journey_id?: boolean + trip_id?: boolean + added_at?: boolean +} + +export type journey_tripsOmit = runtime.Types.Extensions.GetOmit<"journey_id" | "trip_id" | "added_at", ExtArgs["result"]["journey_trips"]> +export type journey_tripsInclude = { + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_tripsIncludeCreateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} +export type journey_tripsIncludeUpdateManyAndReturn = { + trips?: boolean | Prisma.tripsDefaultArgs + journeys?: boolean | Prisma.journeysDefaultArgs +} + +export type $journey_tripsPayload = { + name: "journey_trips" + objects: { + trips: Prisma.$tripsPayload + journeys: Prisma.$journeysPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + journey_id: number + trip_id: number + added_at: number + }, ExtArgs["result"]["journey_trips"]> + composites: {} +} + +export type journey_tripsGetPayload = runtime.Types.Result.GetResult + +export type journey_tripsCountArgs = + Omit & { + select?: Journey_tripsCountAggregateInputType | true + } + +export interface journey_tripsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journey_trips'], meta: { name: 'journey_trips' } } + /** + * Find zero or one Journey_trips that matches the filter. + * @param {journey_tripsFindUniqueArgs} args - Arguments to find a Journey_trips + * @example + * // Get one Journey_trips + * const journey_trips = await prisma.journey_trips.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journey_trips that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journey_tripsFindUniqueOrThrowArgs} args - Arguments to find a Journey_trips + * @example + * // Get one Journey_trips + * const journey_trips = await prisma.journey_trips.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_trips that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsFindFirstArgs} args - Arguments to find a Journey_trips + * @example + * // Get one Journey_trips + * const journey_trips = await prisma.journey_trips.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journey_trips that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsFindFirstOrThrowArgs} args - Arguments to find a Journey_trips + * @example + * // Get one Journey_trips + * const journey_trips = await prisma.journey_trips.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journey_trips that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journey_trips + * const journey_trips = await prisma.journey_trips.findMany() + * + * // Get first 10 Journey_trips + * const journey_trips = await prisma.journey_trips.findMany({ take: 10 }) + * + * // Only select the `journey_id` + * const journey_tripsWithJourney_idOnly = await prisma.journey_trips.findMany({ select: { journey_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journey_trips. + * @param {journey_tripsCreateArgs} args - Arguments to create a Journey_trips. + * @example + * // Create one Journey_trips + * const Journey_trips = await prisma.journey_trips.create({ + * data: { + * // ... data to create a Journey_trips + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journey_trips. + * @param {journey_tripsCreateManyArgs} args - Arguments to create many Journey_trips. + * @example + * // Create many Journey_trips + * const journey_trips = await prisma.journey_trips.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journey_trips and returns the data saved in the database. + * @param {journey_tripsCreateManyAndReturnArgs} args - Arguments to create many Journey_trips. + * @example + * // Create many Journey_trips + * const journey_trips = await prisma.journey_trips.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journey_trips and only return the `journey_id` + * const journey_tripsWithJourney_idOnly = await prisma.journey_trips.createManyAndReturn({ + * select: { journey_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journey_trips. + * @param {journey_tripsDeleteArgs} args - Arguments to delete one Journey_trips. + * @example + * // Delete one Journey_trips + * const Journey_trips = await prisma.journey_trips.delete({ + * where: { + * // ... filter to delete one Journey_trips + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journey_trips. + * @param {journey_tripsUpdateArgs} args - Arguments to update one Journey_trips. + * @example + * // Update one Journey_trips + * const journey_trips = await prisma.journey_trips.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journey_trips. + * @param {journey_tripsDeleteManyArgs} args - Arguments to filter Journey_trips to delete. + * @example + * // Delete a few Journey_trips + * const { count } = await prisma.journey_trips.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journey_trips + * const journey_trips = await prisma.journey_trips.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journey_trips and returns the data updated in the database. + * @param {journey_tripsUpdateManyAndReturnArgs} args - Arguments to update many Journey_trips. + * @example + * // Update many Journey_trips + * const journey_trips = await prisma.journey_trips.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journey_trips and only return the `journey_id` + * const journey_tripsWithJourney_idOnly = await prisma.journey_trips.updateManyAndReturn({ + * select: { journey_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journey_trips. + * @param {journey_tripsUpsertArgs} args - Arguments to update or create a Journey_trips. + * @example + * // Update or create a Journey_trips + * const journey_trips = await prisma.journey_trips.upsert({ + * create: { + * // ... data to create a Journey_trips + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journey_trips we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journey_tripsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journey_trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsCountArgs} args - Arguments to filter Journey_trips to count. + * @example + * // Count the number of Journey_trips + * const count = await prisma.journey_trips.count({ + * where: { + * // ... the filter for the Journey_trips we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journey_trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Journey_tripsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journey_trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journey_tripsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journey_tripsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journey_tripsGroupByArgs['orderBy'] } + : { orderBy?: journey_tripsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourney_tripsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journey_trips model + */ +readonly fields: journey_tripsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journey_trips. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journey_tripsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + journeys = {}>(args?: Prisma.Subset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journey_trips model + */ +export interface journey_tripsFieldRefs { + readonly journey_id: Prisma.FieldRef<"journey_trips", 'Int'> + readonly trip_id: Prisma.FieldRef<"journey_trips", 'Int'> + readonly added_at: Prisma.FieldRef<"journey_trips", 'Int'> +} + + +// Custom InputTypes +/** + * journey_trips findUnique + */ +export type journey_tripsFindUniqueArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter, which journey_trips to fetch. + */ + where: Prisma.journey_tripsWhereUniqueInput +} + +/** + * journey_trips findUniqueOrThrow + */ +export type journey_tripsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter, which journey_trips to fetch. + */ + where: Prisma.journey_tripsWhereUniqueInput +} + +/** + * journey_trips findFirst + */ +export type journey_tripsFindFirstArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter, which journey_trips to fetch. + */ + where?: Prisma.journey_tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_trips to fetch. + */ + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_trips. + */ + cursor?: Prisma.journey_tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_trips. + */ + distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] +} + +/** + * journey_trips findFirstOrThrow + */ +export type journey_tripsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter, which journey_trips to fetch. + */ + where?: Prisma.journey_tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_trips to fetch. + */ + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journey_trips. + */ + cursor?: Prisma.journey_tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_trips. + */ + distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] +} + +/** + * journey_trips findMany + */ +export type journey_tripsFindManyArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter, which journey_trips to fetch. + */ + where?: Prisma.journey_tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journey_trips to fetch. + */ + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journey_trips. + */ + cursor?: Prisma.journey_tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journey_trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journey_trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journey_trips. + */ + distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] +} + +/** + * journey_trips create + */ +export type journey_tripsCreateArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * The data needed to create a journey_trips. + */ + data: Prisma.XOR +} + +/** + * journey_trips createMany + */ +export type journey_tripsCreateManyArgs = { + /** + * The data used to create many journey_trips. + */ + data: Prisma.journey_tripsCreateManyInput | Prisma.journey_tripsCreateManyInput[] +} + +/** + * journey_trips createManyAndReturn + */ +export type journey_tripsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * The data used to create many journey_trips. + */ + data: Prisma.journey_tripsCreateManyInput | Prisma.journey_tripsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsIncludeCreateManyAndReturn | null +} + +/** + * journey_trips update + */ +export type journey_tripsUpdateArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * The data needed to update a journey_trips. + */ + data: Prisma.XOR + /** + * Choose, which journey_trips to update. + */ + where: Prisma.journey_tripsWhereUniqueInput +} + +/** + * journey_trips updateMany + */ +export type journey_tripsUpdateManyArgs = { + /** + * The data used to update journey_trips. + */ + data: Prisma.XOR + /** + * Filter which journey_trips to update + */ + where?: Prisma.journey_tripsWhereInput + /** + * Limit how many journey_trips to update. + */ + limit?: number +} + +/** + * journey_trips updateManyAndReturn + */ +export type journey_tripsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * The data used to update journey_trips. + */ + data: Prisma.XOR + /** + * Filter which journey_trips to update + */ + where?: Prisma.journey_tripsWhereInput + /** + * Limit how many journey_trips to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsIncludeUpdateManyAndReturn | null +} + +/** + * journey_trips upsert + */ +export type journey_tripsUpsertArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * The filter to search for the journey_trips to update in case it exists. + */ + where: Prisma.journey_tripsWhereUniqueInput + /** + * In case the journey_trips found by the `where` argument doesn't exist, create a new journey_trips with this data. + */ + create: Prisma.XOR + /** + * In case the journey_trips was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journey_trips delete + */ +export type journey_tripsDeleteArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + /** + * Filter which journey_trips to delete. + */ + where: Prisma.journey_tripsWhereUniqueInput +} + +/** + * journey_trips deleteMany + */ +export type journey_tripsDeleteManyArgs = { + /** + * Filter which journey_trips to delete + */ + where?: Prisma.journey_tripsWhereInput + /** + * Limit how many journey_trips to delete. + */ + limit?: number +} + +/** + * journey_trips without action + */ +export type journey_tripsDefaultArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null +} diff --git a/server/src/generated/prisma/models/journeys.ts b/server/src/generated/prisma/models/journeys.ts new file mode 100644 index 00000000..a6bbfb42 --- /dev/null +++ b/server/src/generated/prisma/models/journeys.ts @@ -0,0 +1,2252 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `journeys` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model journeys + * + */ +export type journeysModel = runtime.Types.Result.DefaultSelection + +export type AggregateJourneys = { + _count: JourneysCountAggregateOutputType | null + _avg: JourneysAvgAggregateOutputType | null + _sum: JourneysSumAggregateOutputType | null + _min: JourneysMinAggregateOutputType | null + _max: JourneysMaxAggregateOutputType | null +} + +export type JourneysAvgAggregateOutputType = { + id: number | null + user_id: number | null + created_at: number | null + updated_at: number | null +} + +export type JourneysSumAggregateOutputType = { + id: number | null + user_id: number | null + created_at: number | null + updated_at: number | null +} + +export type JourneysMinAggregateOutputType = { + id: number | null + user_id: number | null + title: string | null + subtitle: string | null + cover_gradient: string | null + status: string | null + created_at: number | null + updated_at: number | null + cover_image: string | null +} + +export type JourneysMaxAggregateOutputType = { + id: number | null + user_id: number | null + title: string | null + subtitle: string | null + cover_gradient: string | null + status: string | null + created_at: number | null + updated_at: number | null + cover_image: string | null +} + +export type JourneysCountAggregateOutputType = { + id: number + user_id: number + title: number + subtitle: number + cover_gradient: number + status: number + created_at: number + updated_at: number + cover_image: number + _all: number +} + + +export type JourneysAvgAggregateInputType = { + id?: true + user_id?: true + created_at?: true + updated_at?: true +} + +export type JourneysSumAggregateInputType = { + id?: true + user_id?: true + created_at?: true + updated_at?: true +} + +export type JourneysMinAggregateInputType = { + id?: true + user_id?: true + title?: true + subtitle?: true + cover_gradient?: true + status?: true + created_at?: true + updated_at?: true + cover_image?: true +} + +export type JourneysMaxAggregateInputType = { + id?: true + user_id?: true + title?: true + subtitle?: true + cover_gradient?: true + status?: true + created_at?: true + updated_at?: true + cover_image?: true +} + +export type JourneysCountAggregateInputType = { + id?: true + user_id?: true + title?: true + subtitle?: true + cover_gradient?: true + status?: true + created_at?: true + updated_at?: true + cover_image?: true + _all?: true +} + +export type JourneysAggregateArgs = { + /** + * Filter which journeys to aggregate. + */ + where?: Prisma.journeysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journeys to fetch. + */ + orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.journeysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned journeys + **/ + _count?: true | JourneysCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: JourneysAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: JourneysSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: JourneysMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: JourneysMaxAggregateInputType +} + +export type GetJourneysAggregateType = { + [P in keyof T & keyof AggregateJourneys]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type journeysGroupByArgs = { + where?: Prisma.journeysWhereInput + orderBy?: Prisma.journeysOrderByWithAggregationInput | Prisma.journeysOrderByWithAggregationInput[] + by: Prisma.JourneysScalarFieldEnum[] | Prisma.JourneysScalarFieldEnum + having?: Prisma.journeysScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: JourneysCountAggregateInputType | true + _avg?: JourneysAvgAggregateInputType + _sum?: JourneysSumAggregateInputType + _min?: JourneysMinAggregateInputType + _max?: JourneysMaxAggregateInputType +} + +export type JourneysGroupByOutputType = { + id: number + user_id: number + title: string + subtitle: string | null + cover_gradient: string | null + status: string | null + created_at: number + updated_at: number + cover_image: string | null + _count: JourneysCountAggregateOutputType | null + _avg: JourneysAvgAggregateOutputType | null + _sum: JourneysSumAggregateOutputType | null + _min: JourneysMinAggregateOutputType | null + _max: JourneysMaxAggregateOutputType | null +} + +export type GetJourneysGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof JourneysGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type journeysWhereInput = { + AND?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] + OR?: Prisma.journeysWhereInput[] + NOT?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] + id?: Prisma.IntFilter<"journeys"> | number + user_id?: Prisma.IntFilter<"journeys"> | number + title?: Prisma.StringFilter<"journeys"> | string + subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null + cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null + status?: Prisma.StringNullableFilter<"journeys"> | string | null + created_at?: Prisma.IntFilter<"journeys"> | number + updated_at?: Prisma.IntFilter<"journeys"> | number + cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null + journey_contributors?: Prisma.Journey_contributorsListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_photos?: Prisma.Journey_photosListRelationFilter + journey_share_tokens?: Prisma.XOR | null + journey_trips?: Prisma.Journey_tripsListRelationFilter + users?: Prisma.XOR +} + +export type journeysOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + subtitle?: Prisma.SortOrderInput | Prisma.SortOrder + cover_gradient?: Prisma.SortOrderInput | Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + cover_image?: Prisma.SortOrderInput | Prisma.SortOrder + journey_contributors?: Prisma.journey_contributorsOrderByRelationAggregateInput + journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput + journey_photos?: Prisma.journey_photosOrderByRelationAggregateInput + journey_share_tokens?: Prisma.journey_share_tokensOrderByWithRelationInput + journey_trips?: Prisma.journey_tripsOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type journeysWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] + OR?: Prisma.journeysWhereInput[] + NOT?: Prisma.journeysWhereInput | Prisma.journeysWhereInput[] + user_id?: Prisma.IntFilter<"journeys"> | number + title?: Prisma.StringFilter<"journeys"> | string + subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null + cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null + status?: Prisma.StringNullableFilter<"journeys"> | string | null + created_at?: Prisma.IntFilter<"journeys"> | number + updated_at?: Prisma.IntFilter<"journeys"> | number + cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null + journey_contributors?: Prisma.Journey_contributorsListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_photos?: Prisma.Journey_photosListRelationFilter + journey_share_tokens?: Prisma.XOR | null + journey_trips?: Prisma.Journey_tripsListRelationFilter + users?: Prisma.XOR +}, "id"> + +export type journeysOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + subtitle?: Prisma.SortOrderInput | Prisma.SortOrder + cover_gradient?: Prisma.SortOrderInput | Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + cover_image?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.journeysCountOrderByAggregateInput + _avg?: Prisma.journeysAvgOrderByAggregateInput + _max?: Prisma.journeysMaxOrderByAggregateInput + _min?: Prisma.journeysMinOrderByAggregateInput + _sum?: Prisma.journeysSumOrderByAggregateInput +} + +export type journeysScalarWhereWithAggregatesInput = { + AND?: Prisma.journeysScalarWhereWithAggregatesInput | Prisma.journeysScalarWhereWithAggregatesInput[] + OR?: Prisma.journeysScalarWhereWithAggregatesInput[] + NOT?: Prisma.journeysScalarWhereWithAggregatesInput | Prisma.journeysScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"journeys"> | number + user_id?: Prisma.IntWithAggregatesFilter<"journeys"> | number + title?: Prisma.StringWithAggregatesFilter<"journeys"> | string + subtitle?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null + cover_gradient?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null + status?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null + created_at?: Prisma.IntWithAggregatesFilter<"journeys"> | number + updated_at?: Prisma.IntWithAggregatesFilter<"journeys"> | number + cover_image?: Prisma.StringNullableWithAggregatesFilter<"journeys"> | string | null +} + +export type journeysCreateInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysUpdateInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysCreateManyInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null +} + +export type journeysUpdateManyMutationInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type journeysUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type JourneysScalarRelationFilter = { + is?: Prisma.journeysWhereInput + isNot?: Prisma.journeysWhereInput +} + +export type journeysCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + subtitle?: Prisma.SortOrder + cover_gradient?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + cover_image?: Prisma.SortOrder +} + +export type journeysAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type journeysMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + subtitle?: Prisma.SortOrder + cover_gradient?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + cover_image?: Prisma.SortOrder +} + +export type journeysMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + subtitle?: Prisma.SortOrder + cover_gradient?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + cover_image?: Prisma.SortOrder +} + +export type journeysSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type JourneysListRelationFilter = { + every?: Prisma.journeysWhereInput + some?: Prisma.journeysWhereInput + none?: Prisma.journeysWhereInput +} + +export type journeysOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type journeysCreateNestedOneWithoutJourney_contributorsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_contributorsInput + connect?: Prisma.journeysWhereUniqueInput +} + +export type journeysUpdateOneRequiredWithoutJourney_contributorsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_contributorsInput + upsert?: Prisma.journeysUpsertWithoutJourney_contributorsInput + connect?: Prisma.journeysWhereUniqueInput + update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_contributorsInput> +} + +export type journeysCreateNestedOneWithoutJourney_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_entriesInput + connect?: Prisma.journeysWhereUniqueInput +} + +export type journeysUpdateOneRequiredWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_entriesInput + upsert?: Prisma.journeysUpsertWithoutJourney_entriesInput + connect?: Prisma.journeysWhereUniqueInput + update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_entriesInput> +} + +export type journeysCreateNestedOneWithoutJourney_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_photosInput + connect?: Prisma.journeysWhereUniqueInput +} + +export type journeysUpdateOneRequiredWithoutJourney_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_photosInput + upsert?: Prisma.journeysUpsertWithoutJourney_photosInput + connect?: Prisma.journeysWhereUniqueInput + update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_photosInput> +} + +export type journeysCreateNestedOneWithoutJourney_share_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_share_tokensInput + connect?: Prisma.journeysWhereUniqueInput +} + +export type journeysUpdateOneRequiredWithoutJourney_share_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_share_tokensInput + upsert?: Prisma.journeysUpsertWithoutJourney_share_tokensInput + connect?: Prisma.journeysWhereUniqueInput + update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_share_tokensInput> +} + +export type journeysCreateNestedOneWithoutJourney_tripsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_tripsInput + connect?: Prisma.journeysWhereUniqueInput +} + +export type journeysUpdateOneRequiredWithoutJourney_tripsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutJourney_tripsInput + upsert?: Prisma.journeysUpsertWithoutJourney_tripsInput + connect?: Prisma.journeysWhereUniqueInput + update?: Prisma.XOR, Prisma.journeysUncheckedUpdateWithoutJourney_tripsInput> +} + +export type journeysCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journeysCreateManyUsersInputEnvelope + connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] +} + +export type journeysUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.journeysCreateManyUsersInputEnvelope + connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] +} + +export type journeysUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput | Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journeysCreateManyUsersInputEnvelope + set?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + disconnect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + delete?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + update?: Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput | Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journeysUpdateManyWithWhereWithoutUsersInput | Prisma.journeysUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] +} + +export type journeysUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.journeysCreateWithoutUsersInput[] | Prisma.journeysUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.journeysCreateOrConnectWithoutUsersInput | Prisma.journeysCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput | Prisma.journeysUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.journeysCreateManyUsersInputEnvelope + set?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + disconnect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + delete?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + connect?: Prisma.journeysWhereUniqueInput | Prisma.journeysWhereUniqueInput[] + update?: Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput | Prisma.journeysUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.journeysUpdateManyWithWhereWithoutUsersInput | Prisma.journeysUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] +} + +export type journeysCreateWithoutJourney_contributorsInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutJourney_contributorsInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutJourney_contributorsInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysUpsertWithoutJourney_contributorsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journeysWhereInput +} + +export type journeysUpdateToOneWithWhereWithoutJourney_contributorsInput = { + where?: Prisma.journeysWhereInput + data: Prisma.XOR +} + +export type journeysUpdateWithoutJourney_contributorsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutJourney_contributorsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysCreateWithoutJourney_entriesInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutJourney_entriesInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutJourney_entriesInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysUpsertWithoutJourney_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journeysWhereInput +} + +export type journeysUpdateToOneWithWhereWithoutJourney_entriesInput = { + where?: Prisma.journeysWhereInput + data: Prisma.XOR +} + +export type journeysUpdateWithoutJourney_entriesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutJourney_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysCreateWithoutJourney_photosInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutJourney_photosInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutJourney_photosInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysUpsertWithoutJourney_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journeysWhereInput +} + +export type journeysUpdateToOneWithWhereWithoutJourney_photosInput = { + where?: Prisma.journeysWhereInput + data: Prisma.XOR +} + +export type journeysUpdateWithoutJourney_photosInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutJourney_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysCreateWithoutJourney_share_tokensInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutJourney_share_tokensInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutJourney_share_tokensInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysUpsertWithoutJourney_share_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journeysWhereInput +} + +export type journeysUpdateToOneWithWhereWithoutJourney_share_tokensInput = { + where?: Prisma.journeysWhereInput + data: Prisma.XOR +} + +export type journeysUpdateWithoutJourney_share_tokensInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutJourney_share_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysCreateWithoutJourney_tripsInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + users: Prisma.usersCreateNestedOneWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutJourney_tripsInput = { + id?: number + user_id: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutJourney_tripsInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysUpsertWithoutJourney_tripsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.journeysWhereInput +} + +export type journeysUpdateToOneWithWhereWithoutJourney_tripsInput = { + where?: Prisma.journeysWhereInput + data: Prisma.XOR +} + +export type journeysUpdateWithoutJourney_tripsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutJourney_tripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput +} + +export type journeysCreateWithoutUsersInput = { + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutJourneysInput +} + +export type journeysUncheckedCreateWithoutUsersInput = { + id?: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutJourneysInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutJourneysInput + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutJourneysInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedOneWithoutJourneysInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutJourneysInput +} + +export type journeysCreateOrConnectWithoutUsersInput = { + where: Prisma.journeysWhereUniqueInput + create: Prisma.XOR +} + +export type journeysCreateManyUsersInputEnvelope = { + data: Prisma.journeysCreateManyUsersInput | Prisma.journeysCreateManyUsersInput[] +} + +export type journeysUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.journeysWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type journeysUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.journeysWhereUniqueInput + data: Prisma.XOR +} + +export type journeysUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.journeysScalarWhereInput + data: Prisma.XOR +} + +export type journeysScalarWhereInput = { + AND?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] + OR?: Prisma.journeysScalarWhereInput[] + NOT?: Prisma.journeysScalarWhereInput | Prisma.journeysScalarWhereInput[] + id?: Prisma.IntFilter<"journeys"> | number + user_id?: Prisma.IntFilter<"journeys"> | number + title?: Prisma.StringFilter<"journeys"> | string + subtitle?: Prisma.StringNullableFilter<"journeys"> | string | null + cover_gradient?: Prisma.StringNullableFilter<"journeys"> | string | null + status?: Prisma.StringNullableFilter<"journeys"> | string | null + created_at?: Prisma.IntFilter<"journeys"> | number + updated_at?: Prisma.IntFilter<"journeys"> | number + cover_image?: Prisma.StringNullableFilter<"journeys"> | string | null +} + +export type journeysCreateManyUsersInput = { + id?: number + title: string + subtitle?: string | null + cover_gradient?: string | null + status?: string | null + created_at: number + updated_at: number + cover_image?: string | null +} + +export type journeysUpdateWithoutUsersInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutJourneysNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutJourneysNestedInput + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutJourneysNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateOneWithoutJourneysNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutJourneysNestedInput +} + +export type journeysUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_gradient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.IntFieldUpdateOperationsInput | number + updated_at?: Prisma.IntFieldUpdateOperationsInput | number + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type JourneysCountOutputType + */ + +export type JourneysCountOutputType = { + journey_contributors: number + journey_entries: number + journey_photos: number + journey_trips: number +} + +export type JourneysCountOutputTypeSelect = { + journey_contributors?: boolean | JourneysCountOutputTypeCountJourney_contributorsArgs + journey_entries?: boolean | JourneysCountOutputTypeCountJourney_entriesArgs + journey_photos?: boolean | JourneysCountOutputTypeCountJourney_photosArgs + journey_trips?: boolean | JourneysCountOutputTypeCountJourney_tripsArgs +} + +/** + * JourneysCountOutputType without action + */ +export type JourneysCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the JourneysCountOutputType + */ + select?: Prisma.JourneysCountOutputTypeSelect | null +} + +/** + * JourneysCountOutputType without action + */ +export type JourneysCountOutputTypeCountJourney_contributorsArgs = { + where?: Prisma.journey_contributorsWhereInput +} + +/** + * JourneysCountOutputType without action + */ +export type JourneysCountOutputTypeCountJourney_entriesArgs = { + where?: Prisma.journey_entriesWhereInput +} + +/** + * JourneysCountOutputType without action + */ +export type JourneysCountOutputTypeCountJourney_photosArgs = { + where?: Prisma.journey_photosWhereInput +} + +/** + * JourneysCountOutputType without action + */ +export type JourneysCountOutputTypeCountJourney_tripsArgs = { + where?: Prisma.journey_tripsWhereInput +} + + +export type journeysSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + subtitle?: boolean + cover_gradient?: boolean + status?: boolean + created_at?: boolean + updated_at?: boolean + cover_image?: boolean + journey_contributors?: boolean | Prisma.journeys$journey_contributorsArgs + journey_entries?: boolean | Prisma.journeys$journey_entriesArgs + journey_photos?: boolean | Prisma.journeys$journey_photosArgs + journey_share_tokens?: boolean | Prisma.journeys$journey_share_tokensArgs + journey_trips?: boolean | Prisma.journeys$journey_tripsArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.JourneysCountOutputTypeDefaultArgs +}, ExtArgs["result"]["journeys"]> + +export type journeysSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + subtitle?: boolean + cover_gradient?: boolean + status?: boolean + created_at?: boolean + updated_at?: boolean + cover_image?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["journeys"]> + +export type journeysSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + subtitle?: boolean + cover_gradient?: boolean + status?: boolean + created_at?: boolean + updated_at?: boolean + cover_image?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["journeys"]> + +export type journeysSelectScalar = { + id?: boolean + user_id?: boolean + title?: boolean + subtitle?: boolean + cover_gradient?: boolean + status?: boolean + created_at?: boolean + updated_at?: boolean + cover_image?: boolean +} + +export type journeysOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "title" | "subtitle" | "cover_gradient" | "status" | "created_at" | "updated_at" | "cover_image", ExtArgs["result"]["journeys"]> +export type journeysInclude = { + journey_contributors?: boolean | Prisma.journeys$journey_contributorsArgs + journey_entries?: boolean | Prisma.journeys$journey_entriesArgs + journey_photos?: boolean | Prisma.journeys$journey_photosArgs + journey_share_tokens?: boolean | Prisma.journeys$journey_share_tokensArgs + journey_trips?: boolean | Prisma.journeys$journey_tripsArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.JourneysCountOutputTypeDefaultArgs +} +export type journeysIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type journeysIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $journeysPayload = { + name: "journeys" + objects: { + journey_contributors: Prisma.$journey_contributorsPayload[] + journey_entries: Prisma.$journey_entriesPayload[] + journey_photos: Prisma.$journey_photosPayload[] + journey_share_tokens: Prisma.$journey_share_tokensPayload | null + journey_trips: Prisma.$journey_tripsPayload[] + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + title: string + subtitle: string | null + cover_gradient: string | null + status: string | null + created_at: number + updated_at: number + cover_image: string | null + }, ExtArgs["result"]["journeys"]> + composites: {} +} + +export type journeysGetPayload = runtime.Types.Result.GetResult + +export type journeysCountArgs = + Omit & { + select?: JourneysCountAggregateInputType | true + } + +export interface journeysDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['journeys'], meta: { name: 'journeys' } } + /** + * Find zero or one Journeys that matches the filter. + * @param {journeysFindUniqueArgs} args - Arguments to find a Journeys + * @example + * // Get one Journeys + * const journeys = await prisma.journeys.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Journeys that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {journeysFindUniqueOrThrowArgs} args - Arguments to find a Journeys + * @example + * // Get one Journeys + * const journeys = await prisma.journeys.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journeys that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysFindFirstArgs} args - Arguments to find a Journeys + * @example + * // Get one Journeys + * const journeys = await prisma.journeys.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Journeys that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysFindFirstOrThrowArgs} args - Arguments to find a Journeys + * @example + * // Get one Journeys + * const journeys = await prisma.journeys.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Journeys that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Journeys + * const journeys = await prisma.journeys.findMany() + * + * // Get first 10 Journeys + * const journeys = await prisma.journeys.findMany({ take: 10 }) + * + * // Only select the `id` + * const journeysWithIdOnly = await prisma.journeys.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Journeys. + * @param {journeysCreateArgs} args - Arguments to create a Journeys. + * @example + * // Create one Journeys + * const Journeys = await prisma.journeys.create({ + * data: { + * // ... data to create a Journeys + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Journeys. + * @param {journeysCreateManyArgs} args - Arguments to create many Journeys. + * @example + * // Create many Journeys + * const journeys = await prisma.journeys.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Journeys and returns the data saved in the database. + * @param {journeysCreateManyAndReturnArgs} args - Arguments to create many Journeys. + * @example + * // Create many Journeys + * const journeys = await prisma.journeys.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Journeys and only return the `id` + * const journeysWithIdOnly = await prisma.journeys.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Journeys. + * @param {journeysDeleteArgs} args - Arguments to delete one Journeys. + * @example + * // Delete one Journeys + * const Journeys = await prisma.journeys.delete({ + * where: { + * // ... filter to delete one Journeys + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Journeys. + * @param {journeysUpdateArgs} args - Arguments to update one Journeys. + * @example + * // Update one Journeys + * const journeys = await prisma.journeys.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Journeys. + * @param {journeysDeleteManyArgs} args - Arguments to filter Journeys to delete. + * @example + * // Delete a few Journeys + * const { count } = await prisma.journeys.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Journeys + * const journeys = await prisma.journeys.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Journeys and returns the data updated in the database. + * @param {journeysUpdateManyAndReturnArgs} args - Arguments to update many Journeys. + * @example + * // Update many Journeys + * const journeys = await prisma.journeys.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Journeys and only return the `id` + * const journeysWithIdOnly = await prisma.journeys.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Journeys. + * @param {journeysUpsertArgs} args - Arguments to update or create a Journeys. + * @example + * // Update or create a Journeys + * const journeys = await prisma.journeys.upsert({ + * create: { + * // ... data to create a Journeys + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Journeys we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__journeysClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Journeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysCountArgs} args - Arguments to filter Journeys to count. + * @example + * // Count the number of Journeys + * const count = await prisma.journeys.count({ + * where: { + * // ... the filter for the Journeys we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Journeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {JourneysAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Journeys. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {journeysGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends journeysGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: journeysGroupByArgs['orderBy'] } + : { orderBy?: journeysGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetJourneysGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the journeys model + */ +readonly fields: journeysFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for journeys. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__journeysClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + journey_contributors = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_share_tokens = {}>(args?: Prisma.Subset>): Prisma.Prisma__journey_share_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + journey_trips = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the journeys model + */ +export interface journeysFieldRefs { + readonly id: Prisma.FieldRef<"journeys", 'Int'> + readonly user_id: Prisma.FieldRef<"journeys", 'Int'> + readonly title: Prisma.FieldRef<"journeys", 'String'> + readonly subtitle: Prisma.FieldRef<"journeys", 'String'> + readonly cover_gradient: Prisma.FieldRef<"journeys", 'String'> + readonly status: Prisma.FieldRef<"journeys", 'String'> + readonly created_at: Prisma.FieldRef<"journeys", 'Int'> + readonly updated_at: Prisma.FieldRef<"journeys", 'Int'> + readonly cover_image: Prisma.FieldRef<"journeys", 'String'> +} + + +// Custom InputTypes +/** + * journeys findUnique + */ +export type journeysFindUniqueArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter, which journeys to fetch. + */ + where: Prisma.journeysWhereUniqueInput +} + +/** + * journeys findUniqueOrThrow + */ +export type journeysFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter, which journeys to fetch. + */ + where: Prisma.journeysWhereUniqueInput +} + +/** + * journeys findFirst + */ +export type journeysFindFirstArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter, which journeys to fetch. + */ + where?: Prisma.journeysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journeys to fetch. + */ + orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journeys. + */ + cursor?: Prisma.journeysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journeys. + */ + distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] +} + +/** + * journeys findFirstOrThrow + */ +export type journeysFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter, which journeys to fetch. + */ + where?: Prisma.journeysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journeys to fetch. + */ + orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for journeys. + */ + cursor?: Prisma.journeysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journeys. + */ + distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] +} + +/** + * journeys findMany + */ +export type journeysFindManyArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter, which journeys to fetch. + */ + where?: Prisma.journeysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of journeys to fetch. + */ + orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing journeys. + */ + cursor?: Prisma.journeysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` journeys from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` journeys. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of journeys. + */ + distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] +} + +/** + * journeys create + */ +export type journeysCreateArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * The data needed to create a journeys. + */ + data: Prisma.XOR +} + +/** + * journeys createMany + */ +export type journeysCreateManyArgs = { + /** + * The data used to create many journeys. + */ + data: Prisma.journeysCreateManyInput | Prisma.journeysCreateManyInput[] +} + +/** + * journeys createManyAndReturn + */ +export type journeysCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelectCreateManyAndReturn | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * The data used to create many journeys. + */ + data: Prisma.journeysCreateManyInput | Prisma.journeysCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysIncludeCreateManyAndReturn | null +} + +/** + * journeys update + */ +export type journeysUpdateArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * The data needed to update a journeys. + */ + data: Prisma.XOR + /** + * Choose, which journeys to update. + */ + where: Prisma.journeysWhereUniqueInput +} + +/** + * journeys updateMany + */ +export type journeysUpdateManyArgs = { + /** + * The data used to update journeys. + */ + data: Prisma.XOR + /** + * Filter which journeys to update + */ + where?: Prisma.journeysWhereInput + /** + * Limit how many journeys to update. + */ + limit?: number +} + +/** + * journeys updateManyAndReturn + */ +export type journeysUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * The data used to update journeys. + */ + data: Prisma.XOR + /** + * Filter which journeys to update + */ + where?: Prisma.journeysWhereInput + /** + * Limit how many journeys to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysIncludeUpdateManyAndReturn | null +} + +/** + * journeys upsert + */ +export type journeysUpsertArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * The filter to search for the journeys to update in case it exists. + */ + where: Prisma.journeysWhereUniqueInput + /** + * In case the journeys found by the `where` argument doesn't exist, create a new journeys with this data. + */ + create: Prisma.XOR + /** + * In case the journeys was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * journeys delete + */ +export type journeysDeleteArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + /** + * Filter which journeys to delete. + */ + where: Prisma.journeysWhereUniqueInput +} + +/** + * journeys deleteMany + */ +export type journeysDeleteManyArgs = { + /** + * Filter which journeys to delete + */ + where?: Prisma.journeysWhereInput + /** + * Limit how many journeys to delete. + */ + limit?: number +} + +/** + * journeys.journey_contributors + */ +export type journeys$journey_contributorsArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + where?: Prisma.journey_contributorsWhereInput + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + cursor?: Prisma.journey_contributorsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] +} + +/** + * journeys.journey_entries + */ +export type journeys$journey_entriesArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + where?: Prisma.journey_entriesWhereInput + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + cursor?: Prisma.journey_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * journeys.journey_photos + */ +export type journeys$journey_photosArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + where?: Prisma.journey_photosWhereInput + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + cursor?: Prisma.journey_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] +} + +/** + * journeys.journey_share_tokens + */ +export type journeys$journey_share_tokensArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + where?: Prisma.journey_share_tokensWhereInput +} + +/** + * journeys.journey_trips + */ +export type journeys$journey_tripsArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + where?: Prisma.journey_tripsWhereInput + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + cursor?: Prisma.journey_tripsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] +} + +/** + * journeys without action + */ +export type journeysDefaultArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null +} diff --git a/server/src/generated/prisma/models/mcp_tokens.ts b/server/src/generated/prisma/models/mcp_tokens.ts new file mode 100644 index 00000000..9f111baf --- /dev/null +++ b/server/src/generated/prisma/models/mcp_tokens.ts @@ -0,0 +1,1457 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `mcp_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model mcp_tokens + * + */ +export type mcp_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregateMcp_tokens = { + _count: Mcp_tokensCountAggregateOutputType | null + _avg: Mcp_tokensAvgAggregateOutputType | null + _sum: Mcp_tokensSumAggregateOutputType | null + _min: Mcp_tokensMinAggregateOutputType | null + _max: Mcp_tokensMaxAggregateOutputType | null +} + +export type Mcp_tokensAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Mcp_tokensSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Mcp_tokensMinAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + token_hash: string | null + token_prefix: string | null + created_at: Date | null + last_used_at: Date | null +} + +export type Mcp_tokensMaxAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + token_hash: string | null + token_prefix: string | null + created_at: Date | null + last_used_at: Date | null +} + +export type Mcp_tokensCountAggregateOutputType = { + id: number + user_id: number + name: number + token_hash: number + token_prefix: number + created_at: number + last_used_at: number + _all: number +} + + +export type Mcp_tokensAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Mcp_tokensSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Mcp_tokensMinAggregateInputType = { + id?: true + user_id?: true + name?: true + token_hash?: true + token_prefix?: true + created_at?: true + last_used_at?: true +} + +export type Mcp_tokensMaxAggregateInputType = { + id?: true + user_id?: true + name?: true + token_hash?: true + token_prefix?: true + created_at?: true + last_used_at?: true +} + +export type Mcp_tokensCountAggregateInputType = { + id?: true + user_id?: true + name?: true + token_hash?: true + token_prefix?: true + created_at?: true + last_used_at?: true + _all?: true +} + +export type Mcp_tokensAggregateArgs = { + /** + * Filter which mcp_tokens to aggregate. + */ + where?: Prisma.mcp_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of mcp_tokens to fetch. + */ + orderBy?: Prisma.mcp_tokensOrderByWithRelationInput | Prisma.mcp_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.mcp_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` mcp_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` mcp_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned mcp_tokens + **/ + _count?: true | Mcp_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Mcp_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Mcp_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Mcp_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Mcp_tokensMaxAggregateInputType +} + +export type GetMcp_tokensAggregateType = { + [P in keyof T & keyof AggregateMcp_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type mcp_tokensGroupByArgs = { + where?: Prisma.mcp_tokensWhereInput + orderBy?: Prisma.mcp_tokensOrderByWithAggregationInput | Prisma.mcp_tokensOrderByWithAggregationInput[] + by: Prisma.Mcp_tokensScalarFieldEnum[] | Prisma.Mcp_tokensScalarFieldEnum + having?: Prisma.mcp_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Mcp_tokensCountAggregateInputType | true + _avg?: Mcp_tokensAvgAggregateInputType + _sum?: Mcp_tokensSumAggregateInputType + _min?: Mcp_tokensMinAggregateInputType + _max?: Mcp_tokensMaxAggregateInputType +} + +export type Mcp_tokensGroupByOutputType = { + id: number + user_id: number + name: string + token_hash: string + token_prefix: string + created_at: Date | null + last_used_at: Date | null + _count: Mcp_tokensCountAggregateOutputType | null + _avg: Mcp_tokensAvgAggregateOutputType | null + _sum: Mcp_tokensSumAggregateOutputType | null + _min: Mcp_tokensMinAggregateOutputType | null + _max: Mcp_tokensMaxAggregateOutputType | null +} + +export type GetMcp_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Mcp_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type mcp_tokensWhereInput = { + AND?: Prisma.mcp_tokensWhereInput | Prisma.mcp_tokensWhereInput[] + OR?: Prisma.mcp_tokensWhereInput[] + NOT?: Prisma.mcp_tokensWhereInput | Prisma.mcp_tokensWhereInput[] + id?: Prisma.IntFilter<"mcp_tokens"> | number + user_id?: Prisma.IntFilter<"mcp_tokens"> | number + name?: Prisma.StringFilter<"mcp_tokens"> | string + token_hash?: Prisma.StringFilter<"mcp_tokens"> | string + token_prefix?: Prisma.StringFilter<"mcp_tokens"> | string + created_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null + last_used_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null + users?: Prisma.XOR +} + +export type mcp_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + token_prefix?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + last_used_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type mcp_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + token_hash?: string + AND?: Prisma.mcp_tokensWhereInput | Prisma.mcp_tokensWhereInput[] + OR?: Prisma.mcp_tokensWhereInput[] + NOT?: Prisma.mcp_tokensWhereInput | Prisma.mcp_tokensWhereInput[] + user_id?: Prisma.IntFilter<"mcp_tokens"> | number + name?: Prisma.StringFilter<"mcp_tokens"> | string + token_prefix?: Prisma.StringFilter<"mcp_tokens"> | string + created_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null + last_used_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null + users?: Prisma.XOR +}, "id" | "token_hash"> + +export type mcp_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + token_prefix?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + last_used_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.mcp_tokensCountOrderByAggregateInput + _avg?: Prisma.mcp_tokensAvgOrderByAggregateInput + _max?: Prisma.mcp_tokensMaxOrderByAggregateInput + _min?: Prisma.mcp_tokensMinOrderByAggregateInput + _sum?: Prisma.mcp_tokensSumOrderByAggregateInput +} + +export type mcp_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.mcp_tokensScalarWhereWithAggregatesInput | Prisma.mcp_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.mcp_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.mcp_tokensScalarWhereWithAggregatesInput | Prisma.mcp_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"mcp_tokens"> | number + user_id?: Prisma.IntWithAggregatesFilter<"mcp_tokens"> | number + name?: Prisma.StringWithAggregatesFilter<"mcp_tokens"> | string + token_hash?: Prisma.StringWithAggregatesFilter<"mcp_tokens"> | string + token_prefix?: Prisma.StringWithAggregatesFilter<"mcp_tokens"> | string + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"mcp_tokens"> | Date | string | null + last_used_at?: Prisma.DateTimeNullableWithAggregatesFilter<"mcp_tokens"> | Date | string | null +} + +export type mcp_tokensCreateInput = { + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutMcp_tokensInput +} + +export type mcp_tokensUncheckedCreateInput = { + id?: number + user_id: number + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null +} + +export type mcp_tokensUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutMcp_tokensNestedInput +} + +export type mcp_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type mcp_tokensCreateManyInput = { + id?: number + user_id: number + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null +} + +export type mcp_tokensUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type mcp_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type mcp_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + token_prefix?: Prisma.SortOrder + created_at?: Prisma.SortOrder + last_used_at?: Prisma.SortOrder +} + +export type mcp_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type mcp_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + token_prefix?: Prisma.SortOrder + created_at?: Prisma.SortOrder + last_used_at?: Prisma.SortOrder +} + +export type mcp_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + token_prefix?: Prisma.SortOrder + created_at?: Prisma.SortOrder + last_used_at?: Prisma.SortOrder +} + +export type mcp_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Mcp_tokensListRelationFilter = { + every?: Prisma.mcp_tokensWhereInput + some?: Prisma.mcp_tokensWhereInput + none?: Prisma.mcp_tokensWhereInput +} + +export type mcp_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type mcp_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.mcp_tokensCreateWithoutUsersInput[] | Prisma.mcp_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.mcp_tokensCreateOrConnectWithoutUsersInput | Prisma.mcp_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.mcp_tokensCreateManyUsersInputEnvelope + connect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] +} + +export type mcp_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.mcp_tokensCreateWithoutUsersInput[] | Prisma.mcp_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.mcp_tokensCreateOrConnectWithoutUsersInput | Prisma.mcp_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.mcp_tokensCreateManyUsersInputEnvelope + connect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] +} + +export type mcp_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.mcp_tokensCreateWithoutUsersInput[] | Prisma.mcp_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.mcp_tokensCreateOrConnectWithoutUsersInput | Prisma.mcp_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.mcp_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.mcp_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.mcp_tokensCreateManyUsersInputEnvelope + set?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + disconnect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + delete?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + connect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + update?: Prisma.mcp_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.mcp_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.mcp_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.mcp_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.mcp_tokensScalarWhereInput | Prisma.mcp_tokensScalarWhereInput[] +} + +export type mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.mcp_tokensCreateWithoutUsersInput[] | Prisma.mcp_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.mcp_tokensCreateOrConnectWithoutUsersInput | Prisma.mcp_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.mcp_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.mcp_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.mcp_tokensCreateManyUsersInputEnvelope + set?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + disconnect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + delete?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + connect?: Prisma.mcp_tokensWhereUniqueInput | Prisma.mcp_tokensWhereUniqueInput[] + update?: Prisma.mcp_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.mcp_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.mcp_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.mcp_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.mcp_tokensScalarWhereInput | Prisma.mcp_tokensScalarWhereInput[] +} + +export type mcp_tokensCreateWithoutUsersInput = { + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null +} + +export type mcp_tokensUncheckedCreateWithoutUsersInput = { + id?: number + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null +} + +export type mcp_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.mcp_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type mcp_tokensCreateManyUsersInputEnvelope = { + data: Prisma.mcp_tokensCreateManyUsersInput | Prisma.mcp_tokensCreateManyUsersInput[] +} + +export type mcp_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.mcp_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type mcp_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.mcp_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type mcp_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.mcp_tokensScalarWhereInput + data: Prisma.XOR +} + +export type mcp_tokensScalarWhereInput = { + AND?: Prisma.mcp_tokensScalarWhereInput | Prisma.mcp_tokensScalarWhereInput[] + OR?: Prisma.mcp_tokensScalarWhereInput[] + NOT?: Prisma.mcp_tokensScalarWhereInput | Prisma.mcp_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"mcp_tokens"> | number + user_id?: Prisma.IntFilter<"mcp_tokens"> | number + name?: Prisma.StringFilter<"mcp_tokens"> | string + token_hash?: Prisma.StringFilter<"mcp_tokens"> | string + token_prefix?: Prisma.StringFilter<"mcp_tokens"> | string + created_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null + last_used_at?: Prisma.DateTimeNullableFilter<"mcp_tokens"> | Date | string | null +} + +export type mcp_tokensCreateManyUsersInput = { + id?: number + name: string + token_hash: string + token_prefix: string + created_at?: Date | string | null + last_used_at?: Date | string | null +} + +export type mcp_tokensUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type mcp_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type mcp_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + token_prefix?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + last_used_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type mcp_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + token_hash?: boolean + token_prefix?: boolean + created_at?: boolean + last_used_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["mcp_tokens"]> + +export type mcp_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + token_hash?: boolean + token_prefix?: boolean + created_at?: boolean + last_used_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["mcp_tokens"]> + +export type mcp_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + token_hash?: boolean + token_prefix?: boolean + created_at?: boolean + last_used_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["mcp_tokens"]> + +export type mcp_tokensSelectScalar = { + id?: boolean + user_id?: boolean + name?: boolean + token_hash?: boolean + token_prefix?: boolean + created_at?: boolean + last_used_at?: boolean +} + +export type mcp_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "name" | "token_hash" | "token_prefix" | "created_at" | "last_used_at", ExtArgs["result"]["mcp_tokens"]> +export type mcp_tokensInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type mcp_tokensIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type mcp_tokensIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $mcp_tokensPayload = { + name: "mcp_tokens" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + name: string + token_hash: string + token_prefix: string + created_at: Date | null + last_used_at: Date | null + }, ExtArgs["result"]["mcp_tokens"]> + composites: {} +} + +export type mcp_tokensGetPayload = runtime.Types.Result.GetResult + +export type mcp_tokensCountArgs = + Omit & { + select?: Mcp_tokensCountAggregateInputType | true + } + +export interface mcp_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['mcp_tokens'], meta: { name: 'mcp_tokens' } } + /** + * Find zero or one Mcp_tokens that matches the filter. + * @param {mcp_tokensFindUniqueArgs} args - Arguments to find a Mcp_tokens + * @example + * // Get one Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Mcp_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {mcp_tokensFindUniqueOrThrowArgs} args - Arguments to find a Mcp_tokens + * @example + * // Get one Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Mcp_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensFindFirstArgs} args - Arguments to find a Mcp_tokens + * @example + * // Get one Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Mcp_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensFindFirstOrThrowArgs} args - Arguments to find a Mcp_tokens + * @example + * // Get one Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Mcp_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findMany() + * + * // Get first 10 Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const mcp_tokensWithIdOnly = await prisma.mcp_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Mcp_tokens. + * @param {mcp_tokensCreateArgs} args - Arguments to create a Mcp_tokens. + * @example + * // Create one Mcp_tokens + * const Mcp_tokens = await prisma.mcp_tokens.create({ + * data: { + * // ... data to create a Mcp_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Mcp_tokens. + * @param {mcp_tokensCreateManyArgs} args - Arguments to create many Mcp_tokens. + * @example + * // Create many Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Mcp_tokens and returns the data saved in the database. + * @param {mcp_tokensCreateManyAndReturnArgs} args - Arguments to create many Mcp_tokens. + * @example + * // Create many Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Mcp_tokens and only return the `id` + * const mcp_tokensWithIdOnly = await prisma.mcp_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Mcp_tokens. + * @param {mcp_tokensDeleteArgs} args - Arguments to delete one Mcp_tokens. + * @example + * // Delete one Mcp_tokens + * const Mcp_tokens = await prisma.mcp_tokens.delete({ + * where: { + * // ... filter to delete one Mcp_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Mcp_tokens. + * @param {mcp_tokensUpdateArgs} args - Arguments to update one Mcp_tokens. + * @example + * // Update one Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Mcp_tokens. + * @param {mcp_tokensDeleteManyArgs} args - Arguments to filter Mcp_tokens to delete. + * @example + * // Delete a few Mcp_tokens + * const { count } = await prisma.mcp_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Mcp_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Mcp_tokens and returns the data updated in the database. + * @param {mcp_tokensUpdateManyAndReturnArgs} args - Arguments to update many Mcp_tokens. + * @example + * // Update many Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Mcp_tokens and only return the `id` + * const mcp_tokensWithIdOnly = await prisma.mcp_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Mcp_tokens. + * @param {mcp_tokensUpsertArgs} args - Arguments to update or create a Mcp_tokens. + * @example + * // Update or create a Mcp_tokens + * const mcp_tokens = await prisma.mcp_tokens.upsert({ + * create: { + * // ... data to create a Mcp_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Mcp_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__mcp_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Mcp_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensCountArgs} args - Arguments to filter Mcp_tokens to count. + * @example + * // Count the number of Mcp_tokens + * const count = await prisma.mcp_tokens.count({ + * where: { + * // ... the filter for the Mcp_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Mcp_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Mcp_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Mcp_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {mcp_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends mcp_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: mcp_tokensGroupByArgs['orderBy'] } + : { orderBy?: mcp_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetMcp_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the mcp_tokens model + */ +readonly fields: mcp_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for mcp_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__mcp_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the mcp_tokens model + */ +export interface mcp_tokensFieldRefs { + readonly id: Prisma.FieldRef<"mcp_tokens", 'Int'> + readonly user_id: Prisma.FieldRef<"mcp_tokens", 'Int'> + readonly name: Prisma.FieldRef<"mcp_tokens", 'String'> + readonly token_hash: Prisma.FieldRef<"mcp_tokens", 'String'> + readonly token_prefix: Prisma.FieldRef<"mcp_tokens", 'String'> + readonly created_at: Prisma.FieldRef<"mcp_tokens", 'DateTime'> + readonly last_used_at: Prisma.FieldRef<"mcp_tokens", 'DateTime'> +} + + +// Custom InputTypes +/** + * mcp_tokens findUnique + */ +export type mcp_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter, which mcp_tokens to fetch. + */ + where: Prisma.mcp_tokensWhereUniqueInput +} + +/** + * mcp_tokens findUniqueOrThrow + */ +export type mcp_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter, which mcp_tokens to fetch. + */ + where: Prisma.mcp_tokensWhereUniqueInput +} + +/** + * mcp_tokens findFirst + */ +export type mcp_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter, which mcp_tokens to fetch. + */ + where?: Prisma.mcp_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of mcp_tokens to fetch. + */ + orderBy?: Prisma.mcp_tokensOrderByWithRelationInput | Prisma.mcp_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for mcp_tokens. + */ + cursor?: Prisma.mcp_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` mcp_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` mcp_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of mcp_tokens. + */ + distinct?: Prisma.Mcp_tokensScalarFieldEnum | Prisma.Mcp_tokensScalarFieldEnum[] +} + +/** + * mcp_tokens findFirstOrThrow + */ +export type mcp_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter, which mcp_tokens to fetch. + */ + where?: Prisma.mcp_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of mcp_tokens to fetch. + */ + orderBy?: Prisma.mcp_tokensOrderByWithRelationInput | Prisma.mcp_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for mcp_tokens. + */ + cursor?: Prisma.mcp_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` mcp_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` mcp_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of mcp_tokens. + */ + distinct?: Prisma.Mcp_tokensScalarFieldEnum | Prisma.Mcp_tokensScalarFieldEnum[] +} + +/** + * mcp_tokens findMany + */ +export type mcp_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter, which mcp_tokens to fetch. + */ + where?: Prisma.mcp_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of mcp_tokens to fetch. + */ + orderBy?: Prisma.mcp_tokensOrderByWithRelationInput | Prisma.mcp_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing mcp_tokens. + */ + cursor?: Prisma.mcp_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` mcp_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` mcp_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of mcp_tokens. + */ + distinct?: Prisma.Mcp_tokensScalarFieldEnum | Prisma.Mcp_tokensScalarFieldEnum[] +} + +/** + * mcp_tokens create + */ +export type mcp_tokensCreateArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * The data needed to create a mcp_tokens. + */ + data: Prisma.XOR +} + +/** + * mcp_tokens createMany + */ +export type mcp_tokensCreateManyArgs = { + /** + * The data used to create many mcp_tokens. + */ + data: Prisma.mcp_tokensCreateManyInput | Prisma.mcp_tokensCreateManyInput[] +} + +/** + * mcp_tokens createManyAndReturn + */ +export type mcp_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * The data used to create many mcp_tokens. + */ + data: Prisma.mcp_tokensCreateManyInput | Prisma.mcp_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensIncludeCreateManyAndReturn | null +} + +/** + * mcp_tokens update + */ +export type mcp_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * The data needed to update a mcp_tokens. + */ + data: Prisma.XOR + /** + * Choose, which mcp_tokens to update. + */ + where: Prisma.mcp_tokensWhereUniqueInput +} + +/** + * mcp_tokens updateMany + */ +export type mcp_tokensUpdateManyArgs = { + /** + * The data used to update mcp_tokens. + */ + data: Prisma.XOR + /** + * Filter which mcp_tokens to update + */ + where?: Prisma.mcp_tokensWhereInput + /** + * Limit how many mcp_tokens to update. + */ + limit?: number +} + +/** + * mcp_tokens updateManyAndReturn + */ +export type mcp_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * The data used to update mcp_tokens. + */ + data: Prisma.XOR + /** + * Filter which mcp_tokens to update + */ + where?: Prisma.mcp_tokensWhereInput + /** + * Limit how many mcp_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensIncludeUpdateManyAndReturn | null +} + +/** + * mcp_tokens upsert + */ +export type mcp_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * The filter to search for the mcp_tokens to update in case it exists. + */ + where: Prisma.mcp_tokensWhereUniqueInput + /** + * In case the mcp_tokens found by the `where` argument doesn't exist, create a new mcp_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the mcp_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * mcp_tokens delete + */ +export type mcp_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + /** + * Filter which mcp_tokens to delete. + */ + where: Prisma.mcp_tokensWhereUniqueInput +} + +/** + * mcp_tokens deleteMany + */ +export type mcp_tokensDeleteManyArgs = { + /** + * Filter which mcp_tokens to delete + */ + where?: Prisma.mcp_tokensWhereInput + /** + * Limit how many mcp_tokens to delete. + */ + limit?: number +} + +/** + * mcp_tokens without action + */ +export type mcp_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/notification_channel_preferences.ts b/server/src/generated/prisma/models/notification_channel_preferences.ts new file mode 100644 index 00000000..b42a9a4a --- /dev/null +++ b/server/src/generated/prisma/models/notification_channel_preferences.ts @@ -0,0 +1,1364 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `notification_channel_preferences` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model notification_channel_preferences + * + */ +export type notification_channel_preferencesModel = runtime.Types.Result.DefaultSelection + +export type AggregateNotification_channel_preferences = { + _count: Notification_channel_preferencesCountAggregateOutputType | null + _avg: Notification_channel_preferencesAvgAggregateOutputType | null + _sum: Notification_channel_preferencesSumAggregateOutputType | null + _min: Notification_channel_preferencesMinAggregateOutputType | null + _max: Notification_channel_preferencesMaxAggregateOutputType | null +} + +export type Notification_channel_preferencesAvgAggregateOutputType = { + user_id: number | null + enabled: number | null +} + +export type Notification_channel_preferencesSumAggregateOutputType = { + user_id: number | null + enabled: number | null +} + +export type Notification_channel_preferencesMinAggregateOutputType = { + user_id: number | null + event_type: string | null + channel: string | null + enabled: number | null +} + +export type Notification_channel_preferencesMaxAggregateOutputType = { + user_id: number | null + event_type: string | null + channel: string | null + enabled: number | null +} + +export type Notification_channel_preferencesCountAggregateOutputType = { + user_id: number + event_type: number + channel: number + enabled: number + _all: number +} + + +export type Notification_channel_preferencesAvgAggregateInputType = { + user_id?: true + enabled?: true +} + +export type Notification_channel_preferencesSumAggregateInputType = { + user_id?: true + enabled?: true +} + +export type Notification_channel_preferencesMinAggregateInputType = { + user_id?: true + event_type?: true + channel?: true + enabled?: true +} + +export type Notification_channel_preferencesMaxAggregateInputType = { + user_id?: true + event_type?: true + channel?: true + enabled?: true +} + +export type Notification_channel_preferencesCountAggregateInputType = { + user_id?: true + event_type?: true + channel?: true + enabled?: true + _all?: true +} + +export type Notification_channel_preferencesAggregateArgs = { + /** + * Filter which notification_channel_preferences to aggregate. + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notification_channel_preferences to fetch. + */ + orderBy?: Prisma.notification_channel_preferencesOrderByWithRelationInput | Prisma.notification_channel_preferencesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.notification_channel_preferencesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notification_channel_preferences from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notification_channel_preferences. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned notification_channel_preferences + **/ + _count?: true | Notification_channel_preferencesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Notification_channel_preferencesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Notification_channel_preferencesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Notification_channel_preferencesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Notification_channel_preferencesMaxAggregateInputType +} + +export type GetNotification_channel_preferencesAggregateType = { + [P in keyof T & keyof AggregateNotification_channel_preferences]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type notification_channel_preferencesGroupByArgs = { + where?: Prisma.notification_channel_preferencesWhereInput + orderBy?: Prisma.notification_channel_preferencesOrderByWithAggregationInput | Prisma.notification_channel_preferencesOrderByWithAggregationInput[] + by: Prisma.Notification_channel_preferencesScalarFieldEnum[] | Prisma.Notification_channel_preferencesScalarFieldEnum + having?: Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Notification_channel_preferencesCountAggregateInputType | true + _avg?: Notification_channel_preferencesAvgAggregateInputType + _sum?: Notification_channel_preferencesSumAggregateInputType + _min?: Notification_channel_preferencesMinAggregateInputType + _max?: Notification_channel_preferencesMaxAggregateInputType +} + +export type Notification_channel_preferencesGroupByOutputType = { + user_id: number + event_type: string + channel: string + enabled: number + _count: Notification_channel_preferencesCountAggregateOutputType | null + _avg: Notification_channel_preferencesAvgAggregateOutputType | null + _sum: Notification_channel_preferencesSumAggregateOutputType | null + _min: Notification_channel_preferencesMinAggregateOutputType | null + _max: Notification_channel_preferencesMaxAggregateOutputType | null +} + +export type GetNotification_channel_preferencesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Notification_channel_preferencesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type notification_channel_preferencesWhereInput = { + AND?: Prisma.notification_channel_preferencesWhereInput | Prisma.notification_channel_preferencesWhereInput[] + OR?: Prisma.notification_channel_preferencesWhereInput[] + NOT?: Prisma.notification_channel_preferencesWhereInput | Prisma.notification_channel_preferencesWhereInput[] + user_id?: Prisma.IntFilter<"notification_channel_preferences"> | number + event_type?: Prisma.StringFilter<"notification_channel_preferences"> | string + channel?: Prisma.StringFilter<"notification_channel_preferences"> | string + enabled?: Prisma.IntFilter<"notification_channel_preferences"> | number + users?: Prisma.XOR +} + +export type notification_channel_preferencesOrderByWithRelationInput = { + user_id?: Prisma.SortOrder + event_type?: Prisma.SortOrder + channel?: Prisma.SortOrder + enabled?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type notification_channel_preferencesWhereUniqueInput = Prisma.AtLeast<{ + user_id_event_type_channel?: Prisma.notification_channel_preferencesUser_idEvent_typeChannelCompoundUniqueInput + AND?: Prisma.notification_channel_preferencesWhereInput | Prisma.notification_channel_preferencesWhereInput[] + OR?: Prisma.notification_channel_preferencesWhereInput[] + NOT?: Prisma.notification_channel_preferencesWhereInput | Prisma.notification_channel_preferencesWhereInput[] + user_id?: Prisma.IntFilter<"notification_channel_preferences"> | number + event_type?: Prisma.StringFilter<"notification_channel_preferences"> | string + channel?: Prisma.StringFilter<"notification_channel_preferences"> | string + enabled?: Prisma.IntFilter<"notification_channel_preferences"> | number + users?: Prisma.XOR +}, "user_id_event_type_channel"> + +export type notification_channel_preferencesOrderByWithAggregationInput = { + user_id?: Prisma.SortOrder + event_type?: Prisma.SortOrder + channel?: Prisma.SortOrder + enabled?: Prisma.SortOrder + _count?: Prisma.notification_channel_preferencesCountOrderByAggregateInput + _avg?: Prisma.notification_channel_preferencesAvgOrderByAggregateInput + _max?: Prisma.notification_channel_preferencesMaxOrderByAggregateInput + _min?: Prisma.notification_channel_preferencesMinOrderByAggregateInput + _sum?: Prisma.notification_channel_preferencesSumOrderByAggregateInput +} + +export type notification_channel_preferencesScalarWhereWithAggregatesInput = { + AND?: Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput | Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput[] + OR?: Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput[] + NOT?: Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput | Prisma.notification_channel_preferencesScalarWhereWithAggregatesInput[] + user_id?: Prisma.IntWithAggregatesFilter<"notification_channel_preferences"> | number + event_type?: Prisma.StringWithAggregatesFilter<"notification_channel_preferences"> | string + channel?: Prisma.StringWithAggregatesFilter<"notification_channel_preferences"> | string + enabled?: Prisma.IntWithAggregatesFilter<"notification_channel_preferences"> | number +} + +export type notification_channel_preferencesCreateInput = { + event_type: string + channel: string + enabled?: number + users: Prisma.usersCreateNestedOneWithoutNotification_channel_preferencesInput +} + +export type notification_channel_preferencesUncheckedCreateInput = { + user_id: number + event_type: string + channel: string + enabled?: number +} + +export type notification_channel_preferencesUpdateInput = { + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutNotification_channel_preferencesNestedInput +} + +export type notification_channel_preferencesUncheckedUpdateInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type notification_channel_preferencesCreateManyInput = { + user_id: number + event_type: string + channel: string + enabled?: number +} + +export type notification_channel_preferencesUpdateManyMutationInput = { + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type notification_channel_preferencesUncheckedUpdateManyInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type notification_channel_preferencesUser_idEvent_typeChannelCompoundUniqueInput = { + user_id: number + event_type: string + channel: string +} + +export type notification_channel_preferencesCountOrderByAggregateInput = { + user_id?: Prisma.SortOrder + event_type?: Prisma.SortOrder + channel?: Prisma.SortOrder + enabled?: Prisma.SortOrder +} + +export type notification_channel_preferencesAvgOrderByAggregateInput = { + user_id?: Prisma.SortOrder + enabled?: Prisma.SortOrder +} + +export type notification_channel_preferencesMaxOrderByAggregateInput = { + user_id?: Prisma.SortOrder + event_type?: Prisma.SortOrder + channel?: Prisma.SortOrder + enabled?: Prisma.SortOrder +} + +export type notification_channel_preferencesMinOrderByAggregateInput = { + user_id?: Prisma.SortOrder + event_type?: Prisma.SortOrder + channel?: Prisma.SortOrder + enabled?: Prisma.SortOrder +} + +export type notification_channel_preferencesSumOrderByAggregateInput = { + user_id?: Prisma.SortOrder + enabled?: Prisma.SortOrder +} + +export type Notification_channel_preferencesListRelationFilter = { + every?: Prisma.notification_channel_preferencesWhereInput + some?: Prisma.notification_channel_preferencesWhereInput + none?: Prisma.notification_channel_preferencesWhereInput +} + +export type notification_channel_preferencesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type notification_channel_preferencesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.notification_channel_preferencesCreateWithoutUsersInput[] | Prisma.notification_channel_preferencesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput | Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.notification_channel_preferencesCreateManyUsersInputEnvelope + connect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] +} + +export type notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.notification_channel_preferencesCreateWithoutUsersInput[] | Prisma.notification_channel_preferencesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput | Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.notification_channel_preferencesCreateManyUsersInputEnvelope + connect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] +} + +export type notification_channel_preferencesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.notification_channel_preferencesCreateWithoutUsersInput[] | Prisma.notification_channel_preferencesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput | Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.notification_channel_preferencesUpsertWithWhereUniqueWithoutUsersInput | Prisma.notification_channel_preferencesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.notification_channel_preferencesCreateManyUsersInputEnvelope + set?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + disconnect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + delete?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + connect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + update?: Prisma.notification_channel_preferencesUpdateWithWhereUniqueWithoutUsersInput | Prisma.notification_channel_preferencesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.notification_channel_preferencesUpdateManyWithWhereWithoutUsersInput | Prisma.notification_channel_preferencesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.notification_channel_preferencesScalarWhereInput | Prisma.notification_channel_preferencesScalarWhereInput[] +} + +export type notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.notification_channel_preferencesCreateWithoutUsersInput[] | Prisma.notification_channel_preferencesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput | Prisma.notification_channel_preferencesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.notification_channel_preferencesUpsertWithWhereUniqueWithoutUsersInput | Prisma.notification_channel_preferencesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.notification_channel_preferencesCreateManyUsersInputEnvelope + set?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + disconnect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + delete?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + connect?: Prisma.notification_channel_preferencesWhereUniqueInput | Prisma.notification_channel_preferencesWhereUniqueInput[] + update?: Prisma.notification_channel_preferencesUpdateWithWhereUniqueWithoutUsersInput | Prisma.notification_channel_preferencesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.notification_channel_preferencesUpdateManyWithWhereWithoutUsersInput | Prisma.notification_channel_preferencesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.notification_channel_preferencesScalarWhereInput | Prisma.notification_channel_preferencesScalarWhereInput[] +} + +export type notification_channel_preferencesCreateWithoutUsersInput = { + event_type: string + channel: string + enabled?: number +} + +export type notification_channel_preferencesUncheckedCreateWithoutUsersInput = { + event_type: string + channel: string + enabled?: number +} + +export type notification_channel_preferencesCreateOrConnectWithoutUsersInput = { + where: Prisma.notification_channel_preferencesWhereUniqueInput + create: Prisma.XOR +} + +export type notification_channel_preferencesCreateManyUsersInputEnvelope = { + data: Prisma.notification_channel_preferencesCreateManyUsersInput | Prisma.notification_channel_preferencesCreateManyUsersInput[] +} + +export type notification_channel_preferencesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.notification_channel_preferencesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type notification_channel_preferencesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.notification_channel_preferencesWhereUniqueInput + data: Prisma.XOR +} + +export type notification_channel_preferencesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.notification_channel_preferencesScalarWhereInput + data: Prisma.XOR +} + +export type notification_channel_preferencesScalarWhereInput = { + AND?: Prisma.notification_channel_preferencesScalarWhereInput | Prisma.notification_channel_preferencesScalarWhereInput[] + OR?: Prisma.notification_channel_preferencesScalarWhereInput[] + NOT?: Prisma.notification_channel_preferencesScalarWhereInput | Prisma.notification_channel_preferencesScalarWhereInput[] + user_id?: Prisma.IntFilter<"notification_channel_preferences"> | number + event_type?: Prisma.StringFilter<"notification_channel_preferences"> | string + channel?: Prisma.StringFilter<"notification_channel_preferences"> | string + enabled?: Prisma.IntFilter<"notification_channel_preferences"> | number +} + +export type notification_channel_preferencesCreateManyUsersInput = { + event_type: string + channel: string + enabled?: number +} + +export type notification_channel_preferencesUpdateWithoutUsersInput = { + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type notification_channel_preferencesUncheckedUpdateWithoutUsersInput = { + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type notification_channel_preferencesUncheckedUpdateManyWithoutUsersInput = { + event_type?: Prisma.StringFieldUpdateOperationsInput | string + channel?: Prisma.StringFieldUpdateOperationsInput | string + enabled?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type notification_channel_preferencesSelect = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + event_type?: boolean + channel?: boolean + enabled?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["notification_channel_preferences"]> + +export type notification_channel_preferencesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + event_type?: boolean + channel?: boolean + enabled?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["notification_channel_preferences"]> + +export type notification_channel_preferencesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + event_type?: boolean + channel?: boolean + enabled?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["notification_channel_preferences"]> + +export type notification_channel_preferencesSelectScalar = { + user_id?: boolean + event_type?: boolean + channel?: boolean + enabled?: boolean +} + +export type notification_channel_preferencesOmit = runtime.Types.Extensions.GetOmit<"user_id" | "event_type" | "channel" | "enabled", ExtArgs["result"]["notification_channel_preferences"]> +export type notification_channel_preferencesInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type notification_channel_preferencesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type notification_channel_preferencesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $notification_channel_preferencesPayload = { + name: "notification_channel_preferences" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + user_id: number + event_type: string + channel: string + enabled: number + }, ExtArgs["result"]["notification_channel_preferences"]> + composites: {} +} + +export type notification_channel_preferencesGetPayload = runtime.Types.Result.GetResult + +export type notification_channel_preferencesCountArgs = + Omit & { + select?: Notification_channel_preferencesCountAggregateInputType | true + } + +export interface notification_channel_preferencesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['notification_channel_preferences'], meta: { name: 'notification_channel_preferences' } } + /** + * Find zero or one Notification_channel_preferences that matches the filter. + * @param {notification_channel_preferencesFindUniqueArgs} args - Arguments to find a Notification_channel_preferences + * @example + * // Get one Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Notification_channel_preferences that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {notification_channel_preferencesFindUniqueOrThrowArgs} args - Arguments to find a Notification_channel_preferences + * @example + * // Get one Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Notification_channel_preferences that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesFindFirstArgs} args - Arguments to find a Notification_channel_preferences + * @example + * // Get one Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Notification_channel_preferences that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesFindFirstOrThrowArgs} args - Arguments to find a Notification_channel_preferences + * @example + * // Get one Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Notification_channel_preferences that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findMany() + * + * // Get first 10 Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.findMany({ take: 10 }) + * + * // Only select the `user_id` + * const notification_channel_preferencesWithUser_idOnly = await prisma.notification_channel_preferences.findMany({ select: { user_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Notification_channel_preferences. + * @param {notification_channel_preferencesCreateArgs} args - Arguments to create a Notification_channel_preferences. + * @example + * // Create one Notification_channel_preferences + * const Notification_channel_preferences = await prisma.notification_channel_preferences.create({ + * data: { + * // ... data to create a Notification_channel_preferences + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Notification_channel_preferences. + * @param {notification_channel_preferencesCreateManyArgs} args - Arguments to create many Notification_channel_preferences. + * @example + * // Create many Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Notification_channel_preferences and returns the data saved in the database. + * @param {notification_channel_preferencesCreateManyAndReturnArgs} args - Arguments to create many Notification_channel_preferences. + * @example + * // Create many Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Notification_channel_preferences and only return the `user_id` + * const notification_channel_preferencesWithUser_idOnly = await prisma.notification_channel_preferences.createManyAndReturn({ + * select: { user_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Notification_channel_preferences. + * @param {notification_channel_preferencesDeleteArgs} args - Arguments to delete one Notification_channel_preferences. + * @example + * // Delete one Notification_channel_preferences + * const Notification_channel_preferences = await prisma.notification_channel_preferences.delete({ + * where: { + * // ... filter to delete one Notification_channel_preferences + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Notification_channel_preferences. + * @param {notification_channel_preferencesUpdateArgs} args - Arguments to update one Notification_channel_preferences. + * @example + * // Update one Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Notification_channel_preferences. + * @param {notification_channel_preferencesDeleteManyArgs} args - Arguments to filter Notification_channel_preferences to delete. + * @example + * // Delete a few Notification_channel_preferences + * const { count } = await prisma.notification_channel_preferences.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Notification_channel_preferences. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Notification_channel_preferences and returns the data updated in the database. + * @param {notification_channel_preferencesUpdateManyAndReturnArgs} args - Arguments to update many Notification_channel_preferences. + * @example + * // Update many Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Notification_channel_preferences and only return the `user_id` + * const notification_channel_preferencesWithUser_idOnly = await prisma.notification_channel_preferences.updateManyAndReturn({ + * select: { user_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Notification_channel_preferences. + * @param {notification_channel_preferencesUpsertArgs} args - Arguments to update or create a Notification_channel_preferences. + * @example + * // Update or create a Notification_channel_preferences + * const notification_channel_preferences = await prisma.notification_channel_preferences.upsert({ + * create: { + * // ... data to create a Notification_channel_preferences + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Notification_channel_preferences we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__notification_channel_preferencesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Notification_channel_preferences. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesCountArgs} args - Arguments to filter Notification_channel_preferences to count. + * @example + * // Count the number of Notification_channel_preferences + * const count = await prisma.notification_channel_preferences.count({ + * where: { + * // ... the filter for the Notification_channel_preferences we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Notification_channel_preferences. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Notification_channel_preferencesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Notification_channel_preferences. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notification_channel_preferencesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends notification_channel_preferencesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: notification_channel_preferencesGroupByArgs['orderBy'] } + : { orderBy?: notification_channel_preferencesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetNotification_channel_preferencesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the notification_channel_preferences model + */ +readonly fields: notification_channel_preferencesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for notification_channel_preferences. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__notification_channel_preferencesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the notification_channel_preferences model + */ +export interface notification_channel_preferencesFieldRefs { + readonly user_id: Prisma.FieldRef<"notification_channel_preferences", 'Int'> + readonly event_type: Prisma.FieldRef<"notification_channel_preferences", 'String'> + readonly channel: Prisma.FieldRef<"notification_channel_preferences", 'String'> + readonly enabled: Prisma.FieldRef<"notification_channel_preferences", 'Int'> +} + + +// Custom InputTypes +/** + * notification_channel_preferences findUnique + */ +export type notification_channel_preferencesFindUniqueArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter, which notification_channel_preferences to fetch. + */ + where: Prisma.notification_channel_preferencesWhereUniqueInput +} + +/** + * notification_channel_preferences findUniqueOrThrow + */ +export type notification_channel_preferencesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter, which notification_channel_preferences to fetch. + */ + where: Prisma.notification_channel_preferencesWhereUniqueInput +} + +/** + * notification_channel_preferences findFirst + */ +export type notification_channel_preferencesFindFirstArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter, which notification_channel_preferences to fetch. + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notification_channel_preferences to fetch. + */ + orderBy?: Prisma.notification_channel_preferencesOrderByWithRelationInput | Prisma.notification_channel_preferencesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for notification_channel_preferences. + */ + cursor?: Prisma.notification_channel_preferencesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notification_channel_preferences from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notification_channel_preferences. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notification_channel_preferences. + */ + distinct?: Prisma.Notification_channel_preferencesScalarFieldEnum | Prisma.Notification_channel_preferencesScalarFieldEnum[] +} + +/** + * notification_channel_preferences findFirstOrThrow + */ +export type notification_channel_preferencesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter, which notification_channel_preferences to fetch. + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notification_channel_preferences to fetch. + */ + orderBy?: Prisma.notification_channel_preferencesOrderByWithRelationInput | Prisma.notification_channel_preferencesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for notification_channel_preferences. + */ + cursor?: Prisma.notification_channel_preferencesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notification_channel_preferences from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notification_channel_preferences. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notification_channel_preferences. + */ + distinct?: Prisma.Notification_channel_preferencesScalarFieldEnum | Prisma.Notification_channel_preferencesScalarFieldEnum[] +} + +/** + * notification_channel_preferences findMany + */ +export type notification_channel_preferencesFindManyArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter, which notification_channel_preferences to fetch. + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notification_channel_preferences to fetch. + */ + orderBy?: Prisma.notification_channel_preferencesOrderByWithRelationInput | Prisma.notification_channel_preferencesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing notification_channel_preferences. + */ + cursor?: Prisma.notification_channel_preferencesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notification_channel_preferences from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notification_channel_preferences. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notification_channel_preferences. + */ + distinct?: Prisma.Notification_channel_preferencesScalarFieldEnum | Prisma.Notification_channel_preferencesScalarFieldEnum[] +} + +/** + * notification_channel_preferences create + */ +export type notification_channel_preferencesCreateArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * The data needed to create a notification_channel_preferences. + */ + data: Prisma.XOR +} + +/** + * notification_channel_preferences createMany + */ +export type notification_channel_preferencesCreateManyArgs = { + /** + * The data used to create many notification_channel_preferences. + */ + data: Prisma.notification_channel_preferencesCreateManyInput | Prisma.notification_channel_preferencesCreateManyInput[] +} + +/** + * notification_channel_preferences createManyAndReturn + */ +export type notification_channel_preferencesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * The data used to create many notification_channel_preferences. + */ + data: Prisma.notification_channel_preferencesCreateManyInput | Prisma.notification_channel_preferencesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesIncludeCreateManyAndReturn | null +} + +/** + * notification_channel_preferences update + */ +export type notification_channel_preferencesUpdateArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * The data needed to update a notification_channel_preferences. + */ + data: Prisma.XOR + /** + * Choose, which notification_channel_preferences to update. + */ + where: Prisma.notification_channel_preferencesWhereUniqueInput +} + +/** + * notification_channel_preferences updateMany + */ +export type notification_channel_preferencesUpdateManyArgs = { + /** + * The data used to update notification_channel_preferences. + */ + data: Prisma.XOR + /** + * Filter which notification_channel_preferences to update + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * Limit how many notification_channel_preferences to update. + */ + limit?: number +} + +/** + * notification_channel_preferences updateManyAndReturn + */ +export type notification_channel_preferencesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * The data used to update notification_channel_preferences. + */ + data: Prisma.XOR + /** + * Filter which notification_channel_preferences to update + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * Limit how many notification_channel_preferences to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesIncludeUpdateManyAndReturn | null +} + +/** + * notification_channel_preferences upsert + */ +export type notification_channel_preferencesUpsertArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * The filter to search for the notification_channel_preferences to update in case it exists. + */ + where: Prisma.notification_channel_preferencesWhereUniqueInput + /** + * In case the notification_channel_preferences found by the `where` argument doesn't exist, create a new notification_channel_preferences with this data. + */ + create: Prisma.XOR + /** + * In case the notification_channel_preferences was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * notification_channel_preferences delete + */ +export type notification_channel_preferencesDeleteArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + /** + * Filter which notification_channel_preferences to delete. + */ + where: Prisma.notification_channel_preferencesWhereUniqueInput +} + +/** + * notification_channel_preferences deleteMany + */ +export type notification_channel_preferencesDeleteManyArgs = { + /** + * Filter which notification_channel_preferences to delete + */ + where?: Prisma.notification_channel_preferencesWhereInput + /** + * Limit how many notification_channel_preferences to delete. + */ + limit?: number +} + +/** + * notification_channel_preferences without action + */ +export type notification_channel_preferencesDefaultArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null +} diff --git a/server/src/generated/prisma/models/notifications.ts b/server/src/generated/prisma/models/notifications.ts new file mode 100644 index 00000000..85a571eb --- /dev/null +++ b/server/src/generated/prisma/models/notifications.ts @@ -0,0 +1,2115 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `notifications` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model notifications + * + */ +export type notificationsModel = runtime.Types.Result.DefaultSelection + +export type AggregateNotifications = { + _count: NotificationsCountAggregateOutputType | null + _avg: NotificationsAvgAggregateOutputType | null + _sum: NotificationsSumAggregateOutputType | null + _min: NotificationsMinAggregateOutputType | null + _max: NotificationsMaxAggregateOutputType | null +} + +export type NotificationsAvgAggregateOutputType = { + id: number | null + target: number | null + sender_id: number | null + recipient_id: number | null + is_read: number | null +} + +export type NotificationsSumAggregateOutputType = { + id: number | null + target: number | null + sender_id: number | null + recipient_id: number | null + is_read: number | null +} + +export type NotificationsMinAggregateOutputType = { + id: number | null + type: string | null + scope: string | null + target: number | null + sender_id: number | null + recipient_id: number | null + title_key: string | null + title_params: string | null + text_key: string | null + text_params: string | null + positive_text_key: string | null + negative_text_key: string | null + positive_callback: string | null + negative_callback: string | null + response: string | null + navigate_text_key: string | null + navigate_target: string | null + is_read: number | null + created_at: Date | null +} + +export type NotificationsMaxAggregateOutputType = { + id: number | null + type: string | null + scope: string | null + target: number | null + sender_id: number | null + recipient_id: number | null + title_key: string | null + title_params: string | null + text_key: string | null + text_params: string | null + positive_text_key: string | null + negative_text_key: string | null + positive_callback: string | null + negative_callback: string | null + response: string | null + navigate_text_key: string | null + navigate_target: string | null + is_read: number | null + created_at: Date | null +} + +export type NotificationsCountAggregateOutputType = { + id: number + type: number + scope: number + target: number + sender_id: number + recipient_id: number + title_key: number + title_params: number + text_key: number + text_params: number + positive_text_key: number + negative_text_key: number + positive_callback: number + negative_callback: number + response: number + navigate_text_key: number + navigate_target: number + is_read: number + created_at: number + _all: number +} + + +export type NotificationsAvgAggregateInputType = { + id?: true + target?: true + sender_id?: true + recipient_id?: true + is_read?: true +} + +export type NotificationsSumAggregateInputType = { + id?: true + target?: true + sender_id?: true + recipient_id?: true + is_read?: true +} + +export type NotificationsMinAggregateInputType = { + id?: true + type?: true + scope?: true + target?: true + sender_id?: true + recipient_id?: true + title_key?: true + title_params?: true + text_key?: true + text_params?: true + positive_text_key?: true + negative_text_key?: true + positive_callback?: true + negative_callback?: true + response?: true + navigate_text_key?: true + navigate_target?: true + is_read?: true + created_at?: true +} + +export type NotificationsMaxAggregateInputType = { + id?: true + type?: true + scope?: true + target?: true + sender_id?: true + recipient_id?: true + title_key?: true + title_params?: true + text_key?: true + text_params?: true + positive_text_key?: true + negative_text_key?: true + positive_callback?: true + negative_callback?: true + response?: true + navigate_text_key?: true + navigate_target?: true + is_read?: true + created_at?: true +} + +export type NotificationsCountAggregateInputType = { + id?: true + type?: true + scope?: true + target?: true + sender_id?: true + recipient_id?: true + title_key?: true + title_params?: true + text_key?: true + text_params?: true + positive_text_key?: true + negative_text_key?: true + positive_callback?: true + negative_callback?: true + response?: true + navigate_text_key?: true + navigate_target?: true + is_read?: true + created_at?: true + _all?: true +} + +export type NotificationsAggregateArgs = { + /** + * Filter which notifications to aggregate. + */ + where?: Prisma.notificationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notifications to fetch. + */ + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.notificationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned notifications + **/ + _count?: true | NotificationsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: NotificationsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: NotificationsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: NotificationsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: NotificationsMaxAggregateInputType +} + +export type GetNotificationsAggregateType = { + [P in keyof T & keyof AggregateNotifications]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type notificationsGroupByArgs = { + where?: Prisma.notificationsWhereInput + orderBy?: Prisma.notificationsOrderByWithAggregationInput | Prisma.notificationsOrderByWithAggregationInput[] + by: Prisma.NotificationsScalarFieldEnum[] | Prisma.NotificationsScalarFieldEnum + having?: Prisma.notificationsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: NotificationsCountAggregateInputType | true + _avg?: NotificationsAvgAggregateInputType + _sum?: NotificationsSumAggregateInputType + _min?: NotificationsMinAggregateInputType + _max?: NotificationsMaxAggregateInputType +} + +export type NotificationsGroupByOutputType = { + id: number + type: string + scope: string + target: number + sender_id: number | null + recipient_id: number + title_key: string + title_params: string | null + text_key: string + text_params: string | null + positive_text_key: string | null + negative_text_key: string | null + positive_callback: string | null + negative_callback: string | null + response: string | null + navigate_text_key: string | null + navigate_target: string | null + is_read: number | null + created_at: Date | null + _count: NotificationsCountAggregateOutputType | null + _avg: NotificationsAvgAggregateOutputType | null + _sum: NotificationsSumAggregateOutputType | null + _min: NotificationsMinAggregateOutputType | null + _max: NotificationsMaxAggregateOutputType | null +} + +export type GetNotificationsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof NotificationsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type notificationsWhereInput = { + AND?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] + OR?: Prisma.notificationsWhereInput[] + NOT?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] + id?: Prisma.IntFilter<"notifications"> | number + type?: Prisma.StringFilter<"notifications"> | string + scope?: Prisma.StringFilter<"notifications"> | string + target?: Prisma.IntFilter<"notifications"> | number + sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null + recipient_id?: Prisma.IntFilter<"notifications"> | number + title_key?: Prisma.StringFilter<"notifications"> | string + title_params?: Prisma.StringNullableFilter<"notifications"> | string | null + text_key?: Prisma.StringFilter<"notifications"> | string + text_params?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + response?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null + is_read?: Prisma.IntNullableFilter<"notifications"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null + users_notifications_recipient_idTousers?: Prisma.XOR + users_notifications_sender_idTousers?: Prisma.XOR | null +} + +export type notificationsOrderByWithRelationInput = { + id?: Prisma.SortOrder + type?: Prisma.SortOrder + scope?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrderInput | Prisma.SortOrder + recipient_id?: Prisma.SortOrder + title_key?: Prisma.SortOrder + title_params?: Prisma.SortOrderInput | Prisma.SortOrder + text_key?: Prisma.SortOrder + text_params?: Prisma.SortOrderInput | Prisma.SortOrder + positive_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + negative_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + positive_callback?: Prisma.SortOrderInput | Prisma.SortOrder + negative_callback?: Prisma.SortOrderInput | Prisma.SortOrder + response?: Prisma.SortOrderInput | Prisma.SortOrder + navigate_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + navigate_target?: Prisma.SortOrderInput | Prisma.SortOrder + is_read?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users_notifications_recipient_idTousers?: Prisma.usersOrderByWithRelationInput + users_notifications_sender_idTousers?: Prisma.usersOrderByWithRelationInput +} + +export type notificationsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] + OR?: Prisma.notificationsWhereInput[] + NOT?: Prisma.notificationsWhereInput | Prisma.notificationsWhereInput[] + type?: Prisma.StringFilter<"notifications"> | string + scope?: Prisma.StringFilter<"notifications"> | string + target?: Prisma.IntFilter<"notifications"> | number + sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null + recipient_id?: Prisma.IntFilter<"notifications"> | number + title_key?: Prisma.StringFilter<"notifications"> | string + title_params?: Prisma.StringNullableFilter<"notifications"> | string | null + text_key?: Prisma.StringFilter<"notifications"> | string + text_params?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + response?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null + is_read?: Prisma.IntNullableFilter<"notifications"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null + users_notifications_recipient_idTousers?: Prisma.XOR + users_notifications_sender_idTousers?: Prisma.XOR | null +}, "id"> + +export type notificationsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + type?: Prisma.SortOrder + scope?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrderInput | Prisma.SortOrder + recipient_id?: Prisma.SortOrder + title_key?: Prisma.SortOrder + title_params?: Prisma.SortOrderInput | Prisma.SortOrder + text_key?: Prisma.SortOrder + text_params?: Prisma.SortOrderInput | Prisma.SortOrder + positive_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + negative_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + positive_callback?: Prisma.SortOrderInput | Prisma.SortOrder + negative_callback?: Prisma.SortOrderInput | Prisma.SortOrder + response?: Prisma.SortOrderInput | Prisma.SortOrder + navigate_text_key?: Prisma.SortOrderInput | Prisma.SortOrder + navigate_target?: Prisma.SortOrderInput | Prisma.SortOrder + is_read?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.notificationsCountOrderByAggregateInput + _avg?: Prisma.notificationsAvgOrderByAggregateInput + _max?: Prisma.notificationsMaxOrderByAggregateInput + _min?: Prisma.notificationsMinOrderByAggregateInput + _sum?: Prisma.notificationsSumOrderByAggregateInput +} + +export type notificationsScalarWhereWithAggregatesInput = { + AND?: Prisma.notificationsScalarWhereWithAggregatesInput | Prisma.notificationsScalarWhereWithAggregatesInput[] + OR?: Prisma.notificationsScalarWhereWithAggregatesInput[] + NOT?: Prisma.notificationsScalarWhereWithAggregatesInput | Prisma.notificationsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"notifications"> | number + type?: Prisma.StringWithAggregatesFilter<"notifications"> | string + scope?: Prisma.StringWithAggregatesFilter<"notifications"> | string + target?: Prisma.IntWithAggregatesFilter<"notifications"> | number + sender_id?: Prisma.IntNullableWithAggregatesFilter<"notifications"> | number | null + recipient_id?: Prisma.IntWithAggregatesFilter<"notifications"> | number + title_key?: Prisma.StringWithAggregatesFilter<"notifications"> | string + title_params?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + text_key?: Prisma.StringWithAggregatesFilter<"notifications"> | string + text_params?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + positive_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + negative_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + positive_callback?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + negative_callback?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + response?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + navigate_text_key?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + navigate_target?: Prisma.StringNullableWithAggregatesFilter<"notifications"> | string | null + is_read?: Prisma.IntNullableWithAggregatesFilter<"notifications"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"notifications"> | Date | string | null +} + +export type notificationsCreateInput = { + type: string + scope: string + target: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null + users_notifications_recipient_idTousers: Prisma.usersCreateNestedOneWithoutNotifications_notifications_recipient_idTousersInput + users_notifications_sender_idTousers?: Prisma.usersCreateNestedOneWithoutNotifications_notifications_sender_idTousersInput +} + +export type notificationsUncheckedCreateInput = { + id?: number + type: string + scope: string + target: number + sender_id?: number | null + recipient_id: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsUpdateInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_notifications_recipient_idTousers?: Prisma.usersUpdateOneRequiredWithoutNotifications_notifications_recipient_idTousersNestedInput + users_notifications_sender_idTousers?: Prisma.usersUpdateOneWithoutNotifications_notifications_sender_idTousersNestedInput +} + +export type notificationsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + recipient_id?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsCreateManyInput = { + id?: number + type: string + scope: string + target: number + sender_id?: number | null + recipient_id: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsUpdateManyMutationInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + recipient_id?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + type?: Prisma.SortOrder + scope?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrder + recipient_id?: Prisma.SortOrder + title_key?: Prisma.SortOrder + title_params?: Prisma.SortOrder + text_key?: Prisma.SortOrder + text_params?: Prisma.SortOrder + positive_text_key?: Prisma.SortOrder + negative_text_key?: Prisma.SortOrder + positive_callback?: Prisma.SortOrder + negative_callback?: Prisma.SortOrder + response?: Prisma.SortOrder + navigate_text_key?: Prisma.SortOrder + navigate_target?: Prisma.SortOrder + is_read?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type notificationsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrder + recipient_id?: Prisma.SortOrder + is_read?: Prisma.SortOrder +} + +export type notificationsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + type?: Prisma.SortOrder + scope?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrder + recipient_id?: Prisma.SortOrder + title_key?: Prisma.SortOrder + title_params?: Prisma.SortOrder + text_key?: Prisma.SortOrder + text_params?: Prisma.SortOrder + positive_text_key?: Prisma.SortOrder + negative_text_key?: Prisma.SortOrder + positive_callback?: Prisma.SortOrder + negative_callback?: Prisma.SortOrder + response?: Prisma.SortOrder + navigate_text_key?: Prisma.SortOrder + navigate_target?: Prisma.SortOrder + is_read?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type notificationsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + type?: Prisma.SortOrder + scope?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrder + recipient_id?: Prisma.SortOrder + title_key?: Prisma.SortOrder + title_params?: Prisma.SortOrder + text_key?: Prisma.SortOrder + text_params?: Prisma.SortOrder + positive_text_key?: Prisma.SortOrder + negative_text_key?: Prisma.SortOrder + positive_callback?: Prisma.SortOrder + negative_callback?: Prisma.SortOrder + response?: Prisma.SortOrder + navigate_text_key?: Prisma.SortOrder + navigate_target?: Prisma.SortOrder + is_read?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type notificationsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + target?: Prisma.SortOrder + sender_id?: Prisma.SortOrder + recipient_id?: Prisma.SortOrder + is_read?: Prisma.SortOrder +} + +export type NotificationsListRelationFilter = { + every?: Prisma.notificationsWhereInput + some?: Prisma.notificationsWhereInput + none?: Prisma.notificationsWhereInput +} + +export type notificationsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] +} + +export type notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] +} + +export type notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] +} + +export type notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] +} + +export type notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] + upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope + set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] + updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput[] + deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] +} + +export type notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] + upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope + set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] + updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput[] + deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] +} + +export type notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_recipient_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput[] + upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope + set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput[] + updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput[] + deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] +} + +export type notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.notificationsCreateWithoutUsers_notifications_sender_idTousersInput[] | Prisma.notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput[] + connectOrCreate?: Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput[] + upsert?: Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] + createMany?: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope + set?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + disconnect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + delete?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + connect?: Prisma.notificationsWhereUniqueInput | Prisma.notificationsWhereUniqueInput[] + update?: Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput[] + updateMany?: Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput | Prisma.notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput[] + deleteMany?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] +} + +export type notificationsCreateWithoutUsers_notifications_recipient_idTousersInput = { + type: string + scope: string + target: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null + users_notifications_sender_idTousers?: Prisma.usersCreateNestedOneWithoutNotifications_notifications_sender_idTousersInput +} + +export type notificationsUncheckedCreateWithoutUsers_notifications_recipient_idTousersInput = { + id?: number + type: string + scope: string + target: number + sender_id?: number | null + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsCreateOrConnectWithoutUsers_notifications_recipient_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + create: Prisma.XOR +} + +export type notificationsCreateManyUsers_notifications_recipient_idTousersInputEnvelope = { + data: Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInput | Prisma.notificationsCreateManyUsers_notifications_recipient_idTousersInput[] +} + +export type notificationsCreateWithoutUsers_notifications_sender_idTousersInput = { + type: string + scope: string + target: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null + users_notifications_recipient_idTousers: Prisma.usersCreateNestedOneWithoutNotifications_notifications_recipient_idTousersInput +} + +export type notificationsUncheckedCreateWithoutUsers_notifications_sender_idTousersInput = { + id?: number + type: string + scope: string + target: number + recipient_id: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsCreateOrConnectWithoutUsers_notifications_sender_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + create: Prisma.XOR +} + +export type notificationsCreateManyUsers_notifications_sender_idTousersInputEnvelope = { + data: Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInput | Prisma.notificationsCreateManyUsers_notifications_sender_idTousersInput[] +} + +export type notificationsUpsertWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type notificationsUpdateWithWhereUniqueWithoutUsers_notifications_recipient_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + data: Prisma.XOR +} + +export type notificationsUpdateManyWithWhereWithoutUsers_notifications_recipient_idTousersInput = { + where: Prisma.notificationsScalarWhereInput + data: Prisma.XOR +} + +export type notificationsScalarWhereInput = { + AND?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] + OR?: Prisma.notificationsScalarWhereInput[] + NOT?: Prisma.notificationsScalarWhereInput | Prisma.notificationsScalarWhereInput[] + id?: Prisma.IntFilter<"notifications"> | number + type?: Prisma.StringFilter<"notifications"> | string + scope?: Prisma.StringFilter<"notifications"> | string + target?: Prisma.IntFilter<"notifications"> | number + sender_id?: Prisma.IntNullableFilter<"notifications"> | number | null + recipient_id?: Prisma.IntFilter<"notifications"> | number + title_key?: Prisma.StringFilter<"notifications"> | string + title_params?: Prisma.StringNullableFilter<"notifications"> | string | null + text_key?: Prisma.StringFilter<"notifications"> | string + text_params?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + positive_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + negative_callback?: Prisma.StringNullableFilter<"notifications"> | string | null + response?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_text_key?: Prisma.StringNullableFilter<"notifications"> | string | null + navigate_target?: Prisma.StringNullableFilter<"notifications"> | string | null + is_read?: Prisma.IntNullableFilter<"notifications"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"notifications"> | Date | string | null +} + +export type notificationsUpsertWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type notificationsUpdateWithWhereUniqueWithoutUsers_notifications_sender_idTousersInput = { + where: Prisma.notificationsWhereUniqueInput + data: Prisma.XOR +} + +export type notificationsUpdateManyWithWhereWithoutUsers_notifications_sender_idTousersInput = { + where: Prisma.notificationsScalarWhereInput + data: Prisma.XOR +} + +export type notificationsCreateManyUsers_notifications_recipient_idTousersInput = { + id?: number + type: string + scope: string + target: number + sender_id?: number | null + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsCreateManyUsers_notifications_sender_idTousersInput = { + id?: number + type: string + scope: string + target: number + recipient_id: number + title_key: string + title_params?: string | null + text_key: string + text_params?: string | null + positive_text_key?: string | null + negative_text_key?: string | null + positive_callback?: string | null + negative_callback?: string | null + response?: string | null + navigate_text_key?: string | null + navigate_target?: string | null + is_read?: number | null + created_at?: Date | string | null +} + +export type notificationsUpdateWithoutUsers_notifications_recipient_idTousersInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_notifications_sender_idTousers?: Prisma.usersUpdateOneWithoutNotifications_notifications_sender_idTousersNestedInput +} + +export type notificationsUncheckedUpdateWithoutUsers_notifications_recipient_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + sender_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsUpdateWithoutUsers_notifications_sender_idTousersInput = { + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_notifications_recipient_idTousers?: Prisma.usersUpdateOneRequiredWithoutNotifications_notifications_recipient_idTousersNestedInput +} + +export type notificationsUncheckedUpdateWithoutUsers_notifications_sender_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + recipient_id?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + type?: Prisma.StringFieldUpdateOperationsInput | string + scope?: Prisma.StringFieldUpdateOperationsInput | string + target?: Prisma.IntFieldUpdateOperationsInput | number + recipient_id?: Prisma.IntFieldUpdateOperationsInput | number + title_key?: Prisma.StringFieldUpdateOperationsInput | string + title_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + text_key?: Prisma.StringFieldUpdateOperationsInput | string + text_params?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + positive_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + negative_callback?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + response?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_text_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + navigate_target?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_read?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type notificationsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + type?: boolean + scope?: boolean + target?: boolean + sender_id?: boolean + recipient_id?: boolean + title_key?: boolean + title_params?: boolean + text_key?: boolean + text_params?: boolean + positive_text_key?: boolean + negative_text_key?: boolean + positive_callback?: boolean + negative_callback?: boolean + response?: boolean + navigate_text_key?: boolean + navigate_target?: boolean + is_read?: boolean + created_at?: boolean + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +}, ExtArgs["result"]["notifications"]> + +export type notificationsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + type?: boolean + scope?: boolean + target?: boolean + sender_id?: boolean + recipient_id?: boolean + title_key?: boolean + title_params?: boolean + text_key?: boolean + text_params?: boolean + positive_text_key?: boolean + negative_text_key?: boolean + positive_callback?: boolean + negative_callback?: boolean + response?: boolean + navigate_text_key?: boolean + navigate_target?: boolean + is_read?: boolean + created_at?: boolean + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +}, ExtArgs["result"]["notifications"]> + +export type notificationsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + type?: boolean + scope?: boolean + target?: boolean + sender_id?: boolean + recipient_id?: boolean + title_key?: boolean + title_params?: boolean + text_key?: boolean + text_params?: boolean + positive_text_key?: boolean + negative_text_key?: boolean + positive_callback?: boolean + negative_callback?: boolean + response?: boolean + navigate_text_key?: boolean + navigate_target?: boolean + is_read?: boolean + created_at?: boolean + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +}, ExtArgs["result"]["notifications"]> + +export type notificationsSelectScalar = { + id?: boolean + type?: boolean + scope?: boolean + target?: boolean + sender_id?: boolean + recipient_id?: boolean + title_key?: boolean + title_params?: boolean + text_key?: boolean + text_params?: boolean + positive_text_key?: boolean + negative_text_key?: boolean + positive_callback?: boolean + negative_callback?: boolean + response?: boolean + navigate_text_key?: boolean + navigate_target?: boolean + is_read?: boolean + created_at?: boolean +} + +export type notificationsOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "scope" | "target" | "sender_id" | "recipient_id" | "title_key" | "title_params" | "text_key" | "text_params" | "positive_text_key" | "negative_text_key" | "positive_callback" | "negative_callback" | "response" | "navigate_text_key" | "navigate_target" | "is_read" | "created_at", ExtArgs["result"]["notifications"]> +export type notificationsInclude = { + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +} +export type notificationsIncludeCreateManyAndReturn = { + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +} +export type notificationsIncludeUpdateManyAndReturn = { + users_notifications_recipient_idTousers?: boolean | Prisma.usersDefaultArgs + users_notifications_sender_idTousers?: boolean | Prisma.notifications$users_notifications_sender_idTousersArgs +} + +export type $notificationsPayload = { + name: "notifications" + objects: { + users_notifications_recipient_idTousers: Prisma.$usersPayload + users_notifications_sender_idTousers: Prisma.$usersPayload | null + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + type: string + scope: string + target: number + sender_id: number | null + recipient_id: number + title_key: string + title_params: string | null + text_key: string + text_params: string | null + positive_text_key: string | null + negative_text_key: string | null + positive_callback: string | null + negative_callback: string | null + response: string | null + navigate_text_key: string | null + navigate_target: string | null + is_read: number | null + created_at: Date | null + }, ExtArgs["result"]["notifications"]> + composites: {} +} + +export type notificationsGetPayload = runtime.Types.Result.GetResult + +export type notificationsCountArgs = + Omit & { + select?: NotificationsCountAggregateInputType | true + } + +export interface notificationsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['notifications'], meta: { name: 'notifications' } } + /** + * Find zero or one Notifications that matches the filter. + * @param {notificationsFindUniqueArgs} args - Arguments to find a Notifications + * @example + * // Get one Notifications + * const notifications = await prisma.notifications.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Notifications that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {notificationsFindUniqueOrThrowArgs} args - Arguments to find a Notifications + * @example + * // Get one Notifications + * const notifications = await prisma.notifications.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Notifications that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsFindFirstArgs} args - Arguments to find a Notifications + * @example + * // Get one Notifications + * const notifications = await prisma.notifications.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Notifications that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsFindFirstOrThrowArgs} args - Arguments to find a Notifications + * @example + * // Get one Notifications + * const notifications = await prisma.notifications.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Notifications that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Notifications + * const notifications = await prisma.notifications.findMany() + * + * // Get first 10 Notifications + * const notifications = await prisma.notifications.findMany({ take: 10 }) + * + * // Only select the `id` + * const notificationsWithIdOnly = await prisma.notifications.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Notifications. + * @param {notificationsCreateArgs} args - Arguments to create a Notifications. + * @example + * // Create one Notifications + * const Notifications = await prisma.notifications.create({ + * data: { + * // ... data to create a Notifications + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Notifications. + * @param {notificationsCreateManyArgs} args - Arguments to create many Notifications. + * @example + * // Create many Notifications + * const notifications = await prisma.notifications.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Notifications and returns the data saved in the database. + * @param {notificationsCreateManyAndReturnArgs} args - Arguments to create many Notifications. + * @example + * // Create many Notifications + * const notifications = await prisma.notifications.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Notifications and only return the `id` + * const notificationsWithIdOnly = await prisma.notifications.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Notifications. + * @param {notificationsDeleteArgs} args - Arguments to delete one Notifications. + * @example + * // Delete one Notifications + * const Notifications = await prisma.notifications.delete({ + * where: { + * // ... filter to delete one Notifications + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Notifications. + * @param {notificationsUpdateArgs} args - Arguments to update one Notifications. + * @example + * // Update one Notifications + * const notifications = await prisma.notifications.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Notifications. + * @param {notificationsDeleteManyArgs} args - Arguments to filter Notifications to delete. + * @example + * // Delete a few Notifications + * const { count } = await prisma.notifications.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Notifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Notifications + * const notifications = await prisma.notifications.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Notifications and returns the data updated in the database. + * @param {notificationsUpdateManyAndReturnArgs} args - Arguments to update many Notifications. + * @example + * // Update many Notifications + * const notifications = await prisma.notifications.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Notifications and only return the `id` + * const notificationsWithIdOnly = await prisma.notifications.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Notifications. + * @param {notificationsUpsertArgs} args - Arguments to update or create a Notifications. + * @example + * // Update or create a Notifications + * const notifications = await prisma.notifications.upsert({ + * create: { + * // ... data to create a Notifications + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Notifications we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__notificationsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Notifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsCountArgs} args - Arguments to filter Notifications to count. + * @example + * // Count the number of Notifications + * const count = await prisma.notifications.count({ + * where: { + * // ... the filter for the Notifications we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Notifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {NotificationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Notifications. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {notificationsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends notificationsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: notificationsGroupByArgs['orderBy'] } + : { orderBy?: notificationsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetNotificationsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the notifications model + */ +readonly fields: notificationsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for notifications. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__notificationsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users_notifications_recipient_idTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + users_notifications_sender_idTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the notifications model + */ +export interface notificationsFieldRefs { + readonly id: Prisma.FieldRef<"notifications", 'Int'> + readonly type: Prisma.FieldRef<"notifications", 'String'> + readonly scope: Prisma.FieldRef<"notifications", 'String'> + readonly target: Prisma.FieldRef<"notifications", 'Int'> + readonly sender_id: Prisma.FieldRef<"notifications", 'Int'> + readonly recipient_id: Prisma.FieldRef<"notifications", 'Int'> + readonly title_key: Prisma.FieldRef<"notifications", 'String'> + readonly title_params: Prisma.FieldRef<"notifications", 'String'> + readonly text_key: Prisma.FieldRef<"notifications", 'String'> + readonly text_params: Prisma.FieldRef<"notifications", 'String'> + readonly positive_text_key: Prisma.FieldRef<"notifications", 'String'> + readonly negative_text_key: Prisma.FieldRef<"notifications", 'String'> + readonly positive_callback: Prisma.FieldRef<"notifications", 'String'> + readonly negative_callback: Prisma.FieldRef<"notifications", 'String'> + readonly response: Prisma.FieldRef<"notifications", 'String'> + readonly navigate_text_key: Prisma.FieldRef<"notifications", 'String'> + readonly navigate_target: Prisma.FieldRef<"notifications", 'String'> + readonly is_read: Prisma.FieldRef<"notifications", 'Int'> + readonly created_at: Prisma.FieldRef<"notifications", 'DateTime'> +} + + +// Custom InputTypes +/** + * notifications findUnique + */ +export type notificationsFindUniqueArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter, which notifications to fetch. + */ + where: Prisma.notificationsWhereUniqueInput +} + +/** + * notifications findUniqueOrThrow + */ +export type notificationsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter, which notifications to fetch. + */ + where: Prisma.notificationsWhereUniqueInput +} + +/** + * notifications findFirst + */ +export type notificationsFindFirstArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter, which notifications to fetch. + */ + where?: Prisma.notificationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notifications to fetch. + */ + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for notifications. + */ + cursor?: Prisma.notificationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notifications. + */ + distinct?: Prisma.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] +} + +/** + * notifications findFirstOrThrow + */ +export type notificationsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter, which notifications to fetch. + */ + where?: Prisma.notificationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notifications to fetch. + */ + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for notifications. + */ + cursor?: Prisma.notificationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notifications. + */ + distinct?: Prisma.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] +} + +/** + * notifications findMany + */ +export type notificationsFindManyArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter, which notifications to fetch. + */ + where?: Prisma.notificationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of notifications to fetch. + */ + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing notifications. + */ + cursor?: Prisma.notificationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` notifications from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` notifications. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of notifications. + */ + distinct?: Prisma.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] +} + +/** + * notifications create + */ +export type notificationsCreateArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * The data needed to create a notifications. + */ + data: Prisma.XOR +} + +/** + * notifications createMany + */ +export type notificationsCreateManyArgs = { + /** + * The data used to create many notifications. + */ + data: Prisma.notificationsCreateManyInput | Prisma.notificationsCreateManyInput[] +} + +/** + * notifications createManyAndReturn + */ +export type notificationsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * The data used to create many notifications. + */ + data: Prisma.notificationsCreateManyInput | Prisma.notificationsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsIncludeCreateManyAndReturn | null +} + +/** + * notifications update + */ +export type notificationsUpdateArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * The data needed to update a notifications. + */ + data: Prisma.XOR + /** + * Choose, which notifications to update. + */ + where: Prisma.notificationsWhereUniqueInput +} + +/** + * notifications updateMany + */ +export type notificationsUpdateManyArgs = { + /** + * The data used to update notifications. + */ + data: Prisma.XOR + /** + * Filter which notifications to update + */ + where?: Prisma.notificationsWhereInput + /** + * Limit how many notifications to update. + */ + limit?: number +} + +/** + * notifications updateManyAndReturn + */ +export type notificationsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * The data used to update notifications. + */ + data: Prisma.XOR + /** + * Filter which notifications to update + */ + where?: Prisma.notificationsWhereInput + /** + * Limit how many notifications to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsIncludeUpdateManyAndReturn | null +} + +/** + * notifications upsert + */ +export type notificationsUpsertArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * The filter to search for the notifications to update in case it exists. + */ + where: Prisma.notificationsWhereUniqueInput + /** + * In case the notifications found by the `where` argument doesn't exist, create a new notifications with this data. + */ + create: Prisma.XOR + /** + * In case the notifications was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * notifications delete + */ +export type notificationsDeleteArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + /** + * Filter which notifications to delete. + */ + where: Prisma.notificationsWhereUniqueInput +} + +/** + * notifications deleteMany + */ +export type notificationsDeleteManyArgs = { + /** + * Filter which notifications to delete + */ + where?: Prisma.notificationsWhereInput + /** + * Limit how many notifications to delete. + */ + limit?: number +} + +/** + * notifications.users_notifications_sender_idTousers + */ +export type notifications$users_notifications_sender_idTousersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * notifications without action + */ +export type notificationsDefaultArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null +} diff --git a/server/src/generated/prisma/models/oauth_clients.ts b/server/src/generated/prisma/models/oauth_clients.ts new file mode 100644 index 00000000..9130461f --- /dev/null +++ b/server/src/generated/prisma/models/oauth_clients.ts @@ -0,0 +1,1881 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `oauth_clients` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model oauth_clients + * + */ +export type oauth_clientsModel = runtime.Types.Result.DefaultSelection + +export type AggregateOauth_clients = { + _count: Oauth_clientsCountAggregateOutputType | null + _avg: Oauth_clientsAvgAggregateOutputType | null + _sum: Oauth_clientsSumAggregateOutputType | null + _min: Oauth_clientsMinAggregateOutputType | null + _max: Oauth_clientsMaxAggregateOutputType | null +} + +export type Oauth_clientsAvgAggregateOutputType = { + user_id: number | null + is_public: number | null +} + +export type Oauth_clientsSumAggregateOutputType = { + user_id: number | null + is_public: number | null +} + +export type Oauth_clientsMinAggregateOutputType = { + id: string | null + user_id: number | null + name: string | null + client_id: string | null + client_secret_hash: string | null + redirect_uris: string | null + allowed_scopes: string | null + created_at: Date | null + is_public: number | null + created_via: string | null +} + +export type Oauth_clientsMaxAggregateOutputType = { + id: string | null + user_id: number | null + name: string | null + client_id: string | null + client_secret_hash: string | null + redirect_uris: string | null + allowed_scopes: string | null + created_at: Date | null + is_public: number | null + created_via: string | null +} + +export type Oauth_clientsCountAggregateOutputType = { + id: number + user_id: number + name: number + client_id: number + client_secret_hash: number + redirect_uris: number + allowed_scopes: number + created_at: number + is_public: number + created_via: number + _all: number +} + + +export type Oauth_clientsAvgAggregateInputType = { + user_id?: true + is_public?: true +} + +export type Oauth_clientsSumAggregateInputType = { + user_id?: true + is_public?: true +} + +export type Oauth_clientsMinAggregateInputType = { + id?: true + user_id?: true + name?: true + client_id?: true + client_secret_hash?: true + redirect_uris?: true + allowed_scopes?: true + created_at?: true + is_public?: true + created_via?: true +} + +export type Oauth_clientsMaxAggregateInputType = { + id?: true + user_id?: true + name?: true + client_id?: true + client_secret_hash?: true + redirect_uris?: true + allowed_scopes?: true + created_at?: true + is_public?: true + created_via?: true +} + +export type Oauth_clientsCountAggregateInputType = { + id?: true + user_id?: true + name?: true + client_id?: true + client_secret_hash?: true + redirect_uris?: true + allowed_scopes?: true + created_at?: true + is_public?: true + created_via?: true + _all?: true +} + +export type Oauth_clientsAggregateArgs = { + /** + * Filter which oauth_clients to aggregate. + */ + where?: Prisma.oauth_clientsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_clients to fetch. + */ + orderBy?: Prisma.oauth_clientsOrderByWithRelationInput | Prisma.oauth_clientsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.oauth_clientsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_clients from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_clients. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned oauth_clients + **/ + _count?: true | Oauth_clientsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Oauth_clientsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Oauth_clientsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Oauth_clientsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Oauth_clientsMaxAggregateInputType +} + +export type GetOauth_clientsAggregateType = { + [P in keyof T & keyof AggregateOauth_clients]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type oauth_clientsGroupByArgs = { + where?: Prisma.oauth_clientsWhereInput + orderBy?: Prisma.oauth_clientsOrderByWithAggregationInput | Prisma.oauth_clientsOrderByWithAggregationInput[] + by: Prisma.Oauth_clientsScalarFieldEnum[] | Prisma.Oauth_clientsScalarFieldEnum + having?: Prisma.oauth_clientsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Oauth_clientsCountAggregateInputType | true + _avg?: Oauth_clientsAvgAggregateInputType + _sum?: Oauth_clientsSumAggregateInputType + _min?: Oauth_clientsMinAggregateInputType + _max?: Oauth_clientsMaxAggregateInputType +} + +export type Oauth_clientsGroupByOutputType = { + id: string + user_id: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris: string + allowed_scopes: string + created_at: Date | null + is_public: number + created_via: string + _count: Oauth_clientsCountAggregateOutputType | null + _avg: Oauth_clientsAvgAggregateOutputType | null + _sum: Oauth_clientsSumAggregateOutputType | null + _min: Oauth_clientsMinAggregateOutputType | null + _max: Oauth_clientsMaxAggregateOutputType | null +} + +export type GetOauth_clientsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Oauth_clientsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type oauth_clientsWhereInput = { + AND?: Prisma.oauth_clientsWhereInput | Prisma.oauth_clientsWhereInput[] + OR?: Prisma.oauth_clientsWhereInput[] + NOT?: Prisma.oauth_clientsWhereInput | Prisma.oauth_clientsWhereInput[] + id?: Prisma.StringFilter<"oauth_clients"> | string + user_id?: Prisma.IntNullableFilter<"oauth_clients"> | number | null + name?: Prisma.StringFilter<"oauth_clients"> | string + client_id?: Prisma.StringFilter<"oauth_clients"> | string + client_secret_hash?: Prisma.StringFilter<"oauth_clients"> | string + redirect_uris?: Prisma.StringFilter<"oauth_clients"> | string + allowed_scopes?: Prisma.StringFilter<"oauth_clients"> | string + created_at?: Prisma.DateTimeNullableFilter<"oauth_clients"> | Date | string | null + is_public?: Prisma.IntFilter<"oauth_clients"> | number + created_via?: Prisma.StringFilter<"oauth_clients"> | string + users?: Prisma.XOR | null + oauth_consents?: Prisma.Oauth_consentsListRelationFilter + oauth_tokens?: Prisma.Oauth_tokensListRelationFilter +} + +export type oauth_clientsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + name?: Prisma.SortOrder + client_id?: Prisma.SortOrder + client_secret_hash?: Prisma.SortOrder + redirect_uris?: Prisma.SortOrder + allowed_scopes?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + is_public?: Prisma.SortOrder + created_via?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + oauth_consents?: Prisma.oauth_consentsOrderByRelationAggregateInput + oauth_tokens?: Prisma.oauth_tokensOrderByRelationAggregateInput +} + +export type oauth_clientsWhereUniqueInput = Prisma.AtLeast<{ + id?: string + client_id?: string + AND?: Prisma.oauth_clientsWhereInput | Prisma.oauth_clientsWhereInput[] + OR?: Prisma.oauth_clientsWhereInput[] + NOT?: Prisma.oauth_clientsWhereInput | Prisma.oauth_clientsWhereInput[] + user_id?: Prisma.IntNullableFilter<"oauth_clients"> | number | null + name?: Prisma.StringFilter<"oauth_clients"> | string + client_secret_hash?: Prisma.StringFilter<"oauth_clients"> | string + redirect_uris?: Prisma.StringFilter<"oauth_clients"> | string + allowed_scopes?: Prisma.StringFilter<"oauth_clients"> | string + created_at?: Prisma.DateTimeNullableFilter<"oauth_clients"> | Date | string | null + is_public?: Prisma.IntFilter<"oauth_clients"> | number + created_via?: Prisma.StringFilter<"oauth_clients"> | string + users?: Prisma.XOR | null + oauth_consents?: Prisma.Oauth_consentsListRelationFilter + oauth_tokens?: Prisma.Oauth_tokensListRelationFilter +}, "id" | "client_id"> + +export type oauth_clientsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + name?: Prisma.SortOrder + client_id?: Prisma.SortOrder + client_secret_hash?: Prisma.SortOrder + redirect_uris?: Prisma.SortOrder + allowed_scopes?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + is_public?: Prisma.SortOrder + created_via?: Prisma.SortOrder + _count?: Prisma.oauth_clientsCountOrderByAggregateInput + _avg?: Prisma.oauth_clientsAvgOrderByAggregateInput + _max?: Prisma.oauth_clientsMaxOrderByAggregateInput + _min?: Prisma.oauth_clientsMinOrderByAggregateInput + _sum?: Prisma.oauth_clientsSumOrderByAggregateInput +} + +export type oauth_clientsScalarWhereWithAggregatesInput = { + AND?: Prisma.oauth_clientsScalarWhereWithAggregatesInput | Prisma.oauth_clientsScalarWhereWithAggregatesInput[] + OR?: Prisma.oauth_clientsScalarWhereWithAggregatesInput[] + NOT?: Prisma.oauth_clientsScalarWhereWithAggregatesInput | Prisma.oauth_clientsScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + user_id?: Prisma.IntNullableWithAggregatesFilter<"oauth_clients"> | number | null + name?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + client_id?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + client_secret_hash?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + redirect_uris?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + allowed_scopes?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"oauth_clients"> | Date | string | null + is_public?: Prisma.IntWithAggregatesFilter<"oauth_clients"> | number + created_via?: Prisma.StringWithAggregatesFilter<"oauth_clients"> | string +} + +export type oauth_clientsCreateInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + users?: Prisma.usersCreateNestedOneWithoutOauth_clientsInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutOauth_clientsInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsUncheckedCreateInput = { + id: string + user_id?: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutOauth_clientsInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneWithoutOauth_clientsNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutOauth_clientsNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsUncheckedUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutOauth_clientsNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsCreateManyInput = { + id: string + user_id?: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string +} + +export type oauth_clientsUpdateManyMutationInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type oauth_clientsUncheckedUpdateManyInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type oauth_clientsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + client_id?: Prisma.SortOrder + client_secret_hash?: Prisma.SortOrder + redirect_uris?: Prisma.SortOrder + allowed_scopes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + is_public?: Prisma.SortOrder + created_via?: Prisma.SortOrder +} + +export type oauth_clientsAvgOrderByAggregateInput = { + user_id?: Prisma.SortOrder + is_public?: Prisma.SortOrder +} + +export type oauth_clientsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + client_id?: Prisma.SortOrder + client_secret_hash?: Prisma.SortOrder + redirect_uris?: Prisma.SortOrder + allowed_scopes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + is_public?: Prisma.SortOrder + created_via?: Prisma.SortOrder +} + +export type oauth_clientsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + client_id?: Prisma.SortOrder + client_secret_hash?: Prisma.SortOrder + redirect_uris?: Prisma.SortOrder + allowed_scopes?: Prisma.SortOrder + created_at?: Prisma.SortOrder + is_public?: Prisma.SortOrder + created_via?: Prisma.SortOrder +} + +export type oauth_clientsSumOrderByAggregateInput = { + user_id?: Prisma.SortOrder + is_public?: Prisma.SortOrder +} + +export type Oauth_clientsScalarRelationFilter = { + is?: Prisma.oauth_clientsWhereInput + isNot?: Prisma.oauth_clientsWhereInput +} + +export type Oauth_clientsListRelationFilter = { + every?: Prisma.oauth_clientsWhereInput + some?: Prisma.oauth_clientsWhereInput + none?: Prisma.oauth_clientsWhereInput +} + +export type oauth_clientsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type oauth_clientsCreateNestedOneWithoutOauth_consentsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutOauth_consentsInput + connect?: Prisma.oauth_clientsWhereUniqueInput +} + +export type oauth_clientsUpdateOneRequiredWithoutOauth_consentsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutOauth_consentsInput + upsert?: Prisma.oauth_clientsUpsertWithoutOauth_consentsInput + connect?: Prisma.oauth_clientsWhereUniqueInput + update?: Prisma.XOR, Prisma.oauth_clientsUncheckedUpdateWithoutOauth_consentsInput> +} + +export type oauth_clientsCreateNestedOneWithoutOauth_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutOauth_tokensInput + connect?: Prisma.oauth_clientsWhereUniqueInput +} + +export type oauth_clientsUpdateOneRequiredWithoutOauth_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutOauth_tokensInput + upsert?: Prisma.oauth_clientsUpsertWithoutOauth_tokensInput + connect?: Prisma.oauth_clientsWhereUniqueInput + update?: Prisma.XOR, Prisma.oauth_clientsUncheckedUpdateWithoutOauth_tokensInput> +} + +export type oauth_clientsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_clientsCreateWithoutUsersInput[] | Prisma.oauth_clientsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutUsersInput | Prisma.oauth_clientsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_clientsCreateManyUsersInputEnvelope + connect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] +} + +export type oauth_clientsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_clientsCreateWithoutUsersInput[] | Prisma.oauth_clientsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutUsersInput | Prisma.oauth_clientsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_clientsCreateManyUsersInputEnvelope + connect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] +} + +export type oauth_clientsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_clientsCreateWithoutUsersInput[] | Prisma.oauth_clientsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutUsersInput | Prisma.oauth_clientsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_clientsUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_clientsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_clientsCreateManyUsersInputEnvelope + set?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + disconnect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + delete?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + connect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + update?: Prisma.oauth_clientsUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_clientsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_clientsUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_clientsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_clientsScalarWhereInput | Prisma.oauth_clientsScalarWhereInput[] +} + +export type oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_clientsCreateWithoutUsersInput[] | Prisma.oauth_clientsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_clientsCreateOrConnectWithoutUsersInput | Prisma.oauth_clientsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_clientsUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_clientsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_clientsCreateManyUsersInputEnvelope + set?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + disconnect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + delete?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + connect?: Prisma.oauth_clientsWhereUniqueInput | Prisma.oauth_clientsWhereUniqueInput[] + update?: Prisma.oauth_clientsUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_clientsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_clientsUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_clientsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_clientsScalarWhereInput | Prisma.oauth_clientsScalarWhereInput[] +} + +export type oauth_clientsCreateWithoutOauth_consentsInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + users?: Prisma.usersCreateNestedOneWithoutOauth_clientsInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsUncheckedCreateWithoutOauth_consentsInput = { + id: string + user_id?: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsCreateOrConnectWithoutOauth_consentsInput = { + where: Prisma.oauth_clientsWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_clientsUpsertWithoutOauth_consentsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.oauth_clientsWhereInput +} + +export type oauth_clientsUpdateToOneWithWhereWithoutOauth_consentsInput = { + where?: Prisma.oauth_clientsWhereInput + data: Prisma.XOR +} + +export type oauth_clientsUpdateWithoutOauth_consentsInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneWithoutOauth_clientsNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsUncheckedUpdateWithoutOauth_consentsInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsCreateWithoutOauth_tokensInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + users?: Prisma.usersCreateNestedOneWithoutOauth_clientsInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsUncheckedCreateWithoutOauth_tokensInput = { + id: string + user_id?: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsCreateOrConnectWithoutOauth_tokensInput = { + where: Prisma.oauth_clientsWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_clientsUpsertWithoutOauth_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.oauth_clientsWhereInput +} + +export type oauth_clientsUpdateToOneWithWhereWithoutOauth_tokensInput = { + where?: Prisma.oauth_clientsWhereInput + data: Prisma.XOR +} + +export type oauth_clientsUpdateWithoutOauth_tokensInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneWithoutOauth_clientsNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsUncheckedUpdateWithoutOauth_tokensInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsCreateWithoutUsersInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutOauth_clientsInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsUncheckedCreateWithoutUsersInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutOauth_clientsInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_clientsInput +} + +export type oauth_clientsCreateOrConnectWithoutUsersInput = { + where: Prisma.oauth_clientsWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_clientsCreateManyUsersInputEnvelope = { + data: Prisma.oauth_clientsCreateManyUsersInput | Prisma.oauth_clientsCreateManyUsersInput[] +} + +export type oauth_clientsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_clientsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_clientsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_clientsWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_clientsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.oauth_clientsScalarWhereInput + data: Prisma.XOR +} + +export type oauth_clientsScalarWhereInput = { + AND?: Prisma.oauth_clientsScalarWhereInput | Prisma.oauth_clientsScalarWhereInput[] + OR?: Prisma.oauth_clientsScalarWhereInput[] + NOT?: Prisma.oauth_clientsScalarWhereInput | Prisma.oauth_clientsScalarWhereInput[] + id?: Prisma.StringFilter<"oauth_clients"> | string + user_id?: Prisma.IntNullableFilter<"oauth_clients"> | number | null + name?: Prisma.StringFilter<"oauth_clients"> | string + client_id?: Prisma.StringFilter<"oauth_clients"> | string + client_secret_hash?: Prisma.StringFilter<"oauth_clients"> | string + redirect_uris?: Prisma.StringFilter<"oauth_clients"> | string + allowed_scopes?: Prisma.StringFilter<"oauth_clients"> | string + created_at?: Prisma.DateTimeNullableFilter<"oauth_clients"> | Date | string | null + is_public?: Prisma.IntFilter<"oauth_clients"> | number + created_via?: Prisma.StringFilter<"oauth_clients"> | string +} + +export type oauth_clientsCreateManyUsersInput = { + id: string + name: string + client_id: string + client_secret_hash: string + redirect_uris?: string + allowed_scopes?: string + created_at?: Date | string | null + is_public?: number + created_via?: string +} + +export type oauth_clientsUpdateWithoutUsersInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutOauth_clientsNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutOauth_clientsNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_clientsNestedInput +} + +export type oauth_clientsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + client_id?: Prisma.StringFieldUpdateOperationsInput | string + client_secret_hash?: Prisma.StringFieldUpdateOperationsInput | string + redirect_uris?: Prisma.StringFieldUpdateOperationsInput | string + allowed_scopes?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + is_public?: Prisma.IntFieldUpdateOperationsInput | number + created_via?: Prisma.StringFieldUpdateOperationsInput | string +} + + +/** + * Count Type Oauth_clientsCountOutputType + */ + +export type Oauth_clientsCountOutputType = { + oauth_consents: number + oauth_tokens: number +} + +export type Oauth_clientsCountOutputTypeSelect = { + oauth_consents?: boolean | Oauth_clientsCountOutputTypeCountOauth_consentsArgs + oauth_tokens?: boolean | Oauth_clientsCountOutputTypeCountOauth_tokensArgs +} + +/** + * Oauth_clientsCountOutputType without action + */ +export type Oauth_clientsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Oauth_clientsCountOutputType + */ + select?: Prisma.Oauth_clientsCountOutputTypeSelect | null +} + +/** + * Oauth_clientsCountOutputType without action + */ +export type Oauth_clientsCountOutputTypeCountOauth_consentsArgs = { + where?: Prisma.oauth_consentsWhereInput +} + +/** + * Oauth_clientsCountOutputType without action + */ +export type Oauth_clientsCountOutputTypeCountOauth_tokensArgs = { + where?: Prisma.oauth_tokensWhereInput +} + + +export type oauth_clientsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + client_id?: boolean + client_secret_hash?: boolean + redirect_uris?: boolean + allowed_scopes?: boolean + created_at?: boolean + is_public?: boolean + created_via?: boolean + users?: boolean | Prisma.oauth_clients$usersArgs + oauth_consents?: boolean | Prisma.oauth_clients$oauth_consentsArgs + oauth_tokens?: boolean | Prisma.oauth_clients$oauth_tokensArgs + _count?: boolean | Prisma.Oauth_clientsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["oauth_clients"]> + +export type oauth_clientsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + client_id?: boolean + client_secret_hash?: boolean + redirect_uris?: boolean + allowed_scopes?: boolean + created_at?: boolean + is_public?: boolean + created_via?: boolean + users?: boolean | Prisma.oauth_clients$usersArgs +}, ExtArgs["result"]["oauth_clients"]> + +export type oauth_clientsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + client_id?: boolean + client_secret_hash?: boolean + redirect_uris?: boolean + allowed_scopes?: boolean + created_at?: boolean + is_public?: boolean + created_via?: boolean + users?: boolean | Prisma.oauth_clients$usersArgs +}, ExtArgs["result"]["oauth_clients"]> + +export type oauth_clientsSelectScalar = { + id?: boolean + user_id?: boolean + name?: boolean + client_id?: boolean + client_secret_hash?: boolean + redirect_uris?: boolean + allowed_scopes?: boolean + created_at?: boolean + is_public?: boolean + created_via?: boolean +} + +export type oauth_clientsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "name" | "client_id" | "client_secret_hash" | "redirect_uris" | "allowed_scopes" | "created_at" | "is_public" | "created_via", ExtArgs["result"]["oauth_clients"]> +export type oauth_clientsInclude = { + users?: boolean | Prisma.oauth_clients$usersArgs + oauth_consents?: boolean | Prisma.oauth_clients$oauth_consentsArgs + oauth_tokens?: boolean | Prisma.oauth_clients$oauth_tokensArgs + _count?: boolean | Prisma.Oauth_clientsCountOutputTypeDefaultArgs +} +export type oauth_clientsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.oauth_clients$usersArgs +} +export type oauth_clientsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.oauth_clients$usersArgs +} + +export type $oauth_clientsPayload = { + name: "oauth_clients" + objects: { + users: Prisma.$usersPayload | null + oauth_consents: Prisma.$oauth_consentsPayload[] + oauth_tokens: Prisma.$oauth_tokensPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + user_id: number | null + name: string + client_id: string + client_secret_hash: string + redirect_uris: string + allowed_scopes: string + created_at: Date | null + is_public: number + created_via: string + }, ExtArgs["result"]["oauth_clients"]> + composites: {} +} + +export type oauth_clientsGetPayload = runtime.Types.Result.GetResult + +export type oauth_clientsCountArgs = + Omit & { + select?: Oauth_clientsCountAggregateInputType | true + } + +export interface oauth_clientsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['oauth_clients'], meta: { name: 'oauth_clients' } } + /** + * Find zero or one Oauth_clients that matches the filter. + * @param {oauth_clientsFindUniqueArgs} args - Arguments to find a Oauth_clients + * @example + * // Get one Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Oauth_clients that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {oauth_clientsFindUniqueOrThrowArgs} args - Arguments to find a Oauth_clients + * @example + * // Get one Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_clients that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsFindFirstArgs} args - Arguments to find a Oauth_clients + * @example + * // Get one Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_clients that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsFindFirstOrThrowArgs} args - Arguments to find a Oauth_clients + * @example + * // Get one Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Oauth_clients that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findMany() + * + * // Get first 10 Oauth_clients + * const oauth_clients = await prisma.oauth_clients.findMany({ take: 10 }) + * + * // Only select the `id` + * const oauth_clientsWithIdOnly = await prisma.oauth_clients.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Oauth_clients. + * @param {oauth_clientsCreateArgs} args - Arguments to create a Oauth_clients. + * @example + * // Create one Oauth_clients + * const Oauth_clients = await prisma.oauth_clients.create({ + * data: { + * // ... data to create a Oauth_clients + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Oauth_clients. + * @param {oauth_clientsCreateManyArgs} args - Arguments to create many Oauth_clients. + * @example + * // Create many Oauth_clients + * const oauth_clients = await prisma.oauth_clients.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Oauth_clients and returns the data saved in the database. + * @param {oauth_clientsCreateManyAndReturnArgs} args - Arguments to create many Oauth_clients. + * @example + * // Create many Oauth_clients + * const oauth_clients = await prisma.oauth_clients.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Oauth_clients and only return the `id` + * const oauth_clientsWithIdOnly = await prisma.oauth_clients.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Oauth_clients. + * @param {oauth_clientsDeleteArgs} args - Arguments to delete one Oauth_clients. + * @example + * // Delete one Oauth_clients + * const Oauth_clients = await prisma.oauth_clients.delete({ + * where: { + * // ... filter to delete one Oauth_clients + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Oauth_clients. + * @param {oauth_clientsUpdateArgs} args - Arguments to update one Oauth_clients. + * @example + * // Update one Oauth_clients + * const oauth_clients = await prisma.oauth_clients.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Oauth_clients. + * @param {oauth_clientsDeleteManyArgs} args - Arguments to filter Oauth_clients to delete. + * @example + * // Delete a few Oauth_clients + * const { count } = await prisma.oauth_clients.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_clients. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Oauth_clients + * const oauth_clients = await prisma.oauth_clients.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_clients and returns the data updated in the database. + * @param {oauth_clientsUpdateManyAndReturnArgs} args - Arguments to update many Oauth_clients. + * @example + * // Update many Oauth_clients + * const oauth_clients = await prisma.oauth_clients.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Oauth_clients and only return the `id` + * const oauth_clientsWithIdOnly = await prisma.oauth_clients.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Oauth_clients. + * @param {oauth_clientsUpsertArgs} args - Arguments to update or create a Oauth_clients. + * @example + * // Update or create a Oauth_clients + * const oauth_clients = await prisma.oauth_clients.upsert({ + * create: { + * // ... data to create a Oauth_clients + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Oauth_clients we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_clientsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Oauth_clients. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsCountArgs} args - Arguments to filter Oauth_clients to count. + * @example + * // Count the number of Oauth_clients + * const count = await prisma.oauth_clients.count({ + * where: { + * // ... the filter for the Oauth_clients we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Oauth_clients. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Oauth_clientsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Oauth_clients. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_clientsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends oauth_clientsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: oauth_clientsGroupByArgs['orderBy'] } + : { orderBy?: oauth_clientsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetOauth_clientsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the oauth_clients model + */ +readonly fields: oauth_clientsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for oauth_clients. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__oauth_clientsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + oauth_consents = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + oauth_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the oauth_clients model + */ +export interface oauth_clientsFieldRefs { + readonly id: Prisma.FieldRef<"oauth_clients", 'String'> + readonly user_id: Prisma.FieldRef<"oauth_clients", 'Int'> + readonly name: Prisma.FieldRef<"oauth_clients", 'String'> + readonly client_id: Prisma.FieldRef<"oauth_clients", 'String'> + readonly client_secret_hash: Prisma.FieldRef<"oauth_clients", 'String'> + readonly redirect_uris: Prisma.FieldRef<"oauth_clients", 'String'> + readonly allowed_scopes: Prisma.FieldRef<"oauth_clients", 'String'> + readonly created_at: Prisma.FieldRef<"oauth_clients", 'DateTime'> + readonly is_public: Prisma.FieldRef<"oauth_clients", 'Int'> + readonly created_via: Prisma.FieldRef<"oauth_clients", 'String'> +} + + +// Custom InputTypes +/** + * oauth_clients findUnique + */ +export type oauth_clientsFindUniqueArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter, which oauth_clients to fetch. + */ + where: Prisma.oauth_clientsWhereUniqueInput +} + +/** + * oauth_clients findUniqueOrThrow + */ +export type oauth_clientsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter, which oauth_clients to fetch. + */ + where: Prisma.oauth_clientsWhereUniqueInput +} + +/** + * oauth_clients findFirst + */ +export type oauth_clientsFindFirstArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter, which oauth_clients to fetch. + */ + where?: Prisma.oauth_clientsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_clients to fetch. + */ + orderBy?: Prisma.oauth_clientsOrderByWithRelationInput | Prisma.oauth_clientsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_clients. + */ + cursor?: Prisma.oauth_clientsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_clients from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_clients. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_clients. + */ + distinct?: Prisma.Oauth_clientsScalarFieldEnum | Prisma.Oauth_clientsScalarFieldEnum[] +} + +/** + * oauth_clients findFirstOrThrow + */ +export type oauth_clientsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter, which oauth_clients to fetch. + */ + where?: Prisma.oauth_clientsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_clients to fetch. + */ + orderBy?: Prisma.oauth_clientsOrderByWithRelationInput | Prisma.oauth_clientsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_clients. + */ + cursor?: Prisma.oauth_clientsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_clients from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_clients. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_clients. + */ + distinct?: Prisma.Oauth_clientsScalarFieldEnum | Prisma.Oauth_clientsScalarFieldEnum[] +} + +/** + * oauth_clients findMany + */ +export type oauth_clientsFindManyArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter, which oauth_clients to fetch. + */ + where?: Prisma.oauth_clientsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_clients to fetch. + */ + orderBy?: Prisma.oauth_clientsOrderByWithRelationInput | Prisma.oauth_clientsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing oauth_clients. + */ + cursor?: Prisma.oauth_clientsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_clients from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_clients. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_clients. + */ + distinct?: Prisma.Oauth_clientsScalarFieldEnum | Prisma.Oauth_clientsScalarFieldEnum[] +} + +/** + * oauth_clients create + */ +export type oauth_clientsCreateArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * The data needed to create a oauth_clients. + */ + data: Prisma.XOR +} + +/** + * oauth_clients createMany + */ +export type oauth_clientsCreateManyArgs = { + /** + * The data used to create many oauth_clients. + */ + data: Prisma.oauth_clientsCreateManyInput | Prisma.oauth_clientsCreateManyInput[] +} + +/** + * oauth_clients createManyAndReturn + */ +export type oauth_clientsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * The data used to create many oauth_clients. + */ + data: Prisma.oauth_clientsCreateManyInput | Prisma.oauth_clientsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsIncludeCreateManyAndReturn | null +} + +/** + * oauth_clients update + */ +export type oauth_clientsUpdateArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * The data needed to update a oauth_clients. + */ + data: Prisma.XOR + /** + * Choose, which oauth_clients to update. + */ + where: Prisma.oauth_clientsWhereUniqueInput +} + +/** + * oauth_clients updateMany + */ +export type oauth_clientsUpdateManyArgs = { + /** + * The data used to update oauth_clients. + */ + data: Prisma.XOR + /** + * Filter which oauth_clients to update + */ + where?: Prisma.oauth_clientsWhereInput + /** + * Limit how many oauth_clients to update. + */ + limit?: number +} + +/** + * oauth_clients updateManyAndReturn + */ +export type oauth_clientsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * The data used to update oauth_clients. + */ + data: Prisma.XOR + /** + * Filter which oauth_clients to update + */ + where?: Prisma.oauth_clientsWhereInput + /** + * Limit how many oauth_clients to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsIncludeUpdateManyAndReturn | null +} + +/** + * oauth_clients upsert + */ +export type oauth_clientsUpsertArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * The filter to search for the oauth_clients to update in case it exists. + */ + where: Prisma.oauth_clientsWhereUniqueInput + /** + * In case the oauth_clients found by the `where` argument doesn't exist, create a new oauth_clients with this data. + */ + create: Prisma.XOR + /** + * In case the oauth_clients was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * oauth_clients delete + */ +export type oauth_clientsDeleteArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + /** + * Filter which oauth_clients to delete. + */ + where: Prisma.oauth_clientsWhereUniqueInput +} + +/** + * oauth_clients deleteMany + */ +export type oauth_clientsDeleteManyArgs = { + /** + * Filter which oauth_clients to delete + */ + where?: Prisma.oauth_clientsWhereInput + /** + * Limit how many oauth_clients to delete. + */ + limit?: number +} + +/** + * oauth_clients.users + */ +export type oauth_clients$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * oauth_clients.oauth_consents + */ +export type oauth_clients$oauth_consentsArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + where?: Prisma.oauth_consentsWhereInput + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + cursor?: Prisma.oauth_consentsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_consentsScalarFieldEnum | Prisma.Oauth_consentsScalarFieldEnum[] +} + +/** + * oauth_clients.oauth_tokens + */ +export type oauth_clients$oauth_tokensArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + where?: Prisma.oauth_tokensWhereInput + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + cursor?: Prisma.oauth_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * oauth_clients without action + */ +export type oauth_clientsDefaultArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null +} diff --git a/server/src/generated/prisma/models/oauth_consents.ts b/server/src/generated/prisma/models/oauth_consents.ts new file mode 100644 index 00000000..3a95bb3f --- /dev/null +++ b/server/src/generated/prisma/models/oauth_consents.ts @@ -0,0 +1,1510 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `oauth_consents` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model oauth_consents + * + */ +export type oauth_consentsModel = runtime.Types.Result.DefaultSelection + +export type AggregateOauth_consents = { + _count: Oauth_consentsCountAggregateOutputType | null + _avg: Oauth_consentsAvgAggregateOutputType | null + _sum: Oauth_consentsSumAggregateOutputType | null + _min: Oauth_consentsMinAggregateOutputType | null + _max: Oauth_consentsMaxAggregateOutputType | null +} + +export type Oauth_consentsAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Oauth_consentsSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Oauth_consentsMinAggregateOutputType = { + id: number | null + client_id: string | null + user_id: number | null + scopes: string | null + updated_at: Date | null +} + +export type Oauth_consentsMaxAggregateOutputType = { + id: number | null + client_id: string | null + user_id: number | null + scopes: string | null + updated_at: Date | null +} + +export type Oauth_consentsCountAggregateOutputType = { + id: number + client_id: number + user_id: number + scopes: number + updated_at: number + _all: number +} + + +export type Oauth_consentsAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Oauth_consentsSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Oauth_consentsMinAggregateInputType = { + id?: true + client_id?: true + user_id?: true + scopes?: true + updated_at?: true +} + +export type Oauth_consentsMaxAggregateInputType = { + id?: true + client_id?: true + user_id?: true + scopes?: true + updated_at?: true +} + +export type Oauth_consentsCountAggregateInputType = { + id?: true + client_id?: true + user_id?: true + scopes?: true + updated_at?: true + _all?: true +} + +export type Oauth_consentsAggregateArgs = { + /** + * Filter which oauth_consents to aggregate. + */ + where?: Prisma.oauth_consentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_consents to fetch. + */ + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.oauth_consentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_consents from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_consents. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned oauth_consents + **/ + _count?: true | Oauth_consentsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Oauth_consentsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Oauth_consentsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Oauth_consentsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Oauth_consentsMaxAggregateInputType +} + +export type GetOauth_consentsAggregateType = { + [P in keyof T & keyof AggregateOauth_consents]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type oauth_consentsGroupByArgs = { + where?: Prisma.oauth_consentsWhereInput + orderBy?: Prisma.oauth_consentsOrderByWithAggregationInput | Prisma.oauth_consentsOrderByWithAggregationInput[] + by: Prisma.Oauth_consentsScalarFieldEnum[] | Prisma.Oauth_consentsScalarFieldEnum + having?: Prisma.oauth_consentsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Oauth_consentsCountAggregateInputType | true + _avg?: Oauth_consentsAvgAggregateInputType + _sum?: Oauth_consentsSumAggregateInputType + _min?: Oauth_consentsMinAggregateInputType + _max?: Oauth_consentsMaxAggregateInputType +} + +export type Oauth_consentsGroupByOutputType = { + id: number + client_id: string + user_id: number + scopes: string + updated_at: Date | null + _count: Oauth_consentsCountAggregateOutputType | null + _avg: Oauth_consentsAvgAggregateOutputType | null + _sum: Oauth_consentsSumAggregateOutputType | null + _min: Oauth_consentsMinAggregateOutputType | null + _max: Oauth_consentsMaxAggregateOutputType | null +} + +export type GetOauth_consentsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Oauth_consentsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type oauth_consentsWhereInput = { + AND?: Prisma.oauth_consentsWhereInput | Prisma.oauth_consentsWhereInput[] + OR?: Prisma.oauth_consentsWhereInput[] + NOT?: Prisma.oauth_consentsWhereInput | Prisma.oauth_consentsWhereInput[] + id?: Prisma.IntFilter<"oauth_consents"> | number + client_id?: Prisma.StringFilter<"oauth_consents"> | string + user_id?: Prisma.IntFilter<"oauth_consents"> | number + scopes?: Prisma.StringFilter<"oauth_consents"> | string + updated_at?: Prisma.DateTimeNullableFilter<"oauth_consents"> | Date | string | null + users?: Prisma.XOR + oauth_clients?: Prisma.XOR +} + +export type oauth_consentsOrderByWithRelationInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + scopes?: Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + oauth_clients?: Prisma.oauth_clientsOrderByWithRelationInput +} + +export type oauth_consentsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + client_id_user_id?: Prisma.oauth_consentsClient_idUser_idCompoundUniqueInput + AND?: Prisma.oauth_consentsWhereInput | Prisma.oauth_consentsWhereInput[] + OR?: Prisma.oauth_consentsWhereInput[] + NOT?: Prisma.oauth_consentsWhereInput | Prisma.oauth_consentsWhereInput[] + client_id?: Prisma.StringFilter<"oauth_consents"> | string + user_id?: Prisma.IntFilter<"oauth_consents"> | number + scopes?: Prisma.StringFilter<"oauth_consents"> | string + updated_at?: Prisma.DateTimeNullableFilter<"oauth_consents"> | Date | string | null + users?: Prisma.XOR + oauth_clients?: Prisma.XOR +}, "id" | "client_id_user_id"> + +export type oauth_consentsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + scopes?: Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.oauth_consentsCountOrderByAggregateInput + _avg?: Prisma.oauth_consentsAvgOrderByAggregateInput + _max?: Prisma.oauth_consentsMaxOrderByAggregateInput + _min?: Prisma.oauth_consentsMinOrderByAggregateInput + _sum?: Prisma.oauth_consentsSumOrderByAggregateInput +} + +export type oauth_consentsScalarWhereWithAggregatesInput = { + AND?: Prisma.oauth_consentsScalarWhereWithAggregatesInput | Prisma.oauth_consentsScalarWhereWithAggregatesInput[] + OR?: Prisma.oauth_consentsScalarWhereWithAggregatesInput[] + NOT?: Prisma.oauth_consentsScalarWhereWithAggregatesInput | Prisma.oauth_consentsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"oauth_consents"> | number + client_id?: Prisma.StringWithAggregatesFilter<"oauth_consents"> | string + user_id?: Prisma.IntWithAggregatesFilter<"oauth_consents"> | number + scopes?: Prisma.StringWithAggregatesFilter<"oauth_consents"> | string + updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"oauth_consents"> | Date | string | null +} + +export type oauth_consentsCreateInput = { + scopes?: string + updated_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutOauth_consentsInput + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_consentsInput +} + +export type oauth_consentsUncheckedCreateInput = { + id?: number + client_id: string + user_id: number + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsUpdateInput = { + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutOauth_consentsNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_consentsNestedInput +} + +export type oauth_consentsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type oauth_consentsCreateManyInput = { + id?: number + client_id: string + user_id: number + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsUpdateManyMutationInput = { + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type oauth_consentsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Oauth_consentsListRelationFilter = { + every?: Prisma.oauth_consentsWhereInput + some?: Prisma.oauth_consentsWhereInput + none?: Prisma.oauth_consentsWhereInput +} + +export type oauth_consentsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type oauth_consentsClient_idUser_idCompoundUniqueInput = { + client_id: string + user_id: number +} + +export type oauth_consentsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + scopes?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type oauth_consentsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type oauth_consentsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + scopes?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type oauth_consentsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + scopes?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type oauth_consentsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type oauth_consentsCreateNestedManyWithoutOauth_clientsInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutOauth_clientsInput[] | Prisma.oauth_consentsUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_consentsCreateManyOauth_clientsInputEnvelope + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] +} + +export type oauth_consentsUncheckedCreateNestedManyWithoutOauth_clientsInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutOauth_clientsInput[] | Prisma.oauth_consentsUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_consentsCreateManyOauth_clientsInputEnvelope + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] +} + +export type oauth_consentsUpdateManyWithoutOauth_clientsNestedInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutOauth_clientsInput[] | Prisma.oauth_consentsUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput[] + upsert?: Prisma.oauth_consentsUpsertWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_consentsUpsertWithWhereUniqueWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_consentsCreateManyOauth_clientsInputEnvelope + set?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + disconnect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + delete?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + update?: Prisma.oauth_consentsUpdateWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_consentsUpdateWithWhereUniqueWithoutOauth_clientsInput[] + updateMany?: Prisma.oauth_consentsUpdateManyWithWhereWithoutOauth_clientsInput | Prisma.oauth_consentsUpdateManyWithWhereWithoutOauth_clientsInput[] + deleteMany?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] +} + +export type oauth_consentsUncheckedUpdateManyWithoutOauth_clientsNestedInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutOauth_clientsInput[] | Prisma.oauth_consentsUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_consentsCreateOrConnectWithoutOauth_clientsInput[] + upsert?: Prisma.oauth_consentsUpsertWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_consentsUpsertWithWhereUniqueWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_consentsCreateManyOauth_clientsInputEnvelope + set?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + disconnect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + delete?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + update?: Prisma.oauth_consentsUpdateWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_consentsUpdateWithWhereUniqueWithoutOauth_clientsInput[] + updateMany?: Prisma.oauth_consentsUpdateManyWithWhereWithoutOauth_clientsInput | Prisma.oauth_consentsUpdateManyWithWhereWithoutOauth_clientsInput[] + deleteMany?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] +} + +export type oauth_consentsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutUsersInput[] | Prisma.oauth_consentsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutUsersInput | Prisma.oauth_consentsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_consentsCreateManyUsersInputEnvelope + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] +} + +export type oauth_consentsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutUsersInput[] | Prisma.oauth_consentsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutUsersInput | Prisma.oauth_consentsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_consentsCreateManyUsersInputEnvelope + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] +} + +export type oauth_consentsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutUsersInput[] | Prisma.oauth_consentsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutUsersInput | Prisma.oauth_consentsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_consentsUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_consentsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_consentsCreateManyUsersInputEnvelope + set?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + disconnect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + delete?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + update?: Prisma.oauth_consentsUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_consentsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_consentsUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_consentsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] +} + +export type oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_consentsCreateWithoutUsersInput[] | Prisma.oauth_consentsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_consentsCreateOrConnectWithoutUsersInput | Prisma.oauth_consentsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_consentsUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_consentsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_consentsCreateManyUsersInputEnvelope + set?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + disconnect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + delete?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + connect?: Prisma.oauth_consentsWhereUniqueInput | Prisma.oauth_consentsWhereUniqueInput[] + update?: Prisma.oauth_consentsUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_consentsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_consentsUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_consentsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] +} + +export type oauth_consentsCreateWithoutOauth_clientsInput = { + scopes?: string + updated_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutOauth_consentsInput +} + +export type oauth_consentsUncheckedCreateWithoutOauth_clientsInput = { + id?: number + user_id: number + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsCreateOrConnectWithoutOauth_clientsInput = { + where: Prisma.oauth_consentsWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_consentsCreateManyOauth_clientsInputEnvelope = { + data: Prisma.oauth_consentsCreateManyOauth_clientsInput | Prisma.oauth_consentsCreateManyOauth_clientsInput[] +} + +export type oauth_consentsUpsertWithWhereUniqueWithoutOauth_clientsInput = { + where: Prisma.oauth_consentsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_consentsUpdateWithWhereUniqueWithoutOauth_clientsInput = { + where: Prisma.oauth_consentsWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_consentsUpdateManyWithWhereWithoutOauth_clientsInput = { + where: Prisma.oauth_consentsScalarWhereInput + data: Prisma.XOR +} + +export type oauth_consentsScalarWhereInput = { + AND?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] + OR?: Prisma.oauth_consentsScalarWhereInput[] + NOT?: Prisma.oauth_consentsScalarWhereInput | Prisma.oauth_consentsScalarWhereInput[] + id?: Prisma.IntFilter<"oauth_consents"> | number + client_id?: Prisma.StringFilter<"oauth_consents"> | string + user_id?: Prisma.IntFilter<"oauth_consents"> | number + scopes?: Prisma.StringFilter<"oauth_consents"> | string + updated_at?: Prisma.DateTimeNullableFilter<"oauth_consents"> | Date | string | null +} + +export type oauth_consentsCreateWithoutUsersInput = { + scopes?: string + updated_at?: Date | string | null + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_consentsInput +} + +export type oauth_consentsUncheckedCreateWithoutUsersInput = { + id?: number + client_id: string + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsCreateOrConnectWithoutUsersInput = { + where: Prisma.oauth_consentsWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_consentsCreateManyUsersInputEnvelope = { + data: Prisma.oauth_consentsCreateManyUsersInput | Prisma.oauth_consentsCreateManyUsersInput[] +} + +export type oauth_consentsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_consentsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_consentsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_consentsWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_consentsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.oauth_consentsScalarWhereInput + data: Prisma.XOR +} + +export type oauth_consentsCreateManyOauth_clientsInput = { + id?: number + user_id: number + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsUpdateWithoutOauth_clientsInput = { + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutOauth_consentsNestedInput +} + +export type oauth_consentsUncheckedUpdateWithoutOauth_clientsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type oauth_consentsUncheckedUpdateManyWithoutOauth_clientsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type oauth_consentsCreateManyUsersInput = { + id?: number + client_id: string + scopes?: string + updated_at?: Date | string | null +} + +export type oauth_consentsUpdateWithoutUsersInput = { + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_consentsNestedInput +} + +export type oauth_consentsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type oauth_consentsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type oauth_consentsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + scopes?: boolean + updated_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +}, ExtArgs["result"]["oauth_consents"]> + +export type oauth_consentsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + scopes?: boolean + updated_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +}, ExtArgs["result"]["oauth_consents"]> + +export type oauth_consentsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + scopes?: boolean + updated_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +}, ExtArgs["result"]["oauth_consents"]> + +export type oauth_consentsSelectScalar = { + id?: boolean + client_id?: boolean + user_id?: boolean + scopes?: boolean + updated_at?: boolean +} + +export type oauth_consentsOmit = runtime.Types.Extensions.GetOmit<"id" | "client_id" | "user_id" | "scopes" | "updated_at", ExtArgs["result"]["oauth_consents"]> +export type oauth_consentsInclude = { + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +} +export type oauth_consentsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +} +export type oauth_consentsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +} + +export type $oauth_consentsPayload = { + name: "oauth_consents" + objects: { + users: Prisma.$usersPayload + oauth_clients: Prisma.$oauth_clientsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + client_id: string + user_id: number + scopes: string + updated_at: Date | null + }, ExtArgs["result"]["oauth_consents"]> + composites: {} +} + +export type oauth_consentsGetPayload = runtime.Types.Result.GetResult + +export type oauth_consentsCountArgs = + Omit & { + select?: Oauth_consentsCountAggregateInputType | true + } + +export interface oauth_consentsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['oauth_consents'], meta: { name: 'oauth_consents' } } + /** + * Find zero or one Oauth_consents that matches the filter. + * @param {oauth_consentsFindUniqueArgs} args - Arguments to find a Oauth_consents + * @example + * // Get one Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Oauth_consents that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {oauth_consentsFindUniqueOrThrowArgs} args - Arguments to find a Oauth_consents + * @example + * // Get one Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_consents that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsFindFirstArgs} args - Arguments to find a Oauth_consents + * @example + * // Get one Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_consents that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsFindFirstOrThrowArgs} args - Arguments to find a Oauth_consents + * @example + * // Get one Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Oauth_consents that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findMany() + * + * // Get first 10 Oauth_consents + * const oauth_consents = await prisma.oauth_consents.findMany({ take: 10 }) + * + * // Only select the `id` + * const oauth_consentsWithIdOnly = await prisma.oauth_consents.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Oauth_consents. + * @param {oauth_consentsCreateArgs} args - Arguments to create a Oauth_consents. + * @example + * // Create one Oauth_consents + * const Oauth_consents = await prisma.oauth_consents.create({ + * data: { + * // ... data to create a Oauth_consents + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Oauth_consents. + * @param {oauth_consentsCreateManyArgs} args - Arguments to create many Oauth_consents. + * @example + * // Create many Oauth_consents + * const oauth_consents = await prisma.oauth_consents.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Oauth_consents and returns the data saved in the database. + * @param {oauth_consentsCreateManyAndReturnArgs} args - Arguments to create many Oauth_consents. + * @example + * // Create many Oauth_consents + * const oauth_consents = await prisma.oauth_consents.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Oauth_consents and only return the `id` + * const oauth_consentsWithIdOnly = await prisma.oauth_consents.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Oauth_consents. + * @param {oauth_consentsDeleteArgs} args - Arguments to delete one Oauth_consents. + * @example + * // Delete one Oauth_consents + * const Oauth_consents = await prisma.oauth_consents.delete({ + * where: { + * // ... filter to delete one Oauth_consents + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Oauth_consents. + * @param {oauth_consentsUpdateArgs} args - Arguments to update one Oauth_consents. + * @example + * // Update one Oauth_consents + * const oauth_consents = await prisma.oauth_consents.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Oauth_consents. + * @param {oauth_consentsDeleteManyArgs} args - Arguments to filter Oauth_consents to delete. + * @example + * // Delete a few Oauth_consents + * const { count } = await prisma.oauth_consents.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_consents. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Oauth_consents + * const oauth_consents = await prisma.oauth_consents.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_consents and returns the data updated in the database. + * @param {oauth_consentsUpdateManyAndReturnArgs} args - Arguments to update many Oauth_consents. + * @example + * // Update many Oauth_consents + * const oauth_consents = await prisma.oauth_consents.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Oauth_consents and only return the `id` + * const oauth_consentsWithIdOnly = await prisma.oauth_consents.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Oauth_consents. + * @param {oauth_consentsUpsertArgs} args - Arguments to update or create a Oauth_consents. + * @example + * // Update or create a Oauth_consents + * const oauth_consents = await prisma.oauth_consents.upsert({ + * create: { + * // ... data to create a Oauth_consents + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Oauth_consents we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_consentsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Oauth_consents. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsCountArgs} args - Arguments to filter Oauth_consents to count. + * @example + * // Count the number of Oauth_consents + * const count = await prisma.oauth_consents.count({ + * where: { + * // ... the filter for the Oauth_consents we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Oauth_consents. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Oauth_consentsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Oauth_consents. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_consentsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends oauth_consentsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: oauth_consentsGroupByArgs['orderBy'] } + : { orderBy?: oauth_consentsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetOauth_consentsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the oauth_consents model + */ +readonly fields: oauth_consentsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for oauth_consents. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__oauth_consentsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + oauth_clients = {}>(args?: Prisma.Subset>): Prisma.Prisma__oauth_clientsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the oauth_consents model + */ +export interface oauth_consentsFieldRefs { + readonly id: Prisma.FieldRef<"oauth_consents", 'Int'> + readonly client_id: Prisma.FieldRef<"oauth_consents", 'String'> + readonly user_id: Prisma.FieldRef<"oauth_consents", 'Int'> + readonly scopes: Prisma.FieldRef<"oauth_consents", 'String'> + readonly updated_at: Prisma.FieldRef<"oauth_consents", 'DateTime'> +} + + +// Custom InputTypes +/** + * oauth_consents findUnique + */ +export type oauth_consentsFindUniqueArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter, which oauth_consents to fetch. + */ + where: Prisma.oauth_consentsWhereUniqueInput +} + +/** + * oauth_consents findUniqueOrThrow + */ +export type oauth_consentsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter, which oauth_consents to fetch. + */ + where: Prisma.oauth_consentsWhereUniqueInput +} + +/** + * oauth_consents findFirst + */ +export type oauth_consentsFindFirstArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter, which oauth_consents to fetch. + */ + where?: Prisma.oauth_consentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_consents to fetch. + */ + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_consents. + */ + cursor?: Prisma.oauth_consentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_consents from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_consents. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_consents. + */ + distinct?: Prisma.Oauth_consentsScalarFieldEnum | Prisma.Oauth_consentsScalarFieldEnum[] +} + +/** + * oauth_consents findFirstOrThrow + */ +export type oauth_consentsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter, which oauth_consents to fetch. + */ + where?: Prisma.oauth_consentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_consents to fetch. + */ + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_consents. + */ + cursor?: Prisma.oauth_consentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_consents from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_consents. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_consents. + */ + distinct?: Prisma.Oauth_consentsScalarFieldEnum | Prisma.Oauth_consentsScalarFieldEnum[] +} + +/** + * oauth_consents findMany + */ +export type oauth_consentsFindManyArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter, which oauth_consents to fetch. + */ + where?: Prisma.oauth_consentsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_consents to fetch. + */ + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing oauth_consents. + */ + cursor?: Prisma.oauth_consentsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_consents from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_consents. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_consents. + */ + distinct?: Prisma.Oauth_consentsScalarFieldEnum | Prisma.Oauth_consentsScalarFieldEnum[] +} + +/** + * oauth_consents create + */ +export type oauth_consentsCreateArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * The data needed to create a oauth_consents. + */ + data: Prisma.XOR +} + +/** + * oauth_consents createMany + */ +export type oauth_consentsCreateManyArgs = { + /** + * The data used to create many oauth_consents. + */ + data: Prisma.oauth_consentsCreateManyInput | Prisma.oauth_consentsCreateManyInput[] +} + +/** + * oauth_consents createManyAndReturn + */ +export type oauth_consentsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * The data used to create many oauth_consents. + */ + data: Prisma.oauth_consentsCreateManyInput | Prisma.oauth_consentsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsIncludeCreateManyAndReturn | null +} + +/** + * oauth_consents update + */ +export type oauth_consentsUpdateArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * The data needed to update a oauth_consents. + */ + data: Prisma.XOR + /** + * Choose, which oauth_consents to update. + */ + where: Prisma.oauth_consentsWhereUniqueInput +} + +/** + * oauth_consents updateMany + */ +export type oauth_consentsUpdateManyArgs = { + /** + * The data used to update oauth_consents. + */ + data: Prisma.XOR + /** + * Filter which oauth_consents to update + */ + where?: Prisma.oauth_consentsWhereInput + /** + * Limit how many oauth_consents to update. + */ + limit?: number +} + +/** + * oauth_consents updateManyAndReturn + */ +export type oauth_consentsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * The data used to update oauth_consents. + */ + data: Prisma.XOR + /** + * Filter which oauth_consents to update + */ + where?: Prisma.oauth_consentsWhereInput + /** + * Limit how many oauth_consents to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsIncludeUpdateManyAndReturn | null +} + +/** + * oauth_consents upsert + */ +export type oauth_consentsUpsertArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * The filter to search for the oauth_consents to update in case it exists. + */ + where: Prisma.oauth_consentsWhereUniqueInput + /** + * In case the oauth_consents found by the `where` argument doesn't exist, create a new oauth_consents with this data. + */ + create: Prisma.XOR + /** + * In case the oauth_consents was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * oauth_consents delete + */ +export type oauth_consentsDeleteArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + /** + * Filter which oauth_consents to delete. + */ + where: Prisma.oauth_consentsWhereUniqueInput +} + +/** + * oauth_consents deleteMany + */ +export type oauth_consentsDeleteManyArgs = { + /** + * Filter which oauth_consents to delete + */ + where?: Prisma.oauth_consentsWhereInput + /** + * Limit how many oauth_consents to delete. + */ + limit?: number +} + +/** + * oauth_consents without action + */ +export type oauth_consentsDefaultArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null +} diff --git a/server/src/generated/prisma/models/oauth_tokens.ts b/server/src/generated/prisma/models/oauth_tokens.ts new file mode 100644 index 00000000..f6f0e773 --- /dev/null +++ b/server/src/generated/prisma/models/oauth_tokens.ts @@ -0,0 +1,2152 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `oauth_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model oauth_tokens + * + */ +export type oauth_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregateOauth_tokens = { + _count: Oauth_tokensCountAggregateOutputType | null + _avg: Oauth_tokensAvgAggregateOutputType | null + _sum: Oauth_tokensSumAggregateOutputType | null + _min: Oauth_tokensMinAggregateOutputType | null + _max: Oauth_tokensMaxAggregateOutputType | null +} + +export type Oauth_tokensAvgAggregateOutputType = { + id: number | null + user_id: number | null + parent_token_id: number | null +} + +export type Oauth_tokensSumAggregateOutputType = { + id: number | null + user_id: number | null + parent_token_id: number | null +} + +export type Oauth_tokensMinAggregateOutputType = { + id: number | null + client_id: string | null + user_id: number | null + access_token_hash: string | null + refresh_token_hash: string | null + scopes: string | null + access_token_expires_at: Date | null + refresh_token_expires_at: Date | null + revoked_at: Date | null + created_at: Date | null + parent_token_id: number | null + audience: string | null +} + +export type Oauth_tokensMaxAggregateOutputType = { + id: number | null + client_id: string | null + user_id: number | null + access_token_hash: string | null + refresh_token_hash: string | null + scopes: string | null + access_token_expires_at: Date | null + refresh_token_expires_at: Date | null + revoked_at: Date | null + created_at: Date | null + parent_token_id: number | null + audience: string | null +} + +export type Oauth_tokensCountAggregateOutputType = { + id: number + client_id: number + user_id: number + access_token_hash: number + refresh_token_hash: number + scopes: number + access_token_expires_at: number + refresh_token_expires_at: number + revoked_at: number + created_at: number + parent_token_id: number + audience: number + _all: number +} + + +export type Oauth_tokensAvgAggregateInputType = { + id?: true + user_id?: true + parent_token_id?: true +} + +export type Oauth_tokensSumAggregateInputType = { + id?: true + user_id?: true + parent_token_id?: true +} + +export type Oauth_tokensMinAggregateInputType = { + id?: true + client_id?: true + user_id?: true + access_token_hash?: true + refresh_token_hash?: true + scopes?: true + access_token_expires_at?: true + refresh_token_expires_at?: true + revoked_at?: true + created_at?: true + parent_token_id?: true + audience?: true +} + +export type Oauth_tokensMaxAggregateInputType = { + id?: true + client_id?: true + user_id?: true + access_token_hash?: true + refresh_token_hash?: true + scopes?: true + access_token_expires_at?: true + refresh_token_expires_at?: true + revoked_at?: true + created_at?: true + parent_token_id?: true + audience?: true +} + +export type Oauth_tokensCountAggregateInputType = { + id?: true + client_id?: true + user_id?: true + access_token_hash?: true + refresh_token_hash?: true + scopes?: true + access_token_expires_at?: true + refresh_token_expires_at?: true + revoked_at?: true + created_at?: true + parent_token_id?: true + audience?: true + _all?: true +} + +export type Oauth_tokensAggregateArgs = { + /** + * Filter which oauth_tokens to aggregate. + */ + where?: Prisma.oauth_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_tokens to fetch. + */ + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.oauth_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned oauth_tokens + **/ + _count?: true | Oauth_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Oauth_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Oauth_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Oauth_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Oauth_tokensMaxAggregateInputType +} + +export type GetOauth_tokensAggregateType = { + [P in keyof T & keyof AggregateOauth_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type oauth_tokensGroupByArgs = { + where?: Prisma.oauth_tokensWhereInput + orderBy?: Prisma.oauth_tokensOrderByWithAggregationInput | Prisma.oauth_tokensOrderByWithAggregationInput[] + by: Prisma.Oauth_tokensScalarFieldEnum[] | Prisma.Oauth_tokensScalarFieldEnum + having?: Prisma.oauth_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Oauth_tokensCountAggregateInputType | true + _avg?: Oauth_tokensAvgAggregateInputType + _sum?: Oauth_tokensSumAggregateInputType + _min?: Oauth_tokensMinAggregateInputType + _max?: Oauth_tokensMaxAggregateInputType +} + +export type Oauth_tokensGroupByOutputType = { + id: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes: string + access_token_expires_at: Date + refresh_token_expires_at: Date + revoked_at: Date | null + created_at: Date | null + parent_token_id: number | null + audience: string | null + _count: Oauth_tokensCountAggregateOutputType | null + _avg: Oauth_tokensAvgAggregateOutputType | null + _sum: Oauth_tokensSumAggregateOutputType | null + _min: Oauth_tokensMinAggregateOutputType | null + _max: Oauth_tokensMaxAggregateOutputType | null +} + +export type GetOauth_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Oauth_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type oauth_tokensWhereInput = { + AND?: Prisma.oauth_tokensWhereInput | Prisma.oauth_tokensWhereInput[] + OR?: Prisma.oauth_tokensWhereInput[] + NOT?: Prisma.oauth_tokensWhereInput | Prisma.oauth_tokensWhereInput[] + id?: Prisma.IntFilter<"oauth_tokens"> | number + client_id?: Prisma.StringFilter<"oauth_tokens"> | string + user_id?: Prisma.IntFilter<"oauth_tokens"> | number + access_token_hash?: Prisma.StringFilter<"oauth_tokens"> | string + refresh_token_hash?: Prisma.StringFilter<"oauth_tokens"> | string + scopes?: Prisma.StringFilter<"oauth_tokens"> | string + access_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + refresh_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + revoked_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + parent_token_id?: Prisma.IntNullableFilter<"oauth_tokens"> | number | null + audience?: Prisma.StringNullableFilter<"oauth_tokens"> | string | null + oauth_tokens?: Prisma.XOR | null + other_oauth_tokens?: Prisma.Oauth_tokensListRelationFilter + users?: Prisma.XOR + oauth_clients?: Prisma.XOR +} + +export type oauth_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + access_token_hash?: Prisma.SortOrder + refresh_token_hash?: Prisma.SortOrder + scopes?: Prisma.SortOrder + access_token_expires_at?: Prisma.SortOrder + refresh_token_expires_at?: Prisma.SortOrder + revoked_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + parent_token_id?: Prisma.SortOrderInput | Prisma.SortOrder + audience?: Prisma.SortOrderInput | Prisma.SortOrder + oauth_tokens?: Prisma.oauth_tokensOrderByWithRelationInput + other_oauth_tokens?: Prisma.oauth_tokensOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + oauth_clients?: Prisma.oauth_clientsOrderByWithRelationInput +} + +export type oauth_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + access_token_hash?: string + refresh_token_hash?: string + AND?: Prisma.oauth_tokensWhereInput | Prisma.oauth_tokensWhereInput[] + OR?: Prisma.oauth_tokensWhereInput[] + NOT?: Prisma.oauth_tokensWhereInput | Prisma.oauth_tokensWhereInput[] + client_id?: Prisma.StringFilter<"oauth_tokens"> | string + user_id?: Prisma.IntFilter<"oauth_tokens"> | number + scopes?: Prisma.StringFilter<"oauth_tokens"> | string + access_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + refresh_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + revoked_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + parent_token_id?: Prisma.IntNullableFilter<"oauth_tokens"> | number | null + audience?: Prisma.StringNullableFilter<"oauth_tokens"> | string | null + oauth_tokens?: Prisma.XOR | null + other_oauth_tokens?: Prisma.Oauth_tokensListRelationFilter + users?: Prisma.XOR + oauth_clients?: Prisma.XOR +}, "id" | "access_token_hash" | "refresh_token_hash"> + +export type oauth_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + access_token_hash?: Prisma.SortOrder + refresh_token_hash?: Prisma.SortOrder + scopes?: Prisma.SortOrder + access_token_expires_at?: Prisma.SortOrder + refresh_token_expires_at?: Prisma.SortOrder + revoked_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + parent_token_id?: Prisma.SortOrderInput | Prisma.SortOrder + audience?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.oauth_tokensCountOrderByAggregateInput + _avg?: Prisma.oauth_tokensAvgOrderByAggregateInput + _max?: Prisma.oauth_tokensMaxOrderByAggregateInput + _min?: Prisma.oauth_tokensMinOrderByAggregateInput + _sum?: Prisma.oauth_tokensSumOrderByAggregateInput +} + +export type oauth_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.oauth_tokensScalarWhereWithAggregatesInput | Prisma.oauth_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.oauth_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.oauth_tokensScalarWhereWithAggregatesInput | Prisma.oauth_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"oauth_tokens"> | number + client_id?: Prisma.StringWithAggregatesFilter<"oauth_tokens"> | string + user_id?: Prisma.IntWithAggregatesFilter<"oauth_tokens"> | number + access_token_hash?: Prisma.StringWithAggregatesFilter<"oauth_tokens"> | string + refresh_token_hash?: Prisma.StringWithAggregatesFilter<"oauth_tokens"> | string + scopes?: Prisma.StringWithAggregatesFilter<"oauth_tokens"> | string + access_token_expires_at?: Prisma.DateTimeWithAggregatesFilter<"oauth_tokens"> | Date | string + refresh_token_expires_at?: Prisma.DateTimeWithAggregatesFilter<"oauth_tokens"> | Date | string + revoked_at?: Prisma.DateTimeNullableWithAggregatesFilter<"oauth_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"oauth_tokens"> | Date | string | null + parent_token_id?: Prisma.IntNullableWithAggregatesFilter<"oauth_tokens"> | number | null + audience?: Prisma.StringNullableWithAggregatesFilter<"oauth_tokens"> | string | null +} + +export type oauth_tokensCreateInput = { + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + oauth_tokens?: Prisma.oauth_tokensCreateNestedOneWithoutOther_oauth_tokensInput + other_oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_tokensInput + users: Prisma.usersCreateNestedOneWithoutOauth_tokensInput + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_tokensInput +} + +export type oauth_tokensUncheckedCreateInput = { + id?: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_tokensInput +} + +export type oauth_tokensUpdateInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oauth_tokens?: Prisma.oauth_tokensUpdateOneWithoutOther_oauth_tokensNestedInput + other_oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_tokensNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutOauth_tokensNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_tokensNestedInput +} + +export type oauth_tokensCreateManyInput = { + id?: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null +} + +export type oauth_tokensUpdateManyMutationInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type oauth_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Oauth_tokensListRelationFilter = { + every?: Prisma.oauth_tokensWhereInput + some?: Prisma.oauth_tokensWhereInput + none?: Prisma.oauth_tokensWhereInput +} + +export type oauth_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type Oauth_tokensNullableScalarRelationFilter = { + is?: Prisma.oauth_tokensWhereInput | null + isNot?: Prisma.oauth_tokensWhereInput | null +} + +export type oauth_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + access_token_hash?: Prisma.SortOrder + refresh_token_hash?: Prisma.SortOrder + scopes?: Prisma.SortOrder + access_token_expires_at?: Prisma.SortOrder + refresh_token_expires_at?: Prisma.SortOrder + revoked_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + parent_token_id?: Prisma.SortOrder + audience?: Prisma.SortOrder +} + +export type oauth_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + parent_token_id?: Prisma.SortOrder +} + +export type oauth_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + access_token_hash?: Prisma.SortOrder + refresh_token_hash?: Prisma.SortOrder + scopes?: Prisma.SortOrder + access_token_expires_at?: Prisma.SortOrder + refresh_token_expires_at?: Prisma.SortOrder + revoked_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + parent_token_id?: Prisma.SortOrder + audience?: Prisma.SortOrder +} + +export type oauth_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + client_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + access_token_hash?: Prisma.SortOrder + refresh_token_hash?: Prisma.SortOrder + scopes?: Prisma.SortOrder + access_token_expires_at?: Prisma.SortOrder + refresh_token_expires_at?: Prisma.SortOrder + revoked_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + parent_token_id?: Prisma.SortOrder + audience?: Prisma.SortOrder +} + +export type oauth_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + parent_token_id?: Prisma.SortOrder +} + +export type oauth_tokensCreateNestedManyWithoutOauth_clientsInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_clientsInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_clientsInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type oauth_tokensUncheckedCreateNestedManyWithoutOauth_clientsInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_clientsInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_clientsInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type oauth_tokensUpdateManyWithoutOauth_clientsNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_clientsInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_clientsInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_clientsInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_clientsInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_clientsInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensUncheckedUpdateManyWithoutOauth_clientsNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_clientsInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_clientsInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_clientsInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_clientsInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_clientsInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_clientsInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_clientsInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_clientsInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_clientsInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensCreateNestedOneWithoutOther_oauth_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOther_oauth_tokensInput + connect?: Prisma.oauth_tokensWhereUniqueInput +} + +export type oauth_tokensCreateNestedManyWithoutOauth_tokensInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_tokensInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_tokensInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_tokensInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type oauth_tokensUncheckedCreateNestedManyWithoutOauth_tokensInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_tokensInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_tokensInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_tokensInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type DateTimeFieldUpdateOperationsInput = { + set?: Date | string +} + +export type oauth_tokensUpdateOneWithoutOther_oauth_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOther_oauth_tokensInput + upsert?: Prisma.oauth_tokensUpsertWithoutOther_oauth_tokensInput + disconnect?: Prisma.oauth_tokensWhereInput | boolean + delete?: Prisma.oauth_tokensWhereInput | boolean + connect?: Prisma.oauth_tokensWhereUniqueInput + update?: Prisma.XOR, Prisma.oauth_tokensUncheckedUpdateWithoutOther_oauth_tokensInput> +} + +export type oauth_tokensUpdateManyWithoutOauth_tokensNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_tokensInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_tokensInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_tokensInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_tokensInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_tokensInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_tokensInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_tokensInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_tokensInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_tokensInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensUncheckedUpdateManyWithoutOauth_tokensNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutOauth_tokensInput[] | Prisma.oauth_tokensUncheckedCreateWithoutOauth_tokensInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput | Prisma.oauth_tokensCreateOrConnectWithoutOauth_tokensInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_tokensInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutOauth_tokensInput[] + createMany?: Prisma.oauth_tokensCreateManyOauth_tokensInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_tokensInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutOauth_tokensInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_tokensInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutOauth_tokensInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutUsersInput[] | Prisma.oauth_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutUsersInput | Prisma.oauth_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_tokensCreateManyUsersInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type oauth_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutUsersInput[] | Prisma.oauth_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutUsersInput | Prisma.oauth_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.oauth_tokensCreateManyUsersInputEnvelope + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] +} + +export type oauth_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutUsersInput[] | Prisma.oauth_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutUsersInput | Prisma.oauth_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_tokensCreateManyUsersInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.oauth_tokensCreateWithoutUsersInput[] | Prisma.oauth_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.oauth_tokensCreateOrConnectWithoutUsersInput | Prisma.oauth_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.oauth_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.oauth_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.oauth_tokensCreateManyUsersInputEnvelope + set?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + disconnect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + delete?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + connect?: Prisma.oauth_tokensWhereUniqueInput | Prisma.oauth_tokensWhereUniqueInput[] + update?: Prisma.oauth_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.oauth_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.oauth_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.oauth_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] +} + +export type oauth_tokensCreateWithoutOauth_clientsInput = { + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + oauth_tokens?: Prisma.oauth_tokensCreateNestedOneWithoutOther_oauth_tokensInput + other_oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_tokensInput + users: Prisma.usersCreateNestedOneWithoutOauth_tokensInput +} + +export type oauth_tokensUncheckedCreateWithoutOauth_clientsInput = { + id?: number + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_tokensInput +} + +export type oauth_tokensCreateOrConnectWithoutOauth_clientsInput = { + where: Prisma.oauth_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_tokensCreateManyOauth_clientsInputEnvelope = { + data: Prisma.oauth_tokensCreateManyOauth_clientsInput | Prisma.oauth_tokensCreateManyOauth_clientsInput[] +} + +export type oauth_tokensUpsertWithWhereUniqueWithoutOauth_clientsInput = { + where: Prisma.oauth_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_tokensUpdateWithWhereUniqueWithoutOauth_clientsInput = { + where: Prisma.oauth_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_tokensUpdateManyWithWhereWithoutOauth_clientsInput = { + where: Prisma.oauth_tokensScalarWhereInput + data: Prisma.XOR +} + +export type oauth_tokensScalarWhereInput = { + AND?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] + OR?: Prisma.oauth_tokensScalarWhereInput[] + NOT?: Prisma.oauth_tokensScalarWhereInput | Prisma.oauth_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"oauth_tokens"> | number + client_id?: Prisma.StringFilter<"oauth_tokens"> | string + user_id?: Prisma.IntFilter<"oauth_tokens"> | number + access_token_hash?: Prisma.StringFilter<"oauth_tokens"> | string + refresh_token_hash?: Prisma.StringFilter<"oauth_tokens"> | string + scopes?: Prisma.StringFilter<"oauth_tokens"> | string + access_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + refresh_token_expires_at?: Prisma.DateTimeFilter<"oauth_tokens"> | Date | string + revoked_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"oauth_tokens"> | Date | string | null + parent_token_id?: Prisma.IntNullableFilter<"oauth_tokens"> | number | null + audience?: Prisma.StringNullableFilter<"oauth_tokens"> | string | null +} + +export type oauth_tokensCreateWithoutOther_oauth_tokensInput = { + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + oauth_tokens?: Prisma.oauth_tokensCreateNestedOneWithoutOther_oauth_tokensInput + users: Prisma.usersCreateNestedOneWithoutOauth_tokensInput + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_tokensInput +} + +export type oauth_tokensUncheckedCreateWithoutOther_oauth_tokensInput = { + id?: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null +} + +export type oauth_tokensCreateOrConnectWithoutOther_oauth_tokensInput = { + where: Prisma.oauth_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_tokensCreateWithoutOauth_tokensInput = { + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + other_oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_tokensInput + users: Prisma.usersCreateNestedOneWithoutOauth_tokensInput + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_tokensInput +} + +export type oauth_tokensUncheckedCreateWithoutOauth_tokensInput = { + id?: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_tokensInput +} + +export type oauth_tokensCreateOrConnectWithoutOauth_tokensInput = { + where: Prisma.oauth_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_tokensCreateManyOauth_tokensInputEnvelope = { + data: Prisma.oauth_tokensCreateManyOauth_tokensInput | Prisma.oauth_tokensCreateManyOauth_tokensInput[] +} + +export type oauth_tokensUpsertWithoutOther_oauth_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.oauth_tokensWhereInput +} + +export type oauth_tokensUpdateToOneWithWhereWithoutOther_oauth_tokensInput = { + where?: Prisma.oauth_tokensWhereInput + data: Prisma.XOR +} + +export type oauth_tokensUpdateWithoutOther_oauth_tokensInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oauth_tokens?: Prisma.oauth_tokensUpdateOneWithoutOther_oauth_tokensNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutOauth_tokensNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateWithoutOther_oauth_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type oauth_tokensUpsertWithWhereUniqueWithoutOauth_tokensInput = { + where: Prisma.oauth_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_tokensUpdateWithWhereUniqueWithoutOauth_tokensInput = { + where: Prisma.oauth_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_tokensUpdateManyWithWhereWithoutOauth_tokensInput = { + where: Prisma.oauth_tokensScalarWhereInput + data: Prisma.XOR +} + +export type oauth_tokensCreateWithoutUsersInput = { + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null + oauth_tokens?: Prisma.oauth_tokensCreateNestedOneWithoutOther_oauth_tokensInput + other_oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutOauth_tokensInput + oauth_clients: Prisma.oauth_clientsCreateNestedOneWithoutOauth_tokensInput +} + +export type oauth_tokensUncheckedCreateWithoutUsersInput = { + id?: number + client_id: string + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutOauth_tokensInput +} + +export type oauth_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.oauth_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type oauth_tokensCreateManyUsersInputEnvelope = { + data: Prisma.oauth_tokensCreateManyUsersInput | Prisma.oauth_tokensCreateManyUsersInput[] +} + +export type oauth_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type oauth_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.oauth_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type oauth_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.oauth_tokensScalarWhereInput + data: Prisma.XOR +} + +export type oauth_tokensCreateManyOauth_clientsInput = { + id?: number + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null +} + +export type oauth_tokensUpdateWithoutOauth_clientsInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oauth_tokens?: Prisma.oauth_tokensUpdateOneWithoutOther_oauth_tokensNestedInput + other_oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_tokensNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateWithoutOauth_clientsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateManyWithoutOauth_clientsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type oauth_tokensCreateManyOauth_tokensInput = { + id?: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + audience?: string | null +} + +export type oauth_tokensUpdateWithoutOauth_tokensInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + other_oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_tokensNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutOauth_tokensNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateWithoutOauth_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateManyWithoutOauth_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type oauth_tokensCreateManyUsersInput = { + id?: number + client_id: string + access_token_hash: string + refresh_token_hash: string + scopes?: string + access_token_expires_at: Date | string + refresh_token_expires_at: Date | string + revoked_at?: Date | string | null + created_at?: Date | string | null + parent_token_id?: number | null + audience?: string | null +} + +export type oauth_tokensUpdateWithoutUsersInput = { + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oauth_tokens?: Prisma.oauth_tokensUpdateOneWithoutOther_oauth_tokensNestedInput + other_oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutOauth_tokensNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateOneRequiredWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + other_oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutOauth_tokensNestedInput +} + +export type oauth_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + client_id?: Prisma.StringFieldUpdateOperationsInput | string + access_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + refresh_token_hash?: Prisma.StringFieldUpdateOperationsInput | string + scopes?: Prisma.StringFieldUpdateOperationsInput | string + access_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + refresh_token_expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + revoked_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + parent_token_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + audience?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Oauth_tokensCountOutputType + */ + +export type Oauth_tokensCountOutputType = { + other_oauth_tokens: number +} + +export type Oauth_tokensCountOutputTypeSelect = { + other_oauth_tokens?: boolean | Oauth_tokensCountOutputTypeCountOther_oauth_tokensArgs +} + +/** + * Oauth_tokensCountOutputType without action + */ +export type Oauth_tokensCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Oauth_tokensCountOutputType + */ + select?: Prisma.Oauth_tokensCountOutputTypeSelect | null +} + +/** + * Oauth_tokensCountOutputType without action + */ +export type Oauth_tokensCountOutputTypeCountOther_oauth_tokensArgs = { + where?: Prisma.oauth_tokensWhereInput +} + + +export type oauth_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + access_token_hash?: boolean + refresh_token_hash?: boolean + scopes?: boolean + access_token_expires_at?: boolean + refresh_token_expires_at?: boolean + revoked_at?: boolean + created_at?: boolean + parent_token_id?: boolean + audience?: boolean + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + other_oauth_tokens?: boolean | Prisma.oauth_tokens$other_oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs + _count?: boolean | Prisma.Oauth_tokensCountOutputTypeDefaultArgs +}, ExtArgs["result"]["oauth_tokens"]> + +export type oauth_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + access_token_hash?: boolean + refresh_token_hash?: boolean + scopes?: boolean + access_token_expires_at?: boolean + refresh_token_expires_at?: boolean + revoked_at?: boolean + created_at?: boolean + parent_token_id?: boolean + audience?: boolean + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +}, ExtArgs["result"]["oauth_tokens"]> + +export type oauth_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + client_id?: boolean + user_id?: boolean + access_token_hash?: boolean + refresh_token_hash?: boolean + scopes?: boolean + access_token_expires_at?: boolean + refresh_token_expires_at?: boolean + revoked_at?: boolean + created_at?: boolean + parent_token_id?: boolean + audience?: boolean + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +}, ExtArgs["result"]["oauth_tokens"]> + +export type oauth_tokensSelectScalar = { + id?: boolean + client_id?: boolean + user_id?: boolean + access_token_hash?: boolean + refresh_token_hash?: boolean + scopes?: boolean + access_token_expires_at?: boolean + refresh_token_expires_at?: boolean + revoked_at?: boolean + created_at?: boolean + parent_token_id?: boolean + audience?: boolean +} + +export type oauth_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "client_id" | "user_id" | "access_token_hash" | "refresh_token_hash" | "scopes" | "access_token_expires_at" | "refresh_token_expires_at" | "revoked_at" | "created_at" | "parent_token_id" | "audience", ExtArgs["result"]["oauth_tokens"]> +export type oauth_tokensInclude = { + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + other_oauth_tokens?: boolean | Prisma.oauth_tokens$other_oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs + _count?: boolean | Prisma.Oauth_tokensCountOutputTypeDefaultArgs +} +export type oauth_tokensIncludeCreateManyAndReturn = { + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +} +export type oauth_tokensIncludeUpdateManyAndReturn = { + oauth_tokens?: boolean | Prisma.oauth_tokens$oauth_tokensArgs + users?: boolean | Prisma.usersDefaultArgs + oauth_clients?: boolean | Prisma.oauth_clientsDefaultArgs +} + +export type $oauth_tokensPayload = { + name: "oauth_tokens" + objects: { + oauth_tokens: Prisma.$oauth_tokensPayload | null + other_oauth_tokens: Prisma.$oauth_tokensPayload[] + users: Prisma.$usersPayload + oauth_clients: Prisma.$oauth_clientsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + client_id: string + user_id: number + access_token_hash: string + refresh_token_hash: string + scopes: string + access_token_expires_at: Date + refresh_token_expires_at: Date + revoked_at: Date | null + created_at: Date | null + parent_token_id: number | null + audience: string | null + }, ExtArgs["result"]["oauth_tokens"]> + composites: {} +} + +export type oauth_tokensGetPayload = runtime.Types.Result.GetResult + +export type oauth_tokensCountArgs = + Omit & { + select?: Oauth_tokensCountAggregateInputType | true + } + +export interface oauth_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['oauth_tokens'], meta: { name: 'oauth_tokens' } } + /** + * Find zero or one Oauth_tokens that matches the filter. + * @param {oauth_tokensFindUniqueArgs} args - Arguments to find a Oauth_tokens + * @example + * // Get one Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Oauth_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {oauth_tokensFindUniqueOrThrowArgs} args - Arguments to find a Oauth_tokens + * @example + * // Get one Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensFindFirstArgs} args - Arguments to find a Oauth_tokens + * @example + * // Get one Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Oauth_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensFindFirstOrThrowArgs} args - Arguments to find a Oauth_tokens + * @example + * // Get one Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Oauth_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findMany() + * + * // Get first 10 Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const oauth_tokensWithIdOnly = await prisma.oauth_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Oauth_tokens. + * @param {oauth_tokensCreateArgs} args - Arguments to create a Oauth_tokens. + * @example + * // Create one Oauth_tokens + * const Oauth_tokens = await prisma.oauth_tokens.create({ + * data: { + * // ... data to create a Oauth_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Oauth_tokens. + * @param {oauth_tokensCreateManyArgs} args - Arguments to create many Oauth_tokens. + * @example + * // Create many Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Oauth_tokens and returns the data saved in the database. + * @param {oauth_tokensCreateManyAndReturnArgs} args - Arguments to create many Oauth_tokens. + * @example + * // Create many Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Oauth_tokens and only return the `id` + * const oauth_tokensWithIdOnly = await prisma.oauth_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Oauth_tokens. + * @param {oauth_tokensDeleteArgs} args - Arguments to delete one Oauth_tokens. + * @example + * // Delete one Oauth_tokens + * const Oauth_tokens = await prisma.oauth_tokens.delete({ + * where: { + * // ... filter to delete one Oauth_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Oauth_tokens. + * @param {oauth_tokensUpdateArgs} args - Arguments to update one Oauth_tokens. + * @example + * // Update one Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Oauth_tokens. + * @param {oauth_tokensDeleteManyArgs} args - Arguments to filter Oauth_tokens to delete. + * @example + * // Delete a few Oauth_tokens + * const { count } = await prisma.oauth_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Oauth_tokens and returns the data updated in the database. + * @param {oauth_tokensUpdateManyAndReturnArgs} args - Arguments to update many Oauth_tokens. + * @example + * // Update many Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Oauth_tokens and only return the `id` + * const oauth_tokensWithIdOnly = await prisma.oauth_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Oauth_tokens. + * @param {oauth_tokensUpsertArgs} args - Arguments to update or create a Oauth_tokens. + * @example + * // Update or create a Oauth_tokens + * const oauth_tokens = await prisma.oauth_tokens.upsert({ + * create: { + * // ... data to create a Oauth_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Oauth_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__oauth_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Oauth_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensCountArgs} args - Arguments to filter Oauth_tokens to count. + * @example + * // Count the number of Oauth_tokens + * const count = await prisma.oauth_tokens.count({ + * where: { + * // ... the filter for the Oauth_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Oauth_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Oauth_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Oauth_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {oauth_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends oauth_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: oauth_tokensGroupByArgs['orderBy'] } + : { orderBy?: oauth_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetOauth_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the oauth_tokens model + */ +readonly fields: oauth_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for oauth_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__oauth_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + oauth_tokens = {}>(args?: Prisma.Subset>): Prisma.Prisma__oauth_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + other_oauth_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + oauth_clients = {}>(args?: Prisma.Subset>): Prisma.Prisma__oauth_clientsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the oauth_tokens model + */ +export interface oauth_tokensFieldRefs { + readonly id: Prisma.FieldRef<"oauth_tokens", 'Int'> + readonly client_id: Prisma.FieldRef<"oauth_tokens", 'String'> + readonly user_id: Prisma.FieldRef<"oauth_tokens", 'Int'> + readonly access_token_hash: Prisma.FieldRef<"oauth_tokens", 'String'> + readonly refresh_token_hash: Prisma.FieldRef<"oauth_tokens", 'String'> + readonly scopes: Prisma.FieldRef<"oauth_tokens", 'String'> + readonly access_token_expires_at: Prisma.FieldRef<"oauth_tokens", 'DateTime'> + readonly refresh_token_expires_at: Prisma.FieldRef<"oauth_tokens", 'DateTime'> + readonly revoked_at: Prisma.FieldRef<"oauth_tokens", 'DateTime'> + readonly created_at: Prisma.FieldRef<"oauth_tokens", 'DateTime'> + readonly parent_token_id: Prisma.FieldRef<"oauth_tokens", 'Int'> + readonly audience: Prisma.FieldRef<"oauth_tokens", 'String'> +} + + +// Custom InputTypes +/** + * oauth_tokens findUnique + */ +export type oauth_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter, which oauth_tokens to fetch. + */ + where: Prisma.oauth_tokensWhereUniqueInput +} + +/** + * oauth_tokens findUniqueOrThrow + */ +export type oauth_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter, which oauth_tokens to fetch. + */ + where: Prisma.oauth_tokensWhereUniqueInput +} + +/** + * oauth_tokens findFirst + */ +export type oauth_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter, which oauth_tokens to fetch. + */ + where?: Prisma.oauth_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_tokens to fetch. + */ + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_tokens. + */ + cursor?: Prisma.oauth_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_tokens. + */ + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * oauth_tokens findFirstOrThrow + */ +export type oauth_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter, which oauth_tokens to fetch. + */ + where?: Prisma.oauth_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_tokens to fetch. + */ + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for oauth_tokens. + */ + cursor?: Prisma.oauth_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_tokens. + */ + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * oauth_tokens findMany + */ +export type oauth_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter, which oauth_tokens to fetch. + */ + where?: Prisma.oauth_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of oauth_tokens to fetch. + */ + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing oauth_tokens. + */ + cursor?: Prisma.oauth_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` oauth_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` oauth_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of oauth_tokens. + */ + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * oauth_tokens create + */ +export type oauth_tokensCreateArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * The data needed to create a oauth_tokens. + */ + data: Prisma.XOR +} + +/** + * oauth_tokens createMany + */ +export type oauth_tokensCreateManyArgs = { + /** + * The data used to create many oauth_tokens. + */ + data: Prisma.oauth_tokensCreateManyInput | Prisma.oauth_tokensCreateManyInput[] +} + +/** + * oauth_tokens createManyAndReturn + */ +export type oauth_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * The data used to create many oauth_tokens. + */ + data: Prisma.oauth_tokensCreateManyInput | Prisma.oauth_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensIncludeCreateManyAndReturn | null +} + +/** + * oauth_tokens update + */ +export type oauth_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * The data needed to update a oauth_tokens. + */ + data: Prisma.XOR + /** + * Choose, which oauth_tokens to update. + */ + where: Prisma.oauth_tokensWhereUniqueInput +} + +/** + * oauth_tokens updateMany + */ +export type oauth_tokensUpdateManyArgs = { + /** + * The data used to update oauth_tokens. + */ + data: Prisma.XOR + /** + * Filter which oauth_tokens to update + */ + where?: Prisma.oauth_tokensWhereInput + /** + * Limit how many oauth_tokens to update. + */ + limit?: number +} + +/** + * oauth_tokens updateManyAndReturn + */ +export type oauth_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * The data used to update oauth_tokens. + */ + data: Prisma.XOR + /** + * Filter which oauth_tokens to update + */ + where?: Prisma.oauth_tokensWhereInput + /** + * Limit how many oauth_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensIncludeUpdateManyAndReturn | null +} + +/** + * oauth_tokens upsert + */ +export type oauth_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * The filter to search for the oauth_tokens to update in case it exists. + */ + where: Prisma.oauth_tokensWhereUniqueInput + /** + * In case the oauth_tokens found by the `where` argument doesn't exist, create a new oauth_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the oauth_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * oauth_tokens delete + */ +export type oauth_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + /** + * Filter which oauth_tokens to delete. + */ + where: Prisma.oauth_tokensWhereUniqueInput +} + +/** + * oauth_tokens deleteMany + */ +export type oauth_tokensDeleteManyArgs = { + /** + * Filter which oauth_tokens to delete + */ + where?: Prisma.oauth_tokensWhereInput + /** + * Limit how many oauth_tokens to delete. + */ + limit?: number +} + +/** + * oauth_tokens.oauth_tokens + */ +export type oauth_tokens$oauth_tokensArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + where?: Prisma.oauth_tokensWhereInput +} + +/** + * oauth_tokens.other_oauth_tokens + */ +export type oauth_tokens$other_oauth_tokensArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + where?: Prisma.oauth_tokensWhereInput + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + cursor?: Prisma.oauth_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * oauth_tokens without action + */ +export type oauth_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/packing_bag_members.ts b/server/src/generated/prisma/models/packing_bag_members.ts new file mode 100644 index 00000000..9bc43982 --- /dev/null +++ b/server/src/generated/prisma/models/packing_bag_members.ts @@ -0,0 +1,1395 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_bag_members` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_bag_members + * + */ +export type packing_bag_membersModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_bag_members = { + _count: Packing_bag_membersCountAggregateOutputType | null + _avg: Packing_bag_membersAvgAggregateOutputType | null + _sum: Packing_bag_membersSumAggregateOutputType | null + _min: Packing_bag_membersMinAggregateOutputType | null + _max: Packing_bag_membersMaxAggregateOutputType | null +} + +export type Packing_bag_membersAvgAggregateOutputType = { + bag_id: number | null + user_id: number | null +} + +export type Packing_bag_membersSumAggregateOutputType = { + bag_id: number | null + user_id: number | null +} + +export type Packing_bag_membersMinAggregateOutputType = { + bag_id: number | null + user_id: number | null +} + +export type Packing_bag_membersMaxAggregateOutputType = { + bag_id: number | null + user_id: number | null +} + +export type Packing_bag_membersCountAggregateOutputType = { + bag_id: number + user_id: number + _all: number +} + + +export type Packing_bag_membersAvgAggregateInputType = { + bag_id?: true + user_id?: true +} + +export type Packing_bag_membersSumAggregateInputType = { + bag_id?: true + user_id?: true +} + +export type Packing_bag_membersMinAggregateInputType = { + bag_id?: true + user_id?: true +} + +export type Packing_bag_membersMaxAggregateInputType = { + bag_id?: true + user_id?: true +} + +export type Packing_bag_membersCountAggregateInputType = { + bag_id?: true + user_id?: true + _all?: true +} + +export type Packing_bag_membersAggregateArgs = { + /** + * Filter which packing_bag_members to aggregate. + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bag_members to fetch. + */ + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_bag_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bag_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bag_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_bag_members + **/ + _count?: true | Packing_bag_membersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_bag_membersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_bag_membersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_bag_membersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_bag_membersMaxAggregateInputType +} + +export type GetPacking_bag_membersAggregateType = { + [P in keyof T & keyof AggregatePacking_bag_members]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_bag_membersGroupByArgs = { + where?: Prisma.packing_bag_membersWhereInput + orderBy?: Prisma.packing_bag_membersOrderByWithAggregationInput | Prisma.packing_bag_membersOrderByWithAggregationInput[] + by: Prisma.Packing_bag_membersScalarFieldEnum[] | Prisma.Packing_bag_membersScalarFieldEnum + having?: Prisma.packing_bag_membersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_bag_membersCountAggregateInputType | true + _avg?: Packing_bag_membersAvgAggregateInputType + _sum?: Packing_bag_membersSumAggregateInputType + _min?: Packing_bag_membersMinAggregateInputType + _max?: Packing_bag_membersMaxAggregateInputType +} + +export type Packing_bag_membersGroupByOutputType = { + bag_id: number + user_id: number + _count: Packing_bag_membersCountAggregateOutputType | null + _avg: Packing_bag_membersAvgAggregateOutputType | null + _sum: Packing_bag_membersSumAggregateOutputType | null + _min: Packing_bag_membersMinAggregateOutputType | null + _max: Packing_bag_membersMaxAggregateOutputType | null +} + +export type GetPacking_bag_membersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_bag_membersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_bag_membersWhereInput = { + AND?: Prisma.packing_bag_membersWhereInput | Prisma.packing_bag_membersWhereInput[] + OR?: Prisma.packing_bag_membersWhereInput[] + NOT?: Prisma.packing_bag_membersWhereInput | Prisma.packing_bag_membersWhereInput[] + bag_id?: Prisma.IntFilter<"packing_bag_members"> | number + user_id?: Prisma.IntFilter<"packing_bag_members"> | number + users?: Prisma.XOR + packing_bags?: Prisma.XOR +} + +export type packing_bag_membersOrderByWithRelationInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + packing_bags?: Prisma.packing_bagsOrderByWithRelationInput +} + +export type packing_bag_membersWhereUniqueInput = Prisma.AtLeast<{ + bag_id_user_id?: Prisma.packing_bag_membersBag_idUser_idCompoundUniqueInput + AND?: Prisma.packing_bag_membersWhereInput | Prisma.packing_bag_membersWhereInput[] + OR?: Prisma.packing_bag_membersWhereInput[] + NOT?: Prisma.packing_bag_membersWhereInput | Prisma.packing_bag_membersWhereInput[] + bag_id?: Prisma.IntFilter<"packing_bag_members"> | number + user_id?: Prisma.IntFilter<"packing_bag_members"> | number + users?: Prisma.XOR + packing_bags?: Prisma.XOR +}, "bag_id_user_id"> + +export type packing_bag_membersOrderByWithAggregationInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + _count?: Prisma.packing_bag_membersCountOrderByAggregateInput + _avg?: Prisma.packing_bag_membersAvgOrderByAggregateInput + _max?: Prisma.packing_bag_membersMaxOrderByAggregateInput + _min?: Prisma.packing_bag_membersMinOrderByAggregateInput + _sum?: Prisma.packing_bag_membersSumOrderByAggregateInput +} + +export type packing_bag_membersScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_bag_membersScalarWhereWithAggregatesInput | Prisma.packing_bag_membersScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_bag_membersScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_bag_membersScalarWhereWithAggregatesInput | Prisma.packing_bag_membersScalarWhereWithAggregatesInput[] + bag_id?: Prisma.IntWithAggregatesFilter<"packing_bag_members"> | number + user_id?: Prisma.IntWithAggregatesFilter<"packing_bag_members"> | number +} + +export type packing_bag_membersCreateInput = { + users: Prisma.usersCreateNestedOneWithoutPacking_bag_membersInput + packing_bags: Prisma.packing_bagsCreateNestedOneWithoutPacking_bag_membersInput +} + +export type packing_bag_membersUncheckedCreateInput = { + bag_id: number + user_id: number +} + +export type packing_bag_membersUpdateInput = { + users?: Prisma.usersUpdateOneRequiredWithoutPacking_bag_membersNestedInput + packing_bags?: Prisma.packing_bagsUpdateOneRequiredWithoutPacking_bag_membersNestedInput +} + +export type packing_bag_membersUncheckedUpdateInput = { + bag_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_bag_membersCreateManyInput = { + bag_id: number + user_id: number +} + +export type packing_bag_membersUpdateManyMutationInput = { + +} + +export type packing_bag_membersUncheckedUpdateManyInput = { + bag_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_bag_membersBag_idUser_idCompoundUniqueInput = { + bag_id: number + user_id: number +} + +export type packing_bag_membersCountOrderByAggregateInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bag_membersAvgOrderByAggregateInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bag_membersMaxOrderByAggregateInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bag_membersMinOrderByAggregateInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bag_membersSumOrderByAggregateInput = { + bag_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Packing_bag_membersListRelationFilter = { + every?: Prisma.packing_bag_membersWhereInput + some?: Prisma.packing_bag_membersWhereInput + none?: Prisma.packing_bag_membersWhereInput +} + +export type packing_bag_membersOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_bag_membersCreateNestedManyWithoutPacking_bagsInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutPacking_bagsInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput[] + createMany?: Prisma.packing_bag_membersCreateManyPacking_bagsInputEnvelope + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] +} + +export type packing_bag_membersUncheckedCreateNestedManyWithoutPacking_bagsInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutPacking_bagsInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput[] + createMany?: Prisma.packing_bag_membersCreateManyPacking_bagsInputEnvelope + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] +} + +export type packing_bag_membersUpdateManyWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutPacking_bagsInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput[] + upsert?: Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutPacking_bagsInput[] + createMany?: Prisma.packing_bag_membersCreateManyPacking_bagsInputEnvelope + set?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + disconnect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + delete?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + update?: Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutPacking_bagsInput[] + updateMany?: Prisma.packing_bag_membersUpdateManyWithWhereWithoutPacking_bagsInput | Prisma.packing_bag_membersUpdateManyWithWhereWithoutPacking_bagsInput[] + deleteMany?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] +} + +export type packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutPacking_bagsInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_bag_membersCreateOrConnectWithoutPacking_bagsInput[] + upsert?: Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutPacking_bagsInput[] + createMany?: Prisma.packing_bag_membersCreateManyPacking_bagsInputEnvelope + set?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + disconnect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + delete?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + update?: Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutPacking_bagsInput[] + updateMany?: Prisma.packing_bag_membersUpdateManyWithWhereWithoutPacking_bagsInput | Prisma.packing_bag_membersUpdateManyWithWhereWithoutPacking_bagsInput[] + deleteMany?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] +} + +export type packing_bag_membersCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutUsersInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput | Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_bag_membersCreateManyUsersInputEnvelope + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] +} + +export type packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutUsersInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput | Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_bag_membersCreateManyUsersInputEnvelope + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] +} + +export type packing_bag_membersUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutUsersInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput | Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_bag_membersCreateManyUsersInputEnvelope + set?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + disconnect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + delete?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + update?: Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_bag_membersUpdateManyWithWhereWithoutUsersInput | Prisma.packing_bag_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] +} + +export type packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_bag_membersCreateWithoutUsersInput[] | Prisma.packing_bag_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput | Prisma.packing_bag_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_bag_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_bag_membersCreateManyUsersInputEnvelope + set?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + disconnect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + delete?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + connect?: Prisma.packing_bag_membersWhereUniqueInput | Prisma.packing_bag_membersWhereUniqueInput[] + update?: Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_bag_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_bag_membersUpdateManyWithWhereWithoutUsersInput | Prisma.packing_bag_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] +} + +export type packing_bag_membersCreateWithoutPacking_bagsInput = { + users: Prisma.usersCreateNestedOneWithoutPacking_bag_membersInput +} + +export type packing_bag_membersUncheckedCreateWithoutPacking_bagsInput = { + user_id: number +} + +export type packing_bag_membersCreateOrConnectWithoutPacking_bagsInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bag_membersCreateManyPacking_bagsInputEnvelope = { + data: Prisma.packing_bag_membersCreateManyPacking_bagsInput | Prisma.packing_bag_membersCreateManyPacking_bagsInput[] +} + +export type packing_bag_membersUpsertWithWhereUniqueWithoutPacking_bagsInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_bag_membersUpdateWithWhereUniqueWithoutPacking_bagsInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + data: Prisma.XOR +} + +export type packing_bag_membersUpdateManyWithWhereWithoutPacking_bagsInput = { + where: Prisma.packing_bag_membersScalarWhereInput + data: Prisma.XOR +} + +export type packing_bag_membersScalarWhereInput = { + AND?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] + OR?: Prisma.packing_bag_membersScalarWhereInput[] + NOT?: Prisma.packing_bag_membersScalarWhereInput | Prisma.packing_bag_membersScalarWhereInput[] + bag_id?: Prisma.IntFilter<"packing_bag_members"> | number + user_id?: Prisma.IntFilter<"packing_bag_members"> | number +} + +export type packing_bag_membersCreateWithoutUsersInput = { + packing_bags: Prisma.packing_bagsCreateNestedOneWithoutPacking_bag_membersInput +} + +export type packing_bag_membersUncheckedCreateWithoutUsersInput = { + bag_id: number +} + +export type packing_bag_membersCreateOrConnectWithoutUsersInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bag_membersCreateManyUsersInputEnvelope = { + data: Prisma.packing_bag_membersCreateManyUsersInput | Prisma.packing_bag_membersCreateManyUsersInput[] +} + +export type packing_bag_membersUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_bag_membersUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_bag_membersWhereUniqueInput + data: Prisma.XOR +} + +export type packing_bag_membersUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.packing_bag_membersScalarWhereInput + data: Prisma.XOR +} + +export type packing_bag_membersCreateManyPacking_bagsInput = { + user_id: number +} + +export type packing_bag_membersUpdateWithoutPacking_bagsInput = { + users?: Prisma.usersUpdateOneRequiredWithoutPacking_bag_membersNestedInput +} + +export type packing_bag_membersUncheckedUpdateWithoutPacking_bagsInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_bag_membersCreateManyUsersInput = { + bag_id: number +} + +export type packing_bag_membersUpdateWithoutUsersInput = { + packing_bags?: Prisma.packing_bagsUpdateOneRequiredWithoutPacking_bag_membersNestedInput +} + +export type packing_bag_membersUncheckedUpdateWithoutUsersInput = { + bag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_bag_membersUncheckedUpdateManyWithoutUsersInput = { + bag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type packing_bag_membersSelect = runtime.Types.Extensions.GetSelect<{ + bag_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +}, ExtArgs["result"]["packing_bag_members"]> + +export type packing_bag_membersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + bag_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +}, ExtArgs["result"]["packing_bag_members"]> + +export type packing_bag_membersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + bag_id?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +}, ExtArgs["result"]["packing_bag_members"]> + +export type packing_bag_membersSelectScalar = { + bag_id?: boolean + user_id?: boolean +} + +export type packing_bag_membersOmit = runtime.Types.Extensions.GetOmit<"bag_id" | "user_id", ExtArgs["result"]["packing_bag_members"]> +export type packing_bag_membersInclude = { + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +} +export type packing_bag_membersIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +} +export type packing_bag_membersIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + packing_bags?: boolean | Prisma.packing_bagsDefaultArgs +} + +export type $packing_bag_membersPayload = { + name: "packing_bag_members" + objects: { + users: Prisma.$usersPayload + packing_bags: Prisma.$packing_bagsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + bag_id: number + user_id: number + }, ExtArgs["result"]["packing_bag_members"]> + composites: {} +} + +export type packing_bag_membersGetPayload = runtime.Types.Result.GetResult + +export type packing_bag_membersCountArgs = + Omit & { + select?: Packing_bag_membersCountAggregateInputType | true + } + +export interface packing_bag_membersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_bag_members'], meta: { name: 'packing_bag_members' } } + /** + * Find zero or one Packing_bag_members that matches the filter. + * @param {packing_bag_membersFindUniqueArgs} args - Arguments to find a Packing_bag_members + * @example + * // Get one Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_bag_members that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_bag_membersFindUniqueOrThrowArgs} args - Arguments to find a Packing_bag_members + * @example + * // Get one Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_bag_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersFindFirstArgs} args - Arguments to find a Packing_bag_members + * @example + * // Get one Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_bag_members that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersFindFirstOrThrowArgs} args - Arguments to find a Packing_bag_members + * @example + * // Get one Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_bag_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findMany() + * + * // Get first 10 Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.findMany({ take: 10 }) + * + * // Only select the `bag_id` + * const packing_bag_membersWithBag_idOnly = await prisma.packing_bag_members.findMany({ select: { bag_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_bag_members. + * @param {packing_bag_membersCreateArgs} args - Arguments to create a Packing_bag_members. + * @example + * // Create one Packing_bag_members + * const Packing_bag_members = await prisma.packing_bag_members.create({ + * data: { + * // ... data to create a Packing_bag_members + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_bag_members. + * @param {packing_bag_membersCreateManyArgs} args - Arguments to create many Packing_bag_members. + * @example + * // Create many Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_bag_members and returns the data saved in the database. + * @param {packing_bag_membersCreateManyAndReturnArgs} args - Arguments to create many Packing_bag_members. + * @example + * // Create many Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_bag_members and only return the `bag_id` + * const packing_bag_membersWithBag_idOnly = await prisma.packing_bag_members.createManyAndReturn({ + * select: { bag_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_bag_members. + * @param {packing_bag_membersDeleteArgs} args - Arguments to delete one Packing_bag_members. + * @example + * // Delete one Packing_bag_members + * const Packing_bag_members = await prisma.packing_bag_members.delete({ + * where: { + * // ... filter to delete one Packing_bag_members + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_bag_members. + * @param {packing_bag_membersUpdateArgs} args - Arguments to update one Packing_bag_members. + * @example + * // Update one Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_bag_members. + * @param {packing_bag_membersDeleteManyArgs} args - Arguments to filter Packing_bag_members to delete. + * @example + * // Delete a few Packing_bag_members + * const { count } = await prisma.packing_bag_members.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_bag_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_bag_members and returns the data updated in the database. + * @param {packing_bag_membersUpdateManyAndReturnArgs} args - Arguments to update many Packing_bag_members. + * @example + * // Update many Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_bag_members and only return the `bag_id` + * const packing_bag_membersWithBag_idOnly = await prisma.packing_bag_members.updateManyAndReturn({ + * select: { bag_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_bag_members. + * @param {packing_bag_membersUpsertArgs} args - Arguments to update or create a Packing_bag_members. + * @example + * // Update or create a Packing_bag_members + * const packing_bag_members = await prisma.packing_bag_members.upsert({ + * create: { + * // ... data to create a Packing_bag_members + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_bag_members we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bag_membersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_bag_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersCountArgs} args - Arguments to filter Packing_bag_members to count. + * @example + * // Count the number of Packing_bag_members + * const count = await prisma.packing_bag_members.count({ + * where: { + * // ... the filter for the Packing_bag_members we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_bag_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_bag_membersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_bag_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bag_membersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_bag_membersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_bag_membersGroupByArgs['orderBy'] } + : { orderBy?: packing_bag_membersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_bag_membersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_bag_members model + */ +readonly fields: packing_bag_membersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_bag_members. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_bag_membersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + packing_bags = {}>(args?: Prisma.Subset>): Prisma.Prisma__packing_bagsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_bag_members model + */ +export interface packing_bag_membersFieldRefs { + readonly bag_id: Prisma.FieldRef<"packing_bag_members", 'Int'> + readonly user_id: Prisma.FieldRef<"packing_bag_members", 'Int'> +} + + +// Custom InputTypes +/** + * packing_bag_members findUnique + */ +export type packing_bag_membersFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter, which packing_bag_members to fetch. + */ + where: Prisma.packing_bag_membersWhereUniqueInput +} + +/** + * packing_bag_members findUniqueOrThrow + */ +export type packing_bag_membersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter, which packing_bag_members to fetch. + */ + where: Prisma.packing_bag_membersWhereUniqueInput +} + +/** + * packing_bag_members findFirst + */ +export type packing_bag_membersFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter, which packing_bag_members to fetch. + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bag_members to fetch. + */ + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_bag_members. + */ + cursor?: Prisma.packing_bag_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bag_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bag_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bag_members. + */ + distinct?: Prisma.Packing_bag_membersScalarFieldEnum | Prisma.Packing_bag_membersScalarFieldEnum[] +} + +/** + * packing_bag_members findFirstOrThrow + */ +export type packing_bag_membersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter, which packing_bag_members to fetch. + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bag_members to fetch. + */ + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_bag_members. + */ + cursor?: Prisma.packing_bag_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bag_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bag_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bag_members. + */ + distinct?: Prisma.Packing_bag_membersScalarFieldEnum | Prisma.Packing_bag_membersScalarFieldEnum[] +} + +/** + * packing_bag_members findMany + */ +export type packing_bag_membersFindManyArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter, which packing_bag_members to fetch. + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bag_members to fetch. + */ + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_bag_members. + */ + cursor?: Prisma.packing_bag_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bag_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bag_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bag_members. + */ + distinct?: Prisma.Packing_bag_membersScalarFieldEnum | Prisma.Packing_bag_membersScalarFieldEnum[] +} + +/** + * packing_bag_members create + */ +export type packing_bag_membersCreateArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * The data needed to create a packing_bag_members. + */ + data: Prisma.XOR +} + +/** + * packing_bag_members createMany + */ +export type packing_bag_membersCreateManyArgs = { + /** + * The data used to create many packing_bag_members. + */ + data: Prisma.packing_bag_membersCreateManyInput | Prisma.packing_bag_membersCreateManyInput[] +} + +/** + * packing_bag_members createManyAndReturn + */ +export type packing_bag_membersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * The data used to create many packing_bag_members. + */ + data: Prisma.packing_bag_membersCreateManyInput | Prisma.packing_bag_membersCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersIncludeCreateManyAndReturn | null +} + +/** + * packing_bag_members update + */ +export type packing_bag_membersUpdateArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * The data needed to update a packing_bag_members. + */ + data: Prisma.XOR + /** + * Choose, which packing_bag_members to update. + */ + where: Prisma.packing_bag_membersWhereUniqueInput +} + +/** + * packing_bag_members updateMany + */ +export type packing_bag_membersUpdateManyArgs = { + /** + * The data used to update packing_bag_members. + */ + data: Prisma.XOR + /** + * Filter which packing_bag_members to update + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * Limit how many packing_bag_members to update. + */ + limit?: number +} + +/** + * packing_bag_members updateManyAndReturn + */ +export type packing_bag_membersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * The data used to update packing_bag_members. + */ + data: Prisma.XOR + /** + * Filter which packing_bag_members to update + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * Limit how many packing_bag_members to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersIncludeUpdateManyAndReturn | null +} + +/** + * packing_bag_members upsert + */ +export type packing_bag_membersUpsertArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * The filter to search for the packing_bag_members to update in case it exists. + */ + where: Prisma.packing_bag_membersWhereUniqueInput + /** + * In case the packing_bag_members found by the `where` argument doesn't exist, create a new packing_bag_members with this data. + */ + create: Prisma.XOR + /** + * In case the packing_bag_members was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_bag_members delete + */ +export type packing_bag_membersDeleteArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + /** + * Filter which packing_bag_members to delete. + */ + where: Prisma.packing_bag_membersWhereUniqueInput +} + +/** + * packing_bag_members deleteMany + */ +export type packing_bag_membersDeleteManyArgs = { + /** + * Filter which packing_bag_members to delete + */ + where?: Prisma.packing_bag_membersWhereInput + /** + * Limit how many packing_bag_members to delete. + */ + limit?: number +} + +/** + * packing_bag_members without action + */ +export type packing_bag_membersDefaultArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null +} diff --git a/server/src/generated/prisma/models/packing_bags.ts b/server/src/generated/prisma/models/packing_bags.ts new file mode 100644 index 00000000..0cde1492 --- /dev/null +++ b/server/src/generated/prisma/models/packing_bags.ts @@ -0,0 +1,1954 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_bags` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_bags + * + */ +export type packing_bagsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_bags = { + _count: Packing_bagsCountAggregateOutputType | null + _avg: Packing_bagsAvgAggregateOutputType | null + _sum: Packing_bagsSumAggregateOutputType | null + _min: Packing_bagsMinAggregateOutputType | null + _max: Packing_bagsMaxAggregateOutputType | null +} + +export type Packing_bagsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + weight_limit_grams: number | null + sort_order: number | null + user_id: number | null +} + +export type Packing_bagsSumAggregateOutputType = { + id: number | null + trip_id: number | null + weight_limit_grams: number | null + sort_order: number | null + user_id: number | null +} + +export type Packing_bagsMinAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + color: string | null + weight_limit_grams: number | null + sort_order: number | null + created_at: Date | null + user_id: number | null +} + +export type Packing_bagsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + color: string | null + weight_limit_grams: number | null + sort_order: number | null + created_at: Date | null + user_id: number | null +} + +export type Packing_bagsCountAggregateOutputType = { + id: number + trip_id: number + name: number + color: number + weight_limit_grams: number + sort_order: number + created_at: number + user_id: number + _all: number +} + + +export type Packing_bagsAvgAggregateInputType = { + id?: true + trip_id?: true + weight_limit_grams?: true + sort_order?: true + user_id?: true +} + +export type Packing_bagsSumAggregateInputType = { + id?: true + trip_id?: true + weight_limit_grams?: true + sort_order?: true + user_id?: true +} + +export type Packing_bagsMinAggregateInputType = { + id?: true + trip_id?: true + name?: true + color?: true + weight_limit_grams?: true + sort_order?: true + created_at?: true + user_id?: true +} + +export type Packing_bagsMaxAggregateInputType = { + id?: true + trip_id?: true + name?: true + color?: true + weight_limit_grams?: true + sort_order?: true + created_at?: true + user_id?: true +} + +export type Packing_bagsCountAggregateInputType = { + id?: true + trip_id?: true + name?: true + color?: true + weight_limit_grams?: true + sort_order?: true + created_at?: true + user_id?: true + _all?: true +} + +export type Packing_bagsAggregateArgs = { + /** + * Filter which packing_bags to aggregate. + */ + where?: Prisma.packing_bagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bags to fetch. + */ + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_bagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_bags + **/ + _count?: true | Packing_bagsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_bagsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_bagsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_bagsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_bagsMaxAggregateInputType +} + +export type GetPacking_bagsAggregateType = { + [P in keyof T & keyof AggregatePacking_bags]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_bagsGroupByArgs = { + where?: Prisma.packing_bagsWhereInput + orderBy?: Prisma.packing_bagsOrderByWithAggregationInput | Prisma.packing_bagsOrderByWithAggregationInput[] + by: Prisma.Packing_bagsScalarFieldEnum[] | Prisma.Packing_bagsScalarFieldEnum + having?: Prisma.packing_bagsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_bagsCountAggregateInputType | true + _avg?: Packing_bagsAvgAggregateInputType + _sum?: Packing_bagsSumAggregateInputType + _min?: Packing_bagsMinAggregateInputType + _max?: Packing_bagsMaxAggregateInputType +} + +export type Packing_bagsGroupByOutputType = { + id: number + trip_id: number + name: string + color: string + weight_limit_grams: number | null + sort_order: number | null + created_at: Date | null + user_id: number | null + _count: Packing_bagsCountAggregateOutputType | null + _avg: Packing_bagsAvgAggregateOutputType | null + _sum: Packing_bagsSumAggregateOutputType | null + _min: Packing_bagsMinAggregateOutputType | null + _max: Packing_bagsMaxAggregateOutputType | null +} + +export type GetPacking_bagsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_bagsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_bagsWhereInput = { + AND?: Prisma.packing_bagsWhereInput | Prisma.packing_bagsWhereInput[] + OR?: Prisma.packing_bagsWhereInput[] + NOT?: Prisma.packing_bagsWhereInput | Prisma.packing_bagsWhereInput[] + id?: Prisma.IntFilter<"packing_bags"> | number + trip_id?: Prisma.IntFilter<"packing_bags"> | number + name?: Prisma.StringFilter<"packing_bags"> | string + color?: Prisma.StringFilter<"packing_bags"> | string + weight_limit_grams?: Prisma.IntNullableFilter<"packing_bags"> | number | null + sort_order?: Prisma.IntNullableFilter<"packing_bags"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_bags"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"packing_bags"> | number | null + packing_bag_members?: Prisma.Packing_bag_membersListRelationFilter + users?: Prisma.XOR | null + trips?: Prisma.XOR + packing_items?: Prisma.Packing_itemsListRelationFilter +} + +export type packing_bagsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + packing_bag_members?: Prisma.packing_bag_membersOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + packing_items?: Prisma.packing_itemsOrderByRelationAggregateInput +} + +export type packing_bagsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.packing_bagsWhereInput | Prisma.packing_bagsWhereInput[] + OR?: Prisma.packing_bagsWhereInput[] + NOT?: Prisma.packing_bagsWhereInput | Prisma.packing_bagsWhereInput[] + trip_id?: Prisma.IntFilter<"packing_bags"> | number + name?: Prisma.StringFilter<"packing_bags"> | string + color?: Prisma.StringFilter<"packing_bags"> | string + weight_limit_grams?: Prisma.IntNullableFilter<"packing_bags"> | number | null + sort_order?: Prisma.IntNullableFilter<"packing_bags"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_bags"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"packing_bags"> | number | null + packing_bag_members?: Prisma.Packing_bag_membersListRelationFilter + users?: Prisma.XOR | null + trips?: Prisma.XOR + packing_items?: Prisma.Packing_itemsListRelationFilter +}, "id"> + +export type packing_bagsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + user_id?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.packing_bagsCountOrderByAggregateInput + _avg?: Prisma.packing_bagsAvgOrderByAggregateInput + _max?: Prisma.packing_bagsMaxOrderByAggregateInput + _min?: Prisma.packing_bagsMinOrderByAggregateInput + _sum?: Prisma.packing_bagsSumOrderByAggregateInput +} + +export type packing_bagsScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_bagsScalarWhereWithAggregatesInput | Prisma.packing_bagsScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_bagsScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_bagsScalarWhereWithAggregatesInput | Prisma.packing_bagsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_bags"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"packing_bags"> | number + name?: Prisma.StringWithAggregatesFilter<"packing_bags"> | string + color?: Prisma.StringWithAggregatesFilter<"packing_bags"> | string + weight_limit_grams?: Prisma.IntNullableWithAggregatesFilter<"packing_bags"> | number | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"packing_bags"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"packing_bags"> | Date | string | null + user_id?: Prisma.IntNullableWithAggregatesFilter<"packing_bags"> | number | null +} + +export type packing_bagsCreateInput = { + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutPacking_bagsInput + users?: Prisma.usersCreateNestedOneWithoutPacking_bagsInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsUncheckedCreateInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutPacking_bagsNestedInput + users?: Prisma.usersUpdateOneWithoutPacking_bagsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsCreateManyInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null +} + +export type packing_bagsUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type packing_bagsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type Packing_bagsScalarRelationFilter = { + is?: Prisma.packing_bagsWhereInput + isNot?: Prisma.packing_bagsWhereInput +} + +export type packing_bagsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bagsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bagsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bagsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_bagsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + weight_limit_grams?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Packing_bagsNullableScalarRelationFilter = { + is?: Prisma.packing_bagsWhereInput | null + isNot?: Prisma.packing_bagsWhereInput | null +} + +export type Packing_bagsListRelationFilter = { + every?: Prisma.packing_bagsWhereInput + some?: Prisma.packing_bagsWhereInput + none?: Prisma.packing_bagsWhereInput +} + +export type packing_bagsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_bagsCreateNestedOneWithoutPacking_bag_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutPacking_bag_membersInput + connect?: Prisma.packing_bagsWhereUniqueInput +} + +export type packing_bagsUpdateOneRequiredWithoutPacking_bag_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutPacking_bag_membersInput + upsert?: Prisma.packing_bagsUpsertWithoutPacking_bag_membersInput + connect?: Prisma.packing_bagsWhereUniqueInput + update?: Prisma.XOR, Prisma.packing_bagsUncheckedUpdateWithoutPacking_bag_membersInput> +} + +export type packing_bagsCreateNestedOneWithoutPacking_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutPacking_itemsInput + connect?: Prisma.packing_bagsWhereUniqueInput +} + +export type packing_bagsUpdateOneWithoutPacking_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutPacking_itemsInput + upsert?: Prisma.packing_bagsUpsertWithoutPacking_itemsInput + disconnect?: Prisma.packing_bagsWhereInput | boolean + delete?: Prisma.packing_bagsWhereInput | boolean + connect?: Prisma.packing_bagsWhereUniqueInput + update?: Prisma.XOR, Prisma.packing_bagsUncheckedUpdateWithoutPacking_itemsInput> +} + +export type packing_bagsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutTripsInput[] | Prisma.packing_bagsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutTripsInput | Prisma.packing_bagsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_bagsCreateManyTripsInputEnvelope + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] +} + +export type packing_bagsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutTripsInput[] | Prisma.packing_bagsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutTripsInput | Prisma.packing_bagsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_bagsCreateManyTripsInputEnvelope + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] +} + +export type packing_bagsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutTripsInput[] | Prisma.packing_bagsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutTripsInput | Prisma.packing_bagsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_bagsUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_bagsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_bagsCreateManyTripsInputEnvelope + set?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + disconnect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + delete?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + update?: Prisma.packing_bagsUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_bagsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_bagsUpdateManyWithWhereWithoutTripsInput | Prisma.packing_bagsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] +} + +export type packing_bagsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutTripsInput[] | Prisma.packing_bagsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutTripsInput | Prisma.packing_bagsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_bagsUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_bagsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_bagsCreateManyTripsInputEnvelope + set?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + disconnect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + delete?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + update?: Prisma.packing_bagsUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_bagsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_bagsUpdateManyWithWhereWithoutTripsInput | Prisma.packing_bagsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] +} + +export type packing_bagsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutUsersInput[] | Prisma.packing_bagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutUsersInput | Prisma.packing_bagsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_bagsCreateManyUsersInputEnvelope + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] +} + +export type packing_bagsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutUsersInput[] | Prisma.packing_bagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutUsersInput | Prisma.packing_bagsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_bagsCreateManyUsersInputEnvelope + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] +} + +export type packing_bagsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutUsersInput[] | Prisma.packing_bagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutUsersInput | Prisma.packing_bagsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_bagsUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_bagsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_bagsCreateManyUsersInputEnvelope + set?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + disconnect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + delete?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + update?: Prisma.packing_bagsUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_bagsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_bagsUpdateManyWithWhereWithoutUsersInput | Prisma.packing_bagsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] +} + +export type packing_bagsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_bagsCreateWithoutUsersInput[] | Prisma.packing_bagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_bagsCreateOrConnectWithoutUsersInput | Prisma.packing_bagsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_bagsUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_bagsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_bagsCreateManyUsersInputEnvelope + set?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + disconnect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + delete?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + connect?: Prisma.packing_bagsWhereUniqueInput | Prisma.packing_bagsWhereUniqueInput[] + update?: Prisma.packing_bagsUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_bagsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_bagsUpdateManyWithWhereWithoutUsersInput | Prisma.packing_bagsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] +} + +export type packing_bagsCreateWithoutPacking_bag_membersInput = { + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + users?: Prisma.usersCreateNestedOneWithoutPacking_bagsInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsUncheckedCreateWithoutPacking_bag_membersInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsCreateOrConnectWithoutPacking_bag_membersInput = { + where: Prisma.packing_bagsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bagsUpsertWithoutPacking_bag_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.packing_bagsWhereInput +} + +export type packing_bagsUpdateToOneWithWhereWithoutPacking_bag_membersInput = { + where?: Prisma.packing_bagsWhereInput + data: Prisma.XOR +} + +export type packing_bagsUpdateWithoutPacking_bag_membersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneWithoutPacking_bagsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateWithoutPacking_bag_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsCreateWithoutPacking_itemsInput = { + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutPacking_bagsInput + users?: Prisma.usersCreateNestedOneWithoutPacking_bagsInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_bagsInput +} + +export type packing_bagsUncheckedCreateWithoutPacking_itemsInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsCreateOrConnectWithoutPacking_itemsInput = { + where: Prisma.packing_bagsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bagsUpsertWithoutPacking_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.packing_bagsWhereInput +} + +export type packing_bagsUpdateToOneWithWhereWithoutPacking_itemsInput = { + where?: Prisma.packing_bagsWhereInput + data: Prisma.XOR +} + +export type packing_bagsUpdateWithoutPacking_itemsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutPacking_bagsNestedInput + users?: Prisma.usersUpdateOneWithoutPacking_bagsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateWithoutPacking_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsCreateWithoutTripsInput = { + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutPacking_bagsInput + users?: Prisma.usersCreateNestedOneWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsUncheckedCreateWithoutTripsInput = { + id?: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsCreateOrConnectWithoutTripsInput = { + where: Prisma.packing_bagsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bagsCreateManyTripsInputEnvelope = { + data: Prisma.packing_bagsCreateManyTripsInput | Prisma.packing_bagsCreateManyTripsInput[] +} + +export type packing_bagsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_bagsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_bagsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_bagsWhereUniqueInput + data: Prisma.XOR +} + +export type packing_bagsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.packing_bagsScalarWhereInput + data: Prisma.XOR +} + +export type packing_bagsScalarWhereInput = { + AND?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] + OR?: Prisma.packing_bagsScalarWhereInput[] + NOT?: Prisma.packing_bagsScalarWhereInput | Prisma.packing_bagsScalarWhereInput[] + id?: Prisma.IntFilter<"packing_bags"> | number + trip_id?: Prisma.IntFilter<"packing_bags"> | number + name?: Prisma.StringFilter<"packing_bags"> | string + color?: Prisma.StringFilter<"packing_bags"> | string + weight_limit_grams?: Prisma.IntNullableFilter<"packing_bags"> | number | null + sort_order?: Prisma.IntNullableFilter<"packing_bags"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_bags"> | Date | string | null + user_id?: Prisma.IntNullableFilter<"packing_bags"> | number | null +} + +export type packing_bagsCreateWithoutUsersInput = { + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutPacking_bagsInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutPacking_bagsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutPacking_bagsInput +} + +export type packing_bagsCreateOrConnectWithoutUsersInput = { + where: Prisma.packing_bagsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_bagsCreateManyUsersInputEnvelope = { + data: Prisma.packing_bagsCreateManyUsersInput | Prisma.packing_bagsCreateManyUsersInput[] +} + +export type packing_bagsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_bagsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_bagsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_bagsWhereUniqueInput + data: Prisma.XOR +} + +export type packing_bagsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.packing_bagsScalarWhereInput + data: Prisma.XOR +} + +export type packing_bagsCreateManyTripsInput = { + id?: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null + user_id?: number | null +} + +export type packing_bagsUpdateWithoutTripsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutPacking_bagsNestedInput + users?: Prisma.usersUpdateOneWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type packing_bagsCreateManyUsersInput = { + id?: number + trip_id: number + name: string + color?: string + weight_limit_grams?: number | null + sort_order?: number | null + created_at?: Date | string | null +} + +export type packing_bagsUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutPacking_bagsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutPacking_bagsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutPacking_bagsNestedInput +} + +export type packing_bagsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.StringFieldUpdateOperationsInput | string + weight_limit_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type Packing_bagsCountOutputType + */ + +export type Packing_bagsCountOutputType = { + packing_bag_members: number + packing_items: number +} + +export type Packing_bagsCountOutputTypeSelect = { + packing_bag_members?: boolean | Packing_bagsCountOutputTypeCountPacking_bag_membersArgs + packing_items?: boolean | Packing_bagsCountOutputTypeCountPacking_itemsArgs +} + +/** + * Packing_bagsCountOutputType without action + */ +export type Packing_bagsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Packing_bagsCountOutputType + */ + select?: Prisma.Packing_bagsCountOutputTypeSelect | null +} + +/** + * Packing_bagsCountOutputType without action + */ +export type Packing_bagsCountOutputTypeCountPacking_bag_membersArgs = { + where?: Prisma.packing_bag_membersWhereInput +} + +/** + * Packing_bagsCountOutputType without action + */ +export type Packing_bagsCountOutputTypeCountPacking_itemsArgs = { + where?: Prisma.packing_itemsWhereInput +} + + +export type packing_bagsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + color?: boolean + weight_limit_grams?: boolean + sort_order?: boolean + created_at?: boolean + user_id?: boolean + packing_bag_members?: boolean | Prisma.packing_bags$packing_bag_membersArgs + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs + packing_items?: boolean | Prisma.packing_bags$packing_itemsArgs + _count?: boolean | Prisma.Packing_bagsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["packing_bags"]> + +export type packing_bagsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + color?: boolean + weight_limit_grams?: boolean + sort_order?: boolean + created_at?: boolean + user_id?: boolean + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_bags"]> + +export type packing_bagsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + color?: boolean + weight_limit_grams?: boolean + sort_order?: boolean + created_at?: boolean + user_id?: boolean + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_bags"]> + +export type packing_bagsSelectScalar = { + id?: boolean + trip_id?: boolean + name?: boolean + color?: boolean + weight_limit_grams?: boolean + sort_order?: boolean + created_at?: boolean + user_id?: boolean +} + +export type packing_bagsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "name" | "color" | "weight_limit_grams" | "sort_order" | "created_at" | "user_id", ExtArgs["result"]["packing_bags"]> +export type packing_bagsInclude = { + packing_bag_members?: boolean | Prisma.packing_bags$packing_bag_membersArgs + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs + packing_items?: boolean | Prisma.packing_bags$packing_itemsArgs + _count?: boolean | Prisma.Packing_bagsCountOutputTypeDefaultArgs +} +export type packing_bagsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type packing_bagsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.packing_bags$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $packing_bagsPayload = { + name: "packing_bags" + objects: { + packing_bag_members: Prisma.$packing_bag_membersPayload[] + users: Prisma.$usersPayload | null + trips: Prisma.$tripsPayload + packing_items: Prisma.$packing_itemsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + name: string + color: string + weight_limit_grams: number | null + sort_order: number | null + created_at: Date | null + user_id: number | null + }, ExtArgs["result"]["packing_bags"]> + composites: {} +} + +export type packing_bagsGetPayload = runtime.Types.Result.GetResult + +export type packing_bagsCountArgs = + Omit & { + select?: Packing_bagsCountAggregateInputType | true + } + +export interface packing_bagsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_bags'], meta: { name: 'packing_bags' } } + /** + * Find zero or one Packing_bags that matches the filter. + * @param {packing_bagsFindUniqueArgs} args - Arguments to find a Packing_bags + * @example + * // Get one Packing_bags + * const packing_bags = await prisma.packing_bags.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_bags that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_bagsFindUniqueOrThrowArgs} args - Arguments to find a Packing_bags + * @example + * // Get one Packing_bags + * const packing_bags = await prisma.packing_bags.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_bags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsFindFirstArgs} args - Arguments to find a Packing_bags + * @example + * // Get one Packing_bags + * const packing_bags = await prisma.packing_bags.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_bags that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsFindFirstOrThrowArgs} args - Arguments to find a Packing_bags + * @example + * // Get one Packing_bags + * const packing_bags = await prisma.packing_bags.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_bags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_bags + * const packing_bags = await prisma.packing_bags.findMany() + * + * // Get first 10 Packing_bags + * const packing_bags = await prisma.packing_bags.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_bagsWithIdOnly = await prisma.packing_bags.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_bags. + * @param {packing_bagsCreateArgs} args - Arguments to create a Packing_bags. + * @example + * // Create one Packing_bags + * const Packing_bags = await prisma.packing_bags.create({ + * data: { + * // ... data to create a Packing_bags + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_bags. + * @param {packing_bagsCreateManyArgs} args - Arguments to create many Packing_bags. + * @example + * // Create many Packing_bags + * const packing_bags = await prisma.packing_bags.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_bags and returns the data saved in the database. + * @param {packing_bagsCreateManyAndReturnArgs} args - Arguments to create many Packing_bags. + * @example + * // Create many Packing_bags + * const packing_bags = await prisma.packing_bags.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_bags and only return the `id` + * const packing_bagsWithIdOnly = await prisma.packing_bags.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_bags. + * @param {packing_bagsDeleteArgs} args - Arguments to delete one Packing_bags. + * @example + * // Delete one Packing_bags + * const Packing_bags = await prisma.packing_bags.delete({ + * where: { + * // ... filter to delete one Packing_bags + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_bags. + * @param {packing_bagsUpdateArgs} args - Arguments to update one Packing_bags. + * @example + * // Update one Packing_bags + * const packing_bags = await prisma.packing_bags.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_bags. + * @param {packing_bagsDeleteManyArgs} args - Arguments to filter Packing_bags to delete. + * @example + * // Delete a few Packing_bags + * const { count } = await prisma.packing_bags.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_bags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_bags + * const packing_bags = await prisma.packing_bags.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_bags and returns the data updated in the database. + * @param {packing_bagsUpdateManyAndReturnArgs} args - Arguments to update many Packing_bags. + * @example + * // Update many Packing_bags + * const packing_bags = await prisma.packing_bags.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_bags and only return the `id` + * const packing_bagsWithIdOnly = await prisma.packing_bags.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_bags. + * @param {packing_bagsUpsertArgs} args - Arguments to update or create a Packing_bags. + * @example + * // Update or create a Packing_bags + * const packing_bags = await prisma.packing_bags.upsert({ + * create: { + * // ... data to create a Packing_bags + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_bags we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_bagsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_bags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsCountArgs} args - Arguments to filter Packing_bags to count. + * @example + * // Count the number of Packing_bags + * const count = await prisma.packing_bags.count({ + * where: { + * // ... the filter for the Packing_bags we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_bags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_bagsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_bags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_bagsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_bagsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_bagsGroupByArgs['orderBy'] } + : { orderBy?: packing_bagsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_bagsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_bags model + */ +readonly fields: packing_bagsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_bags. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_bagsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + packing_bag_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + packing_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_bags model + */ +export interface packing_bagsFieldRefs { + readonly id: Prisma.FieldRef<"packing_bags", 'Int'> + readonly trip_id: Prisma.FieldRef<"packing_bags", 'Int'> + readonly name: Prisma.FieldRef<"packing_bags", 'String'> + readonly color: Prisma.FieldRef<"packing_bags", 'String'> + readonly weight_limit_grams: Prisma.FieldRef<"packing_bags", 'Int'> + readonly sort_order: Prisma.FieldRef<"packing_bags", 'Int'> + readonly created_at: Prisma.FieldRef<"packing_bags", 'DateTime'> + readonly user_id: Prisma.FieldRef<"packing_bags", 'Int'> +} + + +// Custom InputTypes +/** + * packing_bags findUnique + */ +export type packing_bagsFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter, which packing_bags to fetch. + */ + where: Prisma.packing_bagsWhereUniqueInput +} + +/** + * packing_bags findUniqueOrThrow + */ +export type packing_bagsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter, which packing_bags to fetch. + */ + where: Prisma.packing_bagsWhereUniqueInput +} + +/** + * packing_bags findFirst + */ +export type packing_bagsFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter, which packing_bags to fetch. + */ + where?: Prisma.packing_bagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bags to fetch. + */ + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_bags. + */ + cursor?: Prisma.packing_bagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bags. + */ + distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[] +} + +/** + * packing_bags findFirstOrThrow + */ +export type packing_bagsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter, which packing_bags to fetch. + */ + where?: Prisma.packing_bagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bags to fetch. + */ + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_bags. + */ + cursor?: Prisma.packing_bagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bags. + */ + distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[] +} + +/** + * packing_bags findMany + */ +export type packing_bagsFindManyArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter, which packing_bags to fetch. + */ + where?: Prisma.packing_bagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_bags to fetch. + */ + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_bags. + */ + cursor?: Prisma.packing_bagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_bags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_bags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_bags. + */ + distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[] +} + +/** + * packing_bags create + */ +export type packing_bagsCreateArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * The data needed to create a packing_bags. + */ + data: Prisma.XOR +} + +/** + * packing_bags createMany + */ +export type packing_bagsCreateManyArgs = { + /** + * The data used to create many packing_bags. + */ + data: Prisma.packing_bagsCreateManyInput | Prisma.packing_bagsCreateManyInput[] +} + +/** + * packing_bags createManyAndReturn + */ +export type packing_bagsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * The data used to create many packing_bags. + */ + data: Prisma.packing_bagsCreateManyInput | Prisma.packing_bagsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsIncludeCreateManyAndReturn | null +} + +/** + * packing_bags update + */ +export type packing_bagsUpdateArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * The data needed to update a packing_bags. + */ + data: Prisma.XOR + /** + * Choose, which packing_bags to update. + */ + where: Prisma.packing_bagsWhereUniqueInput +} + +/** + * packing_bags updateMany + */ +export type packing_bagsUpdateManyArgs = { + /** + * The data used to update packing_bags. + */ + data: Prisma.XOR + /** + * Filter which packing_bags to update + */ + where?: Prisma.packing_bagsWhereInput + /** + * Limit how many packing_bags to update. + */ + limit?: number +} + +/** + * packing_bags updateManyAndReturn + */ +export type packing_bagsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * The data used to update packing_bags. + */ + data: Prisma.XOR + /** + * Filter which packing_bags to update + */ + where?: Prisma.packing_bagsWhereInput + /** + * Limit how many packing_bags to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsIncludeUpdateManyAndReturn | null +} + +/** + * packing_bags upsert + */ +export type packing_bagsUpsertArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * The filter to search for the packing_bags to update in case it exists. + */ + where: Prisma.packing_bagsWhereUniqueInput + /** + * In case the packing_bags found by the `where` argument doesn't exist, create a new packing_bags with this data. + */ + create: Prisma.XOR + /** + * In case the packing_bags was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_bags delete + */ +export type packing_bagsDeleteArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + /** + * Filter which packing_bags to delete. + */ + where: Prisma.packing_bagsWhereUniqueInput +} + +/** + * packing_bags deleteMany + */ +export type packing_bagsDeleteManyArgs = { + /** + * Filter which packing_bags to delete + */ + where?: Prisma.packing_bagsWhereInput + /** + * Limit how many packing_bags to delete. + */ + limit?: number +} + +/** + * packing_bags.packing_bag_members + */ +export type packing_bags$packing_bag_membersArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + where?: Prisma.packing_bag_membersWhereInput + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + cursor?: Prisma.packing_bag_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_bag_membersScalarFieldEnum | Prisma.Packing_bag_membersScalarFieldEnum[] +} + +/** + * packing_bags.users + */ +export type packing_bags$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * packing_bags.packing_items + */ +export type packing_bags$packing_itemsArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + where?: Prisma.packing_itemsWhereInput + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + cursor?: Prisma.packing_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[] +} + +/** + * packing_bags without action + */ +export type packing_bagsDefaultArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null +} diff --git a/server/src/generated/prisma/models/packing_category_assignees.ts b/server/src/generated/prisma/models/packing_category_assignees.ts new file mode 100644 index 00000000..4b1395e3 --- /dev/null +++ b/server/src/generated/prisma/models/packing_category_assignees.ts @@ -0,0 +1,1476 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_category_assignees` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_category_assignees + * + */ +export type packing_category_assigneesModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_category_assignees = { + _count: Packing_category_assigneesCountAggregateOutputType | null + _avg: Packing_category_assigneesAvgAggregateOutputType | null + _sum: Packing_category_assigneesSumAggregateOutputType | null + _min: Packing_category_assigneesMinAggregateOutputType | null + _max: Packing_category_assigneesMaxAggregateOutputType | null +} + +export type Packing_category_assigneesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null +} + +export type Packing_category_assigneesSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null +} + +export type Packing_category_assigneesMinAggregateOutputType = { + id: number | null + trip_id: number | null + category_name: string | null + user_id: number | null +} + +export type Packing_category_assigneesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + category_name: string | null + user_id: number | null +} + +export type Packing_category_assigneesCountAggregateOutputType = { + id: number + trip_id: number + category_name: number + user_id: number + _all: number +} + + +export type Packing_category_assigneesAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true +} + +export type Packing_category_assigneesSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true +} + +export type Packing_category_assigneesMinAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true +} + +export type Packing_category_assigneesMaxAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true +} + +export type Packing_category_assigneesCountAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true + _all?: true +} + +export type Packing_category_assigneesAggregateArgs = { + /** + * Filter which packing_category_assignees to aggregate. + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_category_assignees to fetch. + */ + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_category_assignees + **/ + _count?: true | Packing_category_assigneesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_category_assigneesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_category_assigneesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_category_assigneesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_category_assigneesMaxAggregateInputType +} + +export type GetPacking_category_assigneesAggregateType = { + [P in keyof T & keyof AggregatePacking_category_assignees]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_category_assigneesGroupByArgs = { + where?: Prisma.packing_category_assigneesWhereInput + orderBy?: Prisma.packing_category_assigneesOrderByWithAggregationInput | Prisma.packing_category_assigneesOrderByWithAggregationInput[] + by: Prisma.Packing_category_assigneesScalarFieldEnum[] | Prisma.Packing_category_assigneesScalarFieldEnum + having?: Prisma.packing_category_assigneesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_category_assigneesCountAggregateInputType | true + _avg?: Packing_category_assigneesAvgAggregateInputType + _sum?: Packing_category_assigneesSumAggregateInputType + _min?: Packing_category_assigneesMinAggregateInputType + _max?: Packing_category_assigneesMaxAggregateInputType +} + +export type Packing_category_assigneesGroupByOutputType = { + id: number + trip_id: number + category_name: string + user_id: number + _count: Packing_category_assigneesCountAggregateOutputType | null + _avg: Packing_category_assigneesAvgAggregateOutputType | null + _sum: Packing_category_assigneesSumAggregateOutputType | null + _min: Packing_category_assigneesMinAggregateOutputType | null + _max: Packing_category_assigneesMaxAggregateOutputType | null +} + +export type GetPacking_category_assigneesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_category_assigneesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_category_assigneesWhereInput = { + AND?: Prisma.packing_category_assigneesWhereInput | Prisma.packing_category_assigneesWhereInput[] + OR?: Prisma.packing_category_assigneesWhereInput[] + NOT?: Prisma.packing_category_assigneesWhereInput | Prisma.packing_category_assigneesWhereInput[] + id?: Prisma.IntFilter<"packing_category_assignees"> | number + trip_id?: Prisma.IntFilter<"packing_category_assignees"> | number + category_name?: Prisma.StringFilter<"packing_category_assignees"> | string + user_id?: Prisma.IntFilter<"packing_category_assignees"> | number + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type packing_category_assigneesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type packing_category_assigneesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_category_name_user_id?: Prisma.packing_category_assigneesTrip_idCategory_nameUser_idCompoundUniqueInput + AND?: Prisma.packing_category_assigneesWhereInput | Prisma.packing_category_assigneesWhereInput[] + OR?: Prisma.packing_category_assigneesWhereInput[] + NOT?: Prisma.packing_category_assigneesWhereInput | Prisma.packing_category_assigneesWhereInput[] + trip_id?: Prisma.IntFilter<"packing_category_assignees"> | number + category_name?: Prisma.StringFilter<"packing_category_assignees"> | string + user_id?: Prisma.IntFilter<"packing_category_assignees"> | number + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id" | "trip_id_category_name_user_id"> + +export type packing_category_assigneesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder + _count?: Prisma.packing_category_assigneesCountOrderByAggregateInput + _avg?: Prisma.packing_category_assigneesAvgOrderByAggregateInput + _max?: Prisma.packing_category_assigneesMaxOrderByAggregateInput + _min?: Prisma.packing_category_assigneesMinOrderByAggregateInput + _sum?: Prisma.packing_category_assigneesSumOrderByAggregateInput +} + +export type packing_category_assigneesScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_category_assigneesScalarWhereWithAggregatesInput | Prisma.packing_category_assigneesScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_category_assigneesScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_category_assigneesScalarWhereWithAggregatesInput | Prisma.packing_category_assigneesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_category_assignees"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"packing_category_assignees"> | number + category_name?: Prisma.StringWithAggregatesFilter<"packing_category_assignees"> | string + user_id?: Prisma.IntWithAggregatesFilter<"packing_category_assignees"> | number +} + +export type packing_category_assigneesCreateInput = { + category_name: string + users: Prisma.usersCreateNestedOneWithoutPacking_category_assigneesInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_category_assigneesInput +} + +export type packing_category_assigneesUncheckedCreateInput = { + id?: number + trip_id: number + category_name: string + user_id: number +} + +export type packing_category_assigneesUpdateInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneRequiredWithoutPacking_category_assigneesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_category_assigneesNestedInput +} + +export type packing_category_assigneesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_category_assigneesCreateManyInput = { + id?: number + trip_id: number + category_name: string + user_id: number +} + +export type packing_category_assigneesUpdateManyMutationInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type packing_category_assigneesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_category_assigneesTrip_idCategory_nameUser_idCompoundUniqueInput = { + trip_id: number + category_name: string + user_id: number +} + +export type packing_category_assigneesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_category_assigneesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_category_assigneesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_category_assigneesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type packing_category_assigneesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Packing_category_assigneesListRelationFilter = { + every?: Prisma.packing_category_assigneesWhereInput + some?: Prisma.packing_category_assigneesWhereInput + none?: Prisma.packing_category_assigneesWhereInput +} + +export type packing_category_assigneesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_category_assigneesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutTripsInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_category_assigneesCreateManyTripsInputEnvelope + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] +} + +export type packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutTripsInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_category_assigneesCreateManyTripsInputEnvelope + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] +} + +export type packing_category_assigneesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutTripsInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_category_assigneesCreateManyTripsInputEnvelope + set?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + delete?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + update?: Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_category_assigneesUpdateManyWithWhereWithoutTripsInput | Prisma.packing_category_assigneesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] +} + +export type packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutTripsInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.packing_category_assigneesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_category_assigneesCreateManyTripsInputEnvelope + set?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + delete?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + update?: Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_category_assigneesUpdateManyWithWhereWithoutTripsInput | Prisma.packing_category_assigneesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] +} + +export type packing_category_assigneesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutUsersInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_category_assigneesCreateManyUsersInputEnvelope + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] +} + +export type packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutUsersInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_category_assigneesCreateManyUsersInputEnvelope + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] +} + +export type packing_category_assigneesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutUsersInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_category_assigneesCreateManyUsersInputEnvelope + set?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + delete?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + update?: Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_category_assigneesUpdateManyWithWhereWithoutUsersInput | Prisma.packing_category_assigneesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] +} + +export type packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_category_assigneesCreateWithoutUsersInput[] | Prisma.packing_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.packing_category_assigneesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_category_assigneesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_category_assigneesCreateManyUsersInputEnvelope + set?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + delete?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + connect?: Prisma.packing_category_assigneesWhereUniqueInput | Prisma.packing_category_assigneesWhereUniqueInput[] + update?: Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_category_assigneesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_category_assigneesUpdateManyWithWhereWithoutUsersInput | Prisma.packing_category_assigneesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] +} + +export type packing_category_assigneesCreateWithoutTripsInput = { + category_name: string + users: Prisma.usersCreateNestedOneWithoutPacking_category_assigneesInput +} + +export type packing_category_assigneesUncheckedCreateWithoutTripsInput = { + id?: number + category_name: string + user_id: number +} + +export type packing_category_assigneesCreateOrConnectWithoutTripsInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_category_assigneesCreateManyTripsInputEnvelope = { + data: Prisma.packing_category_assigneesCreateManyTripsInput | Prisma.packing_category_assigneesCreateManyTripsInput[] +} + +export type packing_category_assigneesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_category_assigneesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + data: Prisma.XOR +} + +export type packing_category_assigneesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.packing_category_assigneesScalarWhereInput + data: Prisma.XOR +} + +export type packing_category_assigneesScalarWhereInput = { + AND?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] + OR?: Prisma.packing_category_assigneesScalarWhereInput[] + NOT?: Prisma.packing_category_assigneesScalarWhereInput | Prisma.packing_category_assigneesScalarWhereInput[] + id?: Prisma.IntFilter<"packing_category_assignees"> | number + trip_id?: Prisma.IntFilter<"packing_category_assignees"> | number + category_name?: Prisma.StringFilter<"packing_category_assignees"> | string + user_id?: Prisma.IntFilter<"packing_category_assignees"> | number +} + +export type packing_category_assigneesCreateWithoutUsersInput = { + category_name: string + trips: Prisma.tripsCreateNestedOneWithoutPacking_category_assigneesInput +} + +export type packing_category_assigneesUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + category_name: string +} + +export type packing_category_assigneesCreateOrConnectWithoutUsersInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_category_assigneesCreateManyUsersInputEnvelope = { + data: Prisma.packing_category_assigneesCreateManyUsersInput | Prisma.packing_category_assigneesCreateManyUsersInput[] +} + +export type packing_category_assigneesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_category_assigneesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_category_assigneesWhereUniqueInput + data: Prisma.XOR +} + +export type packing_category_assigneesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.packing_category_assigneesScalarWhereInput + data: Prisma.XOR +} + +export type packing_category_assigneesCreateManyTripsInput = { + id?: number + category_name: string + user_id: number +} + +export type packing_category_assigneesUpdateWithoutTripsInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneRequiredWithoutPacking_category_assigneesNestedInput +} + +export type packing_category_assigneesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_category_assigneesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_category_assigneesCreateManyUsersInput = { + id?: number + trip_id: number + category_name: string +} + +export type packing_category_assigneesUpdateWithoutUsersInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_category_assigneesNestedInput +} + +export type packing_category_assigneesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type packing_category_assigneesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + + + +export type packing_category_assigneesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_category_assignees"]> + +export type packing_category_assigneesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_category_assignees"]> + +export type packing_category_assigneesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_category_assignees"]> + +export type packing_category_assigneesSelectScalar = { + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean +} + +export type packing_category_assigneesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "category_name" | "user_id", ExtArgs["result"]["packing_category_assignees"]> +export type packing_category_assigneesInclude = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type packing_category_assigneesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type packing_category_assigneesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $packing_category_assigneesPayload = { + name: "packing_category_assignees" + objects: { + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + category_name: string + user_id: number + }, ExtArgs["result"]["packing_category_assignees"]> + composites: {} +} + +export type packing_category_assigneesGetPayload = runtime.Types.Result.GetResult + +export type packing_category_assigneesCountArgs = + Omit & { + select?: Packing_category_assigneesCountAggregateInputType | true + } + +export interface packing_category_assigneesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_category_assignees'], meta: { name: 'packing_category_assignees' } } + /** + * Find zero or one Packing_category_assignees that matches the filter. + * @param {packing_category_assigneesFindUniqueArgs} args - Arguments to find a Packing_category_assignees + * @example + * // Get one Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_category_assignees that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_category_assigneesFindUniqueOrThrowArgs} args - Arguments to find a Packing_category_assignees + * @example + * // Get one Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_category_assignees that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesFindFirstArgs} args - Arguments to find a Packing_category_assignees + * @example + * // Get one Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_category_assignees that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesFindFirstOrThrowArgs} args - Arguments to find a Packing_category_assignees + * @example + * // Get one Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_category_assignees that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findMany() + * + * // Get first 10 Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_category_assigneesWithIdOnly = await prisma.packing_category_assignees.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_category_assignees. + * @param {packing_category_assigneesCreateArgs} args - Arguments to create a Packing_category_assignees. + * @example + * // Create one Packing_category_assignees + * const Packing_category_assignees = await prisma.packing_category_assignees.create({ + * data: { + * // ... data to create a Packing_category_assignees + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_category_assignees. + * @param {packing_category_assigneesCreateManyArgs} args - Arguments to create many Packing_category_assignees. + * @example + * // Create many Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_category_assignees and returns the data saved in the database. + * @param {packing_category_assigneesCreateManyAndReturnArgs} args - Arguments to create many Packing_category_assignees. + * @example + * // Create many Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_category_assignees and only return the `id` + * const packing_category_assigneesWithIdOnly = await prisma.packing_category_assignees.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_category_assignees. + * @param {packing_category_assigneesDeleteArgs} args - Arguments to delete one Packing_category_assignees. + * @example + * // Delete one Packing_category_assignees + * const Packing_category_assignees = await prisma.packing_category_assignees.delete({ + * where: { + * // ... filter to delete one Packing_category_assignees + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_category_assignees. + * @param {packing_category_assigneesUpdateArgs} args - Arguments to update one Packing_category_assignees. + * @example + * // Update one Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_category_assignees. + * @param {packing_category_assigneesDeleteManyArgs} args - Arguments to filter Packing_category_assignees to delete. + * @example + * // Delete a few Packing_category_assignees + * const { count } = await prisma.packing_category_assignees.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_category_assignees and returns the data updated in the database. + * @param {packing_category_assigneesUpdateManyAndReturnArgs} args - Arguments to update many Packing_category_assignees. + * @example + * // Update many Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_category_assignees and only return the `id` + * const packing_category_assigneesWithIdOnly = await prisma.packing_category_assignees.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_category_assignees. + * @param {packing_category_assigneesUpsertArgs} args - Arguments to update or create a Packing_category_assignees. + * @example + * // Update or create a Packing_category_assignees + * const packing_category_assignees = await prisma.packing_category_assignees.upsert({ + * create: { + * // ... data to create a Packing_category_assignees + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_category_assignees we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_category_assigneesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesCountArgs} args - Arguments to filter Packing_category_assignees to count. + * @example + * // Count the number of Packing_category_assignees + * const count = await prisma.packing_category_assignees.count({ + * where: { + * // ... the filter for the Packing_category_assignees we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_category_assigneesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_category_assigneesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_category_assigneesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_category_assigneesGroupByArgs['orderBy'] } + : { orderBy?: packing_category_assigneesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_category_assigneesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_category_assignees model + */ +readonly fields: packing_category_assigneesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_category_assignees. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_category_assigneesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_category_assignees model + */ +export interface packing_category_assigneesFieldRefs { + readonly id: Prisma.FieldRef<"packing_category_assignees", 'Int'> + readonly trip_id: Prisma.FieldRef<"packing_category_assignees", 'Int'> + readonly category_name: Prisma.FieldRef<"packing_category_assignees", 'String'> + readonly user_id: Prisma.FieldRef<"packing_category_assignees", 'Int'> +} + + +// Custom InputTypes +/** + * packing_category_assignees findUnique + */ +export type packing_category_assigneesFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter, which packing_category_assignees to fetch. + */ + where: Prisma.packing_category_assigneesWhereUniqueInput +} + +/** + * packing_category_assignees findUniqueOrThrow + */ +export type packing_category_assigneesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter, which packing_category_assignees to fetch. + */ + where: Prisma.packing_category_assigneesWhereUniqueInput +} + +/** + * packing_category_assignees findFirst + */ +export type packing_category_assigneesFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter, which packing_category_assignees to fetch. + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_category_assignees to fetch. + */ + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_category_assignees. + */ + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_category_assignees. + */ + distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[] +} + +/** + * packing_category_assignees findFirstOrThrow + */ +export type packing_category_assigneesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter, which packing_category_assignees to fetch. + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_category_assignees to fetch. + */ + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_category_assignees. + */ + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_category_assignees. + */ + distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[] +} + +/** + * packing_category_assignees findMany + */ +export type packing_category_assigneesFindManyArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter, which packing_category_assignees to fetch. + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_category_assignees to fetch. + */ + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_category_assignees. + */ + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_category_assignees. + */ + distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[] +} + +/** + * packing_category_assignees create + */ +export type packing_category_assigneesCreateArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * The data needed to create a packing_category_assignees. + */ + data: Prisma.XOR +} + +/** + * packing_category_assignees createMany + */ +export type packing_category_assigneesCreateManyArgs = { + /** + * The data used to create many packing_category_assignees. + */ + data: Prisma.packing_category_assigneesCreateManyInput | Prisma.packing_category_assigneesCreateManyInput[] +} + +/** + * packing_category_assignees createManyAndReturn + */ +export type packing_category_assigneesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * The data used to create many packing_category_assignees. + */ + data: Prisma.packing_category_assigneesCreateManyInput | Prisma.packing_category_assigneesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesIncludeCreateManyAndReturn | null +} + +/** + * packing_category_assignees update + */ +export type packing_category_assigneesUpdateArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * The data needed to update a packing_category_assignees. + */ + data: Prisma.XOR + /** + * Choose, which packing_category_assignees to update. + */ + where: Prisma.packing_category_assigneesWhereUniqueInput +} + +/** + * packing_category_assignees updateMany + */ +export type packing_category_assigneesUpdateManyArgs = { + /** + * The data used to update packing_category_assignees. + */ + data: Prisma.XOR + /** + * Filter which packing_category_assignees to update + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * Limit how many packing_category_assignees to update. + */ + limit?: number +} + +/** + * packing_category_assignees updateManyAndReturn + */ +export type packing_category_assigneesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * The data used to update packing_category_assignees. + */ + data: Prisma.XOR + /** + * Filter which packing_category_assignees to update + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * Limit how many packing_category_assignees to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesIncludeUpdateManyAndReturn | null +} + +/** + * packing_category_assignees upsert + */ +export type packing_category_assigneesUpsertArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * The filter to search for the packing_category_assignees to update in case it exists. + */ + where: Prisma.packing_category_assigneesWhereUniqueInput + /** + * In case the packing_category_assignees found by the `where` argument doesn't exist, create a new packing_category_assignees with this data. + */ + create: Prisma.XOR + /** + * In case the packing_category_assignees was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_category_assignees delete + */ +export type packing_category_assigneesDeleteArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + /** + * Filter which packing_category_assignees to delete. + */ + where: Prisma.packing_category_assigneesWhereUniqueInput +} + +/** + * packing_category_assignees deleteMany + */ +export type packing_category_assigneesDeleteManyArgs = { + /** + * Filter which packing_category_assignees to delete + */ + where?: Prisma.packing_category_assigneesWhereInput + /** + * Limit how many packing_category_assignees to delete. + */ + limit?: number +} + +/** + * packing_category_assignees without action + */ +export type packing_category_assigneesDefaultArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null +} diff --git a/server/src/generated/prisma/models/packing_items.ts b/server/src/generated/prisma/models/packing_items.ts new file mode 100644 index 00000000..88968a12 --- /dev/null +++ b/server/src/generated/prisma/models/packing_items.ts @@ -0,0 +1,1758 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_items` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_items + * + */ +export type packing_itemsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_items = { + _count: Packing_itemsCountAggregateOutputType | null + _avg: Packing_itemsAvgAggregateOutputType | null + _sum: Packing_itemsSumAggregateOutputType | null + _min: Packing_itemsMinAggregateOutputType | null + _max: Packing_itemsMaxAggregateOutputType | null +} + +export type Packing_itemsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + checked: number | null + sort_order: number | null + weight_grams: number | null + bag_id: number | null + quantity: number | null +} + +export type Packing_itemsSumAggregateOutputType = { + id: number | null + trip_id: number | null + checked: number | null + sort_order: number | null + weight_grams: number | null + bag_id: number | null + quantity: number | null +} + +export type Packing_itemsMinAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + checked: number | null + category: string | null + sort_order: number | null + created_at: Date | null + weight_grams: number | null + bag_id: number | null + quantity: number | null +} + +export type Packing_itemsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + checked: number | null + category: string | null + sort_order: number | null + created_at: Date | null + weight_grams: number | null + bag_id: number | null + quantity: number | null +} + +export type Packing_itemsCountAggregateOutputType = { + id: number + trip_id: number + name: number + checked: number + category: number + sort_order: number + created_at: number + weight_grams: number + bag_id: number + quantity: number + _all: number +} + + +export type Packing_itemsAvgAggregateInputType = { + id?: true + trip_id?: true + checked?: true + sort_order?: true + weight_grams?: true + bag_id?: true + quantity?: true +} + +export type Packing_itemsSumAggregateInputType = { + id?: true + trip_id?: true + checked?: true + sort_order?: true + weight_grams?: true + bag_id?: true + quantity?: true +} + +export type Packing_itemsMinAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + created_at?: true + weight_grams?: true + bag_id?: true + quantity?: true +} + +export type Packing_itemsMaxAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + created_at?: true + weight_grams?: true + bag_id?: true + quantity?: true +} + +export type Packing_itemsCountAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + created_at?: true + weight_grams?: true + bag_id?: true + quantity?: true + _all?: true +} + +export type Packing_itemsAggregateArgs = { + /** + * Filter which packing_items to aggregate. + */ + where?: Prisma.packing_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_items to fetch. + */ + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_items + **/ + _count?: true | Packing_itemsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_itemsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_itemsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_itemsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_itemsMaxAggregateInputType +} + +export type GetPacking_itemsAggregateType = { + [P in keyof T & keyof AggregatePacking_items]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_itemsGroupByArgs = { + where?: Prisma.packing_itemsWhereInput + orderBy?: Prisma.packing_itemsOrderByWithAggregationInput | Prisma.packing_itemsOrderByWithAggregationInput[] + by: Prisma.Packing_itemsScalarFieldEnum[] | Prisma.Packing_itemsScalarFieldEnum + having?: Prisma.packing_itemsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_itemsCountAggregateInputType | true + _avg?: Packing_itemsAvgAggregateInputType + _sum?: Packing_itemsSumAggregateInputType + _min?: Packing_itemsMinAggregateInputType + _max?: Packing_itemsMaxAggregateInputType +} + +export type Packing_itemsGroupByOutputType = { + id: number + trip_id: number + name: string + checked: number | null + category: string | null + sort_order: number | null + created_at: Date | null + weight_grams: number | null + bag_id: number | null + quantity: number + _count: Packing_itemsCountAggregateOutputType | null + _avg: Packing_itemsAvgAggregateOutputType | null + _sum: Packing_itemsSumAggregateOutputType | null + _min: Packing_itemsMinAggregateOutputType | null + _max: Packing_itemsMaxAggregateOutputType | null +} + +export type GetPacking_itemsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_itemsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_itemsWhereInput = { + AND?: Prisma.packing_itemsWhereInput | Prisma.packing_itemsWhereInput[] + OR?: Prisma.packing_itemsWhereInput[] + NOT?: Prisma.packing_itemsWhereInput | Prisma.packing_itemsWhereInput[] + id?: Prisma.IntFilter<"packing_items"> | number + trip_id?: Prisma.IntFilter<"packing_items"> | number + name?: Prisma.StringFilter<"packing_items"> | string + checked?: Prisma.IntNullableFilter<"packing_items"> | number | null + category?: Prisma.StringNullableFilter<"packing_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"packing_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_items"> | Date | string | null + weight_grams?: Prisma.IntNullableFilter<"packing_items"> | number | null + bag_id?: Prisma.IntNullableFilter<"packing_items"> | number | null + quantity?: Prisma.IntFilter<"packing_items"> | number + packing_bags?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type packing_itemsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrderInput | Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + weight_grams?: Prisma.SortOrderInput | Prisma.SortOrder + bag_id?: Prisma.SortOrderInput | Prisma.SortOrder + quantity?: Prisma.SortOrder + packing_bags?: Prisma.packing_bagsOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type packing_itemsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.packing_itemsWhereInput | Prisma.packing_itemsWhereInput[] + OR?: Prisma.packing_itemsWhereInput[] + NOT?: Prisma.packing_itemsWhereInput | Prisma.packing_itemsWhereInput[] + trip_id?: Prisma.IntFilter<"packing_items"> | number + name?: Prisma.StringFilter<"packing_items"> | string + checked?: Prisma.IntNullableFilter<"packing_items"> | number | null + category?: Prisma.StringNullableFilter<"packing_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"packing_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_items"> | Date | string | null + weight_grams?: Prisma.IntNullableFilter<"packing_items"> | number | null + bag_id?: Prisma.IntNullableFilter<"packing_items"> | number | null + quantity?: Prisma.IntFilter<"packing_items"> | number + packing_bags?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type packing_itemsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrderInput | Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + weight_grams?: Prisma.SortOrderInput | Prisma.SortOrder + bag_id?: Prisma.SortOrderInput | Prisma.SortOrder + quantity?: Prisma.SortOrder + _count?: Prisma.packing_itemsCountOrderByAggregateInput + _avg?: Prisma.packing_itemsAvgOrderByAggregateInput + _max?: Prisma.packing_itemsMaxOrderByAggregateInput + _min?: Prisma.packing_itemsMinOrderByAggregateInput + _sum?: Prisma.packing_itemsSumOrderByAggregateInput +} + +export type packing_itemsScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_itemsScalarWhereWithAggregatesInput | Prisma.packing_itemsScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_itemsScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_itemsScalarWhereWithAggregatesInput | Prisma.packing_itemsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_items"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"packing_items"> | number + name?: Prisma.StringWithAggregatesFilter<"packing_items"> | string + checked?: Prisma.IntNullableWithAggregatesFilter<"packing_items"> | number | null + category?: Prisma.StringNullableWithAggregatesFilter<"packing_items"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"packing_items"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"packing_items"> | Date | string | null + weight_grams?: Prisma.IntNullableWithAggregatesFilter<"packing_items"> | number | null + bag_id?: Prisma.IntNullableWithAggregatesFilter<"packing_items"> | number | null + quantity?: Prisma.IntWithAggregatesFilter<"packing_items"> | number +} + +export type packing_itemsCreateInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + quantity?: number + packing_bags?: Prisma.packing_bagsCreateNestedOneWithoutPacking_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutPacking_itemsInput +} + +export type packing_itemsUncheckedCreateInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + bag_id?: number | null + quantity?: number +} + +export type packing_itemsUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number + packing_bags?: Prisma.packing_bagsUpdateOneWithoutPacking_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_itemsNestedInput +} + +export type packing_itemsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + bag_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_itemsCreateManyInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + bag_id?: number | null + quantity?: number +} + +export type packing_itemsUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_itemsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + bag_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Packing_itemsListRelationFilter = { + every?: Prisma.packing_itemsWhereInput + some?: Prisma.packing_itemsWhereInput + none?: Prisma.packing_itemsWhereInput +} + +export type packing_itemsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_itemsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weight_grams?: Prisma.SortOrder + bag_id?: Prisma.SortOrder + quantity?: Prisma.SortOrder +} + +export type packing_itemsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + checked?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + weight_grams?: Prisma.SortOrder + bag_id?: Prisma.SortOrder + quantity?: Prisma.SortOrder +} + +export type packing_itemsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weight_grams?: Prisma.SortOrder + bag_id?: Prisma.SortOrder + quantity?: Prisma.SortOrder +} + +export type packing_itemsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weight_grams?: Prisma.SortOrder + bag_id?: Prisma.SortOrder + quantity?: Prisma.SortOrder +} + +export type packing_itemsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + checked?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + weight_grams?: Prisma.SortOrder + bag_id?: Prisma.SortOrder + quantity?: Prisma.SortOrder +} + +export type packing_itemsCreateNestedManyWithoutPacking_bagsInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutPacking_bagsInput[] | Prisma.packing_itemsUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput[] + createMany?: Prisma.packing_itemsCreateManyPacking_bagsInputEnvelope + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] +} + +export type packing_itemsUncheckedCreateNestedManyWithoutPacking_bagsInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutPacking_bagsInput[] | Prisma.packing_itemsUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput[] + createMany?: Prisma.packing_itemsCreateManyPacking_bagsInputEnvelope + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] +} + +export type packing_itemsUpdateManyWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutPacking_bagsInput[] | Prisma.packing_itemsUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput[] + upsert?: Prisma.packing_itemsUpsertWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_itemsUpsertWithWhereUniqueWithoutPacking_bagsInput[] + createMany?: Prisma.packing_itemsCreateManyPacking_bagsInputEnvelope + set?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + delete?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + update?: Prisma.packing_itemsUpdateWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_itemsUpdateWithWhereUniqueWithoutPacking_bagsInput[] + updateMany?: Prisma.packing_itemsUpdateManyWithWhereWithoutPacking_bagsInput | Prisma.packing_itemsUpdateManyWithWhereWithoutPacking_bagsInput[] + deleteMany?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] +} + +export type packing_itemsUncheckedUpdateManyWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutPacking_bagsInput[] | Prisma.packing_itemsUncheckedCreateWithoutPacking_bagsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput | Prisma.packing_itemsCreateOrConnectWithoutPacking_bagsInput[] + upsert?: Prisma.packing_itemsUpsertWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_itemsUpsertWithWhereUniqueWithoutPacking_bagsInput[] + createMany?: Prisma.packing_itemsCreateManyPacking_bagsInputEnvelope + set?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + delete?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + update?: Prisma.packing_itemsUpdateWithWhereUniqueWithoutPacking_bagsInput | Prisma.packing_itemsUpdateWithWhereUniqueWithoutPacking_bagsInput[] + updateMany?: Prisma.packing_itemsUpdateManyWithWhereWithoutPacking_bagsInput | Prisma.packing_itemsUpdateManyWithWhereWithoutPacking_bagsInput[] + deleteMany?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] +} + +export type packing_itemsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutTripsInput[] | Prisma.packing_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutTripsInput | Prisma.packing_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_itemsCreateManyTripsInputEnvelope + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] +} + +export type packing_itemsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutTripsInput[] | Prisma.packing_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutTripsInput | Prisma.packing_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.packing_itemsCreateManyTripsInputEnvelope + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] +} + +export type packing_itemsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutTripsInput[] | Prisma.packing_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutTripsInput | Prisma.packing_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_itemsCreateManyTripsInputEnvelope + set?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + delete?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + update?: Prisma.packing_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.packing_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] +} + +export type packing_itemsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.packing_itemsCreateWithoutTripsInput[] | Prisma.packing_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.packing_itemsCreateOrConnectWithoutTripsInput | Prisma.packing_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.packing_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.packing_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.packing_itemsCreateManyTripsInputEnvelope + set?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + delete?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + connect?: Prisma.packing_itemsWhereUniqueInput | Prisma.packing_itemsWhereUniqueInput[] + update?: Prisma.packing_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.packing_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.packing_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.packing_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] +} + +export type packing_itemsCreateWithoutPacking_bagsInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + quantity?: number + trips: Prisma.tripsCreateNestedOneWithoutPacking_itemsInput +} + +export type packing_itemsUncheckedCreateWithoutPacking_bagsInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + quantity?: number +} + +export type packing_itemsCreateOrConnectWithoutPacking_bagsInput = { + where: Prisma.packing_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_itemsCreateManyPacking_bagsInputEnvelope = { + data: Prisma.packing_itemsCreateManyPacking_bagsInput | Prisma.packing_itemsCreateManyPacking_bagsInput[] +} + +export type packing_itemsUpsertWithWhereUniqueWithoutPacking_bagsInput = { + where: Prisma.packing_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_itemsUpdateWithWhereUniqueWithoutPacking_bagsInput = { + where: Prisma.packing_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type packing_itemsUpdateManyWithWhereWithoutPacking_bagsInput = { + where: Prisma.packing_itemsScalarWhereInput + data: Prisma.XOR +} + +export type packing_itemsScalarWhereInput = { + AND?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] + OR?: Prisma.packing_itemsScalarWhereInput[] + NOT?: Prisma.packing_itemsScalarWhereInput | Prisma.packing_itemsScalarWhereInput[] + id?: Prisma.IntFilter<"packing_items"> | number + trip_id?: Prisma.IntFilter<"packing_items"> | number + name?: Prisma.StringFilter<"packing_items"> | string + checked?: Prisma.IntNullableFilter<"packing_items"> | number | null + category?: Prisma.StringNullableFilter<"packing_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"packing_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"packing_items"> | Date | string | null + weight_grams?: Prisma.IntNullableFilter<"packing_items"> | number | null + bag_id?: Prisma.IntNullableFilter<"packing_items"> | number | null + quantity?: Prisma.IntFilter<"packing_items"> | number +} + +export type packing_itemsCreateWithoutTripsInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + quantity?: number + packing_bags?: Prisma.packing_bagsCreateNestedOneWithoutPacking_itemsInput +} + +export type packing_itemsUncheckedCreateWithoutTripsInput = { + id?: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + bag_id?: number | null + quantity?: number +} + +export type packing_itemsCreateOrConnectWithoutTripsInput = { + where: Prisma.packing_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_itemsCreateManyTripsInputEnvelope = { + data: Prisma.packing_itemsCreateManyTripsInput | Prisma.packing_itemsCreateManyTripsInput[] +} + +export type packing_itemsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_itemsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.packing_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type packing_itemsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.packing_itemsScalarWhereInput + data: Prisma.XOR +} + +export type packing_itemsCreateManyPacking_bagsInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + quantity?: number +} + +export type packing_itemsUpdateWithoutPacking_bagsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number + trips?: Prisma.tripsUpdateOneRequiredWithoutPacking_itemsNestedInput +} + +export type packing_itemsUncheckedUpdateWithoutPacking_bagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_itemsUncheckedUpdateManyWithoutPacking_bagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_itemsCreateManyTripsInput = { + id?: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + created_at?: Date | string | null + weight_grams?: number | null + bag_id?: number | null + quantity?: number +} + +export type packing_itemsUpdateWithoutTripsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number + packing_bags?: Prisma.packing_bagsUpdateOneWithoutPacking_itemsNestedInput +} + +export type packing_itemsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + bag_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_itemsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weight_grams?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + bag_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + quantity?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type packing_itemsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + created_at?: boolean + weight_grams?: boolean + bag_id?: boolean + quantity?: boolean + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_items"]> + +export type packing_itemsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + created_at?: boolean + weight_grams?: boolean + bag_id?: boolean + quantity?: boolean + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_items"]> + +export type packing_itemsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + created_at?: boolean + weight_grams?: boolean + bag_id?: boolean + quantity?: boolean + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["packing_items"]> + +export type packing_itemsSelectScalar = { + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + created_at?: boolean + weight_grams?: boolean + bag_id?: boolean + quantity?: boolean +} + +export type packing_itemsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "name" | "checked" | "category" | "sort_order" | "created_at" | "weight_grams" | "bag_id" | "quantity", ExtArgs["result"]["packing_items"]> +export type packing_itemsInclude = { + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type packing_itemsIncludeCreateManyAndReturn = { + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type packing_itemsIncludeUpdateManyAndReturn = { + packing_bags?: boolean | Prisma.packing_items$packing_bagsArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $packing_itemsPayload = { + name: "packing_items" + objects: { + packing_bags: Prisma.$packing_bagsPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + name: string + checked: number | null + category: string | null + sort_order: number | null + created_at: Date | null + weight_grams: number | null + bag_id: number | null + quantity: number + }, ExtArgs["result"]["packing_items"]> + composites: {} +} + +export type packing_itemsGetPayload = runtime.Types.Result.GetResult + +export type packing_itemsCountArgs = + Omit & { + select?: Packing_itemsCountAggregateInputType | true + } + +export interface packing_itemsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_items'], meta: { name: 'packing_items' } } + /** + * Find zero or one Packing_items that matches the filter. + * @param {packing_itemsFindUniqueArgs} args - Arguments to find a Packing_items + * @example + * // Get one Packing_items + * const packing_items = await prisma.packing_items.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_items that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_itemsFindUniqueOrThrowArgs} args - Arguments to find a Packing_items + * @example + * // Get one Packing_items + * const packing_items = await prisma.packing_items.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsFindFirstArgs} args - Arguments to find a Packing_items + * @example + * // Get one Packing_items + * const packing_items = await prisma.packing_items.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_items that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsFindFirstOrThrowArgs} args - Arguments to find a Packing_items + * @example + * // Get one Packing_items + * const packing_items = await prisma.packing_items.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_items + * const packing_items = await prisma.packing_items.findMany() + * + * // Get first 10 Packing_items + * const packing_items = await prisma.packing_items.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_itemsWithIdOnly = await prisma.packing_items.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_items. + * @param {packing_itemsCreateArgs} args - Arguments to create a Packing_items. + * @example + * // Create one Packing_items + * const Packing_items = await prisma.packing_items.create({ + * data: { + * // ... data to create a Packing_items + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_items. + * @param {packing_itemsCreateManyArgs} args - Arguments to create many Packing_items. + * @example + * // Create many Packing_items + * const packing_items = await prisma.packing_items.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_items and returns the data saved in the database. + * @param {packing_itemsCreateManyAndReturnArgs} args - Arguments to create many Packing_items. + * @example + * // Create many Packing_items + * const packing_items = await prisma.packing_items.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_items and only return the `id` + * const packing_itemsWithIdOnly = await prisma.packing_items.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_items. + * @param {packing_itemsDeleteArgs} args - Arguments to delete one Packing_items. + * @example + * // Delete one Packing_items + * const Packing_items = await prisma.packing_items.delete({ + * where: { + * // ... filter to delete one Packing_items + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_items. + * @param {packing_itemsUpdateArgs} args - Arguments to update one Packing_items. + * @example + * // Update one Packing_items + * const packing_items = await prisma.packing_items.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_items. + * @param {packing_itemsDeleteManyArgs} args - Arguments to filter Packing_items to delete. + * @example + * // Delete a few Packing_items + * const { count } = await prisma.packing_items.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_items + * const packing_items = await prisma.packing_items.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_items and returns the data updated in the database. + * @param {packing_itemsUpdateManyAndReturnArgs} args - Arguments to update many Packing_items. + * @example + * // Update many Packing_items + * const packing_items = await prisma.packing_items.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_items and only return the `id` + * const packing_itemsWithIdOnly = await prisma.packing_items.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_items. + * @param {packing_itemsUpsertArgs} args - Arguments to update or create a Packing_items. + * @example + * // Update or create a Packing_items + * const packing_items = await prisma.packing_items.upsert({ + * create: { + * // ... data to create a Packing_items + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_items we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_itemsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsCountArgs} args - Arguments to filter Packing_items to count. + * @example + * // Count the number of Packing_items + * const count = await prisma.packing_items.count({ + * where: { + * // ... the filter for the Packing_items we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_itemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_itemsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_itemsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_itemsGroupByArgs['orderBy'] } + : { orderBy?: packing_itemsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_itemsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_items model + */ +readonly fields: packing_itemsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_items. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_itemsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + packing_bags = {}>(args?: Prisma.Subset>): Prisma.Prisma__packing_bagsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_items model + */ +export interface packing_itemsFieldRefs { + readonly id: Prisma.FieldRef<"packing_items", 'Int'> + readonly trip_id: Prisma.FieldRef<"packing_items", 'Int'> + readonly name: Prisma.FieldRef<"packing_items", 'String'> + readonly checked: Prisma.FieldRef<"packing_items", 'Int'> + readonly category: Prisma.FieldRef<"packing_items", 'String'> + readonly sort_order: Prisma.FieldRef<"packing_items", 'Int'> + readonly created_at: Prisma.FieldRef<"packing_items", 'DateTime'> + readonly weight_grams: Prisma.FieldRef<"packing_items", 'Int'> + readonly bag_id: Prisma.FieldRef<"packing_items", 'Int'> + readonly quantity: Prisma.FieldRef<"packing_items", 'Int'> +} + + +// Custom InputTypes +/** + * packing_items findUnique + */ +export type packing_itemsFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter, which packing_items to fetch. + */ + where: Prisma.packing_itemsWhereUniqueInput +} + +/** + * packing_items findUniqueOrThrow + */ +export type packing_itemsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter, which packing_items to fetch. + */ + where: Prisma.packing_itemsWhereUniqueInput +} + +/** + * packing_items findFirst + */ +export type packing_itemsFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter, which packing_items to fetch. + */ + where?: Prisma.packing_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_items to fetch. + */ + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_items. + */ + cursor?: Prisma.packing_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_items. + */ + distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[] +} + +/** + * packing_items findFirstOrThrow + */ +export type packing_itemsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter, which packing_items to fetch. + */ + where?: Prisma.packing_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_items to fetch. + */ + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_items. + */ + cursor?: Prisma.packing_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_items. + */ + distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[] +} + +/** + * packing_items findMany + */ +export type packing_itemsFindManyArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter, which packing_items to fetch. + */ + where?: Prisma.packing_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_items to fetch. + */ + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_items. + */ + cursor?: Prisma.packing_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_items. + */ + distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[] +} + +/** + * packing_items create + */ +export type packing_itemsCreateArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * The data needed to create a packing_items. + */ + data: Prisma.XOR +} + +/** + * packing_items createMany + */ +export type packing_itemsCreateManyArgs = { + /** + * The data used to create many packing_items. + */ + data: Prisma.packing_itemsCreateManyInput | Prisma.packing_itemsCreateManyInput[] +} + +/** + * packing_items createManyAndReturn + */ +export type packing_itemsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * The data used to create many packing_items. + */ + data: Prisma.packing_itemsCreateManyInput | Prisma.packing_itemsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsIncludeCreateManyAndReturn | null +} + +/** + * packing_items update + */ +export type packing_itemsUpdateArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * The data needed to update a packing_items. + */ + data: Prisma.XOR + /** + * Choose, which packing_items to update. + */ + where: Prisma.packing_itemsWhereUniqueInput +} + +/** + * packing_items updateMany + */ +export type packing_itemsUpdateManyArgs = { + /** + * The data used to update packing_items. + */ + data: Prisma.XOR + /** + * Filter which packing_items to update + */ + where?: Prisma.packing_itemsWhereInput + /** + * Limit how many packing_items to update. + */ + limit?: number +} + +/** + * packing_items updateManyAndReturn + */ +export type packing_itemsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * The data used to update packing_items. + */ + data: Prisma.XOR + /** + * Filter which packing_items to update + */ + where?: Prisma.packing_itemsWhereInput + /** + * Limit how many packing_items to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsIncludeUpdateManyAndReturn | null +} + +/** + * packing_items upsert + */ +export type packing_itemsUpsertArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * The filter to search for the packing_items to update in case it exists. + */ + where: Prisma.packing_itemsWhereUniqueInput + /** + * In case the packing_items found by the `where` argument doesn't exist, create a new packing_items with this data. + */ + create: Prisma.XOR + /** + * In case the packing_items was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_items delete + */ +export type packing_itemsDeleteArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + /** + * Filter which packing_items to delete. + */ + where: Prisma.packing_itemsWhereUniqueInput +} + +/** + * packing_items deleteMany + */ +export type packing_itemsDeleteManyArgs = { + /** + * Filter which packing_items to delete + */ + where?: Prisma.packing_itemsWhereInput + /** + * Limit how many packing_items to delete. + */ + limit?: number +} + +/** + * packing_items.packing_bags + */ +export type packing_items$packing_bagsArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + where?: Prisma.packing_bagsWhereInput +} + +/** + * packing_items without action + */ +export type packing_itemsDefaultArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null +} diff --git a/server/src/generated/prisma/models/packing_template_categories.ts b/server/src/generated/prisma/models/packing_template_categories.ts new file mode 100644 index 00000000..c7e3fd75 --- /dev/null +++ b/server/src/generated/prisma/models/packing_template_categories.ts @@ -0,0 +1,1489 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_template_categories` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_template_categories + * + */ +export type packing_template_categoriesModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_template_categories = { + _count: Packing_template_categoriesCountAggregateOutputType | null + _avg: Packing_template_categoriesAvgAggregateOutputType | null + _sum: Packing_template_categoriesSumAggregateOutputType | null + _min: Packing_template_categoriesMinAggregateOutputType | null + _max: Packing_template_categoriesMaxAggregateOutputType | null +} + +export type Packing_template_categoriesAvgAggregateOutputType = { + id: number | null + template_id: number | null + sort_order: number | null +} + +export type Packing_template_categoriesSumAggregateOutputType = { + id: number | null + template_id: number | null + sort_order: number | null +} + +export type Packing_template_categoriesMinAggregateOutputType = { + id: number | null + template_id: number | null + name: string | null + sort_order: number | null +} + +export type Packing_template_categoriesMaxAggregateOutputType = { + id: number | null + template_id: number | null + name: string | null + sort_order: number | null +} + +export type Packing_template_categoriesCountAggregateOutputType = { + id: number + template_id: number + name: number + sort_order: number + _all: number +} + + +export type Packing_template_categoriesAvgAggregateInputType = { + id?: true + template_id?: true + sort_order?: true +} + +export type Packing_template_categoriesSumAggregateInputType = { + id?: true + template_id?: true + sort_order?: true +} + +export type Packing_template_categoriesMinAggregateInputType = { + id?: true + template_id?: true + name?: true + sort_order?: true +} + +export type Packing_template_categoriesMaxAggregateInputType = { + id?: true + template_id?: true + name?: true + sort_order?: true +} + +export type Packing_template_categoriesCountAggregateInputType = { + id?: true + template_id?: true + name?: true + sort_order?: true + _all?: true +} + +export type Packing_template_categoriesAggregateArgs = { + /** + * Filter which packing_template_categories to aggregate. + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_categories to fetch. + */ + orderBy?: Prisma.packing_template_categoriesOrderByWithRelationInput | Prisma.packing_template_categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_template_categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_template_categories + **/ + _count?: true | Packing_template_categoriesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_template_categoriesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_template_categoriesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_template_categoriesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_template_categoriesMaxAggregateInputType +} + +export type GetPacking_template_categoriesAggregateType = { + [P in keyof T & keyof AggregatePacking_template_categories]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_template_categoriesGroupByArgs = { + where?: Prisma.packing_template_categoriesWhereInput + orderBy?: Prisma.packing_template_categoriesOrderByWithAggregationInput | Prisma.packing_template_categoriesOrderByWithAggregationInput[] + by: Prisma.Packing_template_categoriesScalarFieldEnum[] | Prisma.Packing_template_categoriesScalarFieldEnum + having?: Prisma.packing_template_categoriesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_template_categoriesCountAggregateInputType | true + _avg?: Packing_template_categoriesAvgAggregateInputType + _sum?: Packing_template_categoriesSumAggregateInputType + _min?: Packing_template_categoriesMinAggregateInputType + _max?: Packing_template_categoriesMaxAggregateInputType +} + +export type Packing_template_categoriesGroupByOutputType = { + id: number + template_id: number + name: string + sort_order: number + _count: Packing_template_categoriesCountAggregateOutputType | null + _avg: Packing_template_categoriesAvgAggregateOutputType | null + _sum: Packing_template_categoriesSumAggregateOutputType | null + _min: Packing_template_categoriesMinAggregateOutputType | null + _max: Packing_template_categoriesMaxAggregateOutputType | null +} + +export type GetPacking_template_categoriesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_template_categoriesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_template_categoriesWhereInput = { + AND?: Prisma.packing_template_categoriesWhereInput | Prisma.packing_template_categoriesWhereInput[] + OR?: Prisma.packing_template_categoriesWhereInput[] + NOT?: Prisma.packing_template_categoriesWhereInput | Prisma.packing_template_categoriesWhereInput[] + id?: Prisma.IntFilter<"packing_template_categories"> | number + template_id?: Prisma.IntFilter<"packing_template_categories"> | number + name?: Prisma.StringFilter<"packing_template_categories"> | string + sort_order?: Prisma.IntFilter<"packing_template_categories"> | number + packing_templates?: Prisma.XOR + packing_template_items?: Prisma.Packing_template_itemsListRelationFilter +} + +export type packing_template_categoriesOrderByWithRelationInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + packing_templates?: Prisma.packing_templatesOrderByWithRelationInput + packing_template_items?: Prisma.packing_template_itemsOrderByRelationAggregateInput +} + +export type packing_template_categoriesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.packing_template_categoriesWhereInput | Prisma.packing_template_categoriesWhereInput[] + OR?: Prisma.packing_template_categoriesWhereInput[] + NOT?: Prisma.packing_template_categoriesWhereInput | Prisma.packing_template_categoriesWhereInput[] + template_id?: Prisma.IntFilter<"packing_template_categories"> | number + name?: Prisma.StringFilter<"packing_template_categories"> | string + sort_order?: Prisma.IntFilter<"packing_template_categories"> | number + packing_templates?: Prisma.XOR + packing_template_items?: Prisma.Packing_template_itemsListRelationFilter +}, "id"> + +export type packing_template_categoriesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + _count?: Prisma.packing_template_categoriesCountOrderByAggregateInput + _avg?: Prisma.packing_template_categoriesAvgOrderByAggregateInput + _max?: Prisma.packing_template_categoriesMaxOrderByAggregateInput + _min?: Prisma.packing_template_categoriesMinOrderByAggregateInput + _sum?: Prisma.packing_template_categoriesSumOrderByAggregateInput +} + +export type packing_template_categoriesScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_template_categoriesScalarWhereWithAggregatesInput | Prisma.packing_template_categoriesScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_template_categoriesScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_template_categoriesScalarWhereWithAggregatesInput | Prisma.packing_template_categoriesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_template_categories"> | number + template_id?: Prisma.IntWithAggregatesFilter<"packing_template_categories"> | number + name?: Prisma.StringWithAggregatesFilter<"packing_template_categories"> | string + sort_order?: Prisma.IntWithAggregatesFilter<"packing_template_categories"> | number +} + +export type packing_template_categoriesCreateInput = { + name: string + sort_order?: number + packing_templates: Prisma.packing_templatesCreateNestedOneWithoutPacking_template_categoriesInput + packing_template_items?: Prisma.packing_template_itemsCreateNestedManyWithoutPacking_template_categoriesInput +} + +export type packing_template_categoriesUncheckedCreateInput = { + id?: number + template_id: number + name: string + sort_order?: number + packing_template_items?: Prisma.packing_template_itemsUncheckedCreateNestedManyWithoutPacking_template_categoriesInput +} + +export type packing_template_categoriesUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_templates?: Prisma.packing_templatesUpdateOneRequiredWithoutPacking_template_categoriesNestedInput + packing_template_items?: Prisma.packing_template_itemsUpdateManyWithoutPacking_template_categoriesNestedInput +} + +export type packing_template_categoriesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + template_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_template_items?: Prisma.packing_template_itemsUncheckedUpdateManyWithoutPacking_template_categoriesNestedInput +} + +export type packing_template_categoriesCreateManyInput = { + id?: number + template_id: number + name: string + sort_order?: number +} + +export type packing_template_categoriesUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_categoriesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + template_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_categoriesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_categoriesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_categoriesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_categoriesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_categoriesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + template_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type Packing_template_categoriesScalarRelationFilter = { + is?: Prisma.packing_template_categoriesWhereInput + isNot?: Prisma.packing_template_categoriesWhereInput +} + +export type Packing_template_categoriesListRelationFilter = { + every?: Prisma.packing_template_categoriesWhereInput + some?: Prisma.packing_template_categoriesWhereInput + none?: Prisma.packing_template_categoriesWhereInput +} + +export type packing_template_categoriesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_template_categoriesCreateNestedOneWithoutPacking_template_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_template_itemsInput + connect?: Prisma.packing_template_categoriesWhereUniqueInput +} + +export type packing_template_categoriesUpdateOneRequiredWithoutPacking_template_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_template_itemsInput + upsert?: Prisma.packing_template_categoriesUpsertWithoutPacking_template_itemsInput + connect?: Prisma.packing_template_categoriesWhereUniqueInput + update?: Prisma.XOR, Prisma.packing_template_categoriesUncheckedUpdateWithoutPacking_template_itemsInput> +} + +export type packing_template_categoriesCreateNestedManyWithoutPacking_templatesInput = { + create?: Prisma.XOR | Prisma.packing_template_categoriesCreateWithoutPacking_templatesInput[] | Prisma.packing_template_categoriesUncheckedCreateWithoutPacking_templatesInput[] + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput | Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput[] + createMany?: Prisma.packing_template_categoriesCreateManyPacking_templatesInputEnvelope + connect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] +} + +export type packing_template_categoriesUncheckedCreateNestedManyWithoutPacking_templatesInput = { + create?: Prisma.XOR | Prisma.packing_template_categoriesCreateWithoutPacking_templatesInput[] | Prisma.packing_template_categoriesUncheckedCreateWithoutPacking_templatesInput[] + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput | Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput[] + createMany?: Prisma.packing_template_categoriesCreateManyPacking_templatesInputEnvelope + connect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] +} + +export type packing_template_categoriesUpdateManyWithoutPacking_templatesNestedInput = { + create?: Prisma.XOR | Prisma.packing_template_categoriesCreateWithoutPacking_templatesInput[] | Prisma.packing_template_categoriesUncheckedCreateWithoutPacking_templatesInput[] + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput | Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput[] + upsert?: Prisma.packing_template_categoriesUpsertWithWhereUniqueWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpsertWithWhereUniqueWithoutPacking_templatesInput[] + createMany?: Prisma.packing_template_categoriesCreateManyPacking_templatesInputEnvelope + set?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + disconnect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + delete?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + connect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + update?: Prisma.packing_template_categoriesUpdateWithWhereUniqueWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpdateWithWhereUniqueWithoutPacking_templatesInput[] + updateMany?: Prisma.packing_template_categoriesUpdateManyWithWhereWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpdateManyWithWhereWithoutPacking_templatesInput[] + deleteMany?: Prisma.packing_template_categoriesScalarWhereInput | Prisma.packing_template_categoriesScalarWhereInput[] +} + +export type packing_template_categoriesUncheckedUpdateManyWithoutPacking_templatesNestedInput = { + create?: Prisma.XOR | Prisma.packing_template_categoriesCreateWithoutPacking_templatesInput[] | Prisma.packing_template_categoriesUncheckedCreateWithoutPacking_templatesInput[] + connectOrCreate?: Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput | Prisma.packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput[] + upsert?: Prisma.packing_template_categoriesUpsertWithWhereUniqueWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpsertWithWhereUniqueWithoutPacking_templatesInput[] + createMany?: Prisma.packing_template_categoriesCreateManyPacking_templatesInputEnvelope + set?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + disconnect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + delete?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + connect?: Prisma.packing_template_categoriesWhereUniqueInput | Prisma.packing_template_categoriesWhereUniqueInput[] + update?: Prisma.packing_template_categoriesUpdateWithWhereUniqueWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpdateWithWhereUniqueWithoutPacking_templatesInput[] + updateMany?: Prisma.packing_template_categoriesUpdateManyWithWhereWithoutPacking_templatesInput | Prisma.packing_template_categoriesUpdateManyWithWhereWithoutPacking_templatesInput[] + deleteMany?: Prisma.packing_template_categoriesScalarWhereInput | Prisma.packing_template_categoriesScalarWhereInput[] +} + +export type packing_template_categoriesCreateWithoutPacking_template_itemsInput = { + name: string + sort_order?: number + packing_templates: Prisma.packing_templatesCreateNestedOneWithoutPacking_template_categoriesInput +} + +export type packing_template_categoriesUncheckedCreateWithoutPacking_template_itemsInput = { + id?: number + template_id: number + name: string + sort_order?: number +} + +export type packing_template_categoriesCreateOrConnectWithoutPacking_template_itemsInput = { + where: Prisma.packing_template_categoriesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_template_categoriesUpsertWithoutPacking_template_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.packing_template_categoriesWhereInput +} + +export type packing_template_categoriesUpdateToOneWithWhereWithoutPacking_template_itemsInput = { + where?: Prisma.packing_template_categoriesWhereInput + data: Prisma.XOR +} + +export type packing_template_categoriesUpdateWithoutPacking_template_itemsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_templates?: Prisma.packing_templatesUpdateOneRequiredWithoutPacking_template_categoriesNestedInput +} + +export type packing_template_categoriesUncheckedUpdateWithoutPacking_template_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + template_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_categoriesCreateWithoutPacking_templatesInput = { + name: string + sort_order?: number + packing_template_items?: Prisma.packing_template_itemsCreateNestedManyWithoutPacking_template_categoriesInput +} + +export type packing_template_categoriesUncheckedCreateWithoutPacking_templatesInput = { + id?: number + name: string + sort_order?: number + packing_template_items?: Prisma.packing_template_itemsUncheckedCreateNestedManyWithoutPacking_template_categoriesInput +} + +export type packing_template_categoriesCreateOrConnectWithoutPacking_templatesInput = { + where: Prisma.packing_template_categoriesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_template_categoriesCreateManyPacking_templatesInputEnvelope = { + data: Prisma.packing_template_categoriesCreateManyPacking_templatesInput | Prisma.packing_template_categoriesCreateManyPacking_templatesInput[] +} + +export type packing_template_categoriesUpsertWithWhereUniqueWithoutPacking_templatesInput = { + where: Prisma.packing_template_categoriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_template_categoriesUpdateWithWhereUniqueWithoutPacking_templatesInput = { + where: Prisma.packing_template_categoriesWhereUniqueInput + data: Prisma.XOR +} + +export type packing_template_categoriesUpdateManyWithWhereWithoutPacking_templatesInput = { + where: Prisma.packing_template_categoriesScalarWhereInput + data: Prisma.XOR +} + +export type packing_template_categoriesScalarWhereInput = { + AND?: Prisma.packing_template_categoriesScalarWhereInput | Prisma.packing_template_categoriesScalarWhereInput[] + OR?: Prisma.packing_template_categoriesScalarWhereInput[] + NOT?: Prisma.packing_template_categoriesScalarWhereInput | Prisma.packing_template_categoriesScalarWhereInput[] + id?: Prisma.IntFilter<"packing_template_categories"> | number + template_id?: Prisma.IntFilter<"packing_template_categories"> | number + name?: Prisma.StringFilter<"packing_template_categories"> | string + sort_order?: Prisma.IntFilter<"packing_template_categories"> | number +} + +export type packing_template_categoriesCreateManyPacking_templatesInput = { + id?: number + name: string + sort_order?: number +} + +export type packing_template_categoriesUpdateWithoutPacking_templatesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_template_items?: Prisma.packing_template_itemsUpdateManyWithoutPacking_template_categoriesNestedInput +} + +export type packing_template_categoriesUncheckedUpdateWithoutPacking_templatesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_template_items?: Prisma.packing_template_itemsUncheckedUpdateManyWithoutPacking_template_categoriesNestedInput +} + +export type packing_template_categoriesUncheckedUpdateManyWithoutPacking_templatesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + + +/** + * Count Type Packing_template_categoriesCountOutputType + */ + +export type Packing_template_categoriesCountOutputType = { + packing_template_items: number +} + +export type Packing_template_categoriesCountOutputTypeSelect = { + packing_template_items?: boolean | Packing_template_categoriesCountOutputTypeCountPacking_template_itemsArgs +} + +/** + * Packing_template_categoriesCountOutputType without action + */ +export type Packing_template_categoriesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Packing_template_categoriesCountOutputType + */ + select?: Prisma.Packing_template_categoriesCountOutputTypeSelect | null +} + +/** + * Packing_template_categoriesCountOutputType without action + */ +export type Packing_template_categoriesCountOutputTypeCountPacking_template_itemsArgs = { + where?: Prisma.packing_template_itemsWhereInput +} + + +export type packing_template_categoriesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + template_id?: boolean + name?: boolean + sort_order?: boolean + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs + packing_template_items?: boolean | Prisma.packing_template_categories$packing_template_itemsArgs + _count?: boolean | Prisma.Packing_template_categoriesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["packing_template_categories"]> + +export type packing_template_categoriesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + template_id?: boolean + name?: boolean + sort_order?: boolean + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs +}, ExtArgs["result"]["packing_template_categories"]> + +export type packing_template_categoriesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + template_id?: boolean + name?: boolean + sort_order?: boolean + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs +}, ExtArgs["result"]["packing_template_categories"]> + +export type packing_template_categoriesSelectScalar = { + id?: boolean + template_id?: boolean + name?: boolean + sort_order?: boolean +} + +export type packing_template_categoriesOmit = runtime.Types.Extensions.GetOmit<"id" | "template_id" | "name" | "sort_order", ExtArgs["result"]["packing_template_categories"]> +export type packing_template_categoriesInclude = { + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs + packing_template_items?: boolean | Prisma.packing_template_categories$packing_template_itemsArgs + _count?: boolean | Prisma.Packing_template_categoriesCountOutputTypeDefaultArgs +} +export type packing_template_categoriesIncludeCreateManyAndReturn = { + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs +} +export type packing_template_categoriesIncludeUpdateManyAndReturn = { + packing_templates?: boolean | Prisma.packing_templatesDefaultArgs +} + +export type $packing_template_categoriesPayload = { + name: "packing_template_categories" + objects: { + packing_templates: Prisma.$packing_templatesPayload + packing_template_items: Prisma.$packing_template_itemsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + template_id: number + name: string + sort_order: number + }, ExtArgs["result"]["packing_template_categories"]> + composites: {} +} + +export type packing_template_categoriesGetPayload = runtime.Types.Result.GetResult + +export type packing_template_categoriesCountArgs = + Omit & { + select?: Packing_template_categoriesCountAggregateInputType | true + } + +export interface packing_template_categoriesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_template_categories'], meta: { name: 'packing_template_categories' } } + /** + * Find zero or one Packing_template_categories that matches the filter. + * @param {packing_template_categoriesFindUniqueArgs} args - Arguments to find a Packing_template_categories + * @example + * // Get one Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_template_categories that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_template_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Packing_template_categories + * @example + * // Get one Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_template_categories that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesFindFirstArgs} args - Arguments to find a Packing_template_categories + * @example + * // Get one Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_template_categories that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesFindFirstOrThrowArgs} args - Arguments to find a Packing_template_categories + * @example + * // Get one Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_template_categories that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findMany() + * + * // Get first 10 Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_template_categoriesWithIdOnly = await prisma.packing_template_categories.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_template_categories. + * @param {packing_template_categoriesCreateArgs} args - Arguments to create a Packing_template_categories. + * @example + * // Create one Packing_template_categories + * const Packing_template_categories = await prisma.packing_template_categories.create({ + * data: { + * // ... data to create a Packing_template_categories + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_template_categories. + * @param {packing_template_categoriesCreateManyArgs} args - Arguments to create many Packing_template_categories. + * @example + * // Create many Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_template_categories and returns the data saved in the database. + * @param {packing_template_categoriesCreateManyAndReturnArgs} args - Arguments to create many Packing_template_categories. + * @example + * // Create many Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_template_categories and only return the `id` + * const packing_template_categoriesWithIdOnly = await prisma.packing_template_categories.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_template_categories. + * @param {packing_template_categoriesDeleteArgs} args - Arguments to delete one Packing_template_categories. + * @example + * // Delete one Packing_template_categories + * const Packing_template_categories = await prisma.packing_template_categories.delete({ + * where: { + * // ... filter to delete one Packing_template_categories + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_template_categories. + * @param {packing_template_categoriesUpdateArgs} args - Arguments to update one Packing_template_categories. + * @example + * // Update one Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_template_categories. + * @param {packing_template_categoriesDeleteManyArgs} args - Arguments to filter Packing_template_categories to delete. + * @example + * // Delete a few Packing_template_categories + * const { count } = await prisma.packing_template_categories.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_template_categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_template_categories and returns the data updated in the database. + * @param {packing_template_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Packing_template_categories. + * @example + * // Update many Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_template_categories and only return the `id` + * const packing_template_categoriesWithIdOnly = await prisma.packing_template_categories.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_template_categories. + * @param {packing_template_categoriesUpsertArgs} args - Arguments to update or create a Packing_template_categories. + * @example + * // Update or create a Packing_template_categories + * const packing_template_categories = await prisma.packing_template_categories.upsert({ + * create: { + * // ... data to create a Packing_template_categories + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_template_categories we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_categoriesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_template_categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesCountArgs} args - Arguments to filter Packing_template_categories to count. + * @example + * // Count the number of Packing_template_categories + * const count = await prisma.packing_template_categories.count({ + * where: { + * // ... the filter for the Packing_template_categories we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_template_categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_template_categoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_template_categories. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_categoriesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_template_categoriesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_template_categoriesGroupByArgs['orderBy'] } + : { orderBy?: packing_template_categoriesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_template_categoriesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_template_categories model + */ +readonly fields: packing_template_categoriesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_template_categories. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_template_categoriesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + packing_templates = {}>(args?: Prisma.Subset>): Prisma.Prisma__packing_templatesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + packing_template_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_template_categories model + */ +export interface packing_template_categoriesFieldRefs { + readonly id: Prisma.FieldRef<"packing_template_categories", 'Int'> + readonly template_id: Prisma.FieldRef<"packing_template_categories", 'Int'> + readonly name: Prisma.FieldRef<"packing_template_categories", 'String'> + readonly sort_order: Prisma.FieldRef<"packing_template_categories", 'Int'> +} + + +// Custom InputTypes +/** + * packing_template_categories findUnique + */ +export type packing_template_categoriesFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter, which packing_template_categories to fetch. + */ + where: Prisma.packing_template_categoriesWhereUniqueInput +} + +/** + * packing_template_categories findUniqueOrThrow + */ +export type packing_template_categoriesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter, which packing_template_categories to fetch. + */ + where: Prisma.packing_template_categoriesWhereUniqueInput +} + +/** + * packing_template_categories findFirst + */ +export type packing_template_categoriesFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter, which packing_template_categories to fetch. + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_categories to fetch. + */ + orderBy?: Prisma.packing_template_categoriesOrderByWithRelationInput | Prisma.packing_template_categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_template_categories. + */ + cursor?: Prisma.packing_template_categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_categories. + */ + distinct?: Prisma.Packing_template_categoriesScalarFieldEnum | Prisma.Packing_template_categoriesScalarFieldEnum[] +} + +/** + * packing_template_categories findFirstOrThrow + */ +export type packing_template_categoriesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter, which packing_template_categories to fetch. + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_categories to fetch. + */ + orderBy?: Prisma.packing_template_categoriesOrderByWithRelationInput | Prisma.packing_template_categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_template_categories. + */ + cursor?: Prisma.packing_template_categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_categories. + */ + distinct?: Prisma.Packing_template_categoriesScalarFieldEnum | Prisma.Packing_template_categoriesScalarFieldEnum[] +} + +/** + * packing_template_categories findMany + */ +export type packing_template_categoriesFindManyArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter, which packing_template_categories to fetch. + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_categories to fetch. + */ + orderBy?: Prisma.packing_template_categoriesOrderByWithRelationInput | Prisma.packing_template_categoriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_template_categories. + */ + cursor?: Prisma.packing_template_categoriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_categories from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_categories. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_categories. + */ + distinct?: Prisma.Packing_template_categoriesScalarFieldEnum | Prisma.Packing_template_categoriesScalarFieldEnum[] +} + +/** + * packing_template_categories create + */ +export type packing_template_categoriesCreateArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * The data needed to create a packing_template_categories. + */ + data: Prisma.XOR +} + +/** + * packing_template_categories createMany + */ +export type packing_template_categoriesCreateManyArgs = { + /** + * The data used to create many packing_template_categories. + */ + data: Prisma.packing_template_categoriesCreateManyInput | Prisma.packing_template_categoriesCreateManyInput[] +} + +/** + * packing_template_categories createManyAndReturn + */ +export type packing_template_categoriesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * The data used to create many packing_template_categories. + */ + data: Prisma.packing_template_categoriesCreateManyInput | Prisma.packing_template_categoriesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesIncludeCreateManyAndReturn | null +} + +/** + * packing_template_categories update + */ +export type packing_template_categoriesUpdateArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * The data needed to update a packing_template_categories. + */ + data: Prisma.XOR + /** + * Choose, which packing_template_categories to update. + */ + where: Prisma.packing_template_categoriesWhereUniqueInput +} + +/** + * packing_template_categories updateMany + */ +export type packing_template_categoriesUpdateManyArgs = { + /** + * The data used to update packing_template_categories. + */ + data: Prisma.XOR + /** + * Filter which packing_template_categories to update + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * Limit how many packing_template_categories to update. + */ + limit?: number +} + +/** + * packing_template_categories updateManyAndReturn + */ +export type packing_template_categoriesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * The data used to update packing_template_categories. + */ + data: Prisma.XOR + /** + * Filter which packing_template_categories to update + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * Limit how many packing_template_categories to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesIncludeUpdateManyAndReturn | null +} + +/** + * packing_template_categories upsert + */ +export type packing_template_categoriesUpsertArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * The filter to search for the packing_template_categories to update in case it exists. + */ + where: Prisma.packing_template_categoriesWhereUniqueInput + /** + * In case the packing_template_categories found by the `where` argument doesn't exist, create a new packing_template_categories with this data. + */ + create: Prisma.XOR + /** + * In case the packing_template_categories was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_template_categories delete + */ +export type packing_template_categoriesDeleteArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + /** + * Filter which packing_template_categories to delete. + */ + where: Prisma.packing_template_categoriesWhereUniqueInput +} + +/** + * packing_template_categories deleteMany + */ +export type packing_template_categoriesDeleteManyArgs = { + /** + * Filter which packing_template_categories to delete + */ + where?: Prisma.packing_template_categoriesWhereInput + /** + * Limit how many packing_template_categories to delete. + */ + limit?: number +} + +/** + * packing_template_categories.packing_template_items + */ +export type packing_template_categories$packing_template_itemsArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + where?: Prisma.packing_template_itemsWhereInput + orderBy?: Prisma.packing_template_itemsOrderByWithRelationInput | Prisma.packing_template_itemsOrderByWithRelationInput[] + cursor?: Prisma.packing_template_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_template_itemsScalarFieldEnum | Prisma.Packing_template_itemsScalarFieldEnum[] +} + +/** + * packing_template_categories without action + */ +export type packing_template_categoriesDefaultArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null +} diff --git a/server/src/generated/prisma/models/packing_template_items.ts b/server/src/generated/prisma/models/packing_template_items.ts new file mode 100644 index 00000000..803ae36d --- /dev/null +++ b/server/src/generated/prisma/models/packing_template_items.ts @@ -0,0 +1,1358 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_template_items` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_template_items + * + */ +export type packing_template_itemsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_template_items = { + _count: Packing_template_itemsCountAggregateOutputType | null + _avg: Packing_template_itemsAvgAggregateOutputType | null + _sum: Packing_template_itemsSumAggregateOutputType | null + _min: Packing_template_itemsMinAggregateOutputType | null + _max: Packing_template_itemsMaxAggregateOutputType | null +} + +export type Packing_template_itemsAvgAggregateOutputType = { + id: number | null + category_id: number | null + sort_order: number | null +} + +export type Packing_template_itemsSumAggregateOutputType = { + id: number | null + category_id: number | null + sort_order: number | null +} + +export type Packing_template_itemsMinAggregateOutputType = { + id: number | null + category_id: number | null + name: string | null + sort_order: number | null +} + +export type Packing_template_itemsMaxAggregateOutputType = { + id: number | null + category_id: number | null + name: string | null + sort_order: number | null +} + +export type Packing_template_itemsCountAggregateOutputType = { + id: number + category_id: number + name: number + sort_order: number + _all: number +} + + +export type Packing_template_itemsAvgAggregateInputType = { + id?: true + category_id?: true + sort_order?: true +} + +export type Packing_template_itemsSumAggregateInputType = { + id?: true + category_id?: true + sort_order?: true +} + +export type Packing_template_itemsMinAggregateInputType = { + id?: true + category_id?: true + name?: true + sort_order?: true +} + +export type Packing_template_itemsMaxAggregateInputType = { + id?: true + category_id?: true + name?: true + sort_order?: true +} + +export type Packing_template_itemsCountAggregateInputType = { + id?: true + category_id?: true + name?: true + sort_order?: true + _all?: true +} + +export type Packing_template_itemsAggregateArgs = { + /** + * Filter which packing_template_items to aggregate. + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_items to fetch. + */ + orderBy?: Prisma.packing_template_itemsOrderByWithRelationInput | Prisma.packing_template_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_template_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_template_items + **/ + _count?: true | Packing_template_itemsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_template_itemsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_template_itemsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_template_itemsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_template_itemsMaxAggregateInputType +} + +export type GetPacking_template_itemsAggregateType = { + [P in keyof T & keyof AggregatePacking_template_items]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_template_itemsGroupByArgs = { + where?: Prisma.packing_template_itemsWhereInput + orderBy?: Prisma.packing_template_itemsOrderByWithAggregationInput | Prisma.packing_template_itemsOrderByWithAggregationInput[] + by: Prisma.Packing_template_itemsScalarFieldEnum[] | Prisma.Packing_template_itemsScalarFieldEnum + having?: Prisma.packing_template_itemsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_template_itemsCountAggregateInputType | true + _avg?: Packing_template_itemsAvgAggregateInputType + _sum?: Packing_template_itemsSumAggregateInputType + _min?: Packing_template_itemsMinAggregateInputType + _max?: Packing_template_itemsMaxAggregateInputType +} + +export type Packing_template_itemsGroupByOutputType = { + id: number + category_id: number + name: string + sort_order: number + _count: Packing_template_itemsCountAggregateOutputType | null + _avg: Packing_template_itemsAvgAggregateOutputType | null + _sum: Packing_template_itemsSumAggregateOutputType | null + _min: Packing_template_itemsMinAggregateOutputType | null + _max: Packing_template_itemsMaxAggregateOutputType | null +} + +export type GetPacking_template_itemsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_template_itemsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_template_itemsWhereInput = { + AND?: Prisma.packing_template_itemsWhereInput | Prisma.packing_template_itemsWhereInput[] + OR?: Prisma.packing_template_itemsWhereInput[] + NOT?: Prisma.packing_template_itemsWhereInput | Prisma.packing_template_itemsWhereInput[] + id?: Prisma.IntFilter<"packing_template_items"> | number + category_id?: Prisma.IntFilter<"packing_template_items"> | number + name?: Prisma.StringFilter<"packing_template_items"> | string + sort_order?: Prisma.IntFilter<"packing_template_items"> | number + packing_template_categories?: Prisma.XOR +} + +export type packing_template_itemsOrderByWithRelationInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + packing_template_categories?: Prisma.packing_template_categoriesOrderByWithRelationInput +} + +export type packing_template_itemsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.packing_template_itemsWhereInput | Prisma.packing_template_itemsWhereInput[] + OR?: Prisma.packing_template_itemsWhereInput[] + NOT?: Prisma.packing_template_itemsWhereInput | Prisma.packing_template_itemsWhereInput[] + category_id?: Prisma.IntFilter<"packing_template_items"> | number + name?: Prisma.StringFilter<"packing_template_items"> | string + sort_order?: Prisma.IntFilter<"packing_template_items"> | number + packing_template_categories?: Prisma.XOR +}, "id"> + +export type packing_template_itemsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + _count?: Prisma.packing_template_itemsCountOrderByAggregateInput + _avg?: Prisma.packing_template_itemsAvgOrderByAggregateInput + _max?: Prisma.packing_template_itemsMaxOrderByAggregateInput + _min?: Prisma.packing_template_itemsMinOrderByAggregateInput + _sum?: Prisma.packing_template_itemsSumOrderByAggregateInput +} + +export type packing_template_itemsScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_template_itemsScalarWhereWithAggregatesInput | Prisma.packing_template_itemsScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_template_itemsScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_template_itemsScalarWhereWithAggregatesInput | Prisma.packing_template_itemsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_template_items"> | number + category_id?: Prisma.IntWithAggregatesFilter<"packing_template_items"> | number + name?: Prisma.StringWithAggregatesFilter<"packing_template_items"> | string + sort_order?: Prisma.IntWithAggregatesFilter<"packing_template_items"> | number +} + +export type packing_template_itemsCreateInput = { + name: string + sort_order?: number + packing_template_categories: Prisma.packing_template_categoriesCreateNestedOneWithoutPacking_template_itemsInput +} + +export type packing_template_itemsUncheckedCreateInput = { + id?: number + category_id: number + name: string + sort_order?: number +} + +export type packing_template_itemsUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + packing_template_categories?: Prisma.packing_template_categoriesUpdateOneRequiredWithoutPacking_template_itemsNestedInput +} + +export type packing_template_itemsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_itemsCreateManyInput = { + id?: number + category_id: number + name: string + sort_order?: number +} + +export type packing_template_itemsUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_itemsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Packing_template_itemsListRelationFilter = { + every?: Prisma.packing_template_itemsWhereInput + some?: Prisma.packing_template_itemsWhereInput + none?: Prisma.packing_template_itemsWhereInput +} + +export type packing_template_itemsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_template_itemsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_itemsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_itemsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_itemsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + name?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_itemsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + category_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type packing_template_itemsCreateNestedManyWithoutPacking_template_categoriesInput = { + create?: Prisma.XOR | Prisma.packing_template_itemsCreateWithoutPacking_template_categoriesInput[] | Prisma.packing_template_itemsUncheckedCreateWithoutPacking_template_categoriesInput[] + connectOrCreate?: Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput[] + createMany?: Prisma.packing_template_itemsCreateManyPacking_template_categoriesInputEnvelope + connect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] +} + +export type packing_template_itemsUncheckedCreateNestedManyWithoutPacking_template_categoriesInput = { + create?: Prisma.XOR | Prisma.packing_template_itemsCreateWithoutPacking_template_categoriesInput[] | Prisma.packing_template_itemsUncheckedCreateWithoutPacking_template_categoriesInput[] + connectOrCreate?: Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput[] + createMany?: Prisma.packing_template_itemsCreateManyPacking_template_categoriesInputEnvelope + connect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] +} + +export type packing_template_itemsUpdateManyWithoutPacking_template_categoriesNestedInput = { + create?: Prisma.XOR | Prisma.packing_template_itemsCreateWithoutPacking_template_categoriesInput[] | Prisma.packing_template_itemsUncheckedCreateWithoutPacking_template_categoriesInput[] + connectOrCreate?: Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput[] + upsert?: Prisma.packing_template_itemsUpsertWithWhereUniqueWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpsertWithWhereUniqueWithoutPacking_template_categoriesInput[] + createMany?: Prisma.packing_template_itemsCreateManyPacking_template_categoriesInputEnvelope + set?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + delete?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + connect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + update?: Prisma.packing_template_itemsUpdateWithWhereUniqueWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpdateWithWhereUniqueWithoutPacking_template_categoriesInput[] + updateMany?: Prisma.packing_template_itemsUpdateManyWithWhereWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpdateManyWithWhereWithoutPacking_template_categoriesInput[] + deleteMany?: Prisma.packing_template_itemsScalarWhereInput | Prisma.packing_template_itemsScalarWhereInput[] +} + +export type packing_template_itemsUncheckedUpdateManyWithoutPacking_template_categoriesNestedInput = { + create?: Prisma.XOR | Prisma.packing_template_itemsCreateWithoutPacking_template_categoriesInput[] | Prisma.packing_template_itemsUncheckedCreateWithoutPacking_template_categoriesInput[] + connectOrCreate?: Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput[] + upsert?: Prisma.packing_template_itemsUpsertWithWhereUniqueWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpsertWithWhereUniqueWithoutPacking_template_categoriesInput[] + createMany?: Prisma.packing_template_itemsCreateManyPacking_template_categoriesInputEnvelope + set?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + disconnect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + delete?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + connect?: Prisma.packing_template_itemsWhereUniqueInput | Prisma.packing_template_itemsWhereUniqueInput[] + update?: Prisma.packing_template_itemsUpdateWithWhereUniqueWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpdateWithWhereUniqueWithoutPacking_template_categoriesInput[] + updateMany?: Prisma.packing_template_itemsUpdateManyWithWhereWithoutPacking_template_categoriesInput | Prisma.packing_template_itemsUpdateManyWithWhereWithoutPacking_template_categoriesInput[] + deleteMany?: Prisma.packing_template_itemsScalarWhereInput | Prisma.packing_template_itemsScalarWhereInput[] +} + +export type packing_template_itemsCreateWithoutPacking_template_categoriesInput = { + name: string + sort_order?: number +} + +export type packing_template_itemsUncheckedCreateWithoutPacking_template_categoriesInput = { + id?: number + name: string + sort_order?: number +} + +export type packing_template_itemsCreateOrConnectWithoutPacking_template_categoriesInput = { + where: Prisma.packing_template_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type packing_template_itemsCreateManyPacking_template_categoriesInputEnvelope = { + data: Prisma.packing_template_itemsCreateManyPacking_template_categoriesInput | Prisma.packing_template_itemsCreateManyPacking_template_categoriesInput[] +} + +export type packing_template_itemsUpsertWithWhereUniqueWithoutPacking_template_categoriesInput = { + where: Prisma.packing_template_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_template_itemsUpdateWithWhereUniqueWithoutPacking_template_categoriesInput = { + where: Prisma.packing_template_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type packing_template_itemsUpdateManyWithWhereWithoutPacking_template_categoriesInput = { + where: Prisma.packing_template_itemsScalarWhereInput + data: Prisma.XOR +} + +export type packing_template_itemsScalarWhereInput = { + AND?: Prisma.packing_template_itemsScalarWhereInput | Prisma.packing_template_itemsScalarWhereInput[] + OR?: Prisma.packing_template_itemsScalarWhereInput[] + NOT?: Prisma.packing_template_itemsScalarWhereInput | Prisma.packing_template_itemsScalarWhereInput[] + id?: Prisma.IntFilter<"packing_template_items"> | number + category_id?: Prisma.IntFilter<"packing_template_items"> | number + name?: Prisma.StringFilter<"packing_template_items"> | string + sort_order?: Prisma.IntFilter<"packing_template_items"> | number +} + +export type packing_template_itemsCreateManyPacking_template_categoriesInput = { + id?: number + name: string + sort_order?: number +} + +export type packing_template_itemsUpdateWithoutPacking_template_categoriesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_itemsUncheckedUpdateWithoutPacking_template_categoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type packing_template_itemsUncheckedUpdateManyWithoutPacking_template_categoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type packing_template_itemsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + category_id?: boolean + name?: boolean + sort_order?: boolean + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +}, ExtArgs["result"]["packing_template_items"]> + +export type packing_template_itemsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + category_id?: boolean + name?: boolean + sort_order?: boolean + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +}, ExtArgs["result"]["packing_template_items"]> + +export type packing_template_itemsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + category_id?: boolean + name?: boolean + sort_order?: boolean + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +}, ExtArgs["result"]["packing_template_items"]> + +export type packing_template_itemsSelectScalar = { + id?: boolean + category_id?: boolean + name?: boolean + sort_order?: boolean +} + +export type packing_template_itemsOmit = runtime.Types.Extensions.GetOmit<"id" | "category_id" | "name" | "sort_order", ExtArgs["result"]["packing_template_items"]> +export type packing_template_itemsInclude = { + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +} +export type packing_template_itemsIncludeCreateManyAndReturn = { + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +} +export type packing_template_itemsIncludeUpdateManyAndReturn = { + packing_template_categories?: boolean | Prisma.packing_template_categoriesDefaultArgs +} + +export type $packing_template_itemsPayload = { + name: "packing_template_items" + objects: { + packing_template_categories: Prisma.$packing_template_categoriesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + category_id: number + name: string + sort_order: number + }, ExtArgs["result"]["packing_template_items"]> + composites: {} +} + +export type packing_template_itemsGetPayload = runtime.Types.Result.GetResult + +export type packing_template_itemsCountArgs = + Omit & { + select?: Packing_template_itemsCountAggregateInputType | true + } + +export interface packing_template_itemsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_template_items'], meta: { name: 'packing_template_items' } } + /** + * Find zero or one Packing_template_items that matches the filter. + * @param {packing_template_itemsFindUniqueArgs} args - Arguments to find a Packing_template_items + * @example + * // Get one Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_template_items that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_template_itemsFindUniqueOrThrowArgs} args - Arguments to find a Packing_template_items + * @example + * // Get one Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_template_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsFindFirstArgs} args - Arguments to find a Packing_template_items + * @example + * // Get one Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_template_items that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsFindFirstOrThrowArgs} args - Arguments to find a Packing_template_items + * @example + * // Get one Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_template_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findMany() + * + * // Get first 10 Packing_template_items + * const packing_template_items = await prisma.packing_template_items.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_template_itemsWithIdOnly = await prisma.packing_template_items.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_template_items. + * @param {packing_template_itemsCreateArgs} args - Arguments to create a Packing_template_items. + * @example + * // Create one Packing_template_items + * const Packing_template_items = await prisma.packing_template_items.create({ + * data: { + * // ... data to create a Packing_template_items + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_template_items. + * @param {packing_template_itemsCreateManyArgs} args - Arguments to create many Packing_template_items. + * @example + * // Create many Packing_template_items + * const packing_template_items = await prisma.packing_template_items.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_template_items and returns the data saved in the database. + * @param {packing_template_itemsCreateManyAndReturnArgs} args - Arguments to create many Packing_template_items. + * @example + * // Create many Packing_template_items + * const packing_template_items = await prisma.packing_template_items.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_template_items and only return the `id` + * const packing_template_itemsWithIdOnly = await prisma.packing_template_items.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_template_items. + * @param {packing_template_itemsDeleteArgs} args - Arguments to delete one Packing_template_items. + * @example + * // Delete one Packing_template_items + * const Packing_template_items = await prisma.packing_template_items.delete({ + * where: { + * // ... filter to delete one Packing_template_items + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_template_items. + * @param {packing_template_itemsUpdateArgs} args - Arguments to update one Packing_template_items. + * @example + * // Update one Packing_template_items + * const packing_template_items = await prisma.packing_template_items.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_template_items. + * @param {packing_template_itemsDeleteManyArgs} args - Arguments to filter Packing_template_items to delete. + * @example + * // Delete a few Packing_template_items + * const { count } = await prisma.packing_template_items.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_template_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_template_items + * const packing_template_items = await prisma.packing_template_items.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_template_items and returns the data updated in the database. + * @param {packing_template_itemsUpdateManyAndReturnArgs} args - Arguments to update many Packing_template_items. + * @example + * // Update many Packing_template_items + * const packing_template_items = await prisma.packing_template_items.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_template_items and only return the `id` + * const packing_template_itemsWithIdOnly = await prisma.packing_template_items.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_template_items. + * @param {packing_template_itemsUpsertArgs} args - Arguments to update or create a Packing_template_items. + * @example + * // Update or create a Packing_template_items + * const packing_template_items = await prisma.packing_template_items.upsert({ + * create: { + * // ... data to create a Packing_template_items + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_template_items we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_template_itemsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_template_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsCountArgs} args - Arguments to filter Packing_template_items to count. + * @example + * // Count the number of Packing_template_items + * const count = await prisma.packing_template_items.count({ + * where: { + * // ... the filter for the Packing_template_items we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_template_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_template_itemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_template_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_template_itemsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_template_itemsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_template_itemsGroupByArgs['orderBy'] } + : { orderBy?: packing_template_itemsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_template_itemsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_template_items model + */ +readonly fields: packing_template_itemsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_template_items. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_template_itemsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + packing_template_categories = {}>(args?: Prisma.Subset>): Prisma.Prisma__packing_template_categoriesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_template_items model + */ +export interface packing_template_itemsFieldRefs { + readonly id: Prisma.FieldRef<"packing_template_items", 'Int'> + readonly category_id: Prisma.FieldRef<"packing_template_items", 'Int'> + readonly name: Prisma.FieldRef<"packing_template_items", 'String'> + readonly sort_order: Prisma.FieldRef<"packing_template_items", 'Int'> +} + + +// Custom InputTypes +/** + * packing_template_items findUnique + */ +export type packing_template_itemsFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter, which packing_template_items to fetch. + */ + where: Prisma.packing_template_itemsWhereUniqueInput +} + +/** + * packing_template_items findUniqueOrThrow + */ +export type packing_template_itemsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter, which packing_template_items to fetch. + */ + where: Prisma.packing_template_itemsWhereUniqueInput +} + +/** + * packing_template_items findFirst + */ +export type packing_template_itemsFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter, which packing_template_items to fetch. + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_items to fetch. + */ + orderBy?: Prisma.packing_template_itemsOrderByWithRelationInput | Prisma.packing_template_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_template_items. + */ + cursor?: Prisma.packing_template_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_items. + */ + distinct?: Prisma.Packing_template_itemsScalarFieldEnum | Prisma.Packing_template_itemsScalarFieldEnum[] +} + +/** + * packing_template_items findFirstOrThrow + */ +export type packing_template_itemsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter, which packing_template_items to fetch. + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_items to fetch. + */ + orderBy?: Prisma.packing_template_itemsOrderByWithRelationInput | Prisma.packing_template_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_template_items. + */ + cursor?: Prisma.packing_template_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_items. + */ + distinct?: Prisma.Packing_template_itemsScalarFieldEnum | Prisma.Packing_template_itemsScalarFieldEnum[] +} + +/** + * packing_template_items findMany + */ +export type packing_template_itemsFindManyArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter, which packing_template_items to fetch. + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_template_items to fetch. + */ + orderBy?: Prisma.packing_template_itemsOrderByWithRelationInput | Prisma.packing_template_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_template_items. + */ + cursor?: Prisma.packing_template_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_template_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_template_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_template_items. + */ + distinct?: Prisma.Packing_template_itemsScalarFieldEnum | Prisma.Packing_template_itemsScalarFieldEnum[] +} + +/** + * packing_template_items create + */ +export type packing_template_itemsCreateArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * The data needed to create a packing_template_items. + */ + data: Prisma.XOR +} + +/** + * packing_template_items createMany + */ +export type packing_template_itemsCreateManyArgs = { + /** + * The data used to create many packing_template_items. + */ + data: Prisma.packing_template_itemsCreateManyInput | Prisma.packing_template_itemsCreateManyInput[] +} + +/** + * packing_template_items createManyAndReturn + */ +export type packing_template_itemsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * The data used to create many packing_template_items. + */ + data: Prisma.packing_template_itemsCreateManyInput | Prisma.packing_template_itemsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsIncludeCreateManyAndReturn | null +} + +/** + * packing_template_items update + */ +export type packing_template_itemsUpdateArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * The data needed to update a packing_template_items. + */ + data: Prisma.XOR + /** + * Choose, which packing_template_items to update. + */ + where: Prisma.packing_template_itemsWhereUniqueInput +} + +/** + * packing_template_items updateMany + */ +export type packing_template_itemsUpdateManyArgs = { + /** + * The data used to update packing_template_items. + */ + data: Prisma.XOR + /** + * Filter which packing_template_items to update + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * Limit how many packing_template_items to update. + */ + limit?: number +} + +/** + * packing_template_items updateManyAndReturn + */ +export type packing_template_itemsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * The data used to update packing_template_items. + */ + data: Prisma.XOR + /** + * Filter which packing_template_items to update + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * Limit how many packing_template_items to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsIncludeUpdateManyAndReturn | null +} + +/** + * packing_template_items upsert + */ +export type packing_template_itemsUpsertArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * The filter to search for the packing_template_items to update in case it exists. + */ + where: Prisma.packing_template_itemsWhereUniqueInput + /** + * In case the packing_template_items found by the `where` argument doesn't exist, create a new packing_template_items with this data. + */ + create: Prisma.XOR + /** + * In case the packing_template_items was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_template_items delete + */ +export type packing_template_itemsDeleteArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null + /** + * Filter which packing_template_items to delete. + */ + where: Prisma.packing_template_itemsWhereUniqueInput +} + +/** + * packing_template_items deleteMany + */ +export type packing_template_itemsDeleteManyArgs = { + /** + * Filter which packing_template_items to delete + */ + where?: Prisma.packing_template_itemsWhereInput + /** + * Limit how many packing_template_items to delete. + */ + limit?: number +} + +/** + * packing_template_items without action + */ +export type packing_template_itemsDefaultArgs = { + /** + * Select specific fields to fetch from the packing_template_items + */ + select?: Prisma.packing_template_itemsSelect | null + /** + * Omit specific fields from the packing_template_items + */ + omit?: Prisma.packing_template_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_itemsInclude | null +} diff --git a/server/src/generated/prisma/models/packing_templates.ts b/server/src/generated/prisma/models/packing_templates.ts new file mode 100644 index 00000000..e8636613 --- /dev/null +++ b/server/src/generated/prisma/models/packing_templates.ts @@ -0,0 +1,1483 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `packing_templates` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model packing_templates + * + */ +export type packing_templatesModel = runtime.Types.Result.DefaultSelection + +export type AggregatePacking_templates = { + _count: Packing_templatesCountAggregateOutputType | null + _avg: Packing_templatesAvgAggregateOutputType | null + _sum: Packing_templatesSumAggregateOutputType | null + _min: Packing_templatesMinAggregateOutputType | null + _max: Packing_templatesMaxAggregateOutputType | null +} + +export type Packing_templatesAvgAggregateOutputType = { + id: number | null + created_by: number | null +} + +export type Packing_templatesSumAggregateOutputType = { + id: number | null + created_by: number | null +} + +export type Packing_templatesMinAggregateOutputType = { + id: number | null + name: string | null + created_by: number | null + created_at: Date | null +} + +export type Packing_templatesMaxAggregateOutputType = { + id: number | null + name: string | null + created_by: number | null + created_at: Date | null +} + +export type Packing_templatesCountAggregateOutputType = { + id: number + name: number + created_by: number + created_at: number + _all: number +} + + +export type Packing_templatesAvgAggregateInputType = { + id?: true + created_by?: true +} + +export type Packing_templatesSumAggregateInputType = { + id?: true + created_by?: true +} + +export type Packing_templatesMinAggregateInputType = { + id?: true + name?: true + created_by?: true + created_at?: true +} + +export type Packing_templatesMaxAggregateInputType = { + id?: true + name?: true + created_by?: true + created_at?: true +} + +export type Packing_templatesCountAggregateInputType = { + id?: true + name?: true + created_by?: true + created_at?: true + _all?: true +} + +export type Packing_templatesAggregateArgs = { + /** + * Filter which packing_templates to aggregate. + */ + where?: Prisma.packing_templatesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_templates to fetch. + */ + orderBy?: Prisma.packing_templatesOrderByWithRelationInput | Prisma.packing_templatesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.packing_templatesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_templates from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_templates. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned packing_templates + **/ + _count?: true | Packing_templatesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Packing_templatesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Packing_templatesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Packing_templatesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Packing_templatesMaxAggregateInputType +} + +export type GetPacking_templatesAggregateType = { + [P in keyof T & keyof AggregatePacking_templates]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type packing_templatesGroupByArgs = { + where?: Prisma.packing_templatesWhereInput + orderBy?: Prisma.packing_templatesOrderByWithAggregationInput | Prisma.packing_templatesOrderByWithAggregationInput[] + by: Prisma.Packing_templatesScalarFieldEnum[] | Prisma.Packing_templatesScalarFieldEnum + having?: Prisma.packing_templatesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Packing_templatesCountAggregateInputType | true + _avg?: Packing_templatesAvgAggregateInputType + _sum?: Packing_templatesSumAggregateInputType + _min?: Packing_templatesMinAggregateInputType + _max?: Packing_templatesMaxAggregateInputType +} + +export type Packing_templatesGroupByOutputType = { + id: number + name: string + created_by: number + created_at: Date | null + _count: Packing_templatesCountAggregateOutputType | null + _avg: Packing_templatesAvgAggregateOutputType | null + _sum: Packing_templatesSumAggregateOutputType | null + _min: Packing_templatesMinAggregateOutputType | null + _max: Packing_templatesMaxAggregateOutputType | null +} + +export type GetPacking_templatesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Packing_templatesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type packing_templatesWhereInput = { + AND?: Prisma.packing_templatesWhereInput | Prisma.packing_templatesWhereInput[] + OR?: Prisma.packing_templatesWhereInput[] + NOT?: Prisma.packing_templatesWhereInput | Prisma.packing_templatesWhereInput[] + id?: Prisma.IntFilter<"packing_templates"> | number + name?: Prisma.StringFilter<"packing_templates"> | string + created_by?: Prisma.IntFilter<"packing_templates"> | number + created_at?: Prisma.DateTimeNullableFilter<"packing_templates"> | Date | string | null + packing_template_categories?: Prisma.Packing_template_categoriesListRelationFilter + users?: Prisma.XOR +} + +export type packing_templatesOrderByWithRelationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + packing_template_categories?: Prisma.packing_template_categoriesOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type packing_templatesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.packing_templatesWhereInput | Prisma.packing_templatesWhereInput[] + OR?: Prisma.packing_templatesWhereInput[] + NOT?: Prisma.packing_templatesWhereInput | Prisma.packing_templatesWhereInput[] + name?: Prisma.StringFilter<"packing_templates"> | string + created_by?: Prisma.IntFilter<"packing_templates"> | number + created_at?: Prisma.DateTimeNullableFilter<"packing_templates"> | Date | string | null + packing_template_categories?: Prisma.Packing_template_categoriesListRelationFilter + users?: Prisma.XOR +}, "id"> + +export type packing_templatesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.packing_templatesCountOrderByAggregateInput + _avg?: Prisma.packing_templatesAvgOrderByAggregateInput + _max?: Prisma.packing_templatesMaxOrderByAggregateInput + _min?: Prisma.packing_templatesMinOrderByAggregateInput + _sum?: Prisma.packing_templatesSumOrderByAggregateInput +} + +export type packing_templatesScalarWhereWithAggregatesInput = { + AND?: Prisma.packing_templatesScalarWhereWithAggregatesInput | Prisma.packing_templatesScalarWhereWithAggregatesInput[] + OR?: Prisma.packing_templatesScalarWhereWithAggregatesInput[] + NOT?: Prisma.packing_templatesScalarWhereWithAggregatesInput | Prisma.packing_templatesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"packing_templates"> | number + name?: Prisma.StringWithAggregatesFilter<"packing_templates"> | string + created_by?: Prisma.IntWithAggregatesFilter<"packing_templates"> | number + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"packing_templates"> | Date | string | null +} + +export type packing_templatesCreateInput = { + name: string + created_at?: Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesCreateNestedManyWithoutPacking_templatesInput + users: Prisma.usersCreateNestedOneWithoutPacking_templatesInput +} + +export type packing_templatesUncheckedCreateInput = { + id?: number + name: string + created_by: number + created_at?: Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUncheckedCreateNestedManyWithoutPacking_templatesInput +} + +export type packing_templatesUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUpdateManyWithoutPacking_templatesNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutPacking_templatesNestedInput +} + +export type packing_templatesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUncheckedUpdateManyWithoutPacking_templatesNestedInput +} + +export type packing_templatesCreateManyInput = { + id?: number + name: string + created_by: number + created_at?: Date | string | null +} + +export type packing_templatesUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type packing_templatesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Packing_templatesScalarRelationFilter = { + is?: Prisma.packing_templatesWhereInput + isNot?: Prisma.packing_templatesWhereInput +} + +export type packing_templatesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type packing_templatesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + created_by?: Prisma.SortOrder +} + +export type packing_templatesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type packing_templatesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + created_by?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type packing_templatesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + created_by?: Prisma.SortOrder +} + +export type Packing_templatesListRelationFilter = { + every?: Prisma.packing_templatesWhereInput + some?: Prisma.packing_templatesWhereInput + none?: Prisma.packing_templatesWhereInput +} + +export type packing_templatesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type packing_templatesCreateNestedOneWithoutPacking_template_categoriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutPacking_template_categoriesInput + connect?: Prisma.packing_templatesWhereUniqueInput +} + +export type packing_templatesUpdateOneRequiredWithoutPacking_template_categoriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutPacking_template_categoriesInput + upsert?: Prisma.packing_templatesUpsertWithoutPacking_template_categoriesInput + connect?: Prisma.packing_templatesWhereUniqueInput + update?: Prisma.XOR, Prisma.packing_templatesUncheckedUpdateWithoutPacking_template_categoriesInput> +} + +export type packing_templatesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_templatesCreateWithoutUsersInput[] | Prisma.packing_templatesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutUsersInput | Prisma.packing_templatesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_templatesCreateManyUsersInputEnvelope + connect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] +} + +export type packing_templatesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.packing_templatesCreateWithoutUsersInput[] | Prisma.packing_templatesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutUsersInput | Prisma.packing_templatesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.packing_templatesCreateManyUsersInputEnvelope + connect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] +} + +export type packing_templatesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_templatesCreateWithoutUsersInput[] | Prisma.packing_templatesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutUsersInput | Prisma.packing_templatesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_templatesUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_templatesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_templatesCreateManyUsersInputEnvelope + set?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + disconnect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + delete?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + connect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + update?: Prisma.packing_templatesUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_templatesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_templatesUpdateManyWithWhereWithoutUsersInput | Prisma.packing_templatesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_templatesScalarWhereInput | Prisma.packing_templatesScalarWhereInput[] +} + +export type packing_templatesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.packing_templatesCreateWithoutUsersInput[] | Prisma.packing_templatesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.packing_templatesCreateOrConnectWithoutUsersInput | Prisma.packing_templatesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.packing_templatesUpsertWithWhereUniqueWithoutUsersInput | Prisma.packing_templatesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.packing_templatesCreateManyUsersInputEnvelope + set?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + disconnect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + delete?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + connect?: Prisma.packing_templatesWhereUniqueInput | Prisma.packing_templatesWhereUniqueInput[] + update?: Prisma.packing_templatesUpdateWithWhereUniqueWithoutUsersInput | Prisma.packing_templatesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.packing_templatesUpdateManyWithWhereWithoutUsersInput | Prisma.packing_templatesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.packing_templatesScalarWhereInput | Prisma.packing_templatesScalarWhereInput[] +} + +export type packing_templatesCreateWithoutPacking_template_categoriesInput = { + name: string + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutPacking_templatesInput +} + +export type packing_templatesUncheckedCreateWithoutPacking_template_categoriesInput = { + id?: number + name: string + created_by: number + created_at?: Date | string | null +} + +export type packing_templatesCreateOrConnectWithoutPacking_template_categoriesInput = { + where: Prisma.packing_templatesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_templatesUpsertWithoutPacking_template_categoriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.packing_templatesWhereInput +} + +export type packing_templatesUpdateToOneWithWhereWithoutPacking_template_categoriesInput = { + where?: Prisma.packing_templatesWhereInput + data: Prisma.XOR +} + +export type packing_templatesUpdateWithoutPacking_template_categoriesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutPacking_templatesNestedInput +} + +export type packing_templatesUncheckedUpdateWithoutPacking_template_categoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type packing_templatesCreateWithoutUsersInput = { + name: string + created_at?: Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesCreateNestedManyWithoutPacking_templatesInput +} + +export type packing_templatesUncheckedCreateWithoutUsersInput = { + id?: number + name: string + created_at?: Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUncheckedCreateNestedManyWithoutPacking_templatesInput +} + +export type packing_templatesCreateOrConnectWithoutUsersInput = { + where: Prisma.packing_templatesWhereUniqueInput + create: Prisma.XOR +} + +export type packing_templatesCreateManyUsersInputEnvelope = { + data: Prisma.packing_templatesCreateManyUsersInput | Prisma.packing_templatesCreateManyUsersInput[] +} + +export type packing_templatesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_templatesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type packing_templatesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.packing_templatesWhereUniqueInput + data: Prisma.XOR +} + +export type packing_templatesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.packing_templatesScalarWhereInput + data: Prisma.XOR +} + +export type packing_templatesScalarWhereInput = { + AND?: Prisma.packing_templatesScalarWhereInput | Prisma.packing_templatesScalarWhereInput[] + OR?: Prisma.packing_templatesScalarWhereInput[] + NOT?: Prisma.packing_templatesScalarWhereInput | Prisma.packing_templatesScalarWhereInput[] + id?: Prisma.IntFilter<"packing_templates"> | number + name?: Prisma.StringFilter<"packing_templates"> | string + created_by?: Prisma.IntFilter<"packing_templates"> | number + created_at?: Prisma.DateTimeNullableFilter<"packing_templates"> | Date | string | null +} + +export type packing_templatesCreateManyUsersInput = { + id?: number + name: string + created_at?: Date | string | null +} + +export type packing_templatesUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUpdateManyWithoutPacking_templatesNestedInput +} + +export type packing_templatesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + packing_template_categories?: Prisma.packing_template_categoriesUncheckedUpdateManyWithoutPacking_templatesNestedInput +} + +export type packing_templatesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type Packing_templatesCountOutputType + */ + +export type Packing_templatesCountOutputType = { + packing_template_categories: number +} + +export type Packing_templatesCountOutputTypeSelect = { + packing_template_categories?: boolean | Packing_templatesCountOutputTypeCountPacking_template_categoriesArgs +} + +/** + * Packing_templatesCountOutputType without action + */ +export type Packing_templatesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Packing_templatesCountOutputType + */ + select?: Prisma.Packing_templatesCountOutputTypeSelect | null +} + +/** + * Packing_templatesCountOutputType without action + */ +export type Packing_templatesCountOutputTypeCountPacking_template_categoriesArgs = { + where?: Prisma.packing_template_categoriesWhereInput +} + + +export type packing_templatesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + created_by?: boolean + created_at?: boolean + packing_template_categories?: boolean | Prisma.packing_templates$packing_template_categoriesArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.Packing_templatesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["packing_templates"]> + +export type packing_templatesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + created_by?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["packing_templates"]> + +export type packing_templatesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + created_by?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["packing_templates"]> + +export type packing_templatesSelectScalar = { + id?: boolean + name?: boolean + created_by?: boolean + created_at?: boolean +} + +export type packing_templatesOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "created_by" | "created_at", ExtArgs["result"]["packing_templates"]> +export type packing_templatesInclude = { + packing_template_categories?: boolean | Prisma.packing_templates$packing_template_categoriesArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.Packing_templatesCountOutputTypeDefaultArgs +} +export type packing_templatesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type packing_templatesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $packing_templatesPayload = { + name: "packing_templates" + objects: { + packing_template_categories: Prisma.$packing_template_categoriesPayload[] + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + name: string + created_by: number + created_at: Date | null + }, ExtArgs["result"]["packing_templates"]> + composites: {} +} + +export type packing_templatesGetPayload = runtime.Types.Result.GetResult + +export type packing_templatesCountArgs = + Omit & { + select?: Packing_templatesCountAggregateInputType | true + } + +export interface packing_templatesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['packing_templates'], meta: { name: 'packing_templates' } } + /** + * Find zero or one Packing_templates that matches the filter. + * @param {packing_templatesFindUniqueArgs} args - Arguments to find a Packing_templates + * @example + * // Get one Packing_templates + * const packing_templates = await prisma.packing_templates.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Packing_templates that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {packing_templatesFindUniqueOrThrowArgs} args - Arguments to find a Packing_templates + * @example + * // Get one Packing_templates + * const packing_templates = await prisma.packing_templates.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_templates that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesFindFirstArgs} args - Arguments to find a Packing_templates + * @example + * // Get one Packing_templates + * const packing_templates = await prisma.packing_templates.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Packing_templates that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesFindFirstOrThrowArgs} args - Arguments to find a Packing_templates + * @example + * // Get one Packing_templates + * const packing_templates = await prisma.packing_templates.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Packing_templates that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Packing_templates + * const packing_templates = await prisma.packing_templates.findMany() + * + * // Get first 10 Packing_templates + * const packing_templates = await prisma.packing_templates.findMany({ take: 10 }) + * + * // Only select the `id` + * const packing_templatesWithIdOnly = await prisma.packing_templates.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Packing_templates. + * @param {packing_templatesCreateArgs} args - Arguments to create a Packing_templates. + * @example + * // Create one Packing_templates + * const Packing_templates = await prisma.packing_templates.create({ + * data: { + * // ... data to create a Packing_templates + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Packing_templates. + * @param {packing_templatesCreateManyArgs} args - Arguments to create many Packing_templates. + * @example + * // Create many Packing_templates + * const packing_templates = await prisma.packing_templates.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Packing_templates and returns the data saved in the database. + * @param {packing_templatesCreateManyAndReturnArgs} args - Arguments to create many Packing_templates. + * @example + * // Create many Packing_templates + * const packing_templates = await prisma.packing_templates.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Packing_templates and only return the `id` + * const packing_templatesWithIdOnly = await prisma.packing_templates.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Packing_templates. + * @param {packing_templatesDeleteArgs} args - Arguments to delete one Packing_templates. + * @example + * // Delete one Packing_templates + * const Packing_templates = await prisma.packing_templates.delete({ + * where: { + * // ... filter to delete one Packing_templates + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Packing_templates. + * @param {packing_templatesUpdateArgs} args - Arguments to update one Packing_templates. + * @example + * // Update one Packing_templates + * const packing_templates = await prisma.packing_templates.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Packing_templates. + * @param {packing_templatesDeleteManyArgs} args - Arguments to filter Packing_templates to delete. + * @example + * // Delete a few Packing_templates + * const { count } = await prisma.packing_templates.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_templates. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Packing_templates + * const packing_templates = await prisma.packing_templates.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Packing_templates and returns the data updated in the database. + * @param {packing_templatesUpdateManyAndReturnArgs} args - Arguments to update many Packing_templates. + * @example + * // Update many Packing_templates + * const packing_templates = await prisma.packing_templates.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Packing_templates and only return the `id` + * const packing_templatesWithIdOnly = await prisma.packing_templates.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Packing_templates. + * @param {packing_templatesUpsertArgs} args - Arguments to update or create a Packing_templates. + * @example + * // Update or create a Packing_templates + * const packing_templates = await prisma.packing_templates.upsert({ + * create: { + * // ... data to create a Packing_templates + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Packing_templates we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__packing_templatesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Packing_templates. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesCountArgs} args - Arguments to filter Packing_templates to count. + * @example + * // Count the number of Packing_templates + * const count = await prisma.packing_templates.count({ + * where: { + * // ... the filter for the Packing_templates we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Packing_templates. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Packing_templatesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Packing_templates. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {packing_templatesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends packing_templatesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: packing_templatesGroupByArgs['orderBy'] } + : { orderBy?: packing_templatesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPacking_templatesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the packing_templates model + */ +readonly fields: packing_templatesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for packing_templates. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__packing_templatesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + packing_template_categories = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the packing_templates model + */ +export interface packing_templatesFieldRefs { + readonly id: Prisma.FieldRef<"packing_templates", 'Int'> + readonly name: Prisma.FieldRef<"packing_templates", 'String'> + readonly created_by: Prisma.FieldRef<"packing_templates", 'Int'> + readonly created_at: Prisma.FieldRef<"packing_templates", 'DateTime'> +} + + +// Custom InputTypes +/** + * packing_templates findUnique + */ +export type packing_templatesFindUniqueArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter, which packing_templates to fetch. + */ + where: Prisma.packing_templatesWhereUniqueInput +} + +/** + * packing_templates findUniqueOrThrow + */ +export type packing_templatesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter, which packing_templates to fetch. + */ + where: Prisma.packing_templatesWhereUniqueInput +} + +/** + * packing_templates findFirst + */ +export type packing_templatesFindFirstArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter, which packing_templates to fetch. + */ + where?: Prisma.packing_templatesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_templates to fetch. + */ + orderBy?: Prisma.packing_templatesOrderByWithRelationInput | Prisma.packing_templatesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_templates. + */ + cursor?: Prisma.packing_templatesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_templates from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_templates. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_templates. + */ + distinct?: Prisma.Packing_templatesScalarFieldEnum | Prisma.Packing_templatesScalarFieldEnum[] +} + +/** + * packing_templates findFirstOrThrow + */ +export type packing_templatesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter, which packing_templates to fetch. + */ + where?: Prisma.packing_templatesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_templates to fetch. + */ + orderBy?: Prisma.packing_templatesOrderByWithRelationInput | Prisma.packing_templatesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for packing_templates. + */ + cursor?: Prisma.packing_templatesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_templates from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_templates. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_templates. + */ + distinct?: Prisma.Packing_templatesScalarFieldEnum | Prisma.Packing_templatesScalarFieldEnum[] +} + +/** + * packing_templates findMany + */ +export type packing_templatesFindManyArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter, which packing_templates to fetch. + */ + where?: Prisma.packing_templatesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of packing_templates to fetch. + */ + orderBy?: Prisma.packing_templatesOrderByWithRelationInput | Prisma.packing_templatesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing packing_templates. + */ + cursor?: Prisma.packing_templatesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` packing_templates from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` packing_templates. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of packing_templates. + */ + distinct?: Prisma.Packing_templatesScalarFieldEnum | Prisma.Packing_templatesScalarFieldEnum[] +} + +/** + * packing_templates create + */ +export type packing_templatesCreateArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * The data needed to create a packing_templates. + */ + data: Prisma.XOR +} + +/** + * packing_templates createMany + */ +export type packing_templatesCreateManyArgs = { + /** + * The data used to create many packing_templates. + */ + data: Prisma.packing_templatesCreateManyInput | Prisma.packing_templatesCreateManyInput[] +} + +/** + * packing_templates createManyAndReturn + */ +export type packing_templatesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * The data used to create many packing_templates. + */ + data: Prisma.packing_templatesCreateManyInput | Prisma.packing_templatesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesIncludeCreateManyAndReturn | null +} + +/** + * packing_templates update + */ +export type packing_templatesUpdateArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * The data needed to update a packing_templates. + */ + data: Prisma.XOR + /** + * Choose, which packing_templates to update. + */ + where: Prisma.packing_templatesWhereUniqueInput +} + +/** + * packing_templates updateMany + */ +export type packing_templatesUpdateManyArgs = { + /** + * The data used to update packing_templates. + */ + data: Prisma.XOR + /** + * Filter which packing_templates to update + */ + where?: Prisma.packing_templatesWhereInput + /** + * Limit how many packing_templates to update. + */ + limit?: number +} + +/** + * packing_templates updateManyAndReturn + */ +export type packing_templatesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * The data used to update packing_templates. + */ + data: Prisma.XOR + /** + * Filter which packing_templates to update + */ + where?: Prisma.packing_templatesWhereInput + /** + * Limit how many packing_templates to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesIncludeUpdateManyAndReturn | null +} + +/** + * packing_templates upsert + */ +export type packing_templatesUpsertArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * The filter to search for the packing_templates to update in case it exists. + */ + where: Prisma.packing_templatesWhereUniqueInput + /** + * In case the packing_templates found by the `where` argument doesn't exist, create a new packing_templates with this data. + */ + create: Prisma.XOR + /** + * In case the packing_templates was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * packing_templates delete + */ +export type packing_templatesDeleteArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + /** + * Filter which packing_templates to delete. + */ + where: Prisma.packing_templatesWhereUniqueInput +} + +/** + * packing_templates deleteMany + */ +export type packing_templatesDeleteManyArgs = { + /** + * Filter which packing_templates to delete + */ + where?: Prisma.packing_templatesWhereInput + /** + * Limit how many packing_templates to delete. + */ + limit?: number +} + +/** + * packing_templates.packing_template_categories + */ +export type packing_templates$packing_template_categoriesArgs = { + /** + * Select specific fields to fetch from the packing_template_categories + */ + select?: Prisma.packing_template_categoriesSelect | null + /** + * Omit specific fields from the packing_template_categories + */ + omit?: Prisma.packing_template_categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_template_categoriesInclude | null + where?: Prisma.packing_template_categoriesWhereInput + orderBy?: Prisma.packing_template_categoriesOrderByWithRelationInput | Prisma.packing_template_categoriesOrderByWithRelationInput[] + cursor?: Prisma.packing_template_categoriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_template_categoriesScalarFieldEnum | Prisma.Packing_template_categoriesScalarFieldEnum[] +} + +/** + * packing_templates without action + */ +export type packing_templatesDefaultArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null +} diff --git a/server/src/generated/prisma/models/password_reset_tokens.ts b/server/src/generated/prisma/models/password_reset_tokens.ts new file mode 100644 index 00000000..b08e86a0 --- /dev/null +++ b/server/src/generated/prisma/models/password_reset_tokens.ts @@ -0,0 +1,1457 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `password_reset_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model password_reset_tokens + * + */ +export type password_reset_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregatePassword_reset_tokens = { + _count: Password_reset_tokensCountAggregateOutputType | null + _avg: Password_reset_tokensAvgAggregateOutputType | null + _sum: Password_reset_tokensSumAggregateOutputType | null + _min: Password_reset_tokensMinAggregateOutputType | null + _max: Password_reset_tokensMaxAggregateOutputType | null +} + +export type Password_reset_tokensAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Password_reset_tokensSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Password_reset_tokensMinAggregateOutputType = { + id: number | null + user_id: number | null + token_hash: string | null + expires_at: Date | null + consumed_at: Date | null + created_at: Date | null + created_ip: string | null +} + +export type Password_reset_tokensMaxAggregateOutputType = { + id: number | null + user_id: number | null + token_hash: string | null + expires_at: Date | null + consumed_at: Date | null + created_at: Date | null + created_ip: string | null +} + +export type Password_reset_tokensCountAggregateOutputType = { + id: number + user_id: number + token_hash: number + expires_at: number + consumed_at: number + created_at: number + created_ip: number + _all: number +} + + +export type Password_reset_tokensAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Password_reset_tokensSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Password_reset_tokensMinAggregateInputType = { + id?: true + user_id?: true + token_hash?: true + expires_at?: true + consumed_at?: true + created_at?: true + created_ip?: true +} + +export type Password_reset_tokensMaxAggregateInputType = { + id?: true + user_id?: true + token_hash?: true + expires_at?: true + consumed_at?: true + created_at?: true + created_ip?: true +} + +export type Password_reset_tokensCountAggregateInputType = { + id?: true + user_id?: true + token_hash?: true + expires_at?: true + consumed_at?: true + created_at?: true + created_ip?: true + _all?: true +} + +export type Password_reset_tokensAggregateArgs = { + /** + * Filter which password_reset_tokens to aggregate. + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of password_reset_tokens to fetch. + */ + orderBy?: Prisma.password_reset_tokensOrderByWithRelationInput | Prisma.password_reset_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.password_reset_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` password_reset_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` password_reset_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned password_reset_tokens + **/ + _count?: true | Password_reset_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Password_reset_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Password_reset_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Password_reset_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Password_reset_tokensMaxAggregateInputType +} + +export type GetPassword_reset_tokensAggregateType = { + [P in keyof T & keyof AggregatePassword_reset_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type password_reset_tokensGroupByArgs = { + where?: Prisma.password_reset_tokensWhereInput + orderBy?: Prisma.password_reset_tokensOrderByWithAggregationInput | Prisma.password_reset_tokensOrderByWithAggregationInput[] + by: Prisma.Password_reset_tokensScalarFieldEnum[] | Prisma.Password_reset_tokensScalarFieldEnum + having?: Prisma.password_reset_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Password_reset_tokensCountAggregateInputType | true + _avg?: Password_reset_tokensAvgAggregateInputType + _sum?: Password_reset_tokensSumAggregateInputType + _min?: Password_reset_tokensMinAggregateInputType + _max?: Password_reset_tokensMaxAggregateInputType +} + +export type Password_reset_tokensGroupByOutputType = { + id: number + user_id: number + token_hash: string + expires_at: Date + consumed_at: Date | null + created_at: Date | null + created_ip: string | null + _count: Password_reset_tokensCountAggregateOutputType | null + _avg: Password_reset_tokensAvgAggregateOutputType | null + _sum: Password_reset_tokensSumAggregateOutputType | null + _min: Password_reset_tokensMinAggregateOutputType | null + _max: Password_reset_tokensMaxAggregateOutputType | null +} + +export type GetPassword_reset_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Password_reset_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type password_reset_tokensWhereInput = { + AND?: Prisma.password_reset_tokensWhereInput | Prisma.password_reset_tokensWhereInput[] + OR?: Prisma.password_reset_tokensWhereInput[] + NOT?: Prisma.password_reset_tokensWhereInput | Prisma.password_reset_tokensWhereInput[] + id?: Prisma.IntFilter<"password_reset_tokens"> | number + user_id?: Prisma.IntFilter<"password_reset_tokens"> | number + token_hash?: Prisma.StringFilter<"password_reset_tokens"> | string + expires_at?: Prisma.DateTimeFilter<"password_reset_tokens"> | Date | string + consumed_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_ip?: Prisma.StringNullableFilter<"password_reset_tokens"> | string | null + users?: Prisma.XOR +} + +export type password_reset_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + consumed_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_ip?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type password_reset_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + token_hash?: string + AND?: Prisma.password_reset_tokensWhereInput | Prisma.password_reset_tokensWhereInput[] + OR?: Prisma.password_reset_tokensWhereInput[] + NOT?: Prisma.password_reset_tokensWhereInput | Prisma.password_reset_tokensWhereInput[] + user_id?: Prisma.IntFilter<"password_reset_tokens"> | number + expires_at?: Prisma.DateTimeFilter<"password_reset_tokens"> | Date | string + consumed_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_ip?: Prisma.StringNullableFilter<"password_reset_tokens"> | string | null + users?: Prisma.XOR +}, "id" | "token_hash"> + +export type password_reset_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + consumed_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_ip?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.password_reset_tokensCountOrderByAggregateInput + _avg?: Prisma.password_reset_tokensAvgOrderByAggregateInput + _max?: Prisma.password_reset_tokensMaxOrderByAggregateInput + _min?: Prisma.password_reset_tokensMinOrderByAggregateInput + _sum?: Prisma.password_reset_tokensSumOrderByAggregateInput +} + +export type password_reset_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.password_reset_tokensScalarWhereWithAggregatesInput | Prisma.password_reset_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.password_reset_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.password_reset_tokensScalarWhereWithAggregatesInput | Prisma.password_reset_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"password_reset_tokens"> | number + user_id?: Prisma.IntWithAggregatesFilter<"password_reset_tokens"> | number + token_hash?: Prisma.StringWithAggregatesFilter<"password_reset_tokens"> | string + expires_at?: Prisma.DateTimeWithAggregatesFilter<"password_reset_tokens"> | Date | string + consumed_at?: Prisma.DateTimeNullableWithAggregatesFilter<"password_reset_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"password_reset_tokens"> | Date | string | null + created_ip?: Prisma.StringNullableWithAggregatesFilter<"password_reset_tokens"> | string | null +} + +export type password_reset_tokensCreateInput = { + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null + users: Prisma.usersCreateNestedOneWithoutPassword_reset_tokensInput +} + +export type password_reset_tokensUncheckedCreateInput = { + id?: number + user_id: number + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null +} + +export type password_reset_tokensUpdateInput = { + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutPassword_reset_tokensNestedInput +} + +export type password_reset_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type password_reset_tokensCreateManyInput = { + id?: number + user_id: number + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null +} + +export type password_reset_tokensUpdateManyMutationInput = { + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type password_reset_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type password_reset_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + consumed_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + created_ip?: Prisma.SortOrder +} + +export type password_reset_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type password_reset_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + consumed_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + created_ip?: Prisma.SortOrder +} + +export type password_reset_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + token_hash?: Prisma.SortOrder + expires_at?: Prisma.SortOrder + consumed_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + created_ip?: Prisma.SortOrder +} + +export type password_reset_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Password_reset_tokensListRelationFilter = { + every?: Prisma.password_reset_tokensWhereInput + some?: Prisma.password_reset_tokensWhereInput + none?: Prisma.password_reset_tokensWhereInput +} + +export type password_reset_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type password_reset_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.password_reset_tokensCreateWithoutUsersInput[] | Prisma.password_reset_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput | Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.password_reset_tokensCreateManyUsersInputEnvelope + connect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] +} + +export type password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.password_reset_tokensCreateWithoutUsersInput[] | Prisma.password_reset_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput | Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.password_reset_tokensCreateManyUsersInputEnvelope + connect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] +} + +export type password_reset_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.password_reset_tokensCreateWithoutUsersInput[] | Prisma.password_reset_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput | Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.password_reset_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.password_reset_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.password_reset_tokensCreateManyUsersInputEnvelope + set?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + disconnect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + delete?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + connect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + update?: Prisma.password_reset_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.password_reset_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.password_reset_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.password_reset_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.password_reset_tokensScalarWhereInput | Prisma.password_reset_tokensScalarWhereInput[] +} + +export type password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.password_reset_tokensCreateWithoutUsersInput[] | Prisma.password_reset_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput | Prisma.password_reset_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.password_reset_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.password_reset_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.password_reset_tokensCreateManyUsersInputEnvelope + set?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + disconnect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + delete?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + connect?: Prisma.password_reset_tokensWhereUniqueInput | Prisma.password_reset_tokensWhereUniqueInput[] + update?: Prisma.password_reset_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.password_reset_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.password_reset_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.password_reset_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.password_reset_tokensScalarWhereInput | Prisma.password_reset_tokensScalarWhereInput[] +} + +export type password_reset_tokensCreateWithoutUsersInput = { + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null +} + +export type password_reset_tokensUncheckedCreateWithoutUsersInput = { + id?: number + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null +} + +export type password_reset_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.password_reset_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type password_reset_tokensCreateManyUsersInputEnvelope = { + data: Prisma.password_reset_tokensCreateManyUsersInput | Prisma.password_reset_tokensCreateManyUsersInput[] +} + +export type password_reset_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.password_reset_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type password_reset_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.password_reset_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type password_reset_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.password_reset_tokensScalarWhereInput + data: Prisma.XOR +} + +export type password_reset_tokensScalarWhereInput = { + AND?: Prisma.password_reset_tokensScalarWhereInput | Prisma.password_reset_tokensScalarWhereInput[] + OR?: Prisma.password_reset_tokensScalarWhereInput[] + NOT?: Prisma.password_reset_tokensScalarWhereInput | Prisma.password_reset_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"password_reset_tokens"> | number + user_id?: Prisma.IntFilter<"password_reset_tokens"> | number + token_hash?: Prisma.StringFilter<"password_reset_tokens"> | string + expires_at?: Prisma.DateTimeFilter<"password_reset_tokens"> | Date | string + consumed_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"password_reset_tokens"> | Date | string | null + created_ip?: Prisma.StringNullableFilter<"password_reset_tokens"> | string | null +} + +export type password_reset_tokensCreateManyUsersInput = { + id?: number + token_hash: string + expires_at: Date | string + consumed_at?: Date | string | null + created_at?: Date | string | null + created_ip?: string | null +} + +export type password_reset_tokensUpdateWithoutUsersInput = { + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type password_reset_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type password_reset_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token_hash?: Prisma.StringFieldUpdateOperationsInput | string + expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string + consumed_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type password_reset_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + token_hash?: boolean + expires_at?: boolean + consumed_at?: boolean + created_at?: boolean + created_ip?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["password_reset_tokens"]> + +export type password_reset_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + token_hash?: boolean + expires_at?: boolean + consumed_at?: boolean + created_at?: boolean + created_ip?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["password_reset_tokens"]> + +export type password_reset_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + token_hash?: boolean + expires_at?: boolean + consumed_at?: boolean + created_at?: boolean + created_ip?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["password_reset_tokens"]> + +export type password_reset_tokensSelectScalar = { + id?: boolean + user_id?: boolean + token_hash?: boolean + expires_at?: boolean + consumed_at?: boolean + created_at?: boolean + created_ip?: boolean +} + +export type password_reset_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "token_hash" | "expires_at" | "consumed_at" | "created_at" | "created_ip", ExtArgs["result"]["password_reset_tokens"]> +export type password_reset_tokensInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type password_reset_tokensIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type password_reset_tokensIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $password_reset_tokensPayload = { + name: "password_reset_tokens" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + token_hash: string + expires_at: Date + consumed_at: Date | null + created_at: Date | null + created_ip: string | null + }, ExtArgs["result"]["password_reset_tokens"]> + composites: {} +} + +export type password_reset_tokensGetPayload = runtime.Types.Result.GetResult + +export type password_reset_tokensCountArgs = + Omit & { + select?: Password_reset_tokensCountAggregateInputType | true + } + +export interface password_reset_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['password_reset_tokens'], meta: { name: 'password_reset_tokens' } } + /** + * Find zero or one Password_reset_tokens that matches the filter. + * @param {password_reset_tokensFindUniqueArgs} args - Arguments to find a Password_reset_tokens + * @example + * // Get one Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Password_reset_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {password_reset_tokensFindUniqueOrThrowArgs} args - Arguments to find a Password_reset_tokens + * @example + * // Get one Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Password_reset_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensFindFirstArgs} args - Arguments to find a Password_reset_tokens + * @example + * // Get one Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Password_reset_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensFindFirstOrThrowArgs} args - Arguments to find a Password_reset_tokens + * @example + * // Get one Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Password_reset_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findMany() + * + * // Get first 10 Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const password_reset_tokensWithIdOnly = await prisma.password_reset_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Password_reset_tokens. + * @param {password_reset_tokensCreateArgs} args - Arguments to create a Password_reset_tokens. + * @example + * // Create one Password_reset_tokens + * const Password_reset_tokens = await prisma.password_reset_tokens.create({ + * data: { + * // ... data to create a Password_reset_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Password_reset_tokens. + * @param {password_reset_tokensCreateManyArgs} args - Arguments to create many Password_reset_tokens. + * @example + * // Create many Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Password_reset_tokens and returns the data saved in the database. + * @param {password_reset_tokensCreateManyAndReturnArgs} args - Arguments to create many Password_reset_tokens. + * @example + * // Create many Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Password_reset_tokens and only return the `id` + * const password_reset_tokensWithIdOnly = await prisma.password_reset_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Password_reset_tokens. + * @param {password_reset_tokensDeleteArgs} args - Arguments to delete one Password_reset_tokens. + * @example + * // Delete one Password_reset_tokens + * const Password_reset_tokens = await prisma.password_reset_tokens.delete({ + * where: { + * // ... filter to delete one Password_reset_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Password_reset_tokens. + * @param {password_reset_tokensUpdateArgs} args - Arguments to update one Password_reset_tokens. + * @example + * // Update one Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Password_reset_tokens. + * @param {password_reset_tokensDeleteManyArgs} args - Arguments to filter Password_reset_tokens to delete. + * @example + * // Delete a few Password_reset_tokens + * const { count } = await prisma.password_reset_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Password_reset_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Password_reset_tokens and returns the data updated in the database. + * @param {password_reset_tokensUpdateManyAndReturnArgs} args - Arguments to update many Password_reset_tokens. + * @example + * // Update many Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Password_reset_tokens and only return the `id` + * const password_reset_tokensWithIdOnly = await prisma.password_reset_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Password_reset_tokens. + * @param {password_reset_tokensUpsertArgs} args - Arguments to update or create a Password_reset_tokens. + * @example + * // Update or create a Password_reset_tokens + * const password_reset_tokens = await prisma.password_reset_tokens.upsert({ + * create: { + * // ... data to create a Password_reset_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Password_reset_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__password_reset_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Password_reset_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensCountArgs} args - Arguments to filter Password_reset_tokens to count. + * @example + * // Count the number of Password_reset_tokens + * const count = await prisma.password_reset_tokens.count({ + * where: { + * // ... the filter for the Password_reset_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Password_reset_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Password_reset_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Password_reset_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {password_reset_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends password_reset_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: password_reset_tokensGroupByArgs['orderBy'] } + : { orderBy?: password_reset_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPassword_reset_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the password_reset_tokens model + */ +readonly fields: password_reset_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for password_reset_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__password_reset_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the password_reset_tokens model + */ +export interface password_reset_tokensFieldRefs { + readonly id: Prisma.FieldRef<"password_reset_tokens", 'Int'> + readonly user_id: Prisma.FieldRef<"password_reset_tokens", 'Int'> + readonly token_hash: Prisma.FieldRef<"password_reset_tokens", 'String'> + readonly expires_at: Prisma.FieldRef<"password_reset_tokens", 'DateTime'> + readonly consumed_at: Prisma.FieldRef<"password_reset_tokens", 'DateTime'> + readonly created_at: Prisma.FieldRef<"password_reset_tokens", 'DateTime'> + readonly created_ip: Prisma.FieldRef<"password_reset_tokens", 'String'> +} + + +// Custom InputTypes +/** + * password_reset_tokens findUnique + */ +export type password_reset_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter, which password_reset_tokens to fetch. + */ + where: Prisma.password_reset_tokensWhereUniqueInput +} + +/** + * password_reset_tokens findUniqueOrThrow + */ +export type password_reset_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter, which password_reset_tokens to fetch. + */ + where: Prisma.password_reset_tokensWhereUniqueInput +} + +/** + * password_reset_tokens findFirst + */ +export type password_reset_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter, which password_reset_tokens to fetch. + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of password_reset_tokens to fetch. + */ + orderBy?: Prisma.password_reset_tokensOrderByWithRelationInput | Prisma.password_reset_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for password_reset_tokens. + */ + cursor?: Prisma.password_reset_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` password_reset_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` password_reset_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of password_reset_tokens. + */ + distinct?: Prisma.Password_reset_tokensScalarFieldEnum | Prisma.Password_reset_tokensScalarFieldEnum[] +} + +/** + * password_reset_tokens findFirstOrThrow + */ +export type password_reset_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter, which password_reset_tokens to fetch. + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of password_reset_tokens to fetch. + */ + orderBy?: Prisma.password_reset_tokensOrderByWithRelationInput | Prisma.password_reset_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for password_reset_tokens. + */ + cursor?: Prisma.password_reset_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` password_reset_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` password_reset_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of password_reset_tokens. + */ + distinct?: Prisma.Password_reset_tokensScalarFieldEnum | Prisma.Password_reset_tokensScalarFieldEnum[] +} + +/** + * password_reset_tokens findMany + */ +export type password_reset_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter, which password_reset_tokens to fetch. + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of password_reset_tokens to fetch. + */ + orderBy?: Prisma.password_reset_tokensOrderByWithRelationInput | Prisma.password_reset_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing password_reset_tokens. + */ + cursor?: Prisma.password_reset_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` password_reset_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` password_reset_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of password_reset_tokens. + */ + distinct?: Prisma.Password_reset_tokensScalarFieldEnum | Prisma.Password_reset_tokensScalarFieldEnum[] +} + +/** + * password_reset_tokens create + */ +export type password_reset_tokensCreateArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * The data needed to create a password_reset_tokens. + */ + data: Prisma.XOR +} + +/** + * password_reset_tokens createMany + */ +export type password_reset_tokensCreateManyArgs = { + /** + * The data used to create many password_reset_tokens. + */ + data: Prisma.password_reset_tokensCreateManyInput | Prisma.password_reset_tokensCreateManyInput[] +} + +/** + * password_reset_tokens createManyAndReturn + */ +export type password_reset_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * The data used to create many password_reset_tokens. + */ + data: Prisma.password_reset_tokensCreateManyInput | Prisma.password_reset_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensIncludeCreateManyAndReturn | null +} + +/** + * password_reset_tokens update + */ +export type password_reset_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * The data needed to update a password_reset_tokens. + */ + data: Prisma.XOR + /** + * Choose, which password_reset_tokens to update. + */ + where: Prisma.password_reset_tokensWhereUniqueInput +} + +/** + * password_reset_tokens updateMany + */ +export type password_reset_tokensUpdateManyArgs = { + /** + * The data used to update password_reset_tokens. + */ + data: Prisma.XOR + /** + * Filter which password_reset_tokens to update + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * Limit how many password_reset_tokens to update. + */ + limit?: number +} + +/** + * password_reset_tokens updateManyAndReturn + */ +export type password_reset_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * The data used to update password_reset_tokens. + */ + data: Prisma.XOR + /** + * Filter which password_reset_tokens to update + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * Limit how many password_reset_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensIncludeUpdateManyAndReturn | null +} + +/** + * password_reset_tokens upsert + */ +export type password_reset_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * The filter to search for the password_reset_tokens to update in case it exists. + */ + where: Prisma.password_reset_tokensWhereUniqueInput + /** + * In case the password_reset_tokens found by the `where` argument doesn't exist, create a new password_reset_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the password_reset_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * password_reset_tokens delete + */ +export type password_reset_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + /** + * Filter which password_reset_tokens to delete. + */ + where: Prisma.password_reset_tokensWhereUniqueInput +} + +/** + * password_reset_tokens deleteMany + */ +export type password_reset_tokensDeleteManyArgs = { + /** + * Filter which password_reset_tokens to delete + */ + where?: Prisma.password_reset_tokensWhereInput + /** + * Limit how many password_reset_tokens to delete. + */ + limit?: number +} + +/** + * password_reset_tokens without action + */ +export type password_reset_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/photo_provider_fields.ts b/server/src/generated/prisma/models/photo_provider_fields.ts new file mode 100644 index 00000000..7e1d35bf --- /dev/null +++ b/server/src/generated/prisma/models/photo_provider_fields.ts @@ -0,0 +1,1650 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `photo_provider_fields` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model photo_provider_fields + * + */ +export type photo_provider_fieldsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePhoto_provider_fields = { + _count: Photo_provider_fieldsCountAggregateOutputType | null + _avg: Photo_provider_fieldsAvgAggregateOutputType | null + _sum: Photo_provider_fieldsSumAggregateOutputType | null + _min: Photo_provider_fieldsMinAggregateOutputType | null + _max: Photo_provider_fieldsMaxAggregateOutputType | null +} + +export type Photo_provider_fieldsAvgAggregateOutputType = { + id: number | null + required: number | null + secret: number | null + sort_order: number | null +} + +export type Photo_provider_fieldsSumAggregateOutputType = { + id: number | null + required: number | null + secret: number | null + sort_order: number | null +} + +export type Photo_provider_fieldsMinAggregateOutputType = { + id: number | null + provider_id: string | null + field_key: string | null + label: string | null + input_type: string | null + placeholder: string | null + hint: string | null + required: number | null + secret: number | null + settings_key: string | null + payload_key: string | null + sort_order: number | null +} + +export type Photo_provider_fieldsMaxAggregateOutputType = { + id: number | null + provider_id: string | null + field_key: string | null + label: string | null + input_type: string | null + placeholder: string | null + hint: string | null + required: number | null + secret: number | null + settings_key: string | null + payload_key: string | null + sort_order: number | null +} + +export type Photo_provider_fieldsCountAggregateOutputType = { + id: number + provider_id: number + field_key: number + label: number + input_type: number + placeholder: number + hint: number + required: number + secret: number + settings_key: number + payload_key: number + sort_order: number + _all: number +} + + +export type Photo_provider_fieldsAvgAggregateInputType = { + id?: true + required?: true + secret?: true + sort_order?: true +} + +export type Photo_provider_fieldsSumAggregateInputType = { + id?: true + required?: true + secret?: true + sort_order?: true +} + +export type Photo_provider_fieldsMinAggregateInputType = { + id?: true + provider_id?: true + field_key?: true + label?: true + input_type?: true + placeholder?: true + hint?: true + required?: true + secret?: true + settings_key?: true + payload_key?: true + sort_order?: true +} + +export type Photo_provider_fieldsMaxAggregateInputType = { + id?: true + provider_id?: true + field_key?: true + label?: true + input_type?: true + placeholder?: true + hint?: true + required?: true + secret?: true + settings_key?: true + payload_key?: true + sort_order?: true +} + +export type Photo_provider_fieldsCountAggregateInputType = { + id?: true + provider_id?: true + field_key?: true + label?: true + input_type?: true + placeholder?: true + hint?: true + required?: true + secret?: true + settings_key?: true + payload_key?: true + sort_order?: true + _all?: true +} + +export type Photo_provider_fieldsAggregateArgs = { + /** + * Filter which photo_provider_fields to aggregate. + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_provider_fields to fetch. + */ + orderBy?: Prisma.photo_provider_fieldsOrderByWithRelationInput | Prisma.photo_provider_fieldsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.photo_provider_fieldsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_provider_fields from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_provider_fields. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned photo_provider_fields + **/ + _count?: true | Photo_provider_fieldsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Photo_provider_fieldsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Photo_provider_fieldsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Photo_provider_fieldsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Photo_provider_fieldsMaxAggregateInputType +} + +export type GetPhoto_provider_fieldsAggregateType = { + [P in keyof T & keyof AggregatePhoto_provider_fields]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type photo_provider_fieldsGroupByArgs = { + where?: Prisma.photo_provider_fieldsWhereInput + orderBy?: Prisma.photo_provider_fieldsOrderByWithAggregationInput | Prisma.photo_provider_fieldsOrderByWithAggregationInput[] + by: Prisma.Photo_provider_fieldsScalarFieldEnum[] | Prisma.Photo_provider_fieldsScalarFieldEnum + having?: Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Photo_provider_fieldsCountAggregateInputType | true + _avg?: Photo_provider_fieldsAvgAggregateInputType + _sum?: Photo_provider_fieldsSumAggregateInputType + _min?: Photo_provider_fieldsMinAggregateInputType + _max?: Photo_provider_fieldsMaxAggregateInputType +} + +export type Photo_provider_fieldsGroupByOutputType = { + id: number + provider_id: string + field_key: string + label: string + input_type: string + placeholder: string | null + hint: string | null + required: number | null + secret: number | null + settings_key: string | null + payload_key: string | null + sort_order: number | null + _count: Photo_provider_fieldsCountAggregateOutputType | null + _avg: Photo_provider_fieldsAvgAggregateOutputType | null + _sum: Photo_provider_fieldsSumAggregateOutputType | null + _min: Photo_provider_fieldsMinAggregateOutputType | null + _max: Photo_provider_fieldsMaxAggregateOutputType | null +} + +export type GetPhoto_provider_fieldsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Photo_provider_fieldsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type photo_provider_fieldsWhereInput = { + AND?: Prisma.photo_provider_fieldsWhereInput | Prisma.photo_provider_fieldsWhereInput[] + OR?: Prisma.photo_provider_fieldsWhereInput[] + NOT?: Prisma.photo_provider_fieldsWhereInput | Prisma.photo_provider_fieldsWhereInput[] + id?: Prisma.IntFilter<"photo_provider_fields"> | number + provider_id?: Prisma.StringFilter<"photo_provider_fields"> | string + field_key?: Prisma.StringFilter<"photo_provider_fields"> | string + label?: Prisma.StringFilter<"photo_provider_fields"> | string + input_type?: Prisma.StringFilter<"photo_provider_fields"> | string + placeholder?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + hint?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + required?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + secret?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + settings_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + payload_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + sort_order?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + photo_providers?: Prisma.XOR +} + +export type photo_provider_fieldsOrderByWithRelationInput = { + id?: Prisma.SortOrder + provider_id?: Prisma.SortOrder + field_key?: Prisma.SortOrder + label?: Prisma.SortOrder + input_type?: Prisma.SortOrder + placeholder?: Prisma.SortOrderInput | Prisma.SortOrder + hint?: Prisma.SortOrderInput | Prisma.SortOrder + required?: Prisma.SortOrderInput | Prisma.SortOrder + secret?: Prisma.SortOrderInput | Prisma.SortOrder + settings_key?: Prisma.SortOrderInput | Prisma.SortOrder + payload_key?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + photo_providers?: Prisma.photo_providersOrderByWithRelationInput +} + +export type photo_provider_fieldsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + provider_id_field_key?: Prisma.photo_provider_fieldsProvider_idField_keyCompoundUniqueInput + AND?: Prisma.photo_provider_fieldsWhereInput | Prisma.photo_provider_fieldsWhereInput[] + OR?: Prisma.photo_provider_fieldsWhereInput[] + NOT?: Prisma.photo_provider_fieldsWhereInput | Prisma.photo_provider_fieldsWhereInput[] + provider_id?: Prisma.StringFilter<"photo_provider_fields"> | string + field_key?: Prisma.StringFilter<"photo_provider_fields"> | string + label?: Prisma.StringFilter<"photo_provider_fields"> | string + input_type?: Prisma.StringFilter<"photo_provider_fields"> | string + placeholder?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + hint?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + required?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + secret?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + settings_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + payload_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + sort_order?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + photo_providers?: Prisma.XOR +}, "id" | "provider_id_field_key"> + +export type photo_provider_fieldsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + provider_id?: Prisma.SortOrder + field_key?: Prisma.SortOrder + label?: Prisma.SortOrder + input_type?: Prisma.SortOrder + placeholder?: Prisma.SortOrderInput | Prisma.SortOrder + hint?: Prisma.SortOrderInput | Prisma.SortOrder + required?: Prisma.SortOrderInput | Prisma.SortOrder + secret?: Prisma.SortOrderInput | Prisma.SortOrder + settings_key?: Prisma.SortOrderInput | Prisma.SortOrder + payload_key?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.photo_provider_fieldsCountOrderByAggregateInput + _avg?: Prisma.photo_provider_fieldsAvgOrderByAggregateInput + _max?: Prisma.photo_provider_fieldsMaxOrderByAggregateInput + _min?: Prisma.photo_provider_fieldsMinOrderByAggregateInput + _sum?: Prisma.photo_provider_fieldsSumOrderByAggregateInput +} + +export type photo_provider_fieldsScalarWhereWithAggregatesInput = { + AND?: Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput | Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput[] + OR?: Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput[] + NOT?: Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput | Prisma.photo_provider_fieldsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"photo_provider_fields"> | number + provider_id?: Prisma.StringWithAggregatesFilter<"photo_provider_fields"> | string + field_key?: Prisma.StringWithAggregatesFilter<"photo_provider_fields"> | string + label?: Prisma.StringWithAggregatesFilter<"photo_provider_fields"> | string + input_type?: Prisma.StringWithAggregatesFilter<"photo_provider_fields"> | string + placeholder?: Prisma.StringNullableWithAggregatesFilter<"photo_provider_fields"> | string | null + hint?: Prisma.StringNullableWithAggregatesFilter<"photo_provider_fields"> | string | null + required?: Prisma.IntNullableWithAggregatesFilter<"photo_provider_fields"> | number | null + secret?: Prisma.IntNullableWithAggregatesFilter<"photo_provider_fields"> | number | null + settings_key?: Prisma.StringNullableWithAggregatesFilter<"photo_provider_fields"> | string | null + payload_key?: Prisma.StringNullableWithAggregatesFilter<"photo_provider_fields"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"photo_provider_fields"> | number | null +} + +export type photo_provider_fieldsCreateInput = { + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null + photo_providers: Prisma.photo_providersCreateNestedOneWithoutPhoto_provider_fieldsInput +} + +export type photo_provider_fieldsUncheckedCreateInput = { + id?: number + provider_id: string + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null +} + +export type photo_provider_fieldsUpdateInput = { + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + photo_providers?: Prisma.photo_providersUpdateOneRequiredWithoutPhoto_provider_fieldsNestedInput +} + +export type photo_provider_fieldsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider_id?: Prisma.StringFieldUpdateOperationsInput | string + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_provider_fieldsCreateManyInput = { + id?: number + provider_id: string + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null +} + +export type photo_provider_fieldsUpdateManyMutationInput = { + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_provider_fieldsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider_id?: Prisma.StringFieldUpdateOperationsInput | string + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_provider_fieldsProvider_idField_keyCompoundUniqueInput = { + provider_id: string + field_key: string +} + +export type photo_provider_fieldsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + provider_id?: Prisma.SortOrder + field_key?: Prisma.SortOrder + label?: Prisma.SortOrder + input_type?: Prisma.SortOrder + placeholder?: Prisma.SortOrder + hint?: Prisma.SortOrder + required?: Prisma.SortOrder + secret?: Prisma.SortOrder + settings_key?: Prisma.SortOrder + payload_key?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_provider_fieldsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + required?: Prisma.SortOrder + secret?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_provider_fieldsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + provider_id?: Prisma.SortOrder + field_key?: Prisma.SortOrder + label?: Prisma.SortOrder + input_type?: Prisma.SortOrder + placeholder?: Prisma.SortOrder + hint?: Prisma.SortOrder + required?: Prisma.SortOrder + secret?: Prisma.SortOrder + settings_key?: Prisma.SortOrder + payload_key?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_provider_fieldsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + provider_id?: Prisma.SortOrder + field_key?: Prisma.SortOrder + label?: Prisma.SortOrder + input_type?: Prisma.SortOrder + placeholder?: Prisma.SortOrder + hint?: Prisma.SortOrder + required?: Prisma.SortOrder + secret?: Prisma.SortOrder + settings_key?: Prisma.SortOrder + payload_key?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_provider_fieldsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + required?: Prisma.SortOrder + secret?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type Photo_provider_fieldsListRelationFilter = { + every?: Prisma.photo_provider_fieldsWhereInput + some?: Prisma.photo_provider_fieldsWhereInput + none?: Prisma.photo_provider_fieldsWhereInput +} + +export type photo_provider_fieldsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type photo_provider_fieldsCreateNestedManyWithoutPhoto_providersInput = { + create?: Prisma.XOR | Prisma.photo_provider_fieldsCreateWithoutPhoto_providersInput[] | Prisma.photo_provider_fieldsUncheckedCreateWithoutPhoto_providersInput[] + connectOrCreate?: Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput | Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput[] + createMany?: Prisma.photo_provider_fieldsCreateManyPhoto_providersInputEnvelope + connect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] +} + +export type photo_provider_fieldsUncheckedCreateNestedManyWithoutPhoto_providersInput = { + create?: Prisma.XOR | Prisma.photo_provider_fieldsCreateWithoutPhoto_providersInput[] | Prisma.photo_provider_fieldsUncheckedCreateWithoutPhoto_providersInput[] + connectOrCreate?: Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput | Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput[] + createMany?: Prisma.photo_provider_fieldsCreateManyPhoto_providersInputEnvelope + connect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] +} + +export type photo_provider_fieldsUpdateManyWithoutPhoto_providersNestedInput = { + create?: Prisma.XOR | Prisma.photo_provider_fieldsCreateWithoutPhoto_providersInput[] | Prisma.photo_provider_fieldsUncheckedCreateWithoutPhoto_providersInput[] + connectOrCreate?: Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput | Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput[] + upsert?: Prisma.photo_provider_fieldsUpsertWithWhereUniqueWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpsertWithWhereUniqueWithoutPhoto_providersInput[] + createMany?: Prisma.photo_provider_fieldsCreateManyPhoto_providersInputEnvelope + set?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + disconnect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + delete?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + connect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + update?: Prisma.photo_provider_fieldsUpdateWithWhereUniqueWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpdateWithWhereUniqueWithoutPhoto_providersInput[] + updateMany?: Prisma.photo_provider_fieldsUpdateManyWithWhereWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpdateManyWithWhereWithoutPhoto_providersInput[] + deleteMany?: Prisma.photo_provider_fieldsScalarWhereInput | Prisma.photo_provider_fieldsScalarWhereInput[] +} + +export type photo_provider_fieldsUncheckedUpdateManyWithoutPhoto_providersNestedInput = { + create?: Prisma.XOR | Prisma.photo_provider_fieldsCreateWithoutPhoto_providersInput[] | Prisma.photo_provider_fieldsUncheckedCreateWithoutPhoto_providersInput[] + connectOrCreate?: Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput | Prisma.photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput[] + upsert?: Prisma.photo_provider_fieldsUpsertWithWhereUniqueWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpsertWithWhereUniqueWithoutPhoto_providersInput[] + createMany?: Prisma.photo_provider_fieldsCreateManyPhoto_providersInputEnvelope + set?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + disconnect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + delete?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + connect?: Prisma.photo_provider_fieldsWhereUniqueInput | Prisma.photo_provider_fieldsWhereUniqueInput[] + update?: Prisma.photo_provider_fieldsUpdateWithWhereUniqueWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpdateWithWhereUniqueWithoutPhoto_providersInput[] + updateMany?: Prisma.photo_provider_fieldsUpdateManyWithWhereWithoutPhoto_providersInput | Prisma.photo_provider_fieldsUpdateManyWithWhereWithoutPhoto_providersInput[] + deleteMany?: Prisma.photo_provider_fieldsScalarWhereInput | Prisma.photo_provider_fieldsScalarWhereInput[] +} + +export type photo_provider_fieldsCreateWithoutPhoto_providersInput = { + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null +} + +export type photo_provider_fieldsUncheckedCreateWithoutPhoto_providersInput = { + id?: number + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null +} + +export type photo_provider_fieldsCreateOrConnectWithoutPhoto_providersInput = { + where: Prisma.photo_provider_fieldsWhereUniqueInput + create: Prisma.XOR +} + +export type photo_provider_fieldsCreateManyPhoto_providersInputEnvelope = { + data: Prisma.photo_provider_fieldsCreateManyPhoto_providersInput | Prisma.photo_provider_fieldsCreateManyPhoto_providersInput[] +} + +export type photo_provider_fieldsUpsertWithWhereUniqueWithoutPhoto_providersInput = { + where: Prisma.photo_provider_fieldsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type photo_provider_fieldsUpdateWithWhereUniqueWithoutPhoto_providersInput = { + where: Prisma.photo_provider_fieldsWhereUniqueInput + data: Prisma.XOR +} + +export type photo_provider_fieldsUpdateManyWithWhereWithoutPhoto_providersInput = { + where: Prisma.photo_provider_fieldsScalarWhereInput + data: Prisma.XOR +} + +export type photo_provider_fieldsScalarWhereInput = { + AND?: Prisma.photo_provider_fieldsScalarWhereInput | Prisma.photo_provider_fieldsScalarWhereInput[] + OR?: Prisma.photo_provider_fieldsScalarWhereInput[] + NOT?: Prisma.photo_provider_fieldsScalarWhereInput | Prisma.photo_provider_fieldsScalarWhereInput[] + id?: Prisma.IntFilter<"photo_provider_fields"> | number + provider_id?: Prisma.StringFilter<"photo_provider_fields"> | string + field_key?: Prisma.StringFilter<"photo_provider_fields"> | string + label?: Prisma.StringFilter<"photo_provider_fields"> | string + input_type?: Prisma.StringFilter<"photo_provider_fields"> | string + placeholder?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + hint?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + required?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + secret?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null + settings_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + payload_key?: Prisma.StringNullableFilter<"photo_provider_fields"> | string | null + sort_order?: Prisma.IntNullableFilter<"photo_provider_fields"> | number | null +} + +export type photo_provider_fieldsCreateManyPhoto_providersInput = { + id?: number + field_key: string + label: string + input_type?: string + placeholder?: string | null + hint?: string | null + required?: number | null + secret?: number | null + settings_key?: string | null + payload_key?: string | null + sort_order?: number | null +} + +export type photo_provider_fieldsUpdateWithoutPhoto_providersInput = { + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_provider_fieldsUncheckedUpdateWithoutPhoto_providersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_provider_fieldsUncheckedUpdateManyWithoutPhoto_providersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + field_key?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.StringFieldUpdateOperationsInput | string + input_type?: Prisma.StringFieldUpdateOperationsInput | string + placeholder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + hint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + required?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + secret?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + settings_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + payload_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + + + +export type photo_provider_fieldsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider_id?: boolean + field_key?: boolean + label?: boolean + input_type?: boolean + placeholder?: boolean + hint?: boolean + required?: boolean + secret?: boolean + settings_key?: boolean + payload_key?: boolean + sort_order?: boolean + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +}, ExtArgs["result"]["photo_provider_fields"]> + +export type photo_provider_fieldsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider_id?: boolean + field_key?: boolean + label?: boolean + input_type?: boolean + placeholder?: boolean + hint?: boolean + required?: boolean + secret?: boolean + settings_key?: boolean + payload_key?: boolean + sort_order?: boolean + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +}, ExtArgs["result"]["photo_provider_fields"]> + +export type photo_provider_fieldsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider_id?: boolean + field_key?: boolean + label?: boolean + input_type?: boolean + placeholder?: boolean + hint?: boolean + required?: boolean + secret?: boolean + settings_key?: boolean + payload_key?: boolean + sort_order?: boolean + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +}, ExtArgs["result"]["photo_provider_fields"]> + +export type photo_provider_fieldsSelectScalar = { + id?: boolean + provider_id?: boolean + field_key?: boolean + label?: boolean + input_type?: boolean + placeholder?: boolean + hint?: boolean + required?: boolean + secret?: boolean + settings_key?: boolean + payload_key?: boolean + sort_order?: boolean +} + +export type photo_provider_fieldsOmit = runtime.Types.Extensions.GetOmit<"id" | "provider_id" | "field_key" | "label" | "input_type" | "placeholder" | "hint" | "required" | "secret" | "settings_key" | "payload_key" | "sort_order", ExtArgs["result"]["photo_provider_fields"]> +export type photo_provider_fieldsInclude = { + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +} +export type photo_provider_fieldsIncludeCreateManyAndReturn = { + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +} +export type photo_provider_fieldsIncludeUpdateManyAndReturn = { + photo_providers?: boolean | Prisma.photo_providersDefaultArgs +} + +export type $photo_provider_fieldsPayload = { + name: "photo_provider_fields" + objects: { + photo_providers: Prisma.$photo_providersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + provider_id: string + field_key: string + label: string + input_type: string + placeholder: string | null + hint: string | null + required: number | null + secret: number | null + settings_key: string | null + payload_key: string | null + sort_order: number | null + }, ExtArgs["result"]["photo_provider_fields"]> + composites: {} +} + +export type photo_provider_fieldsGetPayload = runtime.Types.Result.GetResult + +export type photo_provider_fieldsCountArgs = + Omit & { + select?: Photo_provider_fieldsCountAggregateInputType | true + } + +export interface photo_provider_fieldsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['photo_provider_fields'], meta: { name: 'photo_provider_fields' } } + /** + * Find zero or one Photo_provider_fields that matches the filter. + * @param {photo_provider_fieldsFindUniqueArgs} args - Arguments to find a Photo_provider_fields + * @example + * // Get one Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Photo_provider_fields that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {photo_provider_fieldsFindUniqueOrThrowArgs} args - Arguments to find a Photo_provider_fields + * @example + * // Get one Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photo_provider_fields that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsFindFirstArgs} args - Arguments to find a Photo_provider_fields + * @example + * // Get one Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photo_provider_fields that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsFindFirstOrThrowArgs} args - Arguments to find a Photo_provider_fields + * @example + * // Get one Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Photo_provider_fields that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findMany() + * + * // Get first 10 Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.findMany({ take: 10 }) + * + * // Only select the `id` + * const photo_provider_fieldsWithIdOnly = await prisma.photo_provider_fields.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Photo_provider_fields. + * @param {photo_provider_fieldsCreateArgs} args - Arguments to create a Photo_provider_fields. + * @example + * // Create one Photo_provider_fields + * const Photo_provider_fields = await prisma.photo_provider_fields.create({ + * data: { + * // ... data to create a Photo_provider_fields + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Photo_provider_fields. + * @param {photo_provider_fieldsCreateManyArgs} args - Arguments to create many Photo_provider_fields. + * @example + * // Create many Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Photo_provider_fields and returns the data saved in the database. + * @param {photo_provider_fieldsCreateManyAndReturnArgs} args - Arguments to create many Photo_provider_fields. + * @example + * // Create many Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Photo_provider_fields and only return the `id` + * const photo_provider_fieldsWithIdOnly = await prisma.photo_provider_fields.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Photo_provider_fields. + * @param {photo_provider_fieldsDeleteArgs} args - Arguments to delete one Photo_provider_fields. + * @example + * // Delete one Photo_provider_fields + * const Photo_provider_fields = await prisma.photo_provider_fields.delete({ + * where: { + * // ... filter to delete one Photo_provider_fields + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Photo_provider_fields. + * @param {photo_provider_fieldsUpdateArgs} args - Arguments to update one Photo_provider_fields. + * @example + * // Update one Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Photo_provider_fields. + * @param {photo_provider_fieldsDeleteManyArgs} args - Arguments to filter Photo_provider_fields to delete. + * @example + * // Delete a few Photo_provider_fields + * const { count } = await prisma.photo_provider_fields.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photo_provider_fields. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photo_provider_fields and returns the data updated in the database. + * @param {photo_provider_fieldsUpdateManyAndReturnArgs} args - Arguments to update many Photo_provider_fields. + * @example + * // Update many Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Photo_provider_fields and only return the `id` + * const photo_provider_fieldsWithIdOnly = await prisma.photo_provider_fields.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Photo_provider_fields. + * @param {photo_provider_fieldsUpsertArgs} args - Arguments to update or create a Photo_provider_fields. + * @example + * // Update or create a Photo_provider_fields + * const photo_provider_fields = await prisma.photo_provider_fields.upsert({ + * create: { + * // ... data to create a Photo_provider_fields + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Photo_provider_fields we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__photo_provider_fieldsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Photo_provider_fields. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsCountArgs} args - Arguments to filter Photo_provider_fields to count. + * @example + * // Count the number of Photo_provider_fields + * const count = await prisma.photo_provider_fields.count({ + * where: { + * // ... the filter for the Photo_provider_fields we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Photo_provider_fields. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Photo_provider_fieldsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Photo_provider_fields. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_provider_fieldsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends photo_provider_fieldsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: photo_provider_fieldsGroupByArgs['orderBy'] } + : { orderBy?: photo_provider_fieldsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPhoto_provider_fieldsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the photo_provider_fields model + */ +readonly fields: photo_provider_fieldsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for photo_provider_fields. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__photo_provider_fieldsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + photo_providers = {}>(args?: Prisma.Subset>): Prisma.Prisma__photo_providersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the photo_provider_fields model + */ +export interface photo_provider_fieldsFieldRefs { + readonly id: Prisma.FieldRef<"photo_provider_fields", 'Int'> + readonly provider_id: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly field_key: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly label: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly input_type: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly placeholder: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly hint: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly required: Prisma.FieldRef<"photo_provider_fields", 'Int'> + readonly secret: Prisma.FieldRef<"photo_provider_fields", 'Int'> + readonly settings_key: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly payload_key: Prisma.FieldRef<"photo_provider_fields", 'String'> + readonly sort_order: Prisma.FieldRef<"photo_provider_fields", 'Int'> +} + + +// Custom InputTypes +/** + * photo_provider_fields findUnique + */ +export type photo_provider_fieldsFindUniqueArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter, which photo_provider_fields to fetch. + */ + where: Prisma.photo_provider_fieldsWhereUniqueInput +} + +/** + * photo_provider_fields findUniqueOrThrow + */ +export type photo_provider_fieldsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter, which photo_provider_fields to fetch. + */ + where: Prisma.photo_provider_fieldsWhereUniqueInput +} + +/** + * photo_provider_fields findFirst + */ +export type photo_provider_fieldsFindFirstArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter, which photo_provider_fields to fetch. + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_provider_fields to fetch. + */ + orderBy?: Prisma.photo_provider_fieldsOrderByWithRelationInput | Prisma.photo_provider_fieldsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photo_provider_fields. + */ + cursor?: Prisma.photo_provider_fieldsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_provider_fields from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_provider_fields. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_provider_fields. + */ + distinct?: Prisma.Photo_provider_fieldsScalarFieldEnum | Prisma.Photo_provider_fieldsScalarFieldEnum[] +} + +/** + * photo_provider_fields findFirstOrThrow + */ +export type photo_provider_fieldsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter, which photo_provider_fields to fetch. + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_provider_fields to fetch. + */ + orderBy?: Prisma.photo_provider_fieldsOrderByWithRelationInput | Prisma.photo_provider_fieldsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photo_provider_fields. + */ + cursor?: Prisma.photo_provider_fieldsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_provider_fields from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_provider_fields. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_provider_fields. + */ + distinct?: Prisma.Photo_provider_fieldsScalarFieldEnum | Prisma.Photo_provider_fieldsScalarFieldEnum[] +} + +/** + * photo_provider_fields findMany + */ +export type photo_provider_fieldsFindManyArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter, which photo_provider_fields to fetch. + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_provider_fields to fetch. + */ + orderBy?: Prisma.photo_provider_fieldsOrderByWithRelationInput | Prisma.photo_provider_fieldsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing photo_provider_fields. + */ + cursor?: Prisma.photo_provider_fieldsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_provider_fields from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_provider_fields. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_provider_fields. + */ + distinct?: Prisma.Photo_provider_fieldsScalarFieldEnum | Prisma.Photo_provider_fieldsScalarFieldEnum[] +} + +/** + * photo_provider_fields create + */ +export type photo_provider_fieldsCreateArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * The data needed to create a photo_provider_fields. + */ + data: Prisma.XOR +} + +/** + * photo_provider_fields createMany + */ +export type photo_provider_fieldsCreateManyArgs = { + /** + * The data used to create many photo_provider_fields. + */ + data: Prisma.photo_provider_fieldsCreateManyInput | Prisma.photo_provider_fieldsCreateManyInput[] +} + +/** + * photo_provider_fields createManyAndReturn + */ +export type photo_provider_fieldsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * The data used to create many photo_provider_fields. + */ + data: Prisma.photo_provider_fieldsCreateManyInput | Prisma.photo_provider_fieldsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsIncludeCreateManyAndReturn | null +} + +/** + * photo_provider_fields update + */ +export type photo_provider_fieldsUpdateArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * The data needed to update a photo_provider_fields. + */ + data: Prisma.XOR + /** + * Choose, which photo_provider_fields to update. + */ + where: Prisma.photo_provider_fieldsWhereUniqueInput +} + +/** + * photo_provider_fields updateMany + */ +export type photo_provider_fieldsUpdateManyArgs = { + /** + * The data used to update photo_provider_fields. + */ + data: Prisma.XOR + /** + * Filter which photo_provider_fields to update + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * Limit how many photo_provider_fields to update. + */ + limit?: number +} + +/** + * photo_provider_fields updateManyAndReturn + */ +export type photo_provider_fieldsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * The data used to update photo_provider_fields. + */ + data: Prisma.XOR + /** + * Filter which photo_provider_fields to update + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * Limit how many photo_provider_fields to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsIncludeUpdateManyAndReturn | null +} + +/** + * photo_provider_fields upsert + */ +export type photo_provider_fieldsUpsertArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * The filter to search for the photo_provider_fields to update in case it exists. + */ + where: Prisma.photo_provider_fieldsWhereUniqueInput + /** + * In case the photo_provider_fields found by the `where` argument doesn't exist, create a new photo_provider_fields with this data. + */ + create: Prisma.XOR + /** + * In case the photo_provider_fields was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * photo_provider_fields delete + */ +export type photo_provider_fieldsDeleteArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + /** + * Filter which photo_provider_fields to delete. + */ + where: Prisma.photo_provider_fieldsWhereUniqueInput +} + +/** + * photo_provider_fields deleteMany + */ +export type photo_provider_fieldsDeleteManyArgs = { + /** + * Filter which photo_provider_fields to delete + */ + where?: Prisma.photo_provider_fieldsWhereInput + /** + * Limit how many photo_provider_fields to delete. + */ + limit?: number +} + +/** + * photo_provider_fields without action + */ +export type photo_provider_fieldsDefaultArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null +} diff --git a/server/src/generated/prisma/models/photo_providers.ts b/server/src/generated/prisma/models/photo_providers.ts new file mode 100644 index 00000000..efc47d87 --- /dev/null +++ b/server/src/generated/prisma/models/photo_providers.ts @@ -0,0 +1,1407 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `photo_providers` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model photo_providers + * + */ +export type photo_providersModel = runtime.Types.Result.DefaultSelection + +export type AggregatePhoto_providers = { + _count: Photo_providersCountAggregateOutputType | null + _avg: Photo_providersAvgAggregateOutputType | null + _sum: Photo_providersSumAggregateOutputType | null + _min: Photo_providersMinAggregateOutputType | null + _max: Photo_providersMaxAggregateOutputType | null +} + +export type Photo_providersAvgAggregateOutputType = { + enabled: number | null + sort_order: number | null +} + +export type Photo_providersSumAggregateOutputType = { + enabled: number | null + sort_order: number | null +} + +export type Photo_providersMinAggregateOutputType = { + id: string | null + name: string | null + description: string | null + icon: string | null + enabled: number | null + sort_order: number | null +} + +export type Photo_providersMaxAggregateOutputType = { + id: string | null + name: string | null + description: string | null + icon: string | null + enabled: number | null + sort_order: number | null +} + +export type Photo_providersCountAggregateOutputType = { + id: number + name: number + description: number + icon: number + enabled: number + sort_order: number + _all: number +} + + +export type Photo_providersAvgAggregateInputType = { + enabled?: true + sort_order?: true +} + +export type Photo_providersSumAggregateInputType = { + enabled?: true + sort_order?: true +} + +export type Photo_providersMinAggregateInputType = { + id?: true + name?: true + description?: true + icon?: true + enabled?: true + sort_order?: true +} + +export type Photo_providersMaxAggregateInputType = { + id?: true + name?: true + description?: true + icon?: true + enabled?: true + sort_order?: true +} + +export type Photo_providersCountAggregateInputType = { + id?: true + name?: true + description?: true + icon?: true + enabled?: true + sort_order?: true + _all?: true +} + +export type Photo_providersAggregateArgs = { + /** + * Filter which photo_providers to aggregate. + */ + where?: Prisma.photo_providersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_providers to fetch. + */ + orderBy?: Prisma.photo_providersOrderByWithRelationInput | Prisma.photo_providersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.photo_providersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_providers from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_providers. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned photo_providers + **/ + _count?: true | Photo_providersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Photo_providersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Photo_providersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Photo_providersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Photo_providersMaxAggregateInputType +} + +export type GetPhoto_providersAggregateType = { + [P in keyof T & keyof AggregatePhoto_providers]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type photo_providersGroupByArgs = { + where?: Prisma.photo_providersWhereInput + orderBy?: Prisma.photo_providersOrderByWithAggregationInput | Prisma.photo_providersOrderByWithAggregationInput[] + by: Prisma.Photo_providersScalarFieldEnum[] | Prisma.Photo_providersScalarFieldEnum + having?: Prisma.photo_providersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Photo_providersCountAggregateInputType | true + _avg?: Photo_providersAvgAggregateInputType + _sum?: Photo_providersSumAggregateInputType + _min?: Photo_providersMinAggregateInputType + _max?: Photo_providersMaxAggregateInputType +} + +export type Photo_providersGroupByOutputType = { + id: string + name: string + description: string | null + icon: string | null + enabled: number | null + sort_order: number | null + _count: Photo_providersCountAggregateOutputType | null + _avg: Photo_providersAvgAggregateOutputType | null + _sum: Photo_providersSumAggregateOutputType | null + _min: Photo_providersMinAggregateOutputType | null + _max: Photo_providersMaxAggregateOutputType | null +} + +export type GetPhoto_providersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Photo_providersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type photo_providersWhereInput = { + AND?: Prisma.photo_providersWhereInput | Prisma.photo_providersWhereInput[] + OR?: Prisma.photo_providersWhereInput[] + NOT?: Prisma.photo_providersWhereInput | Prisma.photo_providersWhereInput[] + id?: Prisma.StringFilter<"photo_providers"> | string + name?: Prisma.StringFilter<"photo_providers"> | string + description?: Prisma.StringNullableFilter<"photo_providers"> | string | null + icon?: Prisma.StringNullableFilter<"photo_providers"> | string | null + enabled?: Prisma.IntNullableFilter<"photo_providers"> | number | null + sort_order?: Prisma.IntNullableFilter<"photo_providers"> | number | null + photo_provider_fields?: Prisma.Photo_provider_fieldsListRelationFilter +} + +export type photo_providersOrderByWithRelationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + enabled?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + photo_provider_fields?: Prisma.photo_provider_fieldsOrderByRelationAggregateInput +} + +export type photo_providersWhereUniqueInput = Prisma.AtLeast<{ + id?: string + AND?: Prisma.photo_providersWhereInput | Prisma.photo_providersWhereInput[] + OR?: Prisma.photo_providersWhereInput[] + NOT?: Prisma.photo_providersWhereInput | Prisma.photo_providersWhereInput[] + name?: Prisma.StringFilter<"photo_providers"> | string + description?: Prisma.StringNullableFilter<"photo_providers"> | string | null + icon?: Prisma.StringNullableFilter<"photo_providers"> | string | null + enabled?: Prisma.IntNullableFilter<"photo_providers"> | number | null + sort_order?: Prisma.IntNullableFilter<"photo_providers"> | number | null + photo_provider_fields?: Prisma.Photo_provider_fieldsListRelationFilter +}, "id"> + +export type photo_providersOrderByWithAggregationInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + icon?: Prisma.SortOrderInput | Prisma.SortOrder + enabled?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.photo_providersCountOrderByAggregateInput + _avg?: Prisma.photo_providersAvgOrderByAggregateInput + _max?: Prisma.photo_providersMaxOrderByAggregateInput + _min?: Prisma.photo_providersMinOrderByAggregateInput + _sum?: Prisma.photo_providersSumOrderByAggregateInput +} + +export type photo_providersScalarWhereWithAggregatesInput = { + AND?: Prisma.photo_providersScalarWhereWithAggregatesInput | Prisma.photo_providersScalarWhereWithAggregatesInput[] + OR?: Prisma.photo_providersScalarWhereWithAggregatesInput[] + NOT?: Prisma.photo_providersScalarWhereWithAggregatesInput | Prisma.photo_providersScalarWhereWithAggregatesInput[] + id?: Prisma.StringWithAggregatesFilter<"photo_providers"> | string + name?: Prisma.StringWithAggregatesFilter<"photo_providers"> | string + description?: Prisma.StringNullableWithAggregatesFilter<"photo_providers"> | string | null + icon?: Prisma.StringNullableWithAggregatesFilter<"photo_providers"> | string | null + enabled?: Prisma.IntNullableWithAggregatesFilter<"photo_providers"> | number | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"photo_providers"> | number | null +} + +export type photo_providersCreateInput = { + id: string + name: string + description?: string | null + icon?: string | null + enabled?: number | null + sort_order?: number | null + photo_provider_fields?: Prisma.photo_provider_fieldsCreateNestedManyWithoutPhoto_providersInput +} + +export type photo_providersUncheckedCreateInput = { + id: string + name: string + description?: string | null + icon?: string | null + enabled?: number | null + sort_order?: number | null + photo_provider_fields?: Prisma.photo_provider_fieldsUncheckedCreateNestedManyWithoutPhoto_providersInput +} + +export type photo_providersUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + photo_provider_fields?: Prisma.photo_provider_fieldsUpdateManyWithoutPhoto_providersNestedInput +} + +export type photo_providersUncheckedUpdateInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + photo_provider_fields?: Prisma.photo_provider_fieldsUncheckedUpdateManyWithoutPhoto_providersNestedInput +} + +export type photo_providersCreateManyInput = { + id: string + name: string + description?: string | null + icon?: string | null + enabled?: number | null + sort_order?: number | null +} + +export type photo_providersUpdateManyMutationInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_providersUncheckedUpdateManyInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type Photo_providersScalarRelationFilter = { + is?: Prisma.photo_providersWhereInput + isNot?: Prisma.photo_providersWhereInput +} + +export type photo_providersCountOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_providersAvgOrderByAggregateInput = { + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_providersMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_providersMinOrderByAggregateInput = { + id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + icon?: Prisma.SortOrder + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_providersSumOrderByAggregateInput = { + enabled?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type photo_providersCreateNestedOneWithoutPhoto_provider_fieldsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.photo_providersCreateOrConnectWithoutPhoto_provider_fieldsInput + connect?: Prisma.photo_providersWhereUniqueInput +} + +export type photo_providersUpdateOneRequiredWithoutPhoto_provider_fieldsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.photo_providersCreateOrConnectWithoutPhoto_provider_fieldsInput + upsert?: Prisma.photo_providersUpsertWithoutPhoto_provider_fieldsInput + connect?: Prisma.photo_providersWhereUniqueInput + update?: Prisma.XOR, Prisma.photo_providersUncheckedUpdateWithoutPhoto_provider_fieldsInput> +} + +export type photo_providersCreateWithoutPhoto_provider_fieldsInput = { + id: string + name: string + description?: string | null + icon?: string | null + enabled?: number | null + sort_order?: number | null +} + +export type photo_providersUncheckedCreateWithoutPhoto_provider_fieldsInput = { + id: string + name: string + description?: string | null + icon?: string | null + enabled?: number | null + sort_order?: number | null +} + +export type photo_providersCreateOrConnectWithoutPhoto_provider_fieldsInput = { + where: Prisma.photo_providersWhereUniqueInput + create: Prisma.XOR +} + +export type photo_providersUpsertWithoutPhoto_provider_fieldsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.photo_providersWhereInput +} + +export type photo_providersUpdateToOneWithWhereWithoutPhoto_provider_fieldsInput = { + where?: Prisma.photo_providersWhereInput + data: Prisma.XOR +} + +export type photo_providersUpdateWithoutPhoto_provider_fieldsInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type photo_providersUncheckedUpdateWithoutPhoto_provider_fieldsInput = { + id?: Prisma.StringFieldUpdateOperationsInput | string + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + + +/** + * Count Type Photo_providersCountOutputType + */ + +export type Photo_providersCountOutputType = { + photo_provider_fields: number +} + +export type Photo_providersCountOutputTypeSelect = { + photo_provider_fields?: boolean | Photo_providersCountOutputTypeCountPhoto_provider_fieldsArgs +} + +/** + * Photo_providersCountOutputType without action + */ +export type Photo_providersCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Photo_providersCountOutputType + */ + select?: Prisma.Photo_providersCountOutputTypeSelect | null +} + +/** + * Photo_providersCountOutputType without action + */ +export type Photo_providersCountOutputTypeCountPhoto_provider_fieldsArgs = { + where?: Prisma.photo_provider_fieldsWhereInput +} + + +export type photo_providersSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + icon?: boolean + enabled?: boolean + sort_order?: boolean + photo_provider_fields?: boolean | Prisma.photo_providers$photo_provider_fieldsArgs + _count?: boolean | Prisma.Photo_providersCountOutputTypeDefaultArgs +}, ExtArgs["result"]["photo_providers"]> + +export type photo_providersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + icon?: boolean + enabled?: boolean + sort_order?: boolean +}, ExtArgs["result"]["photo_providers"]> + +export type photo_providersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + name?: boolean + description?: boolean + icon?: boolean + enabled?: boolean + sort_order?: boolean +}, ExtArgs["result"]["photo_providers"]> + +export type photo_providersSelectScalar = { + id?: boolean + name?: boolean + description?: boolean + icon?: boolean + enabled?: boolean + sort_order?: boolean +} + +export type photo_providersOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "icon" | "enabled" | "sort_order", ExtArgs["result"]["photo_providers"]> +export type photo_providersInclude = { + photo_provider_fields?: boolean | Prisma.photo_providers$photo_provider_fieldsArgs + _count?: boolean | Prisma.Photo_providersCountOutputTypeDefaultArgs +} +export type photo_providersIncludeCreateManyAndReturn = {} +export type photo_providersIncludeUpdateManyAndReturn = {} + +export type $photo_providersPayload = { + name: "photo_providers" + objects: { + photo_provider_fields: Prisma.$photo_provider_fieldsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: string + name: string + description: string | null + icon: string | null + enabled: number | null + sort_order: number | null + }, ExtArgs["result"]["photo_providers"]> + composites: {} +} + +export type photo_providersGetPayload = runtime.Types.Result.GetResult + +export type photo_providersCountArgs = + Omit & { + select?: Photo_providersCountAggregateInputType | true + } + +export interface photo_providersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['photo_providers'], meta: { name: 'photo_providers' } } + /** + * Find zero or one Photo_providers that matches the filter. + * @param {photo_providersFindUniqueArgs} args - Arguments to find a Photo_providers + * @example + * // Get one Photo_providers + * const photo_providers = await prisma.photo_providers.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Photo_providers that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {photo_providersFindUniqueOrThrowArgs} args - Arguments to find a Photo_providers + * @example + * // Get one Photo_providers + * const photo_providers = await prisma.photo_providers.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photo_providers that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersFindFirstArgs} args - Arguments to find a Photo_providers + * @example + * // Get one Photo_providers + * const photo_providers = await prisma.photo_providers.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photo_providers that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersFindFirstOrThrowArgs} args - Arguments to find a Photo_providers + * @example + * // Get one Photo_providers + * const photo_providers = await prisma.photo_providers.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Photo_providers that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Photo_providers + * const photo_providers = await prisma.photo_providers.findMany() + * + * // Get first 10 Photo_providers + * const photo_providers = await prisma.photo_providers.findMany({ take: 10 }) + * + * // Only select the `id` + * const photo_providersWithIdOnly = await prisma.photo_providers.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Photo_providers. + * @param {photo_providersCreateArgs} args - Arguments to create a Photo_providers. + * @example + * // Create one Photo_providers + * const Photo_providers = await prisma.photo_providers.create({ + * data: { + * // ... data to create a Photo_providers + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Photo_providers. + * @param {photo_providersCreateManyArgs} args - Arguments to create many Photo_providers. + * @example + * // Create many Photo_providers + * const photo_providers = await prisma.photo_providers.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Photo_providers and returns the data saved in the database. + * @param {photo_providersCreateManyAndReturnArgs} args - Arguments to create many Photo_providers. + * @example + * // Create many Photo_providers + * const photo_providers = await prisma.photo_providers.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Photo_providers and only return the `id` + * const photo_providersWithIdOnly = await prisma.photo_providers.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Photo_providers. + * @param {photo_providersDeleteArgs} args - Arguments to delete one Photo_providers. + * @example + * // Delete one Photo_providers + * const Photo_providers = await prisma.photo_providers.delete({ + * where: { + * // ... filter to delete one Photo_providers + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Photo_providers. + * @param {photo_providersUpdateArgs} args - Arguments to update one Photo_providers. + * @example + * // Update one Photo_providers + * const photo_providers = await prisma.photo_providers.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Photo_providers. + * @param {photo_providersDeleteManyArgs} args - Arguments to filter Photo_providers to delete. + * @example + * // Delete a few Photo_providers + * const { count } = await prisma.photo_providers.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photo_providers. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Photo_providers + * const photo_providers = await prisma.photo_providers.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photo_providers and returns the data updated in the database. + * @param {photo_providersUpdateManyAndReturnArgs} args - Arguments to update many Photo_providers. + * @example + * // Update many Photo_providers + * const photo_providers = await prisma.photo_providers.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Photo_providers and only return the `id` + * const photo_providersWithIdOnly = await prisma.photo_providers.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Photo_providers. + * @param {photo_providersUpsertArgs} args - Arguments to update or create a Photo_providers. + * @example + * // Update or create a Photo_providers + * const photo_providers = await prisma.photo_providers.upsert({ + * create: { + * // ... data to create a Photo_providers + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Photo_providers we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__photo_providersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Photo_providers. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersCountArgs} args - Arguments to filter Photo_providers to count. + * @example + * // Count the number of Photo_providers + * const count = await prisma.photo_providers.count({ + * where: { + * // ... the filter for the Photo_providers we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Photo_providers. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Photo_providersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Photo_providers. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photo_providersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends photo_providersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: photo_providersGroupByArgs['orderBy'] } + : { orderBy?: photo_providersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPhoto_providersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the photo_providers model + */ +readonly fields: photo_providersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for photo_providers. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__photo_providersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + photo_provider_fields = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the photo_providers model + */ +export interface photo_providersFieldRefs { + readonly id: Prisma.FieldRef<"photo_providers", 'String'> + readonly name: Prisma.FieldRef<"photo_providers", 'String'> + readonly description: Prisma.FieldRef<"photo_providers", 'String'> + readonly icon: Prisma.FieldRef<"photo_providers", 'String'> + readonly enabled: Prisma.FieldRef<"photo_providers", 'Int'> + readonly sort_order: Prisma.FieldRef<"photo_providers", 'Int'> +} + + +// Custom InputTypes +/** + * photo_providers findUnique + */ +export type photo_providersFindUniqueArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter, which photo_providers to fetch. + */ + where: Prisma.photo_providersWhereUniqueInput +} + +/** + * photo_providers findUniqueOrThrow + */ +export type photo_providersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter, which photo_providers to fetch. + */ + where: Prisma.photo_providersWhereUniqueInput +} + +/** + * photo_providers findFirst + */ +export type photo_providersFindFirstArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter, which photo_providers to fetch. + */ + where?: Prisma.photo_providersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_providers to fetch. + */ + orderBy?: Prisma.photo_providersOrderByWithRelationInput | Prisma.photo_providersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photo_providers. + */ + cursor?: Prisma.photo_providersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_providers from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_providers. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_providers. + */ + distinct?: Prisma.Photo_providersScalarFieldEnum | Prisma.Photo_providersScalarFieldEnum[] +} + +/** + * photo_providers findFirstOrThrow + */ +export type photo_providersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter, which photo_providers to fetch. + */ + where?: Prisma.photo_providersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_providers to fetch. + */ + orderBy?: Prisma.photo_providersOrderByWithRelationInput | Prisma.photo_providersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photo_providers. + */ + cursor?: Prisma.photo_providersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_providers from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_providers. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_providers. + */ + distinct?: Prisma.Photo_providersScalarFieldEnum | Prisma.Photo_providersScalarFieldEnum[] +} + +/** + * photo_providers findMany + */ +export type photo_providersFindManyArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter, which photo_providers to fetch. + */ + where?: Prisma.photo_providersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photo_providers to fetch. + */ + orderBy?: Prisma.photo_providersOrderByWithRelationInput | Prisma.photo_providersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing photo_providers. + */ + cursor?: Prisma.photo_providersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photo_providers from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photo_providers. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photo_providers. + */ + distinct?: Prisma.Photo_providersScalarFieldEnum | Prisma.Photo_providersScalarFieldEnum[] +} + +/** + * photo_providers create + */ +export type photo_providersCreateArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * The data needed to create a photo_providers. + */ + data: Prisma.XOR +} + +/** + * photo_providers createMany + */ +export type photo_providersCreateManyArgs = { + /** + * The data used to create many photo_providers. + */ + data: Prisma.photo_providersCreateManyInput | Prisma.photo_providersCreateManyInput[] +} + +/** + * photo_providers createManyAndReturn + */ +export type photo_providersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * The data used to create many photo_providers. + */ + data: Prisma.photo_providersCreateManyInput | Prisma.photo_providersCreateManyInput[] +} + +/** + * photo_providers update + */ +export type photo_providersUpdateArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * The data needed to update a photo_providers. + */ + data: Prisma.XOR + /** + * Choose, which photo_providers to update. + */ + where: Prisma.photo_providersWhereUniqueInput +} + +/** + * photo_providers updateMany + */ +export type photo_providersUpdateManyArgs = { + /** + * The data used to update photo_providers. + */ + data: Prisma.XOR + /** + * Filter which photo_providers to update + */ + where?: Prisma.photo_providersWhereInput + /** + * Limit how many photo_providers to update. + */ + limit?: number +} + +/** + * photo_providers updateManyAndReturn + */ +export type photo_providersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * The data used to update photo_providers. + */ + data: Prisma.XOR + /** + * Filter which photo_providers to update + */ + where?: Prisma.photo_providersWhereInput + /** + * Limit how many photo_providers to update. + */ + limit?: number +} + +/** + * photo_providers upsert + */ +export type photo_providersUpsertArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * The filter to search for the photo_providers to update in case it exists. + */ + where: Prisma.photo_providersWhereUniqueInput + /** + * In case the photo_providers found by the `where` argument doesn't exist, create a new photo_providers with this data. + */ + create: Prisma.XOR + /** + * In case the photo_providers was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * photo_providers delete + */ +export type photo_providersDeleteArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null + /** + * Filter which photo_providers to delete. + */ + where: Prisma.photo_providersWhereUniqueInput +} + +/** + * photo_providers deleteMany + */ +export type photo_providersDeleteManyArgs = { + /** + * Filter which photo_providers to delete + */ + where?: Prisma.photo_providersWhereInput + /** + * Limit how many photo_providers to delete. + */ + limit?: number +} + +/** + * photo_providers.photo_provider_fields + */ +export type photo_providers$photo_provider_fieldsArgs = { + /** + * Select specific fields to fetch from the photo_provider_fields + */ + select?: Prisma.photo_provider_fieldsSelect | null + /** + * Omit specific fields from the photo_provider_fields + */ + omit?: Prisma.photo_provider_fieldsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_provider_fieldsInclude | null + where?: Prisma.photo_provider_fieldsWhereInput + orderBy?: Prisma.photo_provider_fieldsOrderByWithRelationInput | Prisma.photo_provider_fieldsOrderByWithRelationInput[] + cursor?: Prisma.photo_provider_fieldsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Photo_provider_fieldsScalarFieldEnum | Prisma.Photo_provider_fieldsScalarFieldEnum[] +} + +/** + * photo_providers without action + */ +export type photo_providersDefaultArgs = { + /** + * Select specific fields to fetch from the photo_providers + */ + select?: Prisma.photo_providersSelect | null + /** + * Omit specific fields from the photo_providers + */ + omit?: Prisma.photo_providersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photo_providersInclude | null +} diff --git a/server/src/generated/prisma/models/photos.ts b/server/src/generated/prisma/models/photos.ts new file mode 100644 index 00000000..3c98888a --- /dev/null +++ b/server/src/generated/prisma/models/photos.ts @@ -0,0 +1,1959 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `photos` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model photos + * + */ +export type photosModel = runtime.Types.Result.DefaultSelection + +export type AggregatePhotos = { + _count: PhotosCountAggregateOutputType | null + _avg: PhotosAvgAggregateOutputType | null + _sum: PhotosSumAggregateOutputType | null + _min: PhotosMinAggregateOutputType | null + _max: PhotosMaxAggregateOutputType | null +} + +export type PhotosAvgAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + place_id: number | null + file_size: number | null +} + +export type PhotosSumAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + place_id: number | null + file_size: number | null +} + +export type PhotosMinAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + place_id: number | null + filename: string | null + original_name: string | null + file_size: number | null + mime_type: string | null + caption: string | null + taken_at: string | null + created_at: Date | null +} + +export type PhotosMaxAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + place_id: number | null + filename: string | null + original_name: string | null + file_size: number | null + mime_type: string | null + caption: string | null + taken_at: string | null + created_at: Date | null +} + +export type PhotosCountAggregateOutputType = { + id: number + trip_id: number + day_id: number + place_id: number + filename: number + original_name: number + file_size: number + mime_type: number + caption: number + taken_at: number + created_at: number + _all: number +} + + +export type PhotosAvgAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + place_id?: true + file_size?: true +} + +export type PhotosSumAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + place_id?: true + file_size?: true +} + +export type PhotosMinAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + place_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + caption?: true + taken_at?: true + created_at?: true +} + +export type PhotosMaxAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + place_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + caption?: true + taken_at?: true + created_at?: true +} + +export type PhotosCountAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + place_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + caption?: true + taken_at?: true + created_at?: true + _all?: true +} + +export type PhotosAggregateArgs = { + /** + * Filter which photos to aggregate. + */ + where?: Prisma.photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photos to fetch. + */ + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned photos + **/ + _count?: true | PhotosCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: PhotosAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: PhotosSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: PhotosMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: PhotosMaxAggregateInputType +} + +export type GetPhotosAggregateType = { + [P in keyof T & keyof AggregatePhotos]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type photosGroupByArgs = { + where?: Prisma.photosWhereInput + orderBy?: Prisma.photosOrderByWithAggregationInput | Prisma.photosOrderByWithAggregationInput[] + by: Prisma.PhotosScalarFieldEnum[] | Prisma.PhotosScalarFieldEnum + having?: Prisma.photosScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: PhotosCountAggregateInputType | true + _avg?: PhotosAvgAggregateInputType + _sum?: PhotosSumAggregateInputType + _min?: PhotosMinAggregateInputType + _max?: PhotosMaxAggregateInputType +} + +export type PhotosGroupByOutputType = { + id: number + trip_id: number + day_id: number | null + place_id: number | null + filename: string + original_name: string + file_size: number | null + mime_type: string | null + caption: string | null + taken_at: string | null + created_at: Date | null + _count: PhotosCountAggregateOutputType | null + _avg: PhotosAvgAggregateOutputType | null + _sum: PhotosSumAggregateOutputType | null + _min: PhotosMinAggregateOutputType | null + _max: PhotosMaxAggregateOutputType | null +} + +export type GetPhotosGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof PhotosGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type photosWhereInput = { + AND?: Prisma.photosWhereInput | Prisma.photosWhereInput[] + OR?: Prisma.photosWhereInput[] + NOT?: Prisma.photosWhereInput | Prisma.photosWhereInput[] + id?: Prisma.IntFilter<"photos"> | number + trip_id?: Prisma.IntFilter<"photos"> | number + day_id?: Prisma.IntNullableFilter<"photos"> | number | null + place_id?: Prisma.IntNullableFilter<"photos"> | number | null + filename?: Prisma.StringFilter<"photos"> | string + original_name?: Prisma.StringFilter<"photos"> | string + file_size?: Prisma.IntNullableFilter<"photos"> | number | null + mime_type?: Prisma.StringNullableFilter<"photos"> | string | null + caption?: Prisma.StringNullableFilter<"photos"> | string | null + taken_at?: Prisma.StringNullableFilter<"photos"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"photos"> | Date | string | null + places?: Prisma.XOR | null + days?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type photosOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrderInput | Prisma.SortOrder + mime_type?: Prisma.SortOrderInput | Prisma.SortOrder + caption?: Prisma.SortOrderInput | Prisma.SortOrder + taken_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + places?: Prisma.placesOrderByWithRelationInput + days?: Prisma.daysOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type photosWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.photosWhereInput | Prisma.photosWhereInput[] + OR?: Prisma.photosWhereInput[] + NOT?: Prisma.photosWhereInput | Prisma.photosWhereInput[] + trip_id?: Prisma.IntFilter<"photos"> | number + day_id?: Prisma.IntNullableFilter<"photos"> | number | null + place_id?: Prisma.IntNullableFilter<"photos"> | number | null + filename?: Prisma.StringFilter<"photos"> | string + original_name?: Prisma.StringFilter<"photos"> | string + file_size?: Prisma.IntNullableFilter<"photos"> | number | null + mime_type?: Prisma.StringNullableFilter<"photos"> | string | null + caption?: Prisma.StringNullableFilter<"photos"> | string | null + taken_at?: Prisma.StringNullableFilter<"photos"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"photos"> | Date | string | null + places?: Prisma.XOR | null + days?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type photosOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrderInput | Prisma.SortOrder + mime_type?: Prisma.SortOrderInput | Prisma.SortOrder + caption?: Prisma.SortOrderInput | Prisma.SortOrder + taken_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.photosCountOrderByAggregateInput + _avg?: Prisma.photosAvgOrderByAggregateInput + _max?: Prisma.photosMaxOrderByAggregateInput + _min?: Prisma.photosMinOrderByAggregateInput + _sum?: Prisma.photosSumOrderByAggregateInput +} + +export type photosScalarWhereWithAggregatesInput = { + AND?: Prisma.photosScalarWhereWithAggregatesInput | Prisma.photosScalarWhereWithAggregatesInput[] + OR?: Prisma.photosScalarWhereWithAggregatesInput[] + NOT?: Prisma.photosScalarWhereWithAggregatesInput | Prisma.photosScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"photos"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"photos"> | number + day_id?: Prisma.IntNullableWithAggregatesFilter<"photos"> | number | null + place_id?: Prisma.IntNullableWithAggregatesFilter<"photos"> | number | null + filename?: Prisma.StringWithAggregatesFilter<"photos"> | string + original_name?: Prisma.StringWithAggregatesFilter<"photos"> | string + file_size?: Prisma.IntNullableWithAggregatesFilter<"photos"> | number | null + mime_type?: Prisma.StringNullableWithAggregatesFilter<"photos"> | string | null + caption?: Prisma.StringNullableWithAggregatesFilter<"photos"> | string | null + taken_at?: Prisma.StringNullableWithAggregatesFilter<"photos"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"photos"> | Date | string | null +} + +export type photosCreateInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutPhotosInput + days?: Prisma.daysCreateNestedOneWithoutPhotosInput + trips: Prisma.tripsCreateNestedOneWithoutPhotosInput +} + +export type photosUncheckedCreateInput = { + id?: number + trip_id: number + day_id?: number | null + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosUpdateInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutPhotosNestedInput + days?: Prisma.daysUpdateOneWithoutPhotosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPhotosNestedInput +} + +export type photosUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosCreateManyInput = { + id?: number + trip_id: number + day_id?: number | null + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosUpdateManyMutationInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type PhotosListRelationFilter = { + every?: Prisma.photosWhereInput + some?: Prisma.photosWhereInput + none?: Prisma.photosWhereInput +} + +export type photosOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type photosCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + caption?: Prisma.SortOrder + taken_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type photosAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + file_size?: Prisma.SortOrder +} + +export type photosMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + caption?: Prisma.SortOrder + taken_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type photosMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + caption?: Prisma.SortOrder + taken_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type photosSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + file_size?: Prisma.SortOrder +} + +export type photosCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutDaysInput[] | Prisma.photosUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutDaysInput | Prisma.photosCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.photosCreateManyDaysInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUncheckedCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutDaysInput[] | Prisma.photosUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutDaysInput | Prisma.photosCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.photosCreateManyDaysInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutDaysInput[] | Prisma.photosUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutDaysInput | Prisma.photosCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutDaysInput | Prisma.photosUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.photosCreateManyDaysInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutDaysInput | Prisma.photosUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutDaysInput | Prisma.photosUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosUncheckedUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutDaysInput[] | Prisma.photosUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutDaysInput | Prisma.photosCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutDaysInput | Prisma.photosUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.photosCreateManyDaysInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutDaysInput | Prisma.photosUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutDaysInput | Prisma.photosUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutPlacesInput[] | Prisma.photosUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutPlacesInput | Prisma.photosCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.photosCreateManyPlacesInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutPlacesInput[] | Prisma.photosUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutPlacesInput | Prisma.photosCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.photosCreateManyPlacesInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutPlacesInput[] | Prisma.photosUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutPlacesInput | Prisma.photosCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutPlacesInput | Prisma.photosUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.photosCreateManyPlacesInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutPlacesInput | Prisma.photosUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutPlacesInput | Prisma.photosUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutPlacesInput[] | Prisma.photosUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutPlacesInput | Prisma.photosCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutPlacesInput | Prisma.photosUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.photosCreateManyPlacesInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutPlacesInput | Prisma.photosUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutPlacesInput | Prisma.photosUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutTripsInput[] | Prisma.photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutTripsInput | Prisma.photosCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.photosCreateManyTripsInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutTripsInput[] | Prisma.photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutTripsInput | Prisma.photosCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.photosCreateManyTripsInputEnvelope + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] +} + +export type photosUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutTripsInput[] | Prisma.photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutTripsInput | Prisma.photosCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutTripsInput | Prisma.photosUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.photosCreateManyTripsInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutTripsInput | Prisma.photosUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutTripsInput | Prisma.photosUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.photosCreateWithoutTripsInput[] | Prisma.photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.photosCreateOrConnectWithoutTripsInput | Prisma.photosCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.photosUpsertWithWhereUniqueWithoutTripsInput | Prisma.photosUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.photosCreateManyTripsInputEnvelope + set?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + disconnect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + delete?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + connect?: Prisma.photosWhereUniqueInput | Prisma.photosWhereUniqueInput[] + update?: Prisma.photosUpdateWithWhereUniqueWithoutTripsInput | Prisma.photosUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.photosUpdateManyWithWhereWithoutTripsInput | Prisma.photosUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] +} + +export type photosCreateWithoutDaysInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutPhotosInput + trips: Prisma.tripsCreateNestedOneWithoutPhotosInput +} + +export type photosUncheckedCreateWithoutDaysInput = { + id?: number + trip_id: number + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosCreateOrConnectWithoutDaysInput = { + where: Prisma.photosWhereUniqueInput + create: Prisma.XOR +} + +export type photosCreateManyDaysInputEnvelope = { + data: Prisma.photosCreateManyDaysInput | Prisma.photosCreateManyDaysInput[] +} + +export type photosUpsertWithWhereUniqueWithoutDaysInput = { + where: Prisma.photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type photosUpdateWithWhereUniqueWithoutDaysInput = { + where: Prisma.photosWhereUniqueInput + data: Prisma.XOR +} + +export type photosUpdateManyWithWhereWithoutDaysInput = { + where: Prisma.photosScalarWhereInput + data: Prisma.XOR +} + +export type photosScalarWhereInput = { + AND?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] + OR?: Prisma.photosScalarWhereInput[] + NOT?: Prisma.photosScalarWhereInput | Prisma.photosScalarWhereInput[] + id?: Prisma.IntFilter<"photos"> | number + trip_id?: Prisma.IntFilter<"photos"> | number + day_id?: Prisma.IntNullableFilter<"photos"> | number | null + place_id?: Prisma.IntNullableFilter<"photos"> | number | null + filename?: Prisma.StringFilter<"photos"> | string + original_name?: Prisma.StringFilter<"photos"> | string + file_size?: Prisma.IntNullableFilter<"photos"> | number | null + mime_type?: Prisma.StringNullableFilter<"photos"> | string | null + caption?: Prisma.StringNullableFilter<"photos"> | string | null + taken_at?: Prisma.StringNullableFilter<"photos"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"photos"> | Date | string | null +} + +export type photosCreateWithoutPlacesInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null + days?: Prisma.daysCreateNestedOneWithoutPhotosInput + trips: Prisma.tripsCreateNestedOneWithoutPhotosInput +} + +export type photosUncheckedCreateWithoutPlacesInput = { + id?: number + trip_id: number + day_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosCreateOrConnectWithoutPlacesInput = { + where: Prisma.photosWhereUniqueInput + create: Prisma.XOR +} + +export type photosCreateManyPlacesInputEnvelope = { + data: Prisma.photosCreateManyPlacesInput | Prisma.photosCreateManyPlacesInput[] +} + +export type photosUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type photosUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.photosWhereUniqueInput + data: Prisma.XOR +} + +export type photosUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.photosScalarWhereInput + data: Prisma.XOR +} + +export type photosCreateWithoutTripsInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null + places?: Prisma.placesCreateNestedOneWithoutPhotosInput + days?: Prisma.daysCreateNestedOneWithoutPhotosInput +} + +export type photosUncheckedCreateWithoutTripsInput = { + id?: number + day_id?: number | null + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosCreateOrConnectWithoutTripsInput = { + where: Prisma.photosWhereUniqueInput + create: Prisma.XOR +} + +export type photosCreateManyTripsInputEnvelope = { + data: Prisma.photosCreateManyTripsInput | Prisma.photosCreateManyTripsInput[] +} + +export type photosUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type photosUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.photosWhereUniqueInput + data: Prisma.XOR +} + +export type photosUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.photosScalarWhereInput + data: Prisma.XOR +} + +export type photosCreateManyDaysInput = { + id?: number + trip_id: number + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosUpdateWithoutDaysInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutPhotosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPhotosNestedInput +} + +export type photosUncheckedUpdateWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosUncheckedUpdateManyWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosCreateManyPlacesInput = { + id?: number + trip_id: number + day_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosUpdateWithoutPlacesInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + days?: Prisma.daysUpdateOneWithoutPhotosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPhotosNestedInput +} + +export type photosUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosCreateManyTripsInput = { + id?: number + day_id?: number | null + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + caption?: string | null + taken_at?: string | null + created_at?: Date | string | null +} + +export type photosUpdateWithoutTripsInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + places?: Prisma.placesUpdateOneWithoutPhotosNestedInput + days?: Prisma.daysUpdateOneWithoutPhotosNestedInput +} + +export type photosUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type photosUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + taken_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type photosSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + place_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + caption?: boolean + taken_at?: boolean + created_at?: boolean + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["photos"]> + +export type photosSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + place_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + caption?: boolean + taken_at?: boolean + created_at?: boolean + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["photos"]> + +export type photosSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + place_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + caption?: boolean + taken_at?: boolean + created_at?: boolean + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["photos"]> + +export type photosSelectScalar = { + id?: boolean + trip_id?: boolean + day_id?: boolean + place_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + caption?: boolean + taken_at?: boolean + created_at?: boolean +} + +export type photosOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "day_id" | "place_id" | "filename" | "original_name" | "file_size" | "mime_type" | "caption" | "taken_at" | "created_at", ExtArgs["result"]["photos"]> +export type photosInclude = { + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type photosIncludeCreateManyAndReturn = { + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type photosIncludeUpdateManyAndReturn = { + places?: boolean | Prisma.photos$placesArgs + days?: boolean | Prisma.photos$daysArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $photosPayload = { + name: "photos" + objects: { + places: Prisma.$placesPayload | null + days: Prisma.$daysPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + day_id: number | null + place_id: number | null + filename: string + original_name: string + file_size: number | null + mime_type: string | null + caption: string | null + taken_at: string | null + created_at: Date | null + }, ExtArgs["result"]["photos"]> + composites: {} +} + +export type photosGetPayload = runtime.Types.Result.GetResult + +export type photosCountArgs = + Omit & { + select?: PhotosCountAggregateInputType | true + } + +export interface photosDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['photos'], meta: { name: 'photos' } } + /** + * Find zero or one Photos that matches the filter. + * @param {photosFindUniqueArgs} args - Arguments to find a Photos + * @example + * // Get one Photos + * const photos = await prisma.photos.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Photos that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {photosFindUniqueOrThrowArgs} args - Arguments to find a Photos + * @example + * // Get one Photos + * const photos = await prisma.photos.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosFindFirstArgs} args - Arguments to find a Photos + * @example + * // Get one Photos + * const photos = await prisma.photos.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Photos that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosFindFirstOrThrowArgs} args - Arguments to find a Photos + * @example + * // Get one Photos + * const photos = await prisma.photos.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Photos + * const photos = await prisma.photos.findMany() + * + * // Get first 10 Photos + * const photos = await prisma.photos.findMany({ take: 10 }) + * + * // Only select the `id` + * const photosWithIdOnly = await prisma.photos.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Photos. + * @param {photosCreateArgs} args - Arguments to create a Photos. + * @example + * // Create one Photos + * const Photos = await prisma.photos.create({ + * data: { + * // ... data to create a Photos + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Photos. + * @param {photosCreateManyArgs} args - Arguments to create many Photos. + * @example + * // Create many Photos + * const photos = await prisma.photos.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Photos and returns the data saved in the database. + * @param {photosCreateManyAndReturnArgs} args - Arguments to create many Photos. + * @example + * // Create many Photos + * const photos = await prisma.photos.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Photos and only return the `id` + * const photosWithIdOnly = await prisma.photos.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Photos. + * @param {photosDeleteArgs} args - Arguments to delete one Photos. + * @example + * // Delete one Photos + * const Photos = await prisma.photos.delete({ + * where: { + * // ... filter to delete one Photos + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Photos. + * @param {photosUpdateArgs} args - Arguments to update one Photos. + * @example + * // Update one Photos + * const photos = await prisma.photos.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Photos. + * @param {photosDeleteManyArgs} args - Arguments to filter Photos to delete. + * @example + * // Delete a few Photos + * const { count } = await prisma.photos.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Photos + * const photos = await prisma.photos.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Photos and returns the data updated in the database. + * @param {photosUpdateManyAndReturnArgs} args - Arguments to update many Photos. + * @example + * // Update many Photos + * const photos = await prisma.photos.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Photos and only return the `id` + * const photosWithIdOnly = await prisma.photos.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Photos. + * @param {photosUpsertArgs} args - Arguments to update or create a Photos. + * @example + * // Update or create a Photos + * const photos = await prisma.photos.upsert({ + * create: { + * // ... data to create a Photos + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Photos we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__photosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosCountArgs} args - Arguments to filter Photos to count. + * @example + * // Count the number of Photos + * const count = await prisma.photos.count({ + * where: { + * // ... the filter for the Photos we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PhotosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {photosGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends photosGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: photosGroupByArgs['orderBy'] } + : { orderBy?: photosGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPhotosGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the photos model + */ +readonly fields: photosFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for photos. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__photosClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + days = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the photos model + */ +export interface photosFieldRefs { + readonly id: Prisma.FieldRef<"photos", 'Int'> + readonly trip_id: Prisma.FieldRef<"photos", 'Int'> + readonly day_id: Prisma.FieldRef<"photos", 'Int'> + readonly place_id: Prisma.FieldRef<"photos", 'Int'> + readonly filename: Prisma.FieldRef<"photos", 'String'> + readonly original_name: Prisma.FieldRef<"photos", 'String'> + readonly file_size: Prisma.FieldRef<"photos", 'Int'> + readonly mime_type: Prisma.FieldRef<"photos", 'String'> + readonly caption: Prisma.FieldRef<"photos", 'String'> + readonly taken_at: Prisma.FieldRef<"photos", 'String'> + readonly created_at: Prisma.FieldRef<"photos", 'DateTime'> +} + + +// Custom InputTypes +/** + * photos findUnique + */ +export type photosFindUniqueArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter, which photos to fetch. + */ + where: Prisma.photosWhereUniqueInput +} + +/** + * photos findUniqueOrThrow + */ +export type photosFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter, which photos to fetch. + */ + where: Prisma.photosWhereUniqueInput +} + +/** + * photos findFirst + */ +export type photosFindFirstArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter, which photos to fetch. + */ + where?: Prisma.photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photos to fetch. + */ + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photos. + */ + cursor?: Prisma.photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photos. + */ + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * photos findFirstOrThrow + */ +export type photosFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter, which photos to fetch. + */ + where?: Prisma.photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photos to fetch. + */ + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for photos. + */ + cursor?: Prisma.photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photos. + */ + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * photos findMany + */ +export type photosFindManyArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter, which photos to fetch. + */ + where?: Prisma.photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of photos to fetch. + */ + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing photos. + */ + cursor?: Prisma.photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of photos. + */ + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * photos create + */ +export type photosCreateArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * The data needed to create a photos. + */ + data: Prisma.XOR +} + +/** + * photos createMany + */ +export type photosCreateManyArgs = { + /** + * The data used to create many photos. + */ + data: Prisma.photosCreateManyInput | Prisma.photosCreateManyInput[] +} + +/** + * photos createManyAndReturn + */ +export type photosCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelectCreateManyAndReturn | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * The data used to create many photos. + */ + data: Prisma.photosCreateManyInput | Prisma.photosCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosIncludeCreateManyAndReturn | null +} + +/** + * photos update + */ +export type photosUpdateArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * The data needed to update a photos. + */ + data: Prisma.XOR + /** + * Choose, which photos to update. + */ + where: Prisma.photosWhereUniqueInput +} + +/** + * photos updateMany + */ +export type photosUpdateManyArgs = { + /** + * The data used to update photos. + */ + data: Prisma.XOR + /** + * Filter which photos to update + */ + where?: Prisma.photosWhereInput + /** + * Limit how many photos to update. + */ + limit?: number +} + +/** + * photos updateManyAndReturn + */ +export type photosUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * The data used to update photos. + */ + data: Prisma.XOR + /** + * Filter which photos to update + */ + where?: Prisma.photosWhereInput + /** + * Limit how many photos to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosIncludeUpdateManyAndReturn | null +} + +/** + * photos upsert + */ +export type photosUpsertArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * The filter to search for the photos to update in case it exists. + */ + where: Prisma.photosWhereUniqueInput + /** + * In case the photos found by the `where` argument doesn't exist, create a new photos with this data. + */ + create: Prisma.XOR + /** + * In case the photos was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * photos delete + */ +export type photosDeleteArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + /** + * Filter which photos to delete. + */ + where: Prisma.photosWhereUniqueInput +} + +/** + * photos deleteMany + */ +export type photosDeleteManyArgs = { + /** + * Filter which photos to delete + */ + where?: Prisma.photosWhereInput + /** + * Limit how many photos to delete. + */ + limit?: number +} + +/** + * photos.places + */ +export type photos$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * photos.days + */ +export type photos$daysArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + where?: Prisma.daysWhereInput +} + +/** + * photos without action + */ +export type photosDefaultArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null +} diff --git a/server/src/generated/prisma/models/place_details_cache.ts b/server/src/generated/prisma/models/place_details_cache.ts new file mode 100644 index 00000000..d700de7c --- /dev/null +++ b/server/src/generated/prisma/models/place_details_cache.ts @@ -0,0 +1,1204 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `place_details_cache` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model place_details_cache + * + */ +export type place_details_cacheModel = runtime.Types.Result.DefaultSelection + +export type AggregatePlace_details_cache = { + _count: Place_details_cacheCountAggregateOutputType | null + _avg: Place_details_cacheAvgAggregateOutputType | null + _sum: Place_details_cacheSumAggregateOutputType | null + _min: Place_details_cacheMinAggregateOutputType | null + _max: Place_details_cacheMaxAggregateOutputType | null +} + +export type Place_details_cacheAvgAggregateOutputType = { + expanded: number | null + fetched_at: number | null +} + +export type Place_details_cacheSumAggregateOutputType = { + expanded: number | null + fetched_at: number | null +} + +export type Place_details_cacheMinAggregateOutputType = { + place_id: string | null + lang: string | null + expanded: number | null + payload_json: string | null + fetched_at: number | null +} + +export type Place_details_cacheMaxAggregateOutputType = { + place_id: string | null + lang: string | null + expanded: number | null + payload_json: string | null + fetched_at: number | null +} + +export type Place_details_cacheCountAggregateOutputType = { + place_id: number + lang: number + expanded: number + payload_json: number + fetched_at: number + _all: number +} + + +export type Place_details_cacheAvgAggregateInputType = { + expanded?: true + fetched_at?: true +} + +export type Place_details_cacheSumAggregateInputType = { + expanded?: true + fetched_at?: true +} + +export type Place_details_cacheMinAggregateInputType = { + place_id?: true + lang?: true + expanded?: true + payload_json?: true + fetched_at?: true +} + +export type Place_details_cacheMaxAggregateInputType = { + place_id?: true + lang?: true + expanded?: true + payload_json?: true + fetched_at?: true +} + +export type Place_details_cacheCountAggregateInputType = { + place_id?: true + lang?: true + expanded?: true + payload_json?: true + fetched_at?: true + _all?: true +} + +export type Place_details_cacheAggregateArgs = { + /** + * Filter which place_details_cache to aggregate. + */ + where?: Prisma.place_details_cacheWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_details_caches to fetch. + */ + orderBy?: Prisma.place_details_cacheOrderByWithRelationInput | Prisma.place_details_cacheOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.place_details_cacheWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_details_caches from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_details_caches. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned place_details_caches + **/ + _count?: true | Place_details_cacheCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Place_details_cacheAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Place_details_cacheSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Place_details_cacheMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Place_details_cacheMaxAggregateInputType +} + +export type GetPlace_details_cacheAggregateType = { + [P in keyof T & keyof AggregatePlace_details_cache]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type place_details_cacheGroupByArgs = { + where?: Prisma.place_details_cacheWhereInput + orderBy?: Prisma.place_details_cacheOrderByWithAggregationInput | Prisma.place_details_cacheOrderByWithAggregationInput[] + by: Prisma.Place_details_cacheScalarFieldEnum[] | Prisma.Place_details_cacheScalarFieldEnum + having?: Prisma.place_details_cacheScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Place_details_cacheCountAggregateInputType | true + _avg?: Place_details_cacheAvgAggregateInputType + _sum?: Place_details_cacheSumAggregateInputType + _min?: Place_details_cacheMinAggregateInputType + _max?: Place_details_cacheMaxAggregateInputType +} + +export type Place_details_cacheGroupByOutputType = { + place_id: string + lang: string + expanded: number + payload_json: string + fetched_at: number + _count: Place_details_cacheCountAggregateOutputType | null + _avg: Place_details_cacheAvgAggregateOutputType | null + _sum: Place_details_cacheSumAggregateOutputType | null + _min: Place_details_cacheMinAggregateOutputType | null + _max: Place_details_cacheMaxAggregateOutputType | null +} + +export type GetPlace_details_cacheGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Place_details_cacheGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type place_details_cacheWhereInput = { + AND?: Prisma.place_details_cacheWhereInput | Prisma.place_details_cacheWhereInput[] + OR?: Prisma.place_details_cacheWhereInput[] + NOT?: Prisma.place_details_cacheWhereInput | Prisma.place_details_cacheWhereInput[] + place_id?: Prisma.StringFilter<"place_details_cache"> | string + lang?: Prisma.StringFilter<"place_details_cache"> | string + expanded?: Prisma.IntFilter<"place_details_cache"> | number + payload_json?: Prisma.StringFilter<"place_details_cache"> | string + fetched_at?: Prisma.IntFilter<"place_details_cache"> | number +} + +export type place_details_cacheOrderByWithRelationInput = { + place_id?: Prisma.SortOrder + lang?: Prisma.SortOrder + expanded?: Prisma.SortOrder + payload_json?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type place_details_cacheWhereUniqueInput = Prisma.AtLeast<{ + place_id_lang_expanded?: Prisma.place_details_cachePlace_idLangExpandedCompoundUniqueInput + AND?: Prisma.place_details_cacheWhereInput | Prisma.place_details_cacheWhereInput[] + OR?: Prisma.place_details_cacheWhereInput[] + NOT?: Prisma.place_details_cacheWhereInput | Prisma.place_details_cacheWhereInput[] + place_id?: Prisma.StringFilter<"place_details_cache"> | string + lang?: Prisma.StringFilter<"place_details_cache"> | string + expanded?: Prisma.IntFilter<"place_details_cache"> | number + payload_json?: Prisma.StringFilter<"place_details_cache"> | string + fetched_at?: Prisma.IntFilter<"place_details_cache"> | number +}, "place_id_lang_expanded"> + +export type place_details_cacheOrderByWithAggregationInput = { + place_id?: Prisma.SortOrder + lang?: Prisma.SortOrder + expanded?: Prisma.SortOrder + payload_json?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder + _count?: Prisma.place_details_cacheCountOrderByAggregateInput + _avg?: Prisma.place_details_cacheAvgOrderByAggregateInput + _max?: Prisma.place_details_cacheMaxOrderByAggregateInput + _min?: Prisma.place_details_cacheMinOrderByAggregateInput + _sum?: Prisma.place_details_cacheSumOrderByAggregateInput +} + +export type place_details_cacheScalarWhereWithAggregatesInput = { + AND?: Prisma.place_details_cacheScalarWhereWithAggregatesInput | Prisma.place_details_cacheScalarWhereWithAggregatesInput[] + OR?: Prisma.place_details_cacheScalarWhereWithAggregatesInput[] + NOT?: Prisma.place_details_cacheScalarWhereWithAggregatesInput | Prisma.place_details_cacheScalarWhereWithAggregatesInput[] + place_id?: Prisma.StringWithAggregatesFilter<"place_details_cache"> | string + lang?: Prisma.StringWithAggregatesFilter<"place_details_cache"> | string + expanded?: Prisma.IntWithAggregatesFilter<"place_details_cache"> | number + payload_json?: Prisma.StringWithAggregatesFilter<"place_details_cache"> | string + fetched_at?: Prisma.IntWithAggregatesFilter<"place_details_cache"> | number +} + +export type place_details_cacheCreateInput = { + place_id: string + lang?: string + expanded?: number + payload_json: string + fetched_at: number +} + +export type place_details_cacheUncheckedCreateInput = { + place_id: string + lang?: string + expanded?: number + payload_json: string + fetched_at: number +} + +export type place_details_cacheUpdateInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + lang?: Prisma.StringFieldUpdateOperationsInput | string + expanded?: Prisma.IntFieldUpdateOperationsInput | number + payload_json?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_details_cacheUncheckedUpdateInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + lang?: Prisma.StringFieldUpdateOperationsInput | string + expanded?: Prisma.IntFieldUpdateOperationsInput | number + payload_json?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_details_cacheCreateManyInput = { + place_id: string + lang?: string + expanded?: number + payload_json: string + fetched_at: number +} + +export type place_details_cacheUpdateManyMutationInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + lang?: Prisma.StringFieldUpdateOperationsInput | string + expanded?: Prisma.IntFieldUpdateOperationsInput | number + payload_json?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_details_cacheUncheckedUpdateManyInput = { + place_id?: Prisma.StringFieldUpdateOperationsInput | string + lang?: Prisma.StringFieldUpdateOperationsInput | string + expanded?: Prisma.IntFieldUpdateOperationsInput | number + payload_json?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_details_cachePlace_idLangExpandedCompoundUniqueInput = { + place_id: string + lang: string + expanded: number +} + +export type place_details_cacheCountOrderByAggregateInput = { + place_id?: Prisma.SortOrder + lang?: Prisma.SortOrder + expanded?: Prisma.SortOrder + payload_json?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type place_details_cacheAvgOrderByAggregateInput = { + expanded?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type place_details_cacheMaxOrderByAggregateInput = { + place_id?: Prisma.SortOrder + lang?: Prisma.SortOrder + expanded?: Prisma.SortOrder + payload_json?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type place_details_cacheMinOrderByAggregateInput = { + place_id?: Prisma.SortOrder + lang?: Prisma.SortOrder + expanded?: Prisma.SortOrder + payload_json?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type place_details_cacheSumOrderByAggregateInput = { + expanded?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + + + +export type place_details_cacheSelect = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + lang?: boolean + expanded?: boolean + payload_json?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["place_details_cache"]> + +export type place_details_cacheSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + lang?: boolean + expanded?: boolean + payload_json?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["place_details_cache"]> + +export type place_details_cacheSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + lang?: boolean + expanded?: boolean + payload_json?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["place_details_cache"]> + +export type place_details_cacheSelectScalar = { + place_id?: boolean + lang?: boolean + expanded?: boolean + payload_json?: boolean + fetched_at?: boolean +} + +export type place_details_cacheOmit = runtime.Types.Extensions.GetOmit<"place_id" | "lang" | "expanded" | "payload_json" | "fetched_at", ExtArgs["result"]["place_details_cache"]> + +export type $place_details_cachePayload = { + name: "place_details_cache" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + place_id: string + lang: string + expanded: number + payload_json: string + fetched_at: number + }, ExtArgs["result"]["place_details_cache"]> + composites: {} +} + +export type place_details_cacheGetPayload = runtime.Types.Result.GetResult + +export type place_details_cacheCountArgs = + Omit & { + select?: Place_details_cacheCountAggregateInputType | true + } + +export interface place_details_cacheDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['place_details_cache'], meta: { name: 'place_details_cache' } } + /** + * Find zero or one Place_details_cache that matches the filter. + * @param {place_details_cacheFindUniqueArgs} args - Arguments to find a Place_details_cache + * @example + * // Get one Place_details_cache + * const place_details_cache = await prisma.place_details_cache.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Place_details_cache that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {place_details_cacheFindUniqueOrThrowArgs} args - Arguments to find a Place_details_cache + * @example + * // Get one Place_details_cache + * const place_details_cache = await prisma.place_details_cache.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_details_cache that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheFindFirstArgs} args - Arguments to find a Place_details_cache + * @example + * // Get one Place_details_cache + * const place_details_cache = await prisma.place_details_cache.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_details_cache that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheFindFirstOrThrowArgs} args - Arguments to find a Place_details_cache + * @example + * // Get one Place_details_cache + * const place_details_cache = await prisma.place_details_cache.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Place_details_caches that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Place_details_caches + * const place_details_caches = await prisma.place_details_cache.findMany() + * + * // Get first 10 Place_details_caches + * const place_details_caches = await prisma.place_details_cache.findMany({ take: 10 }) + * + * // Only select the `place_id` + * const place_details_cacheWithPlace_idOnly = await prisma.place_details_cache.findMany({ select: { place_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Place_details_cache. + * @param {place_details_cacheCreateArgs} args - Arguments to create a Place_details_cache. + * @example + * // Create one Place_details_cache + * const Place_details_cache = await prisma.place_details_cache.create({ + * data: { + * // ... data to create a Place_details_cache + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Place_details_caches. + * @param {place_details_cacheCreateManyArgs} args - Arguments to create many Place_details_caches. + * @example + * // Create many Place_details_caches + * const place_details_cache = await prisma.place_details_cache.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Place_details_caches and returns the data saved in the database. + * @param {place_details_cacheCreateManyAndReturnArgs} args - Arguments to create many Place_details_caches. + * @example + * // Create many Place_details_caches + * const place_details_cache = await prisma.place_details_cache.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Place_details_caches and only return the `place_id` + * const place_details_cacheWithPlace_idOnly = await prisma.place_details_cache.createManyAndReturn({ + * select: { place_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Place_details_cache. + * @param {place_details_cacheDeleteArgs} args - Arguments to delete one Place_details_cache. + * @example + * // Delete one Place_details_cache + * const Place_details_cache = await prisma.place_details_cache.delete({ + * where: { + * // ... filter to delete one Place_details_cache + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Place_details_cache. + * @param {place_details_cacheUpdateArgs} args - Arguments to update one Place_details_cache. + * @example + * // Update one Place_details_cache + * const place_details_cache = await prisma.place_details_cache.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Place_details_caches. + * @param {place_details_cacheDeleteManyArgs} args - Arguments to filter Place_details_caches to delete. + * @example + * // Delete a few Place_details_caches + * const { count } = await prisma.place_details_cache.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_details_caches. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Place_details_caches + * const place_details_cache = await prisma.place_details_cache.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_details_caches and returns the data updated in the database. + * @param {place_details_cacheUpdateManyAndReturnArgs} args - Arguments to update many Place_details_caches. + * @example + * // Update many Place_details_caches + * const place_details_cache = await prisma.place_details_cache.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Place_details_caches and only return the `place_id` + * const place_details_cacheWithPlace_idOnly = await prisma.place_details_cache.updateManyAndReturn({ + * select: { place_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Place_details_cache. + * @param {place_details_cacheUpsertArgs} args - Arguments to update or create a Place_details_cache. + * @example + * // Update or create a Place_details_cache + * const place_details_cache = await prisma.place_details_cache.upsert({ + * create: { + * // ... data to create a Place_details_cache + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Place_details_cache we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__place_details_cacheClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Place_details_caches. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheCountArgs} args - Arguments to filter Place_details_caches to count. + * @example + * // Count the number of Place_details_caches + * const count = await prisma.place_details_cache.count({ + * where: { + * // ... the filter for the Place_details_caches we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Place_details_cache. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Place_details_cacheAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Place_details_cache. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_details_cacheGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends place_details_cacheGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: place_details_cacheGroupByArgs['orderBy'] } + : { orderBy?: place_details_cacheGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPlace_details_cacheGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the place_details_cache model + */ +readonly fields: place_details_cacheFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for place_details_cache. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__place_details_cacheClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the place_details_cache model + */ +export interface place_details_cacheFieldRefs { + readonly place_id: Prisma.FieldRef<"place_details_cache", 'String'> + readonly lang: Prisma.FieldRef<"place_details_cache", 'String'> + readonly expanded: Prisma.FieldRef<"place_details_cache", 'Int'> + readonly payload_json: Prisma.FieldRef<"place_details_cache", 'String'> + readonly fetched_at: Prisma.FieldRef<"place_details_cache", 'Int'> +} + + +// Custom InputTypes +/** + * place_details_cache findUnique + */ +export type place_details_cacheFindUniqueArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter, which place_details_cache to fetch. + */ + where: Prisma.place_details_cacheWhereUniqueInput +} + +/** + * place_details_cache findUniqueOrThrow + */ +export type place_details_cacheFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter, which place_details_cache to fetch. + */ + where: Prisma.place_details_cacheWhereUniqueInput +} + +/** + * place_details_cache findFirst + */ +export type place_details_cacheFindFirstArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter, which place_details_cache to fetch. + */ + where?: Prisma.place_details_cacheWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_details_caches to fetch. + */ + orderBy?: Prisma.place_details_cacheOrderByWithRelationInput | Prisma.place_details_cacheOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_details_caches. + */ + cursor?: Prisma.place_details_cacheWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_details_caches from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_details_caches. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_details_caches. + */ + distinct?: Prisma.Place_details_cacheScalarFieldEnum | Prisma.Place_details_cacheScalarFieldEnum[] +} + +/** + * place_details_cache findFirstOrThrow + */ +export type place_details_cacheFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter, which place_details_cache to fetch. + */ + where?: Prisma.place_details_cacheWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_details_caches to fetch. + */ + orderBy?: Prisma.place_details_cacheOrderByWithRelationInput | Prisma.place_details_cacheOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_details_caches. + */ + cursor?: Prisma.place_details_cacheWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_details_caches from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_details_caches. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_details_caches. + */ + distinct?: Prisma.Place_details_cacheScalarFieldEnum | Prisma.Place_details_cacheScalarFieldEnum[] +} + +/** + * place_details_cache findMany + */ +export type place_details_cacheFindManyArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter, which place_details_caches to fetch. + */ + where?: Prisma.place_details_cacheWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_details_caches to fetch. + */ + orderBy?: Prisma.place_details_cacheOrderByWithRelationInput | Prisma.place_details_cacheOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing place_details_caches. + */ + cursor?: Prisma.place_details_cacheWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_details_caches from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_details_caches. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_details_caches. + */ + distinct?: Prisma.Place_details_cacheScalarFieldEnum | Prisma.Place_details_cacheScalarFieldEnum[] +} + +/** + * place_details_cache create + */ +export type place_details_cacheCreateArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * The data needed to create a place_details_cache. + */ + data: Prisma.XOR +} + +/** + * place_details_cache createMany + */ +export type place_details_cacheCreateManyArgs = { + /** + * The data used to create many place_details_caches. + */ + data: Prisma.place_details_cacheCreateManyInput | Prisma.place_details_cacheCreateManyInput[] +} + +/** + * place_details_cache createManyAndReturn + */ +export type place_details_cacheCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelectCreateManyAndReturn | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * The data used to create many place_details_caches. + */ + data: Prisma.place_details_cacheCreateManyInput | Prisma.place_details_cacheCreateManyInput[] +} + +/** + * place_details_cache update + */ +export type place_details_cacheUpdateArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * The data needed to update a place_details_cache. + */ + data: Prisma.XOR + /** + * Choose, which place_details_cache to update. + */ + where: Prisma.place_details_cacheWhereUniqueInput +} + +/** + * place_details_cache updateMany + */ +export type place_details_cacheUpdateManyArgs = { + /** + * The data used to update place_details_caches. + */ + data: Prisma.XOR + /** + * Filter which place_details_caches to update + */ + where?: Prisma.place_details_cacheWhereInput + /** + * Limit how many place_details_caches to update. + */ + limit?: number +} + +/** + * place_details_cache updateManyAndReturn + */ +export type place_details_cacheUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * The data used to update place_details_caches. + */ + data: Prisma.XOR + /** + * Filter which place_details_caches to update + */ + where?: Prisma.place_details_cacheWhereInput + /** + * Limit how many place_details_caches to update. + */ + limit?: number +} + +/** + * place_details_cache upsert + */ +export type place_details_cacheUpsertArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * The filter to search for the place_details_cache to update in case it exists. + */ + where: Prisma.place_details_cacheWhereUniqueInput + /** + * In case the place_details_cache found by the `where` argument doesn't exist, create a new place_details_cache with this data. + */ + create: Prisma.XOR + /** + * In case the place_details_cache was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * place_details_cache delete + */ +export type place_details_cacheDeleteArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null + /** + * Filter which place_details_cache to delete. + */ + where: Prisma.place_details_cacheWhereUniqueInput +} + +/** + * place_details_cache deleteMany + */ +export type place_details_cacheDeleteManyArgs = { + /** + * Filter which place_details_caches to delete + */ + where?: Prisma.place_details_cacheWhereInput + /** + * Limit how many place_details_caches to delete. + */ + limit?: number +} + +/** + * place_details_cache without action + */ +export type place_details_cacheDefaultArgs = { + /** + * Select specific fields to fetch from the place_details_cache + */ + select?: Prisma.place_details_cacheSelect | null + /** + * Omit specific fields from the place_details_cache + */ + omit?: Prisma.place_details_cacheOmit | null +} diff --git a/server/src/generated/prisma/models/place_regions.ts b/server/src/generated/prisma/models/place_regions.ts new file mode 100644 index 00000000..d3ea399d --- /dev/null +++ b/server/src/generated/prisma/models/place_regions.ts @@ -0,0 +1,1305 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `place_regions` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model place_regions + * + */ +export type place_regionsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePlace_regions = { + _count: Place_regionsCountAggregateOutputType | null + _avg: Place_regionsAvgAggregateOutputType | null + _sum: Place_regionsSumAggregateOutputType | null + _min: Place_regionsMinAggregateOutputType | null + _max: Place_regionsMaxAggregateOutputType | null +} + +export type Place_regionsAvgAggregateOutputType = { + place_id: number | null +} + +export type Place_regionsSumAggregateOutputType = { + place_id: number | null +} + +export type Place_regionsMinAggregateOutputType = { + place_id: number | null + country_code: string | null + region_code: string | null + region_name: string | null +} + +export type Place_regionsMaxAggregateOutputType = { + place_id: number | null + country_code: string | null + region_code: string | null + region_name: string | null +} + +export type Place_regionsCountAggregateOutputType = { + place_id: number + country_code: number + region_code: number + region_name: number + _all: number +} + + +export type Place_regionsAvgAggregateInputType = { + place_id?: true +} + +export type Place_regionsSumAggregateInputType = { + place_id?: true +} + +export type Place_regionsMinAggregateInputType = { + place_id?: true + country_code?: true + region_code?: true + region_name?: true +} + +export type Place_regionsMaxAggregateInputType = { + place_id?: true + country_code?: true + region_code?: true + region_name?: true +} + +export type Place_regionsCountAggregateInputType = { + place_id?: true + country_code?: true + region_code?: true + region_name?: true + _all?: true +} + +export type Place_regionsAggregateArgs = { + /** + * Filter which place_regions to aggregate. + */ + where?: Prisma.place_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_regions to fetch. + */ + orderBy?: Prisma.place_regionsOrderByWithRelationInput | Prisma.place_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.place_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned place_regions + **/ + _count?: true | Place_regionsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Place_regionsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Place_regionsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Place_regionsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Place_regionsMaxAggregateInputType +} + +export type GetPlace_regionsAggregateType = { + [P in keyof T & keyof AggregatePlace_regions]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type place_regionsGroupByArgs = { + where?: Prisma.place_regionsWhereInput + orderBy?: Prisma.place_regionsOrderByWithAggregationInput | Prisma.place_regionsOrderByWithAggregationInput[] + by: Prisma.Place_regionsScalarFieldEnum[] | Prisma.Place_regionsScalarFieldEnum + having?: Prisma.place_regionsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Place_regionsCountAggregateInputType | true + _avg?: Place_regionsAvgAggregateInputType + _sum?: Place_regionsSumAggregateInputType + _min?: Place_regionsMinAggregateInputType + _max?: Place_regionsMaxAggregateInputType +} + +export type Place_regionsGroupByOutputType = { + place_id: number + country_code: string + region_code: string + region_name: string + _count: Place_regionsCountAggregateOutputType | null + _avg: Place_regionsAvgAggregateOutputType | null + _sum: Place_regionsSumAggregateOutputType | null + _min: Place_regionsMinAggregateOutputType | null + _max: Place_regionsMaxAggregateOutputType | null +} + +export type GetPlace_regionsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Place_regionsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type place_regionsWhereInput = { + AND?: Prisma.place_regionsWhereInput | Prisma.place_regionsWhereInput[] + OR?: Prisma.place_regionsWhereInput[] + NOT?: Prisma.place_regionsWhereInput | Prisma.place_regionsWhereInput[] + place_id?: Prisma.IntFilter<"place_regions"> | number + country_code?: Prisma.StringFilter<"place_regions"> | string + region_code?: Prisma.StringFilter<"place_regions"> | string + region_name?: Prisma.StringFilter<"place_regions"> | string + places?: Prisma.XOR +} + +export type place_regionsOrderByWithRelationInput = { + place_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + places?: Prisma.placesOrderByWithRelationInput +} + +export type place_regionsWhereUniqueInput = Prisma.AtLeast<{ + place_id?: number + AND?: Prisma.place_regionsWhereInput | Prisma.place_regionsWhereInput[] + OR?: Prisma.place_regionsWhereInput[] + NOT?: Prisma.place_regionsWhereInput | Prisma.place_regionsWhereInput[] + country_code?: Prisma.StringFilter<"place_regions"> | string + region_code?: Prisma.StringFilter<"place_regions"> | string + region_name?: Prisma.StringFilter<"place_regions"> | string + places?: Prisma.XOR +}, "place_id"> + +export type place_regionsOrderByWithAggregationInput = { + place_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + _count?: Prisma.place_regionsCountOrderByAggregateInput + _avg?: Prisma.place_regionsAvgOrderByAggregateInput + _max?: Prisma.place_regionsMaxOrderByAggregateInput + _min?: Prisma.place_regionsMinOrderByAggregateInput + _sum?: Prisma.place_regionsSumOrderByAggregateInput +} + +export type place_regionsScalarWhereWithAggregatesInput = { + AND?: Prisma.place_regionsScalarWhereWithAggregatesInput | Prisma.place_regionsScalarWhereWithAggregatesInput[] + OR?: Prisma.place_regionsScalarWhereWithAggregatesInput[] + NOT?: Prisma.place_regionsScalarWhereWithAggregatesInput | Prisma.place_regionsScalarWhereWithAggregatesInput[] + place_id?: Prisma.IntWithAggregatesFilter<"place_regions"> | number + country_code?: Prisma.StringWithAggregatesFilter<"place_regions"> | string + region_code?: Prisma.StringWithAggregatesFilter<"place_regions"> | string + region_name?: Prisma.StringWithAggregatesFilter<"place_regions"> | string +} + +export type place_regionsCreateInput = { + country_code: string + region_code: string + region_name: string + places?: Prisma.placesCreateNestedOneWithoutPlace_regionsInput +} + +export type place_regionsUncheckedCreateInput = { + place_id?: number + country_code: string + region_code: string + region_name: string +} + +export type place_regionsUpdateInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + places?: Prisma.placesUpdateOneRequiredWithoutPlace_regionsNestedInput +} + +export type place_regionsUncheckedUpdateInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type place_regionsCreateManyInput = { + place_id?: number + country_code: string + region_code: string + region_name: string +} + +export type place_regionsUpdateManyMutationInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type place_regionsUncheckedUpdateManyInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type place_regionsCountOrderByAggregateInput = { + place_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder +} + +export type place_regionsAvgOrderByAggregateInput = { + place_id?: Prisma.SortOrder +} + +export type place_regionsMaxOrderByAggregateInput = { + place_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder +} + +export type place_regionsMinOrderByAggregateInput = { + place_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder +} + +export type place_regionsSumOrderByAggregateInput = { + place_id?: Prisma.SortOrder +} + +export type Place_regionsNullableScalarRelationFilter = { + is?: Prisma.place_regionsWhereInput | null + isNot?: Prisma.place_regionsWhereInput | null +} + +export type place_regionsCreateNestedOneWithoutPlacesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.place_regionsCreateOrConnectWithoutPlacesInput + connect?: Prisma.place_regionsWhereUniqueInput +} + +export type place_regionsUncheckedCreateNestedOneWithoutPlacesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.place_regionsCreateOrConnectWithoutPlacesInput + connect?: Prisma.place_regionsWhereUniqueInput +} + +export type place_regionsUpdateOneWithoutPlacesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.place_regionsCreateOrConnectWithoutPlacesInput + upsert?: Prisma.place_regionsUpsertWithoutPlacesInput + disconnect?: Prisma.place_regionsWhereInput | boolean + delete?: Prisma.place_regionsWhereInput | boolean + connect?: Prisma.place_regionsWhereUniqueInput + update?: Prisma.XOR, Prisma.place_regionsUncheckedUpdateWithoutPlacesInput> +} + +export type place_regionsUncheckedUpdateOneWithoutPlacesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.place_regionsCreateOrConnectWithoutPlacesInput + upsert?: Prisma.place_regionsUpsertWithoutPlacesInput + disconnect?: Prisma.place_regionsWhereInput | boolean + delete?: Prisma.place_regionsWhereInput | boolean + connect?: Prisma.place_regionsWhereUniqueInput + update?: Prisma.XOR, Prisma.place_regionsUncheckedUpdateWithoutPlacesInput> +} + +export type place_regionsCreateWithoutPlacesInput = { + country_code: string + region_code: string + region_name: string +} + +export type place_regionsUncheckedCreateWithoutPlacesInput = { + country_code: string + region_code: string + region_name: string +} + +export type place_regionsCreateOrConnectWithoutPlacesInput = { + where: Prisma.place_regionsWhereUniqueInput + create: Prisma.XOR +} + +export type place_regionsUpsertWithoutPlacesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.place_regionsWhereInput +} + +export type place_regionsUpdateToOneWithWhereWithoutPlacesInput = { + where?: Prisma.place_regionsWhereInput + data: Prisma.XOR +} + +export type place_regionsUpdateWithoutPlacesInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type place_regionsUncheckedUpdateWithoutPlacesInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string +} + + + +export type place_regionsSelect = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + country_code?: boolean + region_code?: boolean + region_name?: boolean + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_regions"]> + +export type place_regionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + country_code?: boolean + region_code?: boolean + region_name?: boolean + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_regions"]> + +export type place_regionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + country_code?: boolean + region_code?: boolean + region_name?: boolean + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_regions"]> + +export type place_regionsSelectScalar = { + place_id?: boolean + country_code?: boolean + region_code?: boolean + region_name?: boolean +} + +export type place_regionsOmit = runtime.Types.Extensions.GetOmit<"place_id" | "country_code" | "region_code" | "region_name", ExtArgs["result"]["place_regions"]> +export type place_regionsInclude = { + places?: boolean | Prisma.placesDefaultArgs +} +export type place_regionsIncludeCreateManyAndReturn = { + places?: boolean | Prisma.placesDefaultArgs +} +export type place_regionsIncludeUpdateManyAndReturn = { + places?: boolean | Prisma.placesDefaultArgs +} + +export type $place_regionsPayload = { + name: "place_regions" + objects: { + places: Prisma.$placesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + place_id: number + country_code: string + region_code: string + region_name: string + }, ExtArgs["result"]["place_regions"]> + composites: {} +} + +export type place_regionsGetPayload = runtime.Types.Result.GetResult + +export type place_regionsCountArgs = + Omit & { + select?: Place_regionsCountAggregateInputType | true + } + +export interface place_regionsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['place_regions'], meta: { name: 'place_regions' } } + /** + * Find zero or one Place_regions that matches the filter. + * @param {place_regionsFindUniqueArgs} args - Arguments to find a Place_regions + * @example + * // Get one Place_regions + * const place_regions = await prisma.place_regions.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Place_regions that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {place_regionsFindUniqueOrThrowArgs} args - Arguments to find a Place_regions + * @example + * // Get one Place_regions + * const place_regions = await prisma.place_regions.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_regions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsFindFirstArgs} args - Arguments to find a Place_regions + * @example + * // Get one Place_regions + * const place_regions = await prisma.place_regions.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_regions that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsFindFirstOrThrowArgs} args - Arguments to find a Place_regions + * @example + * // Get one Place_regions + * const place_regions = await prisma.place_regions.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Place_regions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Place_regions + * const place_regions = await prisma.place_regions.findMany() + * + * // Get first 10 Place_regions + * const place_regions = await prisma.place_regions.findMany({ take: 10 }) + * + * // Only select the `place_id` + * const place_regionsWithPlace_idOnly = await prisma.place_regions.findMany({ select: { place_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Place_regions. + * @param {place_regionsCreateArgs} args - Arguments to create a Place_regions. + * @example + * // Create one Place_regions + * const Place_regions = await prisma.place_regions.create({ + * data: { + * // ... data to create a Place_regions + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Place_regions. + * @param {place_regionsCreateManyArgs} args - Arguments to create many Place_regions. + * @example + * // Create many Place_regions + * const place_regions = await prisma.place_regions.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Place_regions and returns the data saved in the database. + * @param {place_regionsCreateManyAndReturnArgs} args - Arguments to create many Place_regions. + * @example + * // Create many Place_regions + * const place_regions = await prisma.place_regions.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Place_regions and only return the `place_id` + * const place_regionsWithPlace_idOnly = await prisma.place_regions.createManyAndReturn({ + * select: { place_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Place_regions. + * @param {place_regionsDeleteArgs} args - Arguments to delete one Place_regions. + * @example + * // Delete one Place_regions + * const Place_regions = await prisma.place_regions.delete({ + * where: { + * // ... filter to delete one Place_regions + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Place_regions. + * @param {place_regionsUpdateArgs} args - Arguments to update one Place_regions. + * @example + * // Update one Place_regions + * const place_regions = await prisma.place_regions.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Place_regions. + * @param {place_regionsDeleteManyArgs} args - Arguments to filter Place_regions to delete. + * @example + * // Delete a few Place_regions + * const { count } = await prisma.place_regions.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Place_regions + * const place_regions = await prisma.place_regions.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_regions and returns the data updated in the database. + * @param {place_regionsUpdateManyAndReturnArgs} args - Arguments to update many Place_regions. + * @example + * // Update many Place_regions + * const place_regions = await prisma.place_regions.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Place_regions and only return the `place_id` + * const place_regionsWithPlace_idOnly = await prisma.place_regions.updateManyAndReturn({ + * select: { place_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Place_regions. + * @param {place_regionsUpsertArgs} args - Arguments to update or create a Place_regions. + * @example + * // Update or create a Place_regions + * const place_regions = await prisma.place_regions.upsert({ + * create: { + * // ... data to create a Place_regions + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Place_regions we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__place_regionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Place_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsCountArgs} args - Arguments to filter Place_regions to count. + * @example + * // Count the number of Place_regions + * const count = await prisma.place_regions.count({ + * where: { + * // ... the filter for the Place_regions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Place_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Place_regionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Place_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_regionsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends place_regionsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: place_regionsGroupByArgs['orderBy'] } + : { orderBy?: place_regionsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPlace_regionsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the place_regions model + */ +readonly fields: place_regionsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for place_regions. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__place_regionsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the place_regions model + */ +export interface place_regionsFieldRefs { + readonly place_id: Prisma.FieldRef<"place_regions", 'Int'> + readonly country_code: Prisma.FieldRef<"place_regions", 'String'> + readonly region_code: Prisma.FieldRef<"place_regions", 'String'> + readonly region_name: Prisma.FieldRef<"place_regions", 'String'> +} + + +// Custom InputTypes +/** + * place_regions findUnique + */ +export type place_regionsFindUniqueArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter, which place_regions to fetch. + */ + where: Prisma.place_regionsWhereUniqueInput +} + +/** + * place_regions findUniqueOrThrow + */ +export type place_regionsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter, which place_regions to fetch. + */ + where: Prisma.place_regionsWhereUniqueInput +} + +/** + * place_regions findFirst + */ +export type place_regionsFindFirstArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter, which place_regions to fetch. + */ + where?: Prisma.place_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_regions to fetch. + */ + orderBy?: Prisma.place_regionsOrderByWithRelationInput | Prisma.place_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_regions. + */ + cursor?: Prisma.place_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_regions. + */ + distinct?: Prisma.Place_regionsScalarFieldEnum | Prisma.Place_regionsScalarFieldEnum[] +} + +/** + * place_regions findFirstOrThrow + */ +export type place_regionsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter, which place_regions to fetch. + */ + where?: Prisma.place_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_regions to fetch. + */ + orderBy?: Prisma.place_regionsOrderByWithRelationInput | Prisma.place_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_regions. + */ + cursor?: Prisma.place_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_regions. + */ + distinct?: Prisma.Place_regionsScalarFieldEnum | Prisma.Place_regionsScalarFieldEnum[] +} + +/** + * place_regions findMany + */ +export type place_regionsFindManyArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter, which place_regions to fetch. + */ + where?: Prisma.place_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_regions to fetch. + */ + orderBy?: Prisma.place_regionsOrderByWithRelationInput | Prisma.place_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing place_regions. + */ + cursor?: Prisma.place_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_regions. + */ + distinct?: Prisma.Place_regionsScalarFieldEnum | Prisma.Place_regionsScalarFieldEnum[] +} + +/** + * place_regions create + */ +export type place_regionsCreateArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * The data needed to create a place_regions. + */ + data: Prisma.XOR +} + +/** + * place_regions createMany + */ +export type place_regionsCreateManyArgs = { + /** + * The data used to create many place_regions. + */ + data: Prisma.place_regionsCreateManyInput | Prisma.place_regionsCreateManyInput[] +} + +/** + * place_regions createManyAndReturn + */ +export type place_regionsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * The data used to create many place_regions. + */ + data: Prisma.place_regionsCreateManyInput | Prisma.place_regionsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsIncludeCreateManyAndReturn | null +} + +/** + * place_regions update + */ +export type place_regionsUpdateArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * The data needed to update a place_regions. + */ + data: Prisma.XOR + /** + * Choose, which place_regions to update. + */ + where: Prisma.place_regionsWhereUniqueInput +} + +/** + * place_regions updateMany + */ +export type place_regionsUpdateManyArgs = { + /** + * The data used to update place_regions. + */ + data: Prisma.XOR + /** + * Filter which place_regions to update + */ + where?: Prisma.place_regionsWhereInput + /** + * Limit how many place_regions to update. + */ + limit?: number +} + +/** + * place_regions updateManyAndReturn + */ +export type place_regionsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * The data used to update place_regions. + */ + data: Prisma.XOR + /** + * Filter which place_regions to update + */ + where?: Prisma.place_regionsWhereInput + /** + * Limit how many place_regions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsIncludeUpdateManyAndReturn | null +} + +/** + * place_regions upsert + */ +export type place_regionsUpsertArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * The filter to search for the place_regions to update in case it exists. + */ + where: Prisma.place_regionsWhereUniqueInput + /** + * In case the place_regions found by the `where` argument doesn't exist, create a new place_regions with this data. + */ + create: Prisma.XOR + /** + * In case the place_regions was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * place_regions delete + */ +export type place_regionsDeleteArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + /** + * Filter which place_regions to delete. + */ + where: Prisma.place_regionsWhereUniqueInput +} + +/** + * place_regions deleteMany + */ +export type place_regionsDeleteManyArgs = { + /** + * Filter which place_regions to delete + */ + where?: Prisma.place_regionsWhereInput + /** + * Limit how many place_regions to delete. + */ + limit?: number +} + +/** + * place_regions without action + */ +export type place_regionsDefaultArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null +} diff --git a/server/src/generated/prisma/models/place_tags.ts b/server/src/generated/prisma/models/place_tags.ts new file mode 100644 index 00000000..7d770abe --- /dev/null +++ b/server/src/generated/prisma/models/place_tags.ts @@ -0,0 +1,1395 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `place_tags` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model place_tags + * + */ +export type place_tagsModel = runtime.Types.Result.DefaultSelection + +export type AggregatePlace_tags = { + _count: Place_tagsCountAggregateOutputType | null + _avg: Place_tagsAvgAggregateOutputType | null + _sum: Place_tagsSumAggregateOutputType | null + _min: Place_tagsMinAggregateOutputType | null + _max: Place_tagsMaxAggregateOutputType | null +} + +export type Place_tagsAvgAggregateOutputType = { + place_id: number | null + tag_id: number | null +} + +export type Place_tagsSumAggregateOutputType = { + place_id: number | null + tag_id: number | null +} + +export type Place_tagsMinAggregateOutputType = { + place_id: number | null + tag_id: number | null +} + +export type Place_tagsMaxAggregateOutputType = { + place_id: number | null + tag_id: number | null +} + +export type Place_tagsCountAggregateOutputType = { + place_id: number + tag_id: number + _all: number +} + + +export type Place_tagsAvgAggregateInputType = { + place_id?: true + tag_id?: true +} + +export type Place_tagsSumAggregateInputType = { + place_id?: true + tag_id?: true +} + +export type Place_tagsMinAggregateInputType = { + place_id?: true + tag_id?: true +} + +export type Place_tagsMaxAggregateInputType = { + place_id?: true + tag_id?: true +} + +export type Place_tagsCountAggregateInputType = { + place_id?: true + tag_id?: true + _all?: true +} + +export type Place_tagsAggregateArgs = { + /** + * Filter which place_tags to aggregate. + */ + where?: Prisma.place_tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_tags to fetch. + */ + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.place_tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned place_tags + **/ + _count?: true | Place_tagsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Place_tagsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Place_tagsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Place_tagsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Place_tagsMaxAggregateInputType +} + +export type GetPlace_tagsAggregateType = { + [P in keyof T & keyof AggregatePlace_tags]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type place_tagsGroupByArgs = { + where?: Prisma.place_tagsWhereInput + orderBy?: Prisma.place_tagsOrderByWithAggregationInput | Prisma.place_tagsOrderByWithAggregationInput[] + by: Prisma.Place_tagsScalarFieldEnum[] | Prisma.Place_tagsScalarFieldEnum + having?: Prisma.place_tagsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Place_tagsCountAggregateInputType | true + _avg?: Place_tagsAvgAggregateInputType + _sum?: Place_tagsSumAggregateInputType + _min?: Place_tagsMinAggregateInputType + _max?: Place_tagsMaxAggregateInputType +} + +export type Place_tagsGroupByOutputType = { + place_id: number + tag_id: number + _count: Place_tagsCountAggregateOutputType | null + _avg: Place_tagsAvgAggregateOutputType | null + _sum: Place_tagsSumAggregateOutputType | null + _min: Place_tagsMinAggregateOutputType | null + _max: Place_tagsMaxAggregateOutputType | null +} + +export type GetPlace_tagsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Place_tagsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type place_tagsWhereInput = { + AND?: Prisma.place_tagsWhereInput | Prisma.place_tagsWhereInput[] + OR?: Prisma.place_tagsWhereInput[] + NOT?: Prisma.place_tagsWhereInput | Prisma.place_tagsWhereInput[] + place_id?: Prisma.IntFilter<"place_tags"> | number + tag_id?: Prisma.IntFilter<"place_tags"> | number + tags?: Prisma.XOR + places?: Prisma.XOR +} + +export type place_tagsOrderByWithRelationInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder + tags?: Prisma.tagsOrderByWithRelationInput + places?: Prisma.placesOrderByWithRelationInput +} + +export type place_tagsWhereUniqueInput = Prisma.AtLeast<{ + place_id_tag_id?: Prisma.place_tagsPlace_idTag_idCompoundUniqueInput + AND?: Prisma.place_tagsWhereInput | Prisma.place_tagsWhereInput[] + OR?: Prisma.place_tagsWhereInput[] + NOT?: Prisma.place_tagsWhereInput | Prisma.place_tagsWhereInput[] + place_id?: Prisma.IntFilter<"place_tags"> | number + tag_id?: Prisma.IntFilter<"place_tags"> | number + tags?: Prisma.XOR + places?: Prisma.XOR +}, "place_id_tag_id"> + +export type place_tagsOrderByWithAggregationInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder + _count?: Prisma.place_tagsCountOrderByAggregateInput + _avg?: Prisma.place_tagsAvgOrderByAggregateInput + _max?: Prisma.place_tagsMaxOrderByAggregateInput + _min?: Prisma.place_tagsMinOrderByAggregateInput + _sum?: Prisma.place_tagsSumOrderByAggregateInput +} + +export type place_tagsScalarWhereWithAggregatesInput = { + AND?: Prisma.place_tagsScalarWhereWithAggregatesInput | Prisma.place_tagsScalarWhereWithAggregatesInput[] + OR?: Prisma.place_tagsScalarWhereWithAggregatesInput[] + NOT?: Prisma.place_tagsScalarWhereWithAggregatesInput | Prisma.place_tagsScalarWhereWithAggregatesInput[] + place_id?: Prisma.IntWithAggregatesFilter<"place_tags"> | number + tag_id?: Prisma.IntWithAggregatesFilter<"place_tags"> | number +} + +export type place_tagsCreateInput = { + tags: Prisma.tagsCreateNestedOneWithoutPlace_tagsInput + places: Prisma.placesCreateNestedOneWithoutPlace_tagsInput +} + +export type place_tagsUncheckedCreateInput = { + place_id: number + tag_id: number +} + +export type place_tagsUpdateInput = { + tags?: Prisma.tagsUpdateOneRequiredWithoutPlace_tagsNestedInput + places?: Prisma.placesUpdateOneRequiredWithoutPlace_tagsNestedInput +} + +export type place_tagsUncheckedUpdateInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number + tag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_tagsCreateManyInput = { + place_id: number + tag_id: number +} + +export type place_tagsUpdateManyMutationInput = { + +} + +export type place_tagsUncheckedUpdateManyInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number + tag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_tagsPlace_idTag_idCompoundUniqueInput = { + place_id: number + tag_id: number +} + +export type place_tagsCountOrderByAggregateInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder +} + +export type place_tagsAvgOrderByAggregateInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder +} + +export type place_tagsMaxOrderByAggregateInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder +} + +export type place_tagsMinOrderByAggregateInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder +} + +export type place_tagsSumOrderByAggregateInput = { + place_id?: Prisma.SortOrder + tag_id?: Prisma.SortOrder +} + +export type Place_tagsListRelationFilter = { + every?: Prisma.place_tagsWhereInput + some?: Prisma.place_tagsWhereInput + none?: Prisma.place_tagsWhereInput +} + +export type place_tagsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type place_tagsCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutPlacesInput[] | Prisma.place_tagsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutPlacesInput | Prisma.place_tagsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.place_tagsCreateManyPlacesInputEnvelope + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] +} + +export type place_tagsUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutPlacesInput[] | Prisma.place_tagsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutPlacesInput | Prisma.place_tagsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.place_tagsCreateManyPlacesInputEnvelope + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] +} + +export type place_tagsUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutPlacesInput[] | Prisma.place_tagsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutPlacesInput | Prisma.place_tagsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.place_tagsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.place_tagsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.place_tagsCreateManyPlacesInputEnvelope + set?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + disconnect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + delete?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + update?: Prisma.place_tagsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.place_tagsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.place_tagsUpdateManyWithWhereWithoutPlacesInput | Prisma.place_tagsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] +} + +export type place_tagsUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutPlacesInput[] | Prisma.place_tagsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutPlacesInput | Prisma.place_tagsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.place_tagsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.place_tagsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.place_tagsCreateManyPlacesInputEnvelope + set?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + disconnect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + delete?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + update?: Prisma.place_tagsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.place_tagsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.place_tagsUpdateManyWithWhereWithoutPlacesInput | Prisma.place_tagsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] +} + +export type place_tagsCreateNestedManyWithoutTagsInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutTagsInput[] | Prisma.place_tagsUncheckedCreateWithoutTagsInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutTagsInput | Prisma.place_tagsCreateOrConnectWithoutTagsInput[] + createMany?: Prisma.place_tagsCreateManyTagsInputEnvelope + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] +} + +export type place_tagsUncheckedCreateNestedManyWithoutTagsInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutTagsInput[] | Prisma.place_tagsUncheckedCreateWithoutTagsInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutTagsInput | Prisma.place_tagsCreateOrConnectWithoutTagsInput[] + createMany?: Prisma.place_tagsCreateManyTagsInputEnvelope + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] +} + +export type place_tagsUpdateManyWithoutTagsNestedInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutTagsInput[] | Prisma.place_tagsUncheckedCreateWithoutTagsInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutTagsInput | Prisma.place_tagsCreateOrConnectWithoutTagsInput[] + upsert?: Prisma.place_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.place_tagsUpsertWithWhereUniqueWithoutTagsInput[] + createMany?: Prisma.place_tagsCreateManyTagsInputEnvelope + set?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + disconnect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + delete?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + update?: Prisma.place_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.place_tagsUpdateWithWhereUniqueWithoutTagsInput[] + updateMany?: Prisma.place_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.place_tagsUpdateManyWithWhereWithoutTagsInput[] + deleteMany?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] +} + +export type place_tagsUncheckedUpdateManyWithoutTagsNestedInput = { + create?: Prisma.XOR | Prisma.place_tagsCreateWithoutTagsInput[] | Prisma.place_tagsUncheckedCreateWithoutTagsInput[] + connectOrCreate?: Prisma.place_tagsCreateOrConnectWithoutTagsInput | Prisma.place_tagsCreateOrConnectWithoutTagsInput[] + upsert?: Prisma.place_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.place_tagsUpsertWithWhereUniqueWithoutTagsInput[] + createMany?: Prisma.place_tagsCreateManyTagsInputEnvelope + set?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + disconnect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + delete?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + connect?: Prisma.place_tagsWhereUniqueInput | Prisma.place_tagsWhereUniqueInput[] + update?: Prisma.place_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.place_tagsUpdateWithWhereUniqueWithoutTagsInput[] + updateMany?: Prisma.place_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.place_tagsUpdateManyWithWhereWithoutTagsInput[] + deleteMany?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] +} + +export type place_tagsCreateWithoutPlacesInput = { + tags: Prisma.tagsCreateNestedOneWithoutPlace_tagsInput +} + +export type place_tagsUncheckedCreateWithoutPlacesInput = { + tag_id: number +} + +export type place_tagsCreateOrConnectWithoutPlacesInput = { + where: Prisma.place_tagsWhereUniqueInput + create: Prisma.XOR +} + +export type place_tagsCreateManyPlacesInputEnvelope = { + data: Prisma.place_tagsCreateManyPlacesInput | Prisma.place_tagsCreateManyPlacesInput[] +} + +export type place_tagsUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.place_tagsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type place_tagsUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.place_tagsWhereUniqueInput + data: Prisma.XOR +} + +export type place_tagsUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.place_tagsScalarWhereInput + data: Prisma.XOR +} + +export type place_tagsScalarWhereInput = { + AND?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] + OR?: Prisma.place_tagsScalarWhereInput[] + NOT?: Prisma.place_tagsScalarWhereInput | Prisma.place_tagsScalarWhereInput[] + place_id?: Prisma.IntFilter<"place_tags"> | number + tag_id?: Prisma.IntFilter<"place_tags"> | number +} + +export type place_tagsCreateWithoutTagsInput = { + places: Prisma.placesCreateNestedOneWithoutPlace_tagsInput +} + +export type place_tagsUncheckedCreateWithoutTagsInput = { + place_id: number +} + +export type place_tagsCreateOrConnectWithoutTagsInput = { + where: Prisma.place_tagsWhereUniqueInput + create: Prisma.XOR +} + +export type place_tagsCreateManyTagsInputEnvelope = { + data: Prisma.place_tagsCreateManyTagsInput | Prisma.place_tagsCreateManyTagsInput[] +} + +export type place_tagsUpsertWithWhereUniqueWithoutTagsInput = { + where: Prisma.place_tagsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type place_tagsUpdateWithWhereUniqueWithoutTagsInput = { + where: Prisma.place_tagsWhereUniqueInput + data: Prisma.XOR +} + +export type place_tagsUpdateManyWithWhereWithoutTagsInput = { + where: Prisma.place_tagsScalarWhereInput + data: Prisma.XOR +} + +export type place_tagsCreateManyPlacesInput = { + tag_id: number +} + +export type place_tagsUpdateWithoutPlacesInput = { + tags?: Prisma.tagsUpdateOneRequiredWithoutPlace_tagsNestedInput +} + +export type place_tagsUncheckedUpdateWithoutPlacesInput = { + tag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_tagsUncheckedUpdateManyWithoutPlacesInput = { + tag_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_tagsCreateManyTagsInput = { + place_id: number +} + +export type place_tagsUpdateWithoutTagsInput = { + places?: Prisma.placesUpdateOneRequiredWithoutPlace_tagsNestedInput +} + +export type place_tagsUncheckedUpdateWithoutTagsInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type place_tagsUncheckedUpdateManyWithoutTagsInput = { + place_id?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type place_tagsSelect = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + tag_id?: boolean + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_tags"]> + +export type place_tagsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + tag_id?: boolean + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_tags"]> + +export type place_tagsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + place_id?: boolean + tag_id?: boolean + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +}, ExtArgs["result"]["place_tags"]> + +export type place_tagsSelectScalar = { + place_id?: boolean + tag_id?: boolean +} + +export type place_tagsOmit = runtime.Types.Extensions.GetOmit<"place_id" | "tag_id", ExtArgs["result"]["place_tags"]> +export type place_tagsInclude = { + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +} +export type place_tagsIncludeCreateManyAndReturn = { + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +} +export type place_tagsIncludeUpdateManyAndReturn = { + tags?: boolean | Prisma.tagsDefaultArgs + places?: boolean | Prisma.placesDefaultArgs +} + +export type $place_tagsPayload = { + name: "place_tags" + objects: { + tags: Prisma.$tagsPayload + places: Prisma.$placesPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + place_id: number + tag_id: number + }, ExtArgs["result"]["place_tags"]> + composites: {} +} + +export type place_tagsGetPayload = runtime.Types.Result.GetResult + +export type place_tagsCountArgs = + Omit & { + select?: Place_tagsCountAggregateInputType | true + } + +export interface place_tagsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['place_tags'], meta: { name: 'place_tags' } } + /** + * Find zero or one Place_tags that matches the filter. + * @param {place_tagsFindUniqueArgs} args - Arguments to find a Place_tags + * @example + * // Get one Place_tags + * const place_tags = await prisma.place_tags.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Place_tags that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {place_tagsFindUniqueOrThrowArgs} args - Arguments to find a Place_tags + * @example + * // Get one Place_tags + * const place_tags = await prisma.place_tags.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_tags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsFindFirstArgs} args - Arguments to find a Place_tags + * @example + * // Get one Place_tags + * const place_tags = await prisma.place_tags.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Place_tags that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsFindFirstOrThrowArgs} args - Arguments to find a Place_tags + * @example + * // Get one Place_tags + * const place_tags = await prisma.place_tags.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Place_tags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Place_tags + * const place_tags = await prisma.place_tags.findMany() + * + * // Get first 10 Place_tags + * const place_tags = await prisma.place_tags.findMany({ take: 10 }) + * + * // Only select the `place_id` + * const place_tagsWithPlace_idOnly = await prisma.place_tags.findMany({ select: { place_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Place_tags. + * @param {place_tagsCreateArgs} args - Arguments to create a Place_tags. + * @example + * // Create one Place_tags + * const Place_tags = await prisma.place_tags.create({ + * data: { + * // ... data to create a Place_tags + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Place_tags. + * @param {place_tagsCreateManyArgs} args - Arguments to create many Place_tags. + * @example + * // Create many Place_tags + * const place_tags = await prisma.place_tags.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Place_tags and returns the data saved in the database. + * @param {place_tagsCreateManyAndReturnArgs} args - Arguments to create many Place_tags. + * @example + * // Create many Place_tags + * const place_tags = await prisma.place_tags.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Place_tags and only return the `place_id` + * const place_tagsWithPlace_idOnly = await prisma.place_tags.createManyAndReturn({ + * select: { place_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Place_tags. + * @param {place_tagsDeleteArgs} args - Arguments to delete one Place_tags. + * @example + * // Delete one Place_tags + * const Place_tags = await prisma.place_tags.delete({ + * where: { + * // ... filter to delete one Place_tags + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Place_tags. + * @param {place_tagsUpdateArgs} args - Arguments to update one Place_tags. + * @example + * // Update one Place_tags + * const place_tags = await prisma.place_tags.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Place_tags. + * @param {place_tagsDeleteManyArgs} args - Arguments to filter Place_tags to delete. + * @example + * // Delete a few Place_tags + * const { count } = await prisma.place_tags.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Place_tags + * const place_tags = await prisma.place_tags.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Place_tags and returns the data updated in the database. + * @param {place_tagsUpdateManyAndReturnArgs} args - Arguments to update many Place_tags. + * @example + * // Update many Place_tags + * const place_tags = await prisma.place_tags.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Place_tags and only return the `place_id` + * const place_tagsWithPlace_idOnly = await prisma.place_tags.updateManyAndReturn({ + * select: { place_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Place_tags. + * @param {place_tagsUpsertArgs} args - Arguments to update or create a Place_tags. + * @example + * // Update or create a Place_tags + * const place_tags = await prisma.place_tags.upsert({ + * create: { + * // ... data to create a Place_tags + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Place_tags we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__place_tagsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Place_tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsCountArgs} args - Arguments to filter Place_tags to count. + * @example + * // Count the number of Place_tags + * const count = await prisma.place_tags.count({ + * where: { + * // ... the filter for the Place_tags we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Place_tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Place_tagsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Place_tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {place_tagsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends place_tagsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: place_tagsGroupByArgs['orderBy'] } + : { orderBy?: place_tagsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPlace_tagsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the place_tags model + */ +readonly fields: place_tagsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for place_tags. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__place_tagsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + tags = {}>(args?: Prisma.Subset>): Prisma.Prisma__tagsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the place_tags model + */ +export interface place_tagsFieldRefs { + readonly place_id: Prisma.FieldRef<"place_tags", 'Int'> + readonly tag_id: Prisma.FieldRef<"place_tags", 'Int'> +} + + +// Custom InputTypes +/** + * place_tags findUnique + */ +export type place_tagsFindUniqueArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter, which place_tags to fetch. + */ + where: Prisma.place_tagsWhereUniqueInput +} + +/** + * place_tags findUniqueOrThrow + */ +export type place_tagsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter, which place_tags to fetch. + */ + where: Prisma.place_tagsWhereUniqueInput +} + +/** + * place_tags findFirst + */ +export type place_tagsFindFirstArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter, which place_tags to fetch. + */ + where?: Prisma.place_tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_tags to fetch. + */ + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_tags. + */ + cursor?: Prisma.place_tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_tags. + */ + distinct?: Prisma.Place_tagsScalarFieldEnum | Prisma.Place_tagsScalarFieldEnum[] +} + +/** + * place_tags findFirstOrThrow + */ +export type place_tagsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter, which place_tags to fetch. + */ + where?: Prisma.place_tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_tags to fetch. + */ + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for place_tags. + */ + cursor?: Prisma.place_tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_tags. + */ + distinct?: Prisma.Place_tagsScalarFieldEnum | Prisma.Place_tagsScalarFieldEnum[] +} + +/** + * place_tags findMany + */ +export type place_tagsFindManyArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter, which place_tags to fetch. + */ + where?: Prisma.place_tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of place_tags to fetch. + */ + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing place_tags. + */ + cursor?: Prisma.place_tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` place_tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` place_tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of place_tags. + */ + distinct?: Prisma.Place_tagsScalarFieldEnum | Prisma.Place_tagsScalarFieldEnum[] +} + +/** + * place_tags create + */ +export type place_tagsCreateArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * The data needed to create a place_tags. + */ + data: Prisma.XOR +} + +/** + * place_tags createMany + */ +export type place_tagsCreateManyArgs = { + /** + * The data used to create many place_tags. + */ + data: Prisma.place_tagsCreateManyInput | Prisma.place_tagsCreateManyInput[] +} + +/** + * place_tags createManyAndReturn + */ +export type place_tagsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * The data used to create many place_tags. + */ + data: Prisma.place_tagsCreateManyInput | Prisma.place_tagsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsIncludeCreateManyAndReturn | null +} + +/** + * place_tags update + */ +export type place_tagsUpdateArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * The data needed to update a place_tags. + */ + data: Prisma.XOR + /** + * Choose, which place_tags to update. + */ + where: Prisma.place_tagsWhereUniqueInput +} + +/** + * place_tags updateMany + */ +export type place_tagsUpdateManyArgs = { + /** + * The data used to update place_tags. + */ + data: Prisma.XOR + /** + * Filter which place_tags to update + */ + where?: Prisma.place_tagsWhereInput + /** + * Limit how many place_tags to update. + */ + limit?: number +} + +/** + * place_tags updateManyAndReturn + */ +export type place_tagsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * The data used to update place_tags. + */ + data: Prisma.XOR + /** + * Filter which place_tags to update + */ + where?: Prisma.place_tagsWhereInput + /** + * Limit how many place_tags to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsIncludeUpdateManyAndReturn | null +} + +/** + * place_tags upsert + */ +export type place_tagsUpsertArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * The filter to search for the place_tags to update in case it exists. + */ + where: Prisma.place_tagsWhereUniqueInput + /** + * In case the place_tags found by the `where` argument doesn't exist, create a new place_tags with this data. + */ + create: Prisma.XOR + /** + * In case the place_tags was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * place_tags delete + */ +export type place_tagsDeleteArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + /** + * Filter which place_tags to delete. + */ + where: Prisma.place_tagsWhereUniqueInput +} + +/** + * place_tags deleteMany + */ +export type place_tagsDeleteManyArgs = { + /** + * Filter which place_tags to delete + */ + where?: Prisma.place_tagsWhereInput + /** + * Limit how many place_tags to delete. + */ + limit?: number +} + +/** + * place_tags without action + */ +export type place_tagsDefaultArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null +} diff --git a/server/src/generated/prisma/models/places.ts b/server/src/generated/prisma/models/places.ts new file mode 100644 index 00000000..76e74eef --- /dev/null +++ b/server/src/generated/prisma/models/places.ts @@ -0,0 +1,4496 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `places` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model places + * + */ +export type placesModel = runtime.Types.Result.DefaultSelection + +export type AggregatePlaces = { + _count: PlacesCountAggregateOutputType | null + _avg: PlacesAvgAggregateOutputType | null + _sum: PlacesSumAggregateOutputType | null + _min: PlacesMinAggregateOutputType | null + _max: PlacesMaxAggregateOutputType | null +} + +export type PlacesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + lat: number | null + lng: number | null + category_id: number | null + price: number | null + duration_minutes: number | null +} + +export type PlacesSumAggregateOutputType = { + id: number | null + trip_id: number | null + lat: number | null + lng: number | null + category_id: number | null + price: number | null + duration_minutes: number | null +} + +export type PlacesMinAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + description: string | null + lat: number | null + lng: number | null + address: string | null + category_id: number | null + price: number | null + currency: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + place_time: string | null + end_time: string | null + duration_minutes: number | null + notes: string | null + image_url: string | null + google_place_id: string | null + website: string | null + phone: string | null + transport_mode: string | null + created_at: Date | null + updated_at: Date | null + osm_id: string | null + route_geometry: string | null +} + +export type PlacesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + description: string | null + lat: number | null + lng: number | null + address: string | null + category_id: number | null + price: number | null + currency: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + place_time: string | null + end_time: string | null + duration_minutes: number | null + notes: string | null + image_url: string | null + google_place_id: string | null + website: string | null + phone: string | null + transport_mode: string | null + created_at: Date | null + updated_at: Date | null + osm_id: string | null + route_geometry: string | null +} + +export type PlacesCountAggregateOutputType = { + id: number + trip_id: number + name: number + description: number + lat: number + lng: number + address: number + category_id: number + price: number + currency: number + reservation_status: number + reservation_notes: number + reservation_datetime: number + place_time: number + end_time: number + duration_minutes: number + notes: number + image_url: number + google_place_id: number + website: number + phone: number + transport_mode: number + created_at: number + updated_at: number + osm_id: number + route_geometry: number + _all: number +} + + +export type PlacesAvgAggregateInputType = { + id?: true + trip_id?: true + lat?: true + lng?: true + category_id?: true + price?: true + duration_minutes?: true +} + +export type PlacesSumAggregateInputType = { + id?: true + trip_id?: true + lat?: true + lng?: true + category_id?: true + price?: true + duration_minutes?: true +} + +export type PlacesMinAggregateInputType = { + id?: true + trip_id?: true + name?: true + description?: true + lat?: true + lng?: true + address?: true + category_id?: true + price?: true + currency?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + place_time?: true + end_time?: true + duration_minutes?: true + notes?: true + image_url?: true + google_place_id?: true + website?: true + phone?: true + transport_mode?: true + created_at?: true + updated_at?: true + osm_id?: true + route_geometry?: true +} + +export type PlacesMaxAggregateInputType = { + id?: true + trip_id?: true + name?: true + description?: true + lat?: true + lng?: true + address?: true + category_id?: true + price?: true + currency?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + place_time?: true + end_time?: true + duration_minutes?: true + notes?: true + image_url?: true + google_place_id?: true + website?: true + phone?: true + transport_mode?: true + created_at?: true + updated_at?: true + osm_id?: true + route_geometry?: true +} + +export type PlacesCountAggregateInputType = { + id?: true + trip_id?: true + name?: true + description?: true + lat?: true + lng?: true + address?: true + category_id?: true + price?: true + currency?: true + reservation_status?: true + reservation_notes?: true + reservation_datetime?: true + place_time?: true + end_time?: true + duration_minutes?: true + notes?: true + image_url?: true + google_place_id?: true + website?: true + phone?: true + transport_mode?: true + created_at?: true + updated_at?: true + osm_id?: true + route_geometry?: true + _all?: true +} + +export type PlacesAggregateArgs = { + /** + * Filter which places to aggregate. + */ + where?: Prisma.placesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of places to fetch. + */ + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.placesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` places from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` places. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned places + **/ + _count?: true | PlacesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: PlacesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: PlacesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: PlacesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: PlacesMaxAggregateInputType +} + +export type GetPlacesAggregateType = { + [P in keyof T & keyof AggregatePlaces]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type placesGroupByArgs = { + where?: Prisma.placesWhereInput + orderBy?: Prisma.placesOrderByWithAggregationInput | Prisma.placesOrderByWithAggregationInput[] + by: Prisma.PlacesScalarFieldEnum[] | Prisma.PlacesScalarFieldEnum + having?: Prisma.placesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: PlacesCountAggregateInputType | true + _avg?: PlacesAvgAggregateInputType + _sum?: PlacesSumAggregateInputType + _min?: PlacesMinAggregateInputType + _max?: PlacesMaxAggregateInputType +} + +export type PlacesGroupByOutputType = { + id: number + trip_id: number + name: string + description: string | null + lat: number | null + lng: number | null + address: string | null + category_id: number | null + price: number | null + currency: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + place_time: string | null + end_time: string | null + duration_minutes: number | null + notes: string | null + image_url: string | null + google_place_id: string | null + website: string | null + phone: string | null + transport_mode: string | null + created_at: Date | null + updated_at: Date | null + osm_id: string | null + route_geometry: string | null + _count: PlacesCountAggregateOutputType | null + _avg: PlacesAvgAggregateOutputType | null + _sum: PlacesSumAggregateOutputType | null + _min: PlacesMinAggregateOutputType | null + _max: PlacesMaxAggregateOutputType | null +} + +export type GetPlacesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof PlacesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type placesWhereInput = { + AND?: Prisma.placesWhereInput | Prisma.placesWhereInput[] + OR?: Prisma.placesWhereInput[] + NOT?: Prisma.placesWhereInput | Prisma.placesWhereInput[] + id?: Prisma.IntFilter<"places"> | number + trip_id?: Prisma.IntFilter<"places"> | number + name?: Prisma.StringFilter<"places"> | string + description?: Prisma.StringNullableFilter<"places"> | string | null + lat?: Prisma.FloatNullableFilter<"places"> | number | null + lng?: Prisma.FloatNullableFilter<"places"> | number | null + address?: Prisma.StringNullableFilter<"places"> | string | null + category_id?: Prisma.IntNullableFilter<"places"> | number | null + price?: Prisma.FloatNullableFilter<"places"> | number | null + currency?: Prisma.StringNullableFilter<"places"> | string | null + reservation_status?: Prisma.StringNullableFilter<"places"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"places"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"places"> | string | null + place_time?: Prisma.StringNullableFilter<"places"> | string | null + end_time?: Prisma.StringNullableFilter<"places"> | string | null + duration_minutes?: Prisma.IntNullableFilter<"places"> | number | null + notes?: Prisma.StringNullableFilter<"places"> | string | null + image_url?: Prisma.StringNullableFilter<"places"> | string | null + google_place_id?: Prisma.StringNullableFilter<"places"> | string | null + website?: Prisma.StringNullableFilter<"places"> | string | null + phone?: Prisma.StringNullableFilter<"places"> | string | null + transport_mode?: Prisma.StringNullableFilter<"places"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + osm_id?: Prisma.StringNullableFilter<"places"> | string | null + route_geometry?: Prisma.StringNullableFilter<"places"> | string | null + day_accommodations?: Prisma.Day_accommodationsListRelationFilter + day_assignments?: Prisma.Day_assignmentsListRelationFilter + file_links?: Prisma.File_linksListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + photos?: Prisma.PhotosListRelationFilter + place_regions?: Prisma.XOR | null + place_tags?: Prisma.Place_tagsListRelationFilter + categories?: Prisma.XOR | null + trips?: Prisma.XOR + reservations?: Prisma.ReservationsListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter +} + +export type placesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + lat?: Prisma.SortOrderInput | Prisma.SortOrder + lng?: Prisma.SortOrderInput | Prisma.SortOrder + address?: Prisma.SortOrderInput | Prisma.SortOrder + category_id?: Prisma.SortOrderInput | Prisma.SortOrder + price?: Prisma.SortOrderInput | Prisma.SortOrder + currency?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_status?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_datetime?: Prisma.SortOrderInput | Prisma.SortOrder + place_time?: Prisma.SortOrderInput | Prisma.SortOrder + end_time?: Prisma.SortOrderInput | Prisma.SortOrder + duration_minutes?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + image_url?: Prisma.SortOrderInput | Prisma.SortOrder + google_place_id?: Prisma.SortOrderInput | Prisma.SortOrder + website?: Prisma.SortOrderInput | Prisma.SortOrder + phone?: Prisma.SortOrderInput | Prisma.SortOrder + transport_mode?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + osm_id?: Prisma.SortOrderInput | Prisma.SortOrder + route_geometry?: Prisma.SortOrderInput | Prisma.SortOrder + day_accommodations?: Prisma.day_accommodationsOrderByRelationAggregateInput + day_assignments?: Prisma.day_assignmentsOrderByRelationAggregateInput + file_links?: Prisma.file_linksOrderByRelationAggregateInput + journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput + photos?: Prisma.photosOrderByRelationAggregateInput + place_regions?: Prisma.place_regionsOrderByWithRelationInput + place_tags?: Prisma.place_tagsOrderByRelationAggregateInput + categories?: Prisma.categoriesOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + reservations?: Prisma.reservationsOrderByRelationAggregateInput + trip_files?: Prisma.trip_filesOrderByRelationAggregateInput +} + +export type placesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.placesWhereInput | Prisma.placesWhereInput[] + OR?: Prisma.placesWhereInput[] + NOT?: Prisma.placesWhereInput | Prisma.placesWhereInput[] + trip_id?: Prisma.IntFilter<"places"> | number + name?: Prisma.StringFilter<"places"> | string + description?: Prisma.StringNullableFilter<"places"> | string | null + lat?: Prisma.FloatNullableFilter<"places"> | number | null + lng?: Prisma.FloatNullableFilter<"places"> | number | null + address?: Prisma.StringNullableFilter<"places"> | string | null + category_id?: Prisma.IntNullableFilter<"places"> | number | null + price?: Prisma.FloatNullableFilter<"places"> | number | null + currency?: Prisma.StringNullableFilter<"places"> | string | null + reservation_status?: Prisma.StringNullableFilter<"places"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"places"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"places"> | string | null + place_time?: Prisma.StringNullableFilter<"places"> | string | null + end_time?: Prisma.StringNullableFilter<"places"> | string | null + duration_minutes?: Prisma.IntNullableFilter<"places"> | number | null + notes?: Prisma.StringNullableFilter<"places"> | string | null + image_url?: Prisma.StringNullableFilter<"places"> | string | null + google_place_id?: Prisma.StringNullableFilter<"places"> | string | null + website?: Prisma.StringNullableFilter<"places"> | string | null + phone?: Prisma.StringNullableFilter<"places"> | string | null + transport_mode?: Prisma.StringNullableFilter<"places"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + osm_id?: Prisma.StringNullableFilter<"places"> | string | null + route_geometry?: Prisma.StringNullableFilter<"places"> | string | null + day_accommodations?: Prisma.Day_accommodationsListRelationFilter + day_assignments?: Prisma.Day_assignmentsListRelationFilter + file_links?: Prisma.File_linksListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + photos?: Prisma.PhotosListRelationFilter + place_regions?: Prisma.XOR | null + place_tags?: Prisma.Place_tagsListRelationFilter + categories?: Prisma.XOR | null + trips?: Prisma.XOR + reservations?: Prisma.ReservationsListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter +}, "id"> + +export type placesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + lat?: Prisma.SortOrderInput | Prisma.SortOrder + lng?: Prisma.SortOrderInput | Prisma.SortOrder + address?: Prisma.SortOrderInput | Prisma.SortOrder + category_id?: Prisma.SortOrderInput | Prisma.SortOrder + price?: Prisma.SortOrderInput | Prisma.SortOrder + currency?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_status?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_notes?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_datetime?: Prisma.SortOrderInput | Prisma.SortOrder + place_time?: Prisma.SortOrderInput | Prisma.SortOrder + end_time?: Prisma.SortOrderInput | Prisma.SortOrder + duration_minutes?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + image_url?: Prisma.SortOrderInput | Prisma.SortOrder + google_place_id?: Prisma.SortOrderInput | Prisma.SortOrder + website?: Prisma.SortOrderInput | Prisma.SortOrder + phone?: Prisma.SortOrderInput | Prisma.SortOrder + transport_mode?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + osm_id?: Prisma.SortOrderInput | Prisma.SortOrder + route_geometry?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.placesCountOrderByAggregateInput + _avg?: Prisma.placesAvgOrderByAggregateInput + _max?: Prisma.placesMaxOrderByAggregateInput + _min?: Prisma.placesMinOrderByAggregateInput + _sum?: Prisma.placesSumOrderByAggregateInput +} + +export type placesScalarWhereWithAggregatesInput = { + AND?: Prisma.placesScalarWhereWithAggregatesInput | Prisma.placesScalarWhereWithAggregatesInput[] + OR?: Prisma.placesScalarWhereWithAggregatesInput[] + NOT?: Prisma.placesScalarWhereWithAggregatesInput | Prisma.placesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"places"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"places"> | number + name?: Prisma.StringWithAggregatesFilter<"places"> | string + description?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + lat?: Prisma.FloatNullableWithAggregatesFilter<"places"> | number | null + lng?: Prisma.FloatNullableWithAggregatesFilter<"places"> | number | null + address?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + category_id?: Prisma.IntNullableWithAggregatesFilter<"places"> | number | null + price?: Prisma.FloatNullableWithAggregatesFilter<"places"> | number | null + currency?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + reservation_status?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + reservation_notes?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + reservation_datetime?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + place_time?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + end_time?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + duration_minutes?: Prisma.IntNullableWithAggregatesFilter<"places"> | number | null + notes?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + image_url?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + google_place_id?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + website?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + phone?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + transport_mode?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"places"> | Date | string | null + updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"places"> | Date | string | null + osm_id?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null + route_geometry?: Prisma.StringNullableWithAggregatesFilter<"places"> | string | null +} + +export type placesCreateInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateManyInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null +} + +export type placesUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type placesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type PlacesListRelationFilter = { + every?: Prisma.placesWhereInput + some?: Prisma.placesWhereInput + none?: Prisma.placesWhereInput +} + +export type placesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type PlacesNullableScalarRelationFilter = { + is?: Prisma.placesWhereInput | null + isNot?: Prisma.placesWhereInput | null +} + +export type PlacesScalarRelationFilter = { + is?: Prisma.placesWhereInput + isNot?: Prisma.placesWhereInput +} + +export type placesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + address?: Prisma.SortOrder + category_id?: Prisma.SortOrder + price?: Prisma.SortOrder + currency?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + place_time?: Prisma.SortOrder + end_time?: Prisma.SortOrder + duration_minutes?: Prisma.SortOrder + notes?: Prisma.SortOrder + image_url?: Prisma.SortOrder + google_place_id?: Prisma.SortOrder + website?: Prisma.SortOrder + phone?: Prisma.SortOrder + transport_mode?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + osm_id?: Prisma.SortOrder + route_geometry?: Prisma.SortOrder +} + +export type placesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + category_id?: Prisma.SortOrder + price?: Prisma.SortOrder + duration_minutes?: Prisma.SortOrder +} + +export type placesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + address?: Prisma.SortOrder + category_id?: Prisma.SortOrder + price?: Prisma.SortOrder + currency?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + place_time?: Prisma.SortOrder + end_time?: Prisma.SortOrder + duration_minutes?: Prisma.SortOrder + notes?: Prisma.SortOrder + image_url?: Prisma.SortOrder + google_place_id?: Prisma.SortOrder + website?: Prisma.SortOrder + phone?: Prisma.SortOrder + transport_mode?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + osm_id?: Prisma.SortOrder + route_geometry?: Prisma.SortOrder +} + +export type placesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + description?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + address?: Prisma.SortOrder + category_id?: Prisma.SortOrder + price?: Prisma.SortOrder + currency?: Prisma.SortOrder + reservation_status?: Prisma.SortOrder + reservation_notes?: Prisma.SortOrder + reservation_datetime?: Prisma.SortOrder + place_time?: Prisma.SortOrder + end_time?: Prisma.SortOrder + duration_minutes?: Prisma.SortOrder + notes?: Prisma.SortOrder + image_url?: Prisma.SortOrder + google_place_id?: Prisma.SortOrder + website?: Prisma.SortOrder + phone?: Prisma.SortOrder + transport_mode?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + osm_id?: Prisma.SortOrder + route_geometry?: Prisma.SortOrder +} + +export type placesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + category_id?: Prisma.SortOrder + price?: Prisma.SortOrder + duration_minutes?: Prisma.SortOrder +} + +export type placesCreateNestedManyWithoutCategoriesInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutCategoriesInput[] | Prisma.placesUncheckedCreateWithoutCategoriesInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutCategoriesInput | Prisma.placesCreateOrConnectWithoutCategoriesInput[] + createMany?: Prisma.placesCreateManyCategoriesInputEnvelope + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] +} + +export type placesUncheckedCreateNestedManyWithoutCategoriesInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutCategoriesInput[] | Prisma.placesUncheckedCreateWithoutCategoriesInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutCategoriesInput | Prisma.placesCreateOrConnectWithoutCategoriesInput[] + createMany?: Prisma.placesCreateManyCategoriesInputEnvelope + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] +} + +export type placesUpdateManyWithoutCategoriesNestedInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutCategoriesInput[] | Prisma.placesUncheckedCreateWithoutCategoriesInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutCategoriesInput | Prisma.placesCreateOrConnectWithoutCategoriesInput[] + upsert?: Prisma.placesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.placesUpsertWithWhereUniqueWithoutCategoriesInput[] + createMany?: Prisma.placesCreateManyCategoriesInputEnvelope + set?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + disconnect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + delete?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + update?: Prisma.placesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.placesUpdateWithWhereUniqueWithoutCategoriesInput[] + updateMany?: Prisma.placesUpdateManyWithWhereWithoutCategoriesInput | Prisma.placesUpdateManyWithWhereWithoutCategoriesInput[] + deleteMany?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] +} + +export type placesUncheckedUpdateManyWithoutCategoriesNestedInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutCategoriesInput[] | Prisma.placesUncheckedCreateWithoutCategoriesInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutCategoriesInput | Prisma.placesCreateOrConnectWithoutCategoriesInput[] + upsert?: Prisma.placesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.placesUpsertWithWhereUniqueWithoutCategoriesInput[] + createMany?: Prisma.placesCreateManyCategoriesInputEnvelope + set?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + disconnect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + delete?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + update?: Prisma.placesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.placesUpdateWithWhereUniqueWithoutCategoriesInput[] + updateMany?: Prisma.placesUpdateManyWithWhereWithoutCategoriesInput | Prisma.placesUpdateManyWithWhereWithoutCategoriesInput[] + deleteMany?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] +} + +export type placesCreateNestedOneWithoutDay_accommodationsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutDay_accommodationsInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutDay_accommodationsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutDay_accommodationsInput + upsert?: Prisma.placesUpsertWithoutDay_accommodationsInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutDay_accommodationsInput> +} + +export type placesCreateNestedOneWithoutDay_assignmentsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutDay_assignmentsInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneRequiredWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutDay_assignmentsInput + upsert?: Prisma.placesUpsertWithoutDay_assignmentsInput + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutDay_assignmentsInput> +} + +export type placesCreateNestedOneWithoutFile_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutFile_linksInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutFile_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutFile_linksInput + upsert?: Prisma.placesUpsertWithoutFile_linksInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutFile_linksInput> +} + +export type placesCreateNestedOneWithoutJourney_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutJourney_entriesInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutJourney_entriesInput + upsert?: Prisma.placesUpsertWithoutJourney_entriesInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutJourney_entriesInput> +} + +export type placesCreateNestedOneWithoutPhotosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPhotosInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutPhotosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPhotosInput + upsert?: Prisma.placesUpsertWithoutPhotosInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutPhotosInput> +} + +export type placesCreateNestedOneWithoutPlace_regionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPlace_regionsInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneRequiredWithoutPlace_regionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPlace_regionsInput + upsert?: Prisma.placesUpsertWithoutPlace_regionsInput + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutPlace_regionsInput> +} + +export type placesCreateNestedOneWithoutPlace_tagsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPlace_tagsInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneRequiredWithoutPlace_tagsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutPlace_tagsInput + upsert?: Prisma.placesUpsertWithoutPlace_tagsInput + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutPlace_tagsInput> +} + +export type placesCreateNestedOneWithoutReservationsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutReservationsInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutReservationsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutReservationsInput + upsert?: Prisma.placesUpsertWithoutReservationsInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutReservationsInput> +} + +export type placesCreateNestedOneWithoutTrip_filesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTrip_filesInput + connect?: Prisma.placesWhereUniqueInput +} + +export type placesUpdateOneWithoutTrip_filesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTrip_filesInput + upsert?: Prisma.placesUpsertWithoutTrip_filesInput + disconnect?: Prisma.placesWhereInput | boolean + delete?: Prisma.placesWhereInput | boolean + connect?: Prisma.placesWhereUniqueInput + update?: Prisma.XOR, Prisma.placesUncheckedUpdateWithoutTrip_filesInput> +} + +export type placesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutTripsInput[] | Prisma.placesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTripsInput | Prisma.placesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.placesCreateManyTripsInputEnvelope + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] +} + +export type placesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutTripsInput[] | Prisma.placesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTripsInput | Prisma.placesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.placesCreateManyTripsInputEnvelope + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] +} + +export type placesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutTripsInput[] | Prisma.placesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTripsInput | Prisma.placesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.placesUpsertWithWhereUniqueWithoutTripsInput | Prisma.placesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.placesCreateManyTripsInputEnvelope + set?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + disconnect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + delete?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + update?: Prisma.placesUpdateWithWhereUniqueWithoutTripsInput | Prisma.placesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.placesUpdateManyWithWhereWithoutTripsInput | Prisma.placesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] +} + +export type placesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.placesCreateWithoutTripsInput[] | Prisma.placesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.placesCreateOrConnectWithoutTripsInput | Prisma.placesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.placesUpsertWithWhereUniqueWithoutTripsInput | Prisma.placesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.placesCreateManyTripsInputEnvelope + set?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + disconnect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + delete?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + connect?: Prisma.placesWhereUniqueInput | Prisma.placesWhereUniqueInput[] + update?: Prisma.placesUpdateWithWhereUniqueWithoutTripsInput | Prisma.placesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.placesUpdateManyWithWhereWithoutTripsInput | Prisma.placesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] +} + +export type placesCreateWithoutCategoriesInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutCategoriesInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutCategoriesInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesCreateManyCategoriesInputEnvelope = { + data: Prisma.placesCreateManyCategoriesInput | Prisma.placesCreateManyCategoriesInput[] +} + +export type placesUpsertWithWhereUniqueWithoutCategoriesInput = { + where: Prisma.placesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type placesUpdateWithWhereUniqueWithoutCategoriesInput = { + where: Prisma.placesWhereUniqueInput + data: Prisma.XOR +} + +export type placesUpdateManyWithWhereWithoutCategoriesInput = { + where: Prisma.placesScalarWhereInput + data: Prisma.XOR +} + +export type placesScalarWhereInput = { + AND?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] + OR?: Prisma.placesScalarWhereInput[] + NOT?: Prisma.placesScalarWhereInput | Prisma.placesScalarWhereInput[] + id?: Prisma.IntFilter<"places"> | number + trip_id?: Prisma.IntFilter<"places"> | number + name?: Prisma.StringFilter<"places"> | string + description?: Prisma.StringNullableFilter<"places"> | string | null + lat?: Prisma.FloatNullableFilter<"places"> | number | null + lng?: Prisma.FloatNullableFilter<"places"> | number | null + address?: Prisma.StringNullableFilter<"places"> | string | null + category_id?: Prisma.IntNullableFilter<"places"> | number | null + price?: Prisma.FloatNullableFilter<"places"> | number | null + currency?: Prisma.StringNullableFilter<"places"> | string | null + reservation_status?: Prisma.StringNullableFilter<"places"> | string | null + reservation_notes?: Prisma.StringNullableFilter<"places"> | string | null + reservation_datetime?: Prisma.StringNullableFilter<"places"> | string | null + place_time?: Prisma.StringNullableFilter<"places"> | string | null + end_time?: Prisma.StringNullableFilter<"places"> | string | null + duration_minutes?: Prisma.IntNullableFilter<"places"> | number | null + notes?: Prisma.StringNullableFilter<"places"> | string | null + image_url?: Prisma.StringNullableFilter<"places"> | string | null + google_place_id?: Prisma.StringNullableFilter<"places"> | string | null + website?: Prisma.StringNullableFilter<"places"> | string | null + phone?: Prisma.StringNullableFilter<"places"> | string | null + transport_mode?: Prisma.StringNullableFilter<"places"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"places"> | Date | string | null + osm_id?: Prisma.StringNullableFilter<"places"> | string | null + route_geometry?: Prisma.StringNullableFilter<"places"> | string | null +} + +export type placesCreateWithoutDay_accommodationsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutDay_accommodationsInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutDay_accommodationsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutDay_accommodationsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutDay_accommodationsInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutDay_accommodationsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutDay_accommodationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutDay_assignmentsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutDay_assignmentsInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutDay_assignmentsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutDay_assignmentsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutDay_assignmentsInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutDay_assignmentsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutFile_linksInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutFile_linksInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutFile_linksInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutFile_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutFile_linksInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutFile_linksInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutFile_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutJourney_entriesInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutJourney_entriesInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutJourney_entriesInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutJourney_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutJourney_entriesInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutJourney_entriesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutJourney_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutPhotosInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutPhotosInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutPhotosInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutPhotosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutPhotosInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutPhotosInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutPhotosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutPlace_regionsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutPlace_regionsInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutPlace_regionsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutPlace_regionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutPlace_regionsInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutPlace_regionsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutPlace_regionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutPlace_tagsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutPlace_tagsInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutPlace_tagsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutPlace_tagsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutPlace_tagsInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutPlace_tagsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutPlace_tagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutReservationsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutReservationsInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutReservationsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutReservationsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutReservationsInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutReservationsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutTrip_filesInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + trips: Prisma.tripsCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutTrip_filesInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesUpsertWithoutTrip_filesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.placesWhereInput +} + +export type placesUpdateToOneWithWhereWithoutTrip_filesInput = { + where?: Prisma.placesWhereInput + data: Prisma.XOR +} + +export type placesUpdateWithoutTrip_filesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesCreateWithoutTripsInput = { + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsCreateNestedManyWithoutPlacesInput + categories?: Prisma.categoriesCreateNestedOneWithoutPlacesInput + reservations?: Prisma.reservationsCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutPlacesInput +} + +export type placesUncheckedCreateWithoutTripsInput = { + id?: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutPlacesInput + day_assignments?: Prisma.day_assignmentsUncheckedCreateNestedManyWithoutPlacesInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutPlacesInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutPlacesInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutPlacesInput + place_regions?: Prisma.place_regionsUncheckedCreateNestedOneWithoutPlacesInput + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutPlacesInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutPlacesInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutPlacesInput +} + +export type placesCreateOrConnectWithoutTripsInput = { + where: Prisma.placesWhereUniqueInput + create: Prisma.XOR +} + +export type placesCreateManyTripsInputEnvelope = { + data: Prisma.placesCreateManyTripsInput | Prisma.placesCreateManyTripsInput[] +} + +export type placesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.placesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type placesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.placesWhereUniqueInput + data: Prisma.XOR +} + +export type placesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.placesScalarWhereInput + data: Prisma.XOR +} + +export type placesCreateManyCategoriesInput = { + id?: number + trip_id: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null +} + +export type placesUpdateWithoutCategoriesInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutCategoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateManyWithoutCategoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type placesCreateManyTripsInput = { + id?: number + name: string + description?: string | null + lat?: number | null + lng?: number | null + address?: string | null + category_id?: number | null + price?: number | null + currency?: string | null + reservation_status?: string | null + reservation_notes?: string | null + reservation_datetime?: string | null + place_time?: string | null + end_time?: string | null + duration_minutes?: number | null + notes?: string | null + image_url?: string | null + google_place_id?: string | null + website?: string | null + phone?: string | null + transport_mode?: string | null + created_at?: Date | string | null + updated_at?: Date | string | null + osm_id?: string | null + route_geometry?: string | null +} + +export type placesUpdateWithoutTripsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUpdateManyWithoutPlacesNestedInput + categories?: Prisma.categoriesUpdateOneWithoutPlacesNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutPlacesNestedInput + day_assignments?: Prisma.day_assignmentsUncheckedUpdateManyWithoutPlacesNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutPlacesNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutPlacesNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutPlacesNestedInput + place_regions?: Prisma.place_regionsUncheckedUpdateOneWithoutPlacesNestedInput + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutPlacesNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutPlacesNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutPlacesNestedInput +} + +export type placesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + lng?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + price?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_datetime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + place_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + duration_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + google_place_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + transport_mode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + osm_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + route_geometry?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type PlacesCountOutputType + */ + +export type PlacesCountOutputType = { + day_accommodations: number + day_assignments: number + file_links: number + journey_entries: number + photos: number + place_tags: number + reservations: number + trip_files: number +} + +export type PlacesCountOutputTypeSelect = { + day_accommodations?: boolean | PlacesCountOutputTypeCountDay_accommodationsArgs + day_assignments?: boolean | PlacesCountOutputTypeCountDay_assignmentsArgs + file_links?: boolean | PlacesCountOutputTypeCountFile_linksArgs + journey_entries?: boolean | PlacesCountOutputTypeCountJourney_entriesArgs + photos?: boolean | PlacesCountOutputTypeCountPhotosArgs + place_tags?: boolean | PlacesCountOutputTypeCountPlace_tagsArgs + reservations?: boolean | PlacesCountOutputTypeCountReservationsArgs + trip_files?: boolean | PlacesCountOutputTypeCountTrip_filesArgs +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the PlacesCountOutputType + */ + select?: Prisma.PlacesCountOutputTypeSelect | null +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountDay_accommodationsArgs = { + where?: Prisma.day_accommodationsWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountDay_assignmentsArgs = { + where?: Prisma.day_assignmentsWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountFile_linksArgs = { + where?: Prisma.file_linksWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountJourney_entriesArgs = { + where?: Prisma.journey_entriesWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountPhotosArgs = { + where?: Prisma.photosWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountPlace_tagsArgs = { + where?: Prisma.place_tagsWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountReservationsArgs = { + where?: Prisma.reservationsWhereInput +} + +/** + * PlacesCountOutputType without action + */ +export type PlacesCountOutputTypeCountTrip_filesArgs = { + where?: Prisma.trip_filesWhereInput +} + + +export type placesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + description?: boolean + lat?: boolean + lng?: boolean + address?: boolean + category_id?: boolean + price?: boolean + currency?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + place_time?: boolean + end_time?: boolean + duration_minutes?: boolean + notes?: boolean + image_url?: boolean + google_place_id?: boolean + website?: boolean + phone?: boolean + transport_mode?: boolean + created_at?: boolean + updated_at?: boolean + osm_id?: boolean + route_geometry?: boolean + day_accommodations?: boolean | Prisma.places$day_accommodationsArgs + day_assignments?: boolean | Prisma.places$day_assignmentsArgs + file_links?: boolean | Prisma.places$file_linksArgs + journey_entries?: boolean | Prisma.places$journey_entriesArgs + photos?: boolean | Prisma.places$photosArgs + place_regions?: boolean | Prisma.places$place_regionsArgs + place_tags?: boolean | Prisma.places$place_tagsArgs + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs + reservations?: boolean | Prisma.places$reservationsArgs + trip_files?: boolean | Prisma.places$trip_filesArgs + _count?: boolean | Prisma.PlacesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["places"]> + +export type placesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + description?: boolean + lat?: boolean + lng?: boolean + address?: boolean + category_id?: boolean + price?: boolean + currency?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + place_time?: boolean + end_time?: boolean + duration_minutes?: boolean + notes?: boolean + image_url?: boolean + google_place_id?: boolean + website?: boolean + phone?: boolean + transport_mode?: boolean + created_at?: boolean + updated_at?: boolean + osm_id?: boolean + route_geometry?: boolean + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["places"]> + +export type placesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + description?: boolean + lat?: boolean + lng?: boolean + address?: boolean + category_id?: boolean + price?: boolean + currency?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + place_time?: boolean + end_time?: boolean + duration_minutes?: boolean + notes?: boolean + image_url?: boolean + google_place_id?: boolean + website?: boolean + phone?: boolean + transport_mode?: boolean + created_at?: boolean + updated_at?: boolean + osm_id?: boolean + route_geometry?: boolean + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["places"]> + +export type placesSelectScalar = { + id?: boolean + trip_id?: boolean + name?: boolean + description?: boolean + lat?: boolean + lng?: boolean + address?: boolean + category_id?: boolean + price?: boolean + currency?: boolean + reservation_status?: boolean + reservation_notes?: boolean + reservation_datetime?: boolean + place_time?: boolean + end_time?: boolean + duration_minutes?: boolean + notes?: boolean + image_url?: boolean + google_place_id?: boolean + website?: boolean + phone?: boolean + transport_mode?: boolean + created_at?: boolean + updated_at?: boolean + osm_id?: boolean + route_geometry?: boolean +} + +export type placesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "name" | "description" | "lat" | "lng" | "address" | "category_id" | "price" | "currency" | "reservation_status" | "reservation_notes" | "reservation_datetime" | "place_time" | "end_time" | "duration_minutes" | "notes" | "image_url" | "google_place_id" | "website" | "phone" | "transport_mode" | "created_at" | "updated_at" | "osm_id" | "route_geometry", ExtArgs["result"]["places"]> +export type placesInclude = { + day_accommodations?: boolean | Prisma.places$day_accommodationsArgs + day_assignments?: boolean | Prisma.places$day_assignmentsArgs + file_links?: boolean | Prisma.places$file_linksArgs + journey_entries?: boolean | Prisma.places$journey_entriesArgs + photos?: boolean | Prisma.places$photosArgs + place_regions?: boolean | Prisma.places$place_regionsArgs + place_tags?: boolean | Prisma.places$place_tagsArgs + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs + reservations?: boolean | Prisma.places$reservationsArgs + trip_files?: boolean | Prisma.places$trip_filesArgs + _count?: boolean | Prisma.PlacesCountOutputTypeDefaultArgs +} +export type placesIncludeCreateManyAndReturn = { + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type placesIncludeUpdateManyAndReturn = { + categories?: boolean | Prisma.places$categoriesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $placesPayload = { + name: "places" + objects: { + day_accommodations: Prisma.$day_accommodationsPayload[] + day_assignments: Prisma.$day_assignmentsPayload[] + file_links: Prisma.$file_linksPayload[] + journey_entries: Prisma.$journey_entriesPayload[] + photos: Prisma.$photosPayload[] + place_regions: Prisma.$place_regionsPayload | null + place_tags: Prisma.$place_tagsPayload[] + categories: Prisma.$categoriesPayload | null + trips: Prisma.$tripsPayload + reservations: Prisma.$reservationsPayload[] + trip_files: Prisma.$trip_filesPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + name: string + description: string | null + lat: number | null + lng: number | null + address: string | null + category_id: number | null + price: number | null + currency: string | null + reservation_status: string | null + reservation_notes: string | null + reservation_datetime: string | null + place_time: string | null + end_time: string | null + duration_minutes: number | null + notes: string | null + image_url: string | null + google_place_id: string | null + website: string | null + phone: string | null + transport_mode: string | null + created_at: Date | null + updated_at: Date | null + osm_id: string | null + route_geometry: string | null + }, ExtArgs["result"]["places"]> + composites: {} +} + +export type placesGetPayload = runtime.Types.Result.GetResult + +export type placesCountArgs = + Omit & { + select?: PlacesCountAggregateInputType | true + } + +export interface placesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['places'], meta: { name: 'places' } } + /** + * Find zero or one Places that matches the filter. + * @param {placesFindUniqueArgs} args - Arguments to find a Places + * @example + * // Get one Places + * const places = await prisma.places.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Places that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {placesFindUniqueOrThrowArgs} args - Arguments to find a Places + * @example + * // Get one Places + * const places = await prisma.places.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Places that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesFindFirstArgs} args - Arguments to find a Places + * @example + * // Get one Places + * const places = await prisma.places.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Places that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesFindFirstOrThrowArgs} args - Arguments to find a Places + * @example + * // Get one Places + * const places = await prisma.places.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Places that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Places + * const places = await prisma.places.findMany() + * + * // Get first 10 Places + * const places = await prisma.places.findMany({ take: 10 }) + * + * // Only select the `id` + * const placesWithIdOnly = await prisma.places.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Places. + * @param {placesCreateArgs} args - Arguments to create a Places. + * @example + * // Create one Places + * const Places = await prisma.places.create({ + * data: { + * // ... data to create a Places + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Places. + * @param {placesCreateManyArgs} args - Arguments to create many Places. + * @example + * // Create many Places + * const places = await prisma.places.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Places and returns the data saved in the database. + * @param {placesCreateManyAndReturnArgs} args - Arguments to create many Places. + * @example + * // Create many Places + * const places = await prisma.places.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Places and only return the `id` + * const placesWithIdOnly = await prisma.places.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Places. + * @param {placesDeleteArgs} args - Arguments to delete one Places. + * @example + * // Delete one Places + * const Places = await prisma.places.delete({ + * where: { + * // ... filter to delete one Places + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Places. + * @param {placesUpdateArgs} args - Arguments to update one Places. + * @example + * // Update one Places + * const places = await prisma.places.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Places. + * @param {placesDeleteManyArgs} args - Arguments to filter Places to delete. + * @example + * // Delete a few Places + * const { count } = await prisma.places.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Places. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Places + * const places = await prisma.places.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Places and returns the data updated in the database. + * @param {placesUpdateManyAndReturnArgs} args - Arguments to update many Places. + * @example + * // Update many Places + * const places = await prisma.places.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Places and only return the `id` + * const placesWithIdOnly = await prisma.places.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Places. + * @param {placesUpsertArgs} args - Arguments to update or create a Places. + * @example + * // Update or create a Places + * const places = await prisma.places.upsert({ + * create: { + * // ... data to create a Places + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Places we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__placesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Places. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesCountArgs} args - Arguments to filter Places to count. + * @example + * // Count the number of Places + * const count = await prisma.places.count({ + * where: { + * // ... the filter for the Places we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Places. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {PlacesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Places. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {placesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends placesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: placesGroupByArgs['orderBy'] } + : { orderBy?: placesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPlacesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the places model + */ +readonly fields: placesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for places. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__placesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + day_accommodations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_assignments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + file_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + place_regions = {}>(args?: Prisma.Subset>): Prisma.Prisma__place_regionsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + place_tags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + categories = {}>(args?: Prisma.Subset>): Prisma.Prisma__categoriesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + reservations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_files = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the places model + */ +export interface placesFieldRefs { + readonly id: Prisma.FieldRef<"places", 'Int'> + readonly trip_id: Prisma.FieldRef<"places", 'Int'> + readonly name: Prisma.FieldRef<"places", 'String'> + readonly description: Prisma.FieldRef<"places", 'String'> + readonly lat: Prisma.FieldRef<"places", 'Float'> + readonly lng: Prisma.FieldRef<"places", 'Float'> + readonly address: Prisma.FieldRef<"places", 'String'> + readonly category_id: Prisma.FieldRef<"places", 'Int'> + readonly price: Prisma.FieldRef<"places", 'Float'> + readonly currency: Prisma.FieldRef<"places", 'String'> + readonly reservation_status: Prisma.FieldRef<"places", 'String'> + readonly reservation_notes: Prisma.FieldRef<"places", 'String'> + readonly reservation_datetime: Prisma.FieldRef<"places", 'String'> + readonly place_time: Prisma.FieldRef<"places", 'String'> + readonly end_time: Prisma.FieldRef<"places", 'String'> + readonly duration_minutes: Prisma.FieldRef<"places", 'Int'> + readonly notes: Prisma.FieldRef<"places", 'String'> + readonly image_url: Prisma.FieldRef<"places", 'String'> + readonly google_place_id: Prisma.FieldRef<"places", 'String'> + readonly website: Prisma.FieldRef<"places", 'String'> + readonly phone: Prisma.FieldRef<"places", 'String'> + readonly transport_mode: Prisma.FieldRef<"places", 'String'> + readonly created_at: Prisma.FieldRef<"places", 'DateTime'> + readonly updated_at: Prisma.FieldRef<"places", 'DateTime'> + readonly osm_id: Prisma.FieldRef<"places", 'String'> + readonly route_geometry: Prisma.FieldRef<"places", 'String'> +} + + +// Custom InputTypes +/** + * places findUnique + */ +export type placesFindUniqueArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter, which places to fetch. + */ + where: Prisma.placesWhereUniqueInput +} + +/** + * places findUniqueOrThrow + */ +export type placesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter, which places to fetch. + */ + where: Prisma.placesWhereUniqueInput +} + +/** + * places findFirst + */ +export type placesFindFirstArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter, which places to fetch. + */ + where?: Prisma.placesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of places to fetch. + */ + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for places. + */ + cursor?: Prisma.placesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` places from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` places. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of places. + */ + distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[] +} + +/** + * places findFirstOrThrow + */ +export type placesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter, which places to fetch. + */ + where?: Prisma.placesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of places to fetch. + */ + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for places. + */ + cursor?: Prisma.placesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` places from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` places. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of places. + */ + distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[] +} + +/** + * places findMany + */ +export type placesFindManyArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter, which places to fetch. + */ + where?: Prisma.placesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of places to fetch. + */ + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing places. + */ + cursor?: Prisma.placesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` places from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` places. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of places. + */ + distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[] +} + +/** + * places create + */ +export type placesCreateArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * The data needed to create a places. + */ + data: Prisma.XOR +} + +/** + * places createMany + */ +export type placesCreateManyArgs = { + /** + * The data used to create many places. + */ + data: Prisma.placesCreateManyInput | Prisma.placesCreateManyInput[] +} + +/** + * places createManyAndReturn + */ +export type placesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * The data used to create many places. + */ + data: Prisma.placesCreateManyInput | Prisma.placesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesIncludeCreateManyAndReturn | null +} + +/** + * places update + */ +export type placesUpdateArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * The data needed to update a places. + */ + data: Prisma.XOR + /** + * Choose, which places to update. + */ + where: Prisma.placesWhereUniqueInput +} + +/** + * places updateMany + */ +export type placesUpdateManyArgs = { + /** + * The data used to update places. + */ + data: Prisma.XOR + /** + * Filter which places to update + */ + where?: Prisma.placesWhereInput + /** + * Limit how many places to update. + */ + limit?: number +} + +/** + * places updateManyAndReturn + */ +export type placesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * The data used to update places. + */ + data: Prisma.XOR + /** + * Filter which places to update + */ + where?: Prisma.placesWhereInput + /** + * Limit how many places to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesIncludeUpdateManyAndReturn | null +} + +/** + * places upsert + */ +export type placesUpsertArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * The filter to search for the places to update in case it exists. + */ + where: Prisma.placesWhereUniqueInput + /** + * In case the places found by the `where` argument doesn't exist, create a new places with this data. + */ + create: Prisma.XOR + /** + * In case the places was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * places delete + */ +export type placesDeleteArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + /** + * Filter which places to delete. + */ + where: Prisma.placesWhereUniqueInput +} + +/** + * places deleteMany + */ +export type placesDeleteManyArgs = { + /** + * Filter which places to delete + */ + where?: Prisma.placesWhereInput + /** + * Limit how many places to delete. + */ + limit?: number +} + +/** + * places.day_accommodations + */ +export type places$day_accommodationsArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + where?: Prisma.day_accommodationsWhereInput + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + cursor?: Prisma.day_accommodationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * places.day_assignments + */ +export type places$day_assignmentsArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + where?: Prisma.day_assignmentsWhereInput + orderBy?: Prisma.day_assignmentsOrderByWithRelationInput | Prisma.day_assignmentsOrderByWithRelationInput[] + cursor?: Prisma.day_assignmentsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_assignmentsScalarFieldEnum | Prisma.Day_assignmentsScalarFieldEnum[] +} + +/** + * places.file_links + */ +export type places$file_linksArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + where?: Prisma.file_linksWhereInput + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + cursor?: Prisma.file_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * places.journey_entries + */ +export type places$journey_entriesArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + where?: Prisma.journey_entriesWhereInput + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + cursor?: Prisma.journey_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * places.photos + */ +export type places$photosArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + where?: Prisma.photosWhereInput + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + cursor?: Prisma.photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * places.place_regions + */ +export type places$place_regionsArgs = { + /** + * Select specific fields to fetch from the place_regions + */ + select?: Prisma.place_regionsSelect | null + /** + * Omit specific fields from the place_regions + */ + omit?: Prisma.place_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_regionsInclude | null + where?: Prisma.place_regionsWhereInput +} + +/** + * places.place_tags + */ +export type places$place_tagsArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + where?: Prisma.place_tagsWhereInput + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + cursor?: Prisma.place_tagsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Place_tagsScalarFieldEnum | Prisma.Place_tagsScalarFieldEnum[] +} + +/** + * places.categories + */ +export type places$categoriesArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + where?: Prisma.categoriesWhereInput +} + +/** + * places.reservations + */ +export type places$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + cursor?: Prisma.reservationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * places.trip_files + */ +export type places$trip_filesArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + cursor?: Prisma.trip_filesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * places without action + */ +export type placesDefaultArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null +} diff --git a/server/src/generated/prisma/models/reservation_day_positions.ts b/server/src/generated/prisma/models/reservation_day_positions.ts new file mode 100644 index 00000000..20f1bcb7 --- /dev/null +++ b/server/src/generated/prisma/models/reservation_day_positions.ts @@ -0,0 +1,1441 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `reservation_day_positions` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model reservation_day_positions + * + */ +export type reservation_day_positionsModel = runtime.Types.Result.DefaultSelection + +export type AggregateReservation_day_positions = { + _count: Reservation_day_positionsCountAggregateOutputType | null + _avg: Reservation_day_positionsAvgAggregateOutputType | null + _sum: Reservation_day_positionsSumAggregateOutputType | null + _min: Reservation_day_positionsMinAggregateOutputType | null + _max: Reservation_day_positionsMaxAggregateOutputType | null +} + +export type Reservation_day_positionsAvgAggregateOutputType = { + reservation_id: number | null + day_id: number | null + position: number | null +} + +export type Reservation_day_positionsSumAggregateOutputType = { + reservation_id: number | null + day_id: number | null + position: number | null +} + +export type Reservation_day_positionsMinAggregateOutputType = { + reservation_id: number | null + day_id: number | null + position: number | null +} + +export type Reservation_day_positionsMaxAggregateOutputType = { + reservation_id: number | null + day_id: number | null + position: number | null +} + +export type Reservation_day_positionsCountAggregateOutputType = { + reservation_id: number + day_id: number + position: number + _all: number +} + + +export type Reservation_day_positionsAvgAggregateInputType = { + reservation_id?: true + day_id?: true + position?: true +} + +export type Reservation_day_positionsSumAggregateInputType = { + reservation_id?: true + day_id?: true + position?: true +} + +export type Reservation_day_positionsMinAggregateInputType = { + reservation_id?: true + day_id?: true + position?: true +} + +export type Reservation_day_positionsMaxAggregateInputType = { + reservation_id?: true + day_id?: true + position?: true +} + +export type Reservation_day_positionsCountAggregateInputType = { + reservation_id?: true + day_id?: true + position?: true + _all?: true +} + +export type Reservation_day_positionsAggregateArgs = { + /** + * Filter which reservation_day_positions to aggregate. + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_day_positions to fetch. + */ + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_day_positions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_day_positions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned reservation_day_positions + **/ + _count?: true | Reservation_day_positionsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Reservation_day_positionsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Reservation_day_positionsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Reservation_day_positionsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Reservation_day_positionsMaxAggregateInputType +} + +export type GetReservation_day_positionsAggregateType = { + [P in keyof T & keyof AggregateReservation_day_positions]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type reservation_day_positionsGroupByArgs = { + where?: Prisma.reservation_day_positionsWhereInput + orderBy?: Prisma.reservation_day_positionsOrderByWithAggregationInput | Prisma.reservation_day_positionsOrderByWithAggregationInput[] + by: Prisma.Reservation_day_positionsScalarFieldEnum[] | Prisma.Reservation_day_positionsScalarFieldEnum + having?: Prisma.reservation_day_positionsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Reservation_day_positionsCountAggregateInputType | true + _avg?: Reservation_day_positionsAvgAggregateInputType + _sum?: Reservation_day_positionsSumAggregateInputType + _min?: Reservation_day_positionsMinAggregateInputType + _max?: Reservation_day_positionsMaxAggregateInputType +} + +export type Reservation_day_positionsGroupByOutputType = { + reservation_id: number + day_id: number + position: number + _count: Reservation_day_positionsCountAggregateOutputType | null + _avg: Reservation_day_positionsAvgAggregateOutputType | null + _sum: Reservation_day_positionsSumAggregateOutputType | null + _min: Reservation_day_positionsMinAggregateOutputType | null + _max: Reservation_day_positionsMaxAggregateOutputType | null +} + +export type GetReservation_day_positionsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Reservation_day_positionsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type reservation_day_positionsWhereInput = { + AND?: Prisma.reservation_day_positionsWhereInput | Prisma.reservation_day_positionsWhereInput[] + OR?: Prisma.reservation_day_positionsWhereInput[] + NOT?: Prisma.reservation_day_positionsWhereInput | Prisma.reservation_day_positionsWhereInput[] + reservation_id?: Prisma.IntFilter<"reservation_day_positions"> | number + day_id?: Prisma.IntFilter<"reservation_day_positions"> | number + position?: Prisma.FloatFilter<"reservation_day_positions"> | number + days?: Prisma.XOR + reservations?: Prisma.XOR +} + +export type reservation_day_positionsOrderByWithRelationInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder + days?: Prisma.daysOrderByWithRelationInput + reservations?: Prisma.reservationsOrderByWithRelationInput +} + +export type reservation_day_positionsWhereUniqueInput = Prisma.AtLeast<{ + reservation_id_day_id?: Prisma.reservation_day_positionsReservation_idDay_idCompoundUniqueInput + AND?: Prisma.reservation_day_positionsWhereInput | Prisma.reservation_day_positionsWhereInput[] + OR?: Prisma.reservation_day_positionsWhereInput[] + NOT?: Prisma.reservation_day_positionsWhereInput | Prisma.reservation_day_positionsWhereInput[] + reservation_id?: Prisma.IntFilter<"reservation_day_positions"> | number + day_id?: Prisma.IntFilter<"reservation_day_positions"> | number + position?: Prisma.FloatFilter<"reservation_day_positions"> | number + days?: Prisma.XOR + reservations?: Prisma.XOR +}, "reservation_id_day_id"> + +export type reservation_day_positionsOrderByWithAggregationInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder + _count?: Prisma.reservation_day_positionsCountOrderByAggregateInput + _avg?: Prisma.reservation_day_positionsAvgOrderByAggregateInput + _max?: Prisma.reservation_day_positionsMaxOrderByAggregateInput + _min?: Prisma.reservation_day_positionsMinOrderByAggregateInput + _sum?: Prisma.reservation_day_positionsSumOrderByAggregateInput +} + +export type reservation_day_positionsScalarWhereWithAggregatesInput = { + AND?: Prisma.reservation_day_positionsScalarWhereWithAggregatesInput | Prisma.reservation_day_positionsScalarWhereWithAggregatesInput[] + OR?: Prisma.reservation_day_positionsScalarWhereWithAggregatesInput[] + NOT?: Prisma.reservation_day_positionsScalarWhereWithAggregatesInput | Prisma.reservation_day_positionsScalarWhereWithAggregatesInput[] + reservation_id?: Prisma.IntWithAggregatesFilter<"reservation_day_positions"> | number + day_id?: Prisma.IntWithAggregatesFilter<"reservation_day_positions"> | number + position?: Prisma.FloatWithAggregatesFilter<"reservation_day_positions"> | number +} + +export type reservation_day_positionsCreateInput = { + position: number + days: Prisma.daysCreateNestedOneWithoutReservation_day_positionsInput + reservations: Prisma.reservationsCreateNestedOneWithoutReservation_day_positionsInput +} + +export type reservation_day_positionsUncheckedCreateInput = { + reservation_id: number + day_id: number + position: number +} + +export type reservation_day_positionsUpdateInput = { + position?: Prisma.FloatFieldUpdateOperationsInput | number + days?: Prisma.daysUpdateOneRequiredWithoutReservation_day_positionsNestedInput + reservations?: Prisma.reservationsUpdateOneRequiredWithoutReservation_day_positionsNestedInput +} + +export type reservation_day_positionsUncheckedUpdateInput = { + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type reservation_day_positionsCreateManyInput = { + reservation_id: number + day_id: number + position: number +} + +export type reservation_day_positionsUpdateManyMutationInput = { + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type reservation_day_positionsUncheckedUpdateManyInput = { + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type Reservation_day_positionsListRelationFilter = { + every?: Prisma.reservation_day_positionsWhereInput + some?: Prisma.reservation_day_positionsWhereInput + none?: Prisma.reservation_day_positionsWhereInput +} + +export type reservation_day_positionsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type reservation_day_positionsReservation_idDay_idCompoundUniqueInput = { + reservation_id: number + day_id: number +} + +export type reservation_day_positionsCountOrderByAggregateInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder +} + +export type reservation_day_positionsAvgOrderByAggregateInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder +} + +export type reservation_day_positionsMaxOrderByAggregateInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder +} + +export type reservation_day_positionsMinOrderByAggregateInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder +} + +export type reservation_day_positionsSumOrderByAggregateInput = { + reservation_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + position?: Prisma.SortOrder +} + +export type reservation_day_positionsCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutDaysInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput | Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.reservation_day_positionsCreateManyDaysInputEnvelope + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] +} + +export type reservation_day_positionsUncheckedCreateNestedManyWithoutDaysInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutDaysInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput | Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput[] + createMany?: Prisma.reservation_day_positionsCreateManyDaysInputEnvelope + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] +} + +export type reservation_day_positionsUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutDaysInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput | Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutDaysInput | Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.reservation_day_positionsCreateManyDaysInputEnvelope + set?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + disconnect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + delete?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + update?: Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutDaysInput | Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.reservation_day_positionsUpdateManyWithWhereWithoutDaysInput | Prisma.reservation_day_positionsUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] +} + +export type reservation_day_positionsUncheckedUpdateManyWithoutDaysNestedInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutDaysInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutDaysInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput | Prisma.reservation_day_positionsCreateOrConnectWithoutDaysInput[] + upsert?: Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutDaysInput | Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutDaysInput[] + createMany?: Prisma.reservation_day_positionsCreateManyDaysInputEnvelope + set?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + disconnect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + delete?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + update?: Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutDaysInput | Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutDaysInput[] + updateMany?: Prisma.reservation_day_positionsUpdateManyWithWhereWithoutDaysInput | Prisma.reservation_day_positionsUpdateManyWithWhereWithoutDaysInput[] + deleteMany?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] +} + +export type reservation_day_positionsCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutReservationsInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput | Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.reservation_day_positionsCreateManyReservationsInputEnvelope + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] +} + +export type reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutReservationsInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput | Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.reservation_day_positionsCreateManyReservationsInputEnvelope + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] +} + +export type reservation_day_positionsUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutReservationsInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput | Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.reservation_day_positionsCreateManyReservationsInputEnvelope + set?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + disconnect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + delete?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + update?: Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.reservation_day_positionsUpdateManyWithWhereWithoutReservationsInput | Prisma.reservation_day_positionsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] +} + +export type reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.reservation_day_positionsCreateWithoutReservationsInput[] | Prisma.reservation_day_positionsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput | Prisma.reservation_day_positionsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.reservation_day_positionsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.reservation_day_positionsCreateManyReservationsInputEnvelope + set?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + disconnect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + delete?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + connect?: Prisma.reservation_day_positionsWhereUniqueInput | Prisma.reservation_day_positionsWhereUniqueInput[] + update?: Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.reservation_day_positionsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.reservation_day_positionsUpdateManyWithWhereWithoutReservationsInput | Prisma.reservation_day_positionsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] +} + +export type reservation_day_positionsCreateWithoutDaysInput = { + position: number + reservations: Prisma.reservationsCreateNestedOneWithoutReservation_day_positionsInput +} + +export type reservation_day_positionsUncheckedCreateWithoutDaysInput = { + reservation_id: number + position: number +} + +export type reservation_day_positionsCreateOrConnectWithoutDaysInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + create: Prisma.XOR +} + +export type reservation_day_positionsCreateManyDaysInputEnvelope = { + data: Prisma.reservation_day_positionsCreateManyDaysInput | Prisma.reservation_day_positionsCreateManyDaysInput[] +} + +export type reservation_day_positionsUpsertWithWhereUniqueWithoutDaysInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservation_day_positionsUpdateWithWhereUniqueWithoutDaysInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + data: Prisma.XOR +} + +export type reservation_day_positionsUpdateManyWithWhereWithoutDaysInput = { + where: Prisma.reservation_day_positionsScalarWhereInput + data: Prisma.XOR +} + +export type reservation_day_positionsScalarWhereInput = { + AND?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] + OR?: Prisma.reservation_day_positionsScalarWhereInput[] + NOT?: Prisma.reservation_day_positionsScalarWhereInput | Prisma.reservation_day_positionsScalarWhereInput[] + reservation_id?: Prisma.IntFilter<"reservation_day_positions"> | number + day_id?: Prisma.IntFilter<"reservation_day_positions"> | number + position?: Prisma.FloatFilter<"reservation_day_positions"> | number +} + +export type reservation_day_positionsCreateWithoutReservationsInput = { + position: number + days: Prisma.daysCreateNestedOneWithoutReservation_day_positionsInput +} + +export type reservation_day_positionsUncheckedCreateWithoutReservationsInput = { + day_id: number + position: number +} + +export type reservation_day_positionsCreateOrConnectWithoutReservationsInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + create: Prisma.XOR +} + +export type reservation_day_positionsCreateManyReservationsInputEnvelope = { + data: Prisma.reservation_day_positionsCreateManyReservationsInput | Prisma.reservation_day_positionsCreateManyReservationsInput[] +} + +export type reservation_day_positionsUpsertWithWhereUniqueWithoutReservationsInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservation_day_positionsUpdateWithWhereUniqueWithoutReservationsInput = { + where: Prisma.reservation_day_positionsWhereUniqueInput + data: Prisma.XOR +} + +export type reservation_day_positionsUpdateManyWithWhereWithoutReservationsInput = { + where: Prisma.reservation_day_positionsScalarWhereInput + data: Prisma.XOR +} + +export type reservation_day_positionsCreateManyDaysInput = { + reservation_id: number + position: number +} + +export type reservation_day_positionsUpdateWithoutDaysInput = { + position?: Prisma.FloatFieldUpdateOperationsInput | number + reservations?: Prisma.reservationsUpdateOneRequiredWithoutReservation_day_positionsNestedInput +} + +export type reservation_day_positionsUncheckedUpdateWithoutDaysInput = { + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type reservation_day_positionsUncheckedUpdateManyWithoutDaysInput = { + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type reservation_day_positionsCreateManyReservationsInput = { + day_id: number + position: number +} + +export type reservation_day_positionsUpdateWithoutReservationsInput = { + position?: Prisma.FloatFieldUpdateOperationsInput | number + days?: Prisma.daysUpdateOneRequiredWithoutReservation_day_positionsNestedInput +} + +export type reservation_day_positionsUncheckedUpdateWithoutReservationsInput = { + day_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + +export type reservation_day_positionsUncheckedUpdateManyWithoutReservationsInput = { + day_id?: Prisma.IntFieldUpdateOperationsInput | number + position?: Prisma.FloatFieldUpdateOperationsInput | number +} + + + +export type reservation_day_positionsSelect = runtime.Types.Extensions.GetSelect<{ + reservation_id?: boolean + day_id?: boolean + position?: boolean + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_day_positions"]> + +export type reservation_day_positionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + reservation_id?: boolean + day_id?: boolean + position?: boolean + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_day_positions"]> + +export type reservation_day_positionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + reservation_id?: boolean + day_id?: boolean + position?: boolean + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_day_positions"]> + +export type reservation_day_positionsSelectScalar = { + reservation_id?: boolean + day_id?: boolean + position?: boolean +} + +export type reservation_day_positionsOmit = runtime.Types.Extensions.GetOmit<"reservation_id" | "day_id" | "position", ExtArgs["result"]["reservation_day_positions"]> +export type reservation_day_positionsInclude = { + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +} +export type reservation_day_positionsIncludeCreateManyAndReturn = { + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +} +export type reservation_day_positionsIncludeUpdateManyAndReturn = { + days?: boolean | Prisma.daysDefaultArgs + reservations?: boolean | Prisma.reservationsDefaultArgs +} + +export type $reservation_day_positionsPayload = { + name: "reservation_day_positions" + objects: { + days: Prisma.$daysPayload + reservations: Prisma.$reservationsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + reservation_id: number + day_id: number + position: number + }, ExtArgs["result"]["reservation_day_positions"]> + composites: {} +} + +export type reservation_day_positionsGetPayload = runtime.Types.Result.GetResult + +export type reservation_day_positionsCountArgs = + Omit & { + select?: Reservation_day_positionsCountAggregateInputType | true + } + +export interface reservation_day_positionsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['reservation_day_positions'], meta: { name: 'reservation_day_positions' } } + /** + * Find zero or one Reservation_day_positions that matches the filter. + * @param {reservation_day_positionsFindUniqueArgs} args - Arguments to find a Reservation_day_positions + * @example + * // Get one Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Reservation_day_positions that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {reservation_day_positionsFindUniqueOrThrowArgs} args - Arguments to find a Reservation_day_positions + * @example + * // Get one Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservation_day_positions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsFindFirstArgs} args - Arguments to find a Reservation_day_positions + * @example + * // Get one Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservation_day_positions that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsFindFirstOrThrowArgs} args - Arguments to find a Reservation_day_positions + * @example + * // Get one Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Reservation_day_positions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findMany() + * + * // Get first 10 Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.findMany({ take: 10 }) + * + * // Only select the `reservation_id` + * const reservation_day_positionsWithReservation_idOnly = await prisma.reservation_day_positions.findMany({ select: { reservation_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Reservation_day_positions. + * @param {reservation_day_positionsCreateArgs} args - Arguments to create a Reservation_day_positions. + * @example + * // Create one Reservation_day_positions + * const Reservation_day_positions = await prisma.reservation_day_positions.create({ + * data: { + * // ... data to create a Reservation_day_positions + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Reservation_day_positions. + * @param {reservation_day_positionsCreateManyArgs} args - Arguments to create many Reservation_day_positions. + * @example + * // Create many Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Reservation_day_positions and returns the data saved in the database. + * @param {reservation_day_positionsCreateManyAndReturnArgs} args - Arguments to create many Reservation_day_positions. + * @example + * // Create many Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Reservation_day_positions and only return the `reservation_id` + * const reservation_day_positionsWithReservation_idOnly = await prisma.reservation_day_positions.createManyAndReturn({ + * select: { reservation_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Reservation_day_positions. + * @param {reservation_day_positionsDeleteArgs} args - Arguments to delete one Reservation_day_positions. + * @example + * // Delete one Reservation_day_positions + * const Reservation_day_positions = await prisma.reservation_day_positions.delete({ + * where: { + * // ... filter to delete one Reservation_day_positions + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Reservation_day_positions. + * @param {reservation_day_positionsUpdateArgs} args - Arguments to update one Reservation_day_positions. + * @example + * // Update one Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Reservation_day_positions. + * @param {reservation_day_positionsDeleteManyArgs} args - Arguments to filter Reservation_day_positions to delete. + * @example + * // Delete a few Reservation_day_positions + * const { count } = await prisma.reservation_day_positions.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservation_day_positions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservation_day_positions and returns the data updated in the database. + * @param {reservation_day_positionsUpdateManyAndReturnArgs} args - Arguments to update many Reservation_day_positions. + * @example + * // Update many Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Reservation_day_positions and only return the `reservation_id` + * const reservation_day_positionsWithReservation_idOnly = await prisma.reservation_day_positions.updateManyAndReturn({ + * select: { reservation_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Reservation_day_positions. + * @param {reservation_day_positionsUpsertArgs} args - Arguments to update or create a Reservation_day_positions. + * @example + * // Update or create a Reservation_day_positions + * const reservation_day_positions = await prisma.reservation_day_positions.upsert({ + * create: { + * // ... data to create a Reservation_day_positions + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Reservation_day_positions we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_day_positionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Reservation_day_positions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsCountArgs} args - Arguments to filter Reservation_day_positions to count. + * @example + * // Count the number of Reservation_day_positions + * const count = await prisma.reservation_day_positions.count({ + * where: { + * // ... the filter for the Reservation_day_positions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Reservation_day_positions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Reservation_day_positionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Reservation_day_positions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_day_positionsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends reservation_day_positionsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: reservation_day_positionsGroupByArgs['orderBy'] } + : { orderBy?: reservation_day_positionsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetReservation_day_positionsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the reservation_day_positions model + */ +readonly fields: reservation_day_positionsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for reservation_day_positions. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__reservation_day_positionsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + days = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + reservations = {}>(args?: Prisma.Subset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the reservation_day_positions model + */ +export interface reservation_day_positionsFieldRefs { + readonly reservation_id: Prisma.FieldRef<"reservation_day_positions", 'Int'> + readonly day_id: Prisma.FieldRef<"reservation_day_positions", 'Int'> + readonly position: Prisma.FieldRef<"reservation_day_positions", 'Float'> +} + + +// Custom InputTypes +/** + * reservation_day_positions findUnique + */ +export type reservation_day_positionsFindUniqueArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter, which reservation_day_positions to fetch. + */ + where: Prisma.reservation_day_positionsWhereUniqueInput +} + +/** + * reservation_day_positions findUniqueOrThrow + */ +export type reservation_day_positionsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter, which reservation_day_positions to fetch. + */ + where: Prisma.reservation_day_positionsWhereUniqueInput +} + +/** + * reservation_day_positions findFirst + */ +export type reservation_day_positionsFindFirstArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter, which reservation_day_positions to fetch. + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_day_positions to fetch. + */ + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservation_day_positions. + */ + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_day_positions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_day_positions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_day_positions. + */ + distinct?: Prisma.Reservation_day_positionsScalarFieldEnum | Prisma.Reservation_day_positionsScalarFieldEnum[] +} + +/** + * reservation_day_positions findFirstOrThrow + */ +export type reservation_day_positionsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter, which reservation_day_positions to fetch. + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_day_positions to fetch. + */ + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservation_day_positions. + */ + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_day_positions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_day_positions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_day_positions. + */ + distinct?: Prisma.Reservation_day_positionsScalarFieldEnum | Prisma.Reservation_day_positionsScalarFieldEnum[] +} + +/** + * reservation_day_positions findMany + */ +export type reservation_day_positionsFindManyArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter, which reservation_day_positions to fetch. + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_day_positions to fetch. + */ + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing reservation_day_positions. + */ + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_day_positions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_day_positions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_day_positions. + */ + distinct?: Prisma.Reservation_day_positionsScalarFieldEnum | Prisma.Reservation_day_positionsScalarFieldEnum[] +} + +/** + * reservation_day_positions create + */ +export type reservation_day_positionsCreateArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * The data needed to create a reservation_day_positions. + */ + data: Prisma.XOR +} + +/** + * reservation_day_positions createMany + */ +export type reservation_day_positionsCreateManyArgs = { + /** + * The data used to create many reservation_day_positions. + */ + data: Prisma.reservation_day_positionsCreateManyInput | Prisma.reservation_day_positionsCreateManyInput[] +} + +/** + * reservation_day_positions createManyAndReturn + */ +export type reservation_day_positionsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * The data used to create many reservation_day_positions. + */ + data: Prisma.reservation_day_positionsCreateManyInput | Prisma.reservation_day_positionsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsIncludeCreateManyAndReturn | null +} + +/** + * reservation_day_positions update + */ +export type reservation_day_positionsUpdateArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * The data needed to update a reservation_day_positions. + */ + data: Prisma.XOR + /** + * Choose, which reservation_day_positions to update. + */ + where: Prisma.reservation_day_positionsWhereUniqueInput +} + +/** + * reservation_day_positions updateMany + */ +export type reservation_day_positionsUpdateManyArgs = { + /** + * The data used to update reservation_day_positions. + */ + data: Prisma.XOR + /** + * Filter which reservation_day_positions to update + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * Limit how many reservation_day_positions to update. + */ + limit?: number +} + +/** + * reservation_day_positions updateManyAndReturn + */ +export type reservation_day_positionsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * The data used to update reservation_day_positions. + */ + data: Prisma.XOR + /** + * Filter which reservation_day_positions to update + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * Limit how many reservation_day_positions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsIncludeUpdateManyAndReturn | null +} + +/** + * reservation_day_positions upsert + */ +export type reservation_day_positionsUpsertArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * The filter to search for the reservation_day_positions to update in case it exists. + */ + where: Prisma.reservation_day_positionsWhereUniqueInput + /** + * In case the reservation_day_positions found by the `where` argument doesn't exist, create a new reservation_day_positions with this data. + */ + create: Prisma.XOR + /** + * In case the reservation_day_positions was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * reservation_day_positions delete + */ +export type reservation_day_positionsDeleteArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + /** + * Filter which reservation_day_positions to delete. + */ + where: Prisma.reservation_day_positionsWhereUniqueInput +} + +/** + * reservation_day_positions deleteMany + */ +export type reservation_day_positionsDeleteManyArgs = { + /** + * Filter which reservation_day_positions to delete + */ + where?: Prisma.reservation_day_positionsWhereInput + /** + * Limit how many reservation_day_positions to delete. + */ + limit?: number +} + +/** + * reservation_day_positions without action + */ +export type reservation_day_positionsDefaultArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null +} diff --git a/server/src/generated/prisma/models/reservation_endpoints.ts b/server/src/generated/prisma/models/reservation_endpoints.ts new file mode 100644 index 00000000..12a05353 --- /dev/null +++ b/server/src/generated/prisma/models/reservation_endpoints.ts @@ -0,0 +1,1650 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `reservation_endpoints` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model reservation_endpoints + * + */ +export type reservation_endpointsModel = runtime.Types.Result.DefaultSelection + +export type AggregateReservation_endpoints = { + _count: Reservation_endpointsCountAggregateOutputType | null + _avg: Reservation_endpointsAvgAggregateOutputType | null + _sum: Reservation_endpointsSumAggregateOutputType | null + _min: Reservation_endpointsMinAggregateOutputType | null + _max: Reservation_endpointsMaxAggregateOutputType | null +} + +export type Reservation_endpointsAvgAggregateOutputType = { + id: number | null + reservation_id: number | null + sequence: number | null + lat: number | null + lng: number | null +} + +export type Reservation_endpointsSumAggregateOutputType = { + id: number | null + reservation_id: number | null + sequence: number | null + lat: number | null + lng: number | null +} + +export type Reservation_endpointsMinAggregateOutputType = { + id: number | null + reservation_id: number | null + role: string | null + sequence: number | null + name: string | null + code: string | null + lat: number | null + lng: number | null + timezone: string | null + local_time: string | null + local_date: string | null + created_at: Date | null +} + +export type Reservation_endpointsMaxAggregateOutputType = { + id: number | null + reservation_id: number | null + role: string | null + sequence: number | null + name: string | null + code: string | null + lat: number | null + lng: number | null + timezone: string | null + local_time: string | null + local_date: string | null + created_at: Date | null +} + +export type Reservation_endpointsCountAggregateOutputType = { + id: number + reservation_id: number + role: number + sequence: number + name: number + code: number + lat: number + lng: number + timezone: number + local_time: number + local_date: number + created_at: number + _all: number +} + + +export type Reservation_endpointsAvgAggregateInputType = { + id?: true + reservation_id?: true + sequence?: true + lat?: true + lng?: true +} + +export type Reservation_endpointsSumAggregateInputType = { + id?: true + reservation_id?: true + sequence?: true + lat?: true + lng?: true +} + +export type Reservation_endpointsMinAggregateInputType = { + id?: true + reservation_id?: true + role?: true + sequence?: true + name?: true + code?: true + lat?: true + lng?: true + timezone?: true + local_time?: true + local_date?: true + created_at?: true +} + +export type Reservation_endpointsMaxAggregateInputType = { + id?: true + reservation_id?: true + role?: true + sequence?: true + name?: true + code?: true + lat?: true + lng?: true + timezone?: true + local_time?: true + local_date?: true + created_at?: true +} + +export type Reservation_endpointsCountAggregateInputType = { + id?: true + reservation_id?: true + role?: true + sequence?: true + name?: true + code?: true + lat?: true + lng?: true + timezone?: true + local_time?: true + local_date?: true + created_at?: true + _all?: true +} + +export type Reservation_endpointsAggregateArgs = { + /** + * Filter which reservation_endpoints to aggregate. + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_endpoints to fetch. + */ + orderBy?: Prisma.reservation_endpointsOrderByWithRelationInput | Prisma.reservation_endpointsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.reservation_endpointsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_endpoints from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_endpoints. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned reservation_endpoints + **/ + _count?: true | Reservation_endpointsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Reservation_endpointsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Reservation_endpointsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Reservation_endpointsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Reservation_endpointsMaxAggregateInputType +} + +export type GetReservation_endpointsAggregateType = { + [P in keyof T & keyof AggregateReservation_endpoints]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type reservation_endpointsGroupByArgs = { + where?: Prisma.reservation_endpointsWhereInput + orderBy?: Prisma.reservation_endpointsOrderByWithAggregationInput | Prisma.reservation_endpointsOrderByWithAggregationInput[] + by: Prisma.Reservation_endpointsScalarFieldEnum[] | Prisma.Reservation_endpointsScalarFieldEnum + having?: Prisma.reservation_endpointsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Reservation_endpointsCountAggregateInputType | true + _avg?: Reservation_endpointsAvgAggregateInputType + _sum?: Reservation_endpointsSumAggregateInputType + _min?: Reservation_endpointsMinAggregateInputType + _max?: Reservation_endpointsMaxAggregateInputType +} + +export type Reservation_endpointsGroupByOutputType = { + id: number + reservation_id: number + role: string + sequence: number + name: string + code: string | null + lat: number + lng: number + timezone: string | null + local_time: string | null + local_date: string | null + created_at: Date | null + _count: Reservation_endpointsCountAggregateOutputType | null + _avg: Reservation_endpointsAvgAggregateOutputType | null + _sum: Reservation_endpointsSumAggregateOutputType | null + _min: Reservation_endpointsMinAggregateOutputType | null + _max: Reservation_endpointsMaxAggregateOutputType | null +} + +export type GetReservation_endpointsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Reservation_endpointsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type reservation_endpointsWhereInput = { + AND?: Prisma.reservation_endpointsWhereInput | Prisma.reservation_endpointsWhereInput[] + OR?: Prisma.reservation_endpointsWhereInput[] + NOT?: Prisma.reservation_endpointsWhereInput | Prisma.reservation_endpointsWhereInput[] + id?: Prisma.IntFilter<"reservation_endpoints"> | number + reservation_id?: Prisma.IntFilter<"reservation_endpoints"> | number + role?: Prisma.StringFilter<"reservation_endpoints"> | string + sequence?: Prisma.IntFilter<"reservation_endpoints"> | number + name?: Prisma.StringFilter<"reservation_endpoints"> | string + code?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + lat?: Prisma.FloatFilter<"reservation_endpoints"> | number + lng?: Prisma.FloatFilter<"reservation_endpoints"> | number + timezone?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_time?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_date?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservation_endpoints"> | Date | string | null + reservations?: Prisma.XOR +} + +export type reservation_endpointsOrderByWithRelationInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + role?: Prisma.SortOrder + sequence?: Prisma.SortOrder + name?: Prisma.SortOrder + code?: Prisma.SortOrderInput | Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + timezone?: Prisma.SortOrderInput | Prisma.SortOrder + local_time?: Prisma.SortOrderInput | Prisma.SortOrder + local_date?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + reservations?: Prisma.reservationsOrderByWithRelationInput +} + +export type reservation_endpointsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.reservation_endpointsWhereInput | Prisma.reservation_endpointsWhereInput[] + OR?: Prisma.reservation_endpointsWhereInput[] + NOT?: Prisma.reservation_endpointsWhereInput | Prisma.reservation_endpointsWhereInput[] + reservation_id?: Prisma.IntFilter<"reservation_endpoints"> | number + role?: Prisma.StringFilter<"reservation_endpoints"> | string + sequence?: Prisma.IntFilter<"reservation_endpoints"> | number + name?: Prisma.StringFilter<"reservation_endpoints"> | string + code?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + lat?: Prisma.FloatFilter<"reservation_endpoints"> | number + lng?: Prisma.FloatFilter<"reservation_endpoints"> | number + timezone?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_time?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_date?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservation_endpoints"> | Date | string | null + reservations?: Prisma.XOR +}, "id"> + +export type reservation_endpointsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + role?: Prisma.SortOrder + sequence?: Prisma.SortOrder + name?: Prisma.SortOrder + code?: Prisma.SortOrderInput | Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + timezone?: Prisma.SortOrderInput | Prisma.SortOrder + local_time?: Prisma.SortOrderInput | Prisma.SortOrder + local_date?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.reservation_endpointsCountOrderByAggregateInput + _avg?: Prisma.reservation_endpointsAvgOrderByAggregateInput + _max?: Prisma.reservation_endpointsMaxOrderByAggregateInput + _min?: Prisma.reservation_endpointsMinOrderByAggregateInput + _sum?: Prisma.reservation_endpointsSumOrderByAggregateInput +} + +export type reservation_endpointsScalarWhereWithAggregatesInput = { + AND?: Prisma.reservation_endpointsScalarWhereWithAggregatesInput | Prisma.reservation_endpointsScalarWhereWithAggregatesInput[] + OR?: Prisma.reservation_endpointsScalarWhereWithAggregatesInput[] + NOT?: Prisma.reservation_endpointsScalarWhereWithAggregatesInput | Prisma.reservation_endpointsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"reservation_endpoints"> | number + reservation_id?: Prisma.IntWithAggregatesFilter<"reservation_endpoints"> | number + role?: Prisma.StringWithAggregatesFilter<"reservation_endpoints"> | string + sequence?: Prisma.IntWithAggregatesFilter<"reservation_endpoints"> | number + name?: Prisma.StringWithAggregatesFilter<"reservation_endpoints"> | string + code?: Prisma.StringNullableWithAggregatesFilter<"reservation_endpoints"> | string | null + lat?: Prisma.FloatWithAggregatesFilter<"reservation_endpoints"> | number + lng?: Prisma.FloatWithAggregatesFilter<"reservation_endpoints"> | number + timezone?: Prisma.StringNullableWithAggregatesFilter<"reservation_endpoints"> | string | null + local_time?: Prisma.StringNullableWithAggregatesFilter<"reservation_endpoints"> | string | null + local_date?: Prisma.StringNullableWithAggregatesFilter<"reservation_endpoints"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"reservation_endpoints"> | Date | string | null +} + +export type reservation_endpointsCreateInput = { + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null + reservations: Prisma.reservationsCreateNestedOneWithoutReservation_endpointsInput +} + +export type reservation_endpointsUncheckedCreateInput = { + id?: number + reservation_id: number + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null +} + +export type reservation_endpointsUpdateInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reservations?: Prisma.reservationsUpdateOneRequiredWithoutReservation_endpointsNestedInput +} + +export type reservation_endpointsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type reservation_endpointsCreateManyInput = { + id?: number + reservation_id: number + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null +} + +export type reservation_endpointsUpdateManyMutationInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type reservation_endpointsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type reservation_endpointsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + role?: Prisma.SortOrder + sequence?: Prisma.SortOrder + name?: Prisma.SortOrder + code?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + timezone?: Prisma.SortOrder + local_time?: Prisma.SortOrder + local_date?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type reservation_endpointsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + sequence?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder +} + +export type reservation_endpointsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + role?: Prisma.SortOrder + sequence?: Prisma.SortOrder + name?: Prisma.SortOrder + code?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + timezone?: Prisma.SortOrder + local_time?: Prisma.SortOrder + local_date?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type reservation_endpointsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + role?: Prisma.SortOrder + sequence?: Prisma.SortOrder + name?: Prisma.SortOrder + code?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder + timezone?: Prisma.SortOrder + local_time?: Prisma.SortOrder + local_date?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type reservation_endpointsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + sequence?: Prisma.SortOrder + lat?: Prisma.SortOrder + lng?: Prisma.SortOrder +} + +export type Reservation_endpointsListRelationFilter = { + every?: Prisma.reservation_endpointsWhereInput + some?: Prisma.reservation_endpointsWhereInput + none?: Prisma.reservation_endpointsWhereInput +} + +export type reservation_endpointsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type reservation_endpointsCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.reservation_endpointsCreateWithoutReservationsInput[] | Prisma.reservation_endpointsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput | Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.reservation_endpointsCreateManyReservationsInputEnvelope + connect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] +} + +export type reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.reservation_endpointsCreateWithoutReservationsInput[] | Prisma.reservation_endpointsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput | Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.reservation_endpointsCreateManyReservationsInputEnvelope + connect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] +} + +export type reservation_endpointsUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.reservation_endpointsCreateWithoutReservationsInput[] | Prisma.reservation_endpointsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput | Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.reservation_endpointsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.reservation_endpointsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.reservation_endpointsCreateManyReservationsInputEnvelope + set?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + disconnect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + delete?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + connect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + update?: Prisma.reservation_endpointsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.reservation_endpointsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.reservation_endpointsUpdateManyWithWhereWithoutReservationsInput | Prisma.reservation_endpointsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.reservation_endpointsScalarWhereInput | Prisma.reservation_endpointsScalarWhereInput[] +} + +export type reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.reservation_endpointsCreateWithoutReservationsInput[] | Prisma.reservation_endpointsUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput | Prisma.reservation_endpointsCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.reservation_endpointsUpsertWithWhereUniqueWithoutReservationsInput | Prisma.reservation_endpointsUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.reservation_endpointsCreateManyReservationsInputEnvelope + set?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + disconnect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + delete?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + connect?: Prisma.reservation_endpointsWhereUniqueInput | Prisma.reservation_endpointsWhereUniqueInput[] + update?: Prisma.reservation_endpointsUpdateWithWhereUniqueWithoutReservationsInput | Prisma.reservation_endpointsUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.reservation_endpointsUpdateManyWithWhereWithoutReservationsInput | Prisma.reservation_endpointsUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.reservation_endpointsScalarWhereInput | Prisma.reservation_endpointsScalarWhereInput[] +} + +export type reservation_endpointsCreateWithoutReservationsInput = { + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null +} + +export type reservation_endpointsUncheckedCreateWithoutReservationsInput = { + id?: number + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null +} + +export type reservation_endpointsCreateOrConnectWithoutReservationsInput = { + where: Prisma.reservation_endpointsWhereUniqueInput + create: Prisma.XOR +} + +export type reservation_endpointsCreateManyReservationsInputEnvelope = { + data: Prisma.reservation_endpointsCreateManyReservationsInput | Prisma.reservation_endpointsCreateManyReservationsInput[] +} + +export type reservation_endpointsUpsertWithWhereUniqueWithoutReservationsInput = { + where: Prisma.reservation_endpointsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservation_endpointsUpdateWithWhereUniqueWithoutReservationsInput = { + where: Prisma.reservation_endpointsWhereUniqueInput + data: Prisma.XOR +} + +export type reservation_endpointsUpdateManyWithWhereWithoutReservationsInput = { + where: Prisma.reservation_endpointsScalarWhereInput + data: Prisma.XOR +} + +export type reservation_endpointsScalarWhereInput = { + AND?: Prisma.reservation_endpointsScalarWhereInput | Prisma.reservation_endpointsScalarWhereInput[] + OR?: Prisma.reservation_endpointsScalarWhereInput[] + NOT?: Prisma.reservation_endpointsScalarWhereInput | Prisma.reservation_endpointsScalarWhereInput[] + id?: Prisma.IntFilter<"reservation_endpoints"> | number + reservation_id?: Prisma.IntFilter<"reservation_endpoints"> | number + role?: Prisma.StringFilter<"reservation_endpoints"> | string + sequence?: Prisma.IntFilter<"reservation_endpoints"> | number + name?: Prisma.StringFilter<"reservation_endpoints"> | string + code?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + lat?: Prisma.FloatFilter<"reservation_endpoints"> | number + lng?: Prisma.FloatFilter<"reservation_endpoints"> | number + timezone?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_time?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + local_date?: Prisma.StringNullableFilter<"reservation_endpoints"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservation_endpoints"> | Date | string | null +} + +export type reservation_endpointsCreateManyReservationsInput = { + id?: number + role: string + sequence?: number + name: string + code?: string | null + lat: number + lng: number + timezone?: string | null + local_time?: string | null + local_date?: string | null + created_at?: Date | string | null +} + +export type reservation_endpointsUpdateWithoutReservationsInput = { + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type reservation_endpointsUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type reservation_endpointsUncheckedUpdateManyWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + role?: Prisma.StringFieldUpdateOperationsInput | string + sequence?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + lat?: Prisma.FloatFieldUpdateOperationsInput | number + lng?: Prisma.FloatFieldUpdateOperationsInput | number + timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + local_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type reservation_endpointsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + reservation_id?: boolean + role?: boolean + sequence?: boolean + name?: boolean + code?: boolean + lat?: boolean + lng?: boolean + timezone?: boolean + local_time?: boolean + local_date?: boolean + created_at?: boolean + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_endpoints"]> + +export type reservation_endpointsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + reservation_id?: boolean + role?: boolean + sequence?: boolean + name?: boolean + code?: boolean + lat?: boolean + lng?: boolean + timezone?: boolean + local_time?: boolean + local_date?: boolean + created_at?: boolean + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_endpoints"]> + +export type reservation_endpointsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + reservation_id?: boolean + role?: boolean + sequence?: boolean + name?: boolean + code?: boolean + lat?: boolean + lng?: boolean + timezone?: boolean + local_time?: boolean + local_date?: boolean + created_at?: boolean + reservations?: boolean | Prisma.reservationsDefaultArgs +}, ExtArgs["result"]["reservation_endpoints"]> + +export type reservation_endpointsSelectScalar = { + id?: boolean + reservation_id?: boolean + role?: boolean + sequence?: boolean + name?: boolean + code?: boolean + lat?: boolean + lng?: boolean + timezone?: boolean + local_time?: boolean + local_date?: boolean + created_at?: boolean +} + +export type reservation_endpointsOmit = runtime.Types.Extensions.GetOmit<"id" | "reservation_id" | "role" | "sequence" | "name" | "code" | "lat" | "lng" | "timezone" | "local_time" | "local_date" | "created_at", ExtArgs["result"]["reservation_endpoints"]> +export type reservation_endpointsInclude = { + reservations?: boolean | Prisma.reservationsDefaultArgs +} +export type reservation_endpointsIncludeCreateManyAndReturn = { + reservations?: boolean | Prisma.reservationsDefaultArgs +} +export type reservation_endpointsIncludeUpdateManyAndReturn = { + reservations?: boolean | Prisma.reservationsDefaultArgs +} + +export type $reservation_endpointsPayload = { + name: "reservation_endpoints" + objects: { + reservations: Prisma.$reservationsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + reservation_id: number + role: string + sequence: number + name: string + code: string | null + lat: number + lng: number + timezone: string | null + local_time: string | null + local_date: string | null + created_at: Date | null + }, ExtArgs["result"]["reservation_endpoints"]> + composites: {} +} + +export type reservation_endpointsGetPayload = runtime.Types.Result.GetResult + +export type reservation_endpointsCountArgs = + Omit & { + select?: Reservation_endpointsCountAggregateInputType | true + } + +export interface reservation_endpointsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['reservation_endpoints'], meta: { name: 'reservation_endpoints' } } + /** + * Find zero or one Reservation_endpoints that matches the filter. + * @param {reservation_endpointsFindUniqueArgs} args - Arguments to find a Reservation_endpoints + * @example + * // Get one Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Reservation_endpoints that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {reservation_endpointsFindUniqueOrThrowArgs} args - Arguments to find a Reservation_endpoints + * @example + * // Get one Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservation_endpoints that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsFindFirstArgs} args - Arguments to find a Reservation_endpoints + * @example + * // Get one Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservation_endpoints that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsFindFirstOrThrowArgs} args - Arguments to find a Reservation_endpoints + * @example + * // Get one Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Reservation_endpoints that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findMany() + * + * // Get first 10 Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.findMany({ take: 10 }) + * + * // Only select the `id` + * const reservation_endpointsWithIdOnly = await prisma.reservation_endpoints.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Reservation_endpoints. + * @param {reservation_endpointsCreateArgs} args - Arguments to create a Reservation_endpoints. + * @example + * // Create one Reservation_endpoints + * const Reservation_endpoints = await prisma.reservation_endpoints.create({ + * data: { + * // ... data to create a Reservation_endpoints + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Reservation_endpoints. + * @param {reservation_endpointsCreateManyArgs} args - Arguments to create many Reservation_endpoints. + * @example + * // Create many Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Reservation_endpoints and returns the data saved in the database. + * @param {reservation_endpointsCreateManyAndReturnArgs} args - Arguments to create many Reservation_endpoints. + * @example + * // Create many Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Reservation_endpoints and only return the `id` + * const reservation_endpointsWithIdOnly = await prisma.reservation_endpoints.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Reservation_endpoints. + * @param {reservation_endpointsDeleteArgs} args - Arguments to delete one Reservation_endpoints. + * @example + * // Delete one Reservation_endpoints + * const Reservation_endpoints = await prisma.reservation_endpoints.delete({ + * where: { + * // ... filter to delete one Reservation_endpoints + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Reservation_endpoints. + * @param {reservation_endpointsUpdateArgs} args - Arguments to update one Reservation_endpoints. + * @example + * // Update one Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Reservation_endpoints. + * @param {reservation_endpointsDeleteManyArgs} args - Arguments to filter Reservation_endpoints to delete. + * @example + * // Delete a few Reservation_endpoints + * const { count } = await prisma.reservation_endpoints.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservation_endpoints. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservation_endpoints and returns the data updated in the database. + * @param {reservation_endpointsUpdateManyAndReturnArgs} args - Arguments to update many Reservation_endpoints. + * @example + * // Update many Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Reservation_endpoints and only return the `id` + * const reservation_endpointsWithIdOnly = await prisma.reservation_endpoints.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Reservation_endpoints. + * @param {reservation_endpointsUpsertArgs} args - Arguments to update or create a Reservation_endpoints. + * @example + * // Update or create a Reservation_endpoints + * const reservation_endpoints = await prisma.reservation_endpoints.upsert({ + * create: { + * // ... data to create a Reservation_endpoints + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Reservation_endpoints we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__reservation_endpointsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Reservation_endpoints. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsCountArgs} args - Arguments to filter Reservation_endpoints to count. + * @example + * // Count the number of Reservation_endpoints + * const count = await prisma.reservation_endpoints.count({ + * where: { + * // ... the filter for the Reservation_endpoints we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Reservation_endpoints. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Reservation_endpointsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Reservation_endpoints. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservation_endpointsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends reservation_endpointsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: reservation_endpointsGroupByArgs['orderBy'] } + : { orderBy?: reservation_endpointsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetReservation_endpointsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the reservation_endpoints model + */ +readonly fields: reservation_endpointsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for reservation_endpoints. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__reservation_endpointsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + reservations = {}>(args?: Prisma.Subset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the reservation_endpoints model + */ +export interface reservation_endpointsFieldRefs { + readonly id: Prisma.FieldRef<"reservation_endpoints", 'Int'> + readonly reservation_id: Prisma.FieldRef<"reservation_endpoints", 'Int'> + readonly role: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly sequence: Prisma.FieldRef<"reservation_endpoints", 'Int'> + readonly name: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly code: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly lat: Prisma.FieldRef<"reservation_endpoints", 'Float'> + readonly lng: Prisma.FieldRef<"reservation_endpoints", 'Float'> + readonly timezone: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly local_time: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly local_date: Prisma.FieldRef<"reservation_endpoints", 'String'> + readonly created_at: Prisma.FieldRef<"reservation_endpoints", 'DateTime'> +} + + +// Custom InputTypes +/** + * reservation_endpoints findUnique + */ +export type reservation_endpointsFindUniqueArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter, which reservation_endpoints to fetch. + */ + where: Prisma.reservation_endpointsWhereUniqueInput +} + +/** + * reservation_endpoints findUniqueOrThrow + */ +export type reservation_endpointsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter, which reservation_endpoints to fetch. + */ + where: Prisma.reservation_endpointsWhereUniqueInput +} + +/** + * reservation_endpoints findFirst + */ +export type reservation_endpointsFindFirstArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter, which reservation_endpoints to fetch. + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_endpoints to fetch. + */ + orderBy?: Prisma.reservation_endpointsOrderByWithRelationInput | Prisma.reservation_endpointsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservation_endpoints. + */ + cursor?: Prisma.reservation_endpointsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_endpoints from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_endpoints. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_endpoints. + */ + distinct?: Prisma.Reservation_endpointsScalarFieldEnum | Prisma.Reservation_endpointsScalarFieldEnum[] +} + +/** + * reservation_endpoints findFirstOrThrow + */ +export type reservation_endpointsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter, which reservation_endpoints to fetch. + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_endpoints to fetch. + */ + orderBy?: Prisma.reservation_endpointsOrderByWithRelationInput | Prisma.reservation_endpointsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservation_endpoints. + */ + cursor?: Prisma.reservation_endpointsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_endpoints from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_endpoints. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_endpoints. + */ + distinct?: Prisma.Reservation_endpointsScalarFieldEnum | Prisma.Reservation_endpointsScalarFieldEnum[] +} + +/** + * reservation_endpoints findMany + */ +export type reservation_endpointsFindManyArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter, which reservation_endpoints to fetch. + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservation_endpoints to fetch. + */ + orderBy?: Prisma.reservation_endpointsOrderByWithRelationInput | Prisma.reservation_endpointsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing reservation_endpoints. + */ + cursor?: Prisma.reservation_endpointsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservation_endpoints from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservation_endpoints. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservation_endpoints. + */ + distinct?: Prisma.Reservation_endpointsScalarFieldEnum | Prisma.Reservation_endpointsScalarFieldEnum[] +} + +/** + * reservation_endpoints create + */ +export type reservation_endpointsCreateArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * The data needed to create a reservation_endpoints. + */ + data: Prisma.XOR +} + +/** + * reservation_endpoints createMany + */ +export type reservation_endpointsCreateManyArgs = { + /** + * The data used to create many reservation_endpoints. + */ + data: Prisma.reservation_endpointsCreateManyInput | Prisma.reservation_endpointsCreateManyInput[] +} + +/** + * reservation_endpoints createManyAndReturn + */ +export type reservation_endpointsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * The data used to create many reservation_endpoints. + */ + data: Prisma.reservation_endpointsCreateManyInput | Prisma.reservation_endpointsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsIncludeCreateManyAndReturn | null +} + +/** + * reservation_endpoints update + */ +export type reservation_endpointsUpdateArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * The data needed to update a reservation_endpoints. + */ + data: Prisma.XOR + /** + * Choose, which reservation_endpoints to update. + */ + where: Prisma.reservation_endpointsWhereUniqueInput +} + +/** + * reservation_endpoints updateMany + */ +export type reservation_endpointsUpdateManyArgs = { + /** + * The data used to update reservation_endpoints. + */ + data: Prisma.XOR + /** + * Filter which reservation_endpoints to update + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * Limit how many reservation_endpoints to update. + */ + limit?: number +} + +/** + * reservation_endpoints updateManyAndReturn + */ +export type reservation_endpointsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * The data used to update reservation_endpoints. + */ + data: Prisma.XOR + /** + * Filter which reservation_endpoints to update + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * Limit how many reservation_endpoints to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsIncludeUpdateManyAndReturn | null +} + +/** + * reservation_endpoints upsert + */ +export type reservation_endpointsUpsertArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * The filter to search for the reservation_endpoints to update in case it exists. + */ + where: Prisma.reservation_endpointsWhereUniqueInput + /** + * In case the reservation_endpoints found by the `where` argument doesn't exist, create a new reservation_endpoints with this data. + */ + create: Prisma.XOR + /** + * In case the reservation_endpoints was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * reservation_endpoints delete + */ +export type reservation_endpointsDeleteArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + /** + * Filter which reservation_endpoints to delete. + */ + where: Prisma.reservation_endpointsWhereUniqueInput +} + +/** + * reservation_endpoints deleteMany + */ +export type reservation_endpointsDeleteManyArgs = { + /** + * Filter which reservation_endpoints to delete + */ + where?: Prisma.reservation_endpointsWhereInput + /** + * Limit how many reservation_endpoints to delete. + */ + limit?: number +} + +/** + * reservation_endpoints without action + */ +export type reservation_endpointsDefaultArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null +} diff --git a/server/src/generated/prisma/models/reservations.ts b/server/src/generated/prisma/models/reservations.ts new file mode 100644 index 00000000..4fe12bc8 --- /dev/null +++ b/server/src/generated/prisma/models/reservations.ts @@ -0,0 +1,3811 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `reservations` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model reservations + * + */ +export type reservationsModel = runtime.Types.Result.DefaultSelection + +export type AggregateReservations = { + _count: ReservationsCountAggregateOutputType | null + _avg: ReservationsAvgAggregateOutputType | null + _sum: ReservationsSumAggregateOutputType | null + _min: ReservationsMinAggregateOutputType | null + _max: ReservationsMaxAggregateOutputType | null +} + +export type ReservationsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + day_plan_position: number | null + needs_review: number | null +} + +export type ReservationsSumAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + day_plan_position: number | null + needs_review: number | null +} + +export type ReservationsMinAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + title: string | null + accommodation_id: string | null + reservation_time: string | null + reservation_end_time: string | null + location: string | null + confirmation_number: string | null + notes: string | null + status: string | null + type: string | null + created_at: Date | null + metadata: string | null + day_plan_position: number | null + needs_review: number | null +} + +export type ReservationsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + title: string | null + accommodation_id: string | null + reservation_time: string | null + reservation_end_time: string | null + location: string | null + confirmation_number: string | null + notes: string | null + status: string | null + type: string | null + created_at: Date | null + metadata: string | null + day_plan_position: number | null + needs_review: number | null +} + +export type ReservationsCountAggregateOutputType = { + id: number + trip_id: number + day_id: number + end_day_id: number + place_id: number + assignment_id: number + title: number + accommodation_id: number + reservation_time: number + reservation_end_time: number + location: number + confirmation_number: number + notes: number + status: number + type: number + created_at: number + metadata: number + day_plan_position: number + needs_review: number + _all: number +} + + +export type ReservationsAvgAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + end_day_id?: true + place_id?: true + assignment_id?: true + day_plan_position?: true + needs_review?: true +} + +export type ReservationsSumAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + end_day_id?: true + place_id?: true + assignment_id?: true + day_plan_position?: true + needs_review?: true +} + +export type ReservationsMinAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + end_day_id?: true + place_id?: true + assignment_id?: true + title?: true + accommodation_id?: true + reservation_time?: true + reservation_end_time?: true + location?: true + confirmation_number?: true + notes?: true + status?: true + type?: true + created_at?: true + metadata?: true + day_plan_position?: true + needs_review?: true +} + +export type ReservationsMaxAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + end_day_id?: true + place_id?: true + assignment_id?: true + title?: true + accommodation_id?: true + reservation_time?: true + reservation_end_time?: true + location?: true + confirmation_number?: true + notes?: true + status?: true + type?: true + created_at?: true + metadata?: true + day_plan_position?: true + needs_review?: true +} + +export type ReservationsCountAggregateInputType = { + id?: true + trip_id?: true + day_id?: true + end_day_id?: true + place_id?: true + assignment_id?: true + title?: true + accommodation_id?: true + reservation_time?: true + reservation_end_time?: true + location?: true + confirmation_number?: true + notes?: true + status?: true + type?: true + created_at?: true + metadata?: true + day_plan_position?: true + needs_review?: true + _all?: true +} + +export type ReservationsAggregateArgs = { + /** + * Filter which reservations to aggregate. + */ + where?: Prisma.reservationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservations to fetch. + */ + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.reservationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned reservations + **/ + _count?: true | ReservationsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: ReservationsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: ReservationsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: ReservationsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: ReservationsMaxAggregateInputType +} + +export type GetReservationsAggregateType = { + [P in keyof T & keyof AggregateReservations]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type reservationsGroupByArgs = { + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithAggregationInput | Prisma.reservationsOrderByWithAggregationInput[] + by: Prisma.ReservationsScalarFieldEnum[] | Prisma.ReservationsScalarFieldEnum + having?: Prisma.reservationsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: ReservationsCountAggregateInputType | true + _avg?: ReservationsAvgAggregateInputType + _sum?: ReservationsSumAggregateInputType + _min?: ReservationsMinAggregateInputType + _max?: ReservationsMaxAggregateInputType +} + +export type ReservationsGroupByOutputType = { + id: number + trip_id: number + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + title: string + accommodation_id: string | null + reservation_time: string | null + reservation_end_time: string | null + location: string | null + confirmation_number: string | null + notes: string | null + status: string | null + type: string | null + created_at: Date | null + metadata: string | null + day_plan_position: number | null + needs_review: number + _count: ReservationsCountAggregateOutputType | null + _avg: ReservationsAvgAggregateOutputType | null + _sum: ReservationsSumAggregateOutputType | null + _min: ReservationsMinAggregateOutputType | null + _max: ReservationsMaxAggregateOutputType | null +} + +export type GetReservationsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof ReservationsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type reservationsWhereInput = { + AND?: Prisma.reservationsWhereInput | Prisma.reservationsWhereInput[] + OR?: Prisma.reservationsWhereInput[] + NOT?: Prisma.reservationsWhereInput | Prisma.reservationsWhereInput[] + id?: Prisma.IntFilter<"reservations"> | number + trip_id?: Prisma.IntFilter<"reservations"> | number + day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + end_day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + place_id?: Prisma.IntNullableFilter<"reservations"> | number | null + assignment_id?: Prisma.IntNullableFilter<"reservations"> | number | null + title?: Prisma.StringFilter<"reservations"> | string + accommodation_id?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_time?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_end_time?: Prisma.StringNullableFilter<"reservations"> | string | null + location?: Prisma.StringNullableFilter<"reservations"> | string | null + confirmation_number?: Prisma.StringNullableFilter<"reservations"> | string | null + notes?: Prisma.StringNullableFilter<"reservations"> | string | null + status?: Prisma.StringNullableFilter<"reservations"> | string | null + type?: Prisma.StringNullableFilter<"reservations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservations"> | Date | string | null + metadata?: Prisma.StringNullableFilter<"reservations"> | string | null + day_plan_position?: Prisma.FloatNullableFilter<"reservations"> | number | null + needs_review?: Prisma.IntFilter<"reservations"> | number + budget_items?: Prisma.Budget_itemsListRelationFilter + file_links?: Prisma.File_linksListRelationFilter + reservation_day_positions?: Prisma.Reservation_day_positionsListRelationFilter + reservation_endpoints?: Prisma.Reservation_endpointsListRelationFilter + day_assignments?: Prisma.XOR | null + places?: Prisma.XOR | null + days_reservations_end_day_idTodays?: Prisma.XOR | null + days_reservations_day_idTodays?: Prisma.XOR | null + trips?: Prisma.XOR + trip_files?: Prisma.Trip_filesListRelationFilter +} + +export type reservationsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrderInput | Prisma.SortOrder + end_day_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_id?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrder + accommodation_id?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_time?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_end_time?: Prisma.SortOrderInput | Prisma.SortOrder + location?: Prisma.SortOrderInput | Prisma.SortOrder + confirmation_number?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + type?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + metadata?: Prisma.SortOrderInput | Prisma.SortOrder + day_plan_position?: Prisma.SortOrderInput | Prisma.SortOrder + needs_review?: Prisma.SortOrder + budget_items?: Prisma.budget_itemsOrderByRelationAggregateInput + file_links?: Prisma.file_linksOrderByRelationAggregateInput + reservation_day_positions?: Prisma.reservation_day_positionsOrderByRelationAggregateInput + reservation_endpoints?: Prisma.reservation_endpointsOrderByRelationAggregateInput + day_assignments?: Prisma.day_assignmentsOrderByWithRelationInput + places?: Prisma.placesOrderByWithRelationInput + days_reservations_end_day_idTodays?: Prisma.daysOrderByWithRelationInput + days_reservations_day_idTodays?: Prisma.daysOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + trip_files?: Prisma.trip_filesOrderByRelationAggregateInput +} + +export type reservationsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.reservationsWhereInput | Prisma.reservationsWhereInput[] + OR?: Prisma.reservationsWhereInput[] + NOT?: Prisma.reservationsWhereInput | Prisma.reservationsWhereInput[] + trip_id?: Prisma.IntFilter<"reservations"> | number + day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + end_day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + place_id?: Prisma.IntNullableFilter<"reservations"> | number | null + assignment_id?: Prisma.IntNullableFilter<"reservations"> | number | null + title?: Prisma.StringFilter<"reservations"> | string + accommodation_id?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_time?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_end_time?: Prisma.StringNullableFilter<"reservations"> | string | null + location?: Prisma.StringNullableFilter<"reservations"> | string | null + confirmation_number?: Prisma.StringNullableFilter<"reservations"> | string | null + notes?: Prisma.StringNullableFilter<"reservations"> | string | null + status?: Prisma.StringNullableFilter<"reservations"> | string | null + type?: Prisma.StringNullableFilter<"reservations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservations"> | Date | string | null + metadata?: Prisma.StringNullableFilter<"reservations"> | string | null + day_plan_position?: Prisma.FloatNullableFilter<"reservations"> | number | null + needs_review?: Prisma.IntFilter<"reservations"> | number + budget_items?: Prisma.Budget_itemsListRelationFilter + file_links?: Prisma.File_linksListRelationFilter + reservation_day_positions?: Prisma.Reservation_day_positionsListRelationFilter + reservation_endpoints?: Prisma.Reservation_endpointsListRelationFilter + day_assignments?: Prisma.XOR | null + places?: Prisma.XOR | null + days_reservations_end_day_idTodays?: Prisma.XOR | null + days_reservations_day_idTodays?: Prisma.XOR | null + trips?: Prisma.XOR + trip_files?: Prisma.Trip_filesListRelationFilter +}, "id"> + +export type reservationsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrderInput | Prisma.SortOrder + end_day_id?: Prisma.SortOrderInput | Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + assignment_id?: Prisma.SortOrderInput | Prisma.SortOrder + title?: Prisma.SortOrder + accommodation_id?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_time?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_end_time?: Prisma.SortOrderInput | Prisma.SortOrder + location?: Prisma.SortOrderInput | Prisma.SortOrder + confirmation_number?: Prisma.SortOrderInput | Prisma.SortOrder + notes?: Prisma.SortOrderInput | Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + type?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + metadata?: Prisma.SortOrderInput | Prisma.SortOrder + day_plan_position?: Prisma.SortOrderInput | Prisma.SortOrder + needs_review?: Prisma.SortOrder + _count?: Prisma.reservationsCountOrderByAggregateInput + _avg?: Prisma.reservationsAvgOrderByAggregateInput + _max?: Prisma.reservationsMaxOrderByAggregateInput + _min?: Prisma.reservationsMinOrderByAggregateInput + _sum?: Prisma.reservationsSumOrderByAggregateInput +} + +export type reservationsScalarWhereWithAggregatesInput = { + AND?: Prisma.reservationsScalarWhereWithAggregatesInput | Prisma.reservationsScalarWhereWithAggregatesInput[] + OR?: Prisma.reservationsScalarWhereWithAggregatesInput[] + NOT?: Prisma.reservationsScalarWhereWithAggregatesInput | Prisma.reservationsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"reservations"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"reservations"> | number + day_id?: Prisma.IntNullableWithAggregatesFilter<"reservations"> | number | null + end_day_id?: Prisma.IntNullableWithAggregatesFilter<"reservations"> | number | null + place_id?: Prisma.IntNullableWithAggregatesFilter<"reservations"> | number | null + assignment_id?: Prisma.IntNullableWithAggregatesFilter<"reservations"> | number | null + title?: Prisma.StringWithAggregatesFilter<"reservations"> | string + accommodation_id?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + reservation_time?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + reservation_end_time?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + location?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + confirmation_number?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + notes?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + status?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + type?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"reservations"> | Date | string | null + metadata?: Prisma.StringNullableWithAggregatesFilter<"reservations"> | string | null + day_plan_position?: Prisma.FloatNullableWithAggregatesFilter<"reservations"> | number | null + needs_review?: Prisma.IntWithAggregatesFilter<"reservations"> | number +} + +export type reservationsCreateInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsUpdateInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateManyInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsUpdateManyMutationInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type reservationsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type ReservationsNullableScalarRelationFilter = { + is?: Prisma.reservationsWhereInput | null + isNot?: Prisma.reservationsWhereInput | null +} + +export type ReservationsListRelationFilter = { + every?: Prisma.reservationsWhereInput + some?: Prisma.reservationsWhereInput + none?: Prisma.reservationsWhereInput +} + +export type reservationsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type ReservationsScalarRelationFilter = { + is?: Prisma.reservationsWhereInput + isNot?: Prisma.reservationsWhereInput +} + +export type reservationsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + title?: Prisma.SortOrder + accommodation_id?: Prisma.SortOrder + reservation_time?: Prisma.SortOrder + reservation_end_time?: Prisma.SortOrder + location?: Prisma.SortOrder + confirmation_number?: Prisma.SortOrder + notes?: Prisma.SortOrder + status?: Prisma.SortOrder + type?: Prisma.SortOrder + created_at?: Prisma.SortOrder + metadata?: Prisma.SortOrder + day_plan_position?: Prisma.SortOrder + needs_review?: Prisma.SortOrder +} + +export type reservationsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + day_plan_position?: Prisma.SortOrder + needs_review?: Prisma.SortOrder +} + +export type reservationsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + title?: Prisma.SortOrder + accommodation_id?: Prisma.SortOrder + reservation_time?: Prisma.SortOrder + reservation_end_time?: Prisma.SortOrder + location?: Prisma.SortOrder + confirmation_number?: Prisma.SortOrder + notes?: Prisma.SortOrder + status?: Prisma.SortOrder + type?: Prisma.SortOrder + created_at?: Prisma.SortOrder + metadata?: Prisma.SortOrder + day_plan_position?: Prisma.SortOrder + needs_review?: Prisma.SortOrder +} + +export type reservationsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + title?: Prisma.SortOrder + accommodation_id?: Prisma.SortOrder + reservation_time?: Prisma.SortOrder + reservation_end_time?: Prisma.SortOrder + location?: Prisma.SortOrder + confirmation_number?: Prisma.SortOrder + notes?: Prisma.SortOrder + status?: Prisma.SortOrder + type?: Prisma.SortOrder + created_at?: Prisma.SortOrder + metadata?: Prisma.SortOrder + day_plan_position?: Prisma.SortOrder + needs_review?: Prisma.SortOrder +} + +export type reservationsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + day_id?: Prisma.SortOrder + end_day_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + assignment_id?: Prisma.SortOrder + day_plan_position?: Prisma.SortOrder + needs_review?: Prisma.SortOrder +} + +export type reservationsCreateNestedOneWithoutBudget_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutBudget_itemsInput + connect?: Prisma.reservationsWhereUniqueInput +} + +export type reservationsUpdateOneWithoutBudget_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutBudget_itemsInput + upsert?: Prisma.reservationsUpsertWithoutBudget_itemsInput + disconnect?: Prisma.reservationsWhereInput | boolean + delete?: Prisma.reservationsWhereInput | boolean + connect?: Prisma.reservationsWhereUniqueInput + update?: Prisma.XOR, Prisma.reservationsUncheckedUpdateWithoutBudget_itemsInput> +} + +export type reservationsCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDay_assignmentsInput[] | Prisma.reservationsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput | Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.reservationsCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUncheckedCreateNestedManyWithoutDay_assignmentsInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDay_assignmentsInput[] | Prisma.reservationsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput | Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput[] + createMany?: Prisma.reservationsCreateManyDay_assignmentsInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDay_assignmentsInput[] | Prisma.reservationsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput | Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.reservationsCreateManyDay_assignmentsInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.reservationsUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUncheckedUpdateManyWithoutDay_assignmentsNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDay_assignmentsInput[] | Prisma.reservationsUncheckedCreateWithoutDay_assignmentsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput | Prisma.reservationsCreateOrConnectWithoutDay_assignmentsInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDay_assignmentsInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDay_assignmentsInput[] + createMany?: Prisma.reservationsCreateManyDay_assignmentsInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDay_assignmentsInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDay_assignmentsInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDay_assignmentsInput | Prisma.reservationsUpdateManyWithWhereWithoutDay_assignmentsInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_end_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsCreateNestedManyWithoutDays_reservations_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_day_idTodaysInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUncheckedCreateNestedManyWithoutDays_reservations_end_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_end_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUncheckedCreateNestedManyWithoutDays_reservations_day_idTodaysInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_day_idTodaysInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_end_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_end_day_idTodaysInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUpdateManyWithoutDays_reservations_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_day_idTodaysInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_day_idTodaysInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_day_idTodaysInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_end_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_end_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_end_day_idTodaysInput | Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_end_day_idTodaysInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutDays_reservations_day_idTodaysInput[] | Prisma.reservationsUncheckedCreateWithoutDays_reservations_day_idTodaysInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpsertWithWhereUniqueWithoutDays_reservations_day_idTodaysInput[] + createMany?: Prisma.reservationsCreateManyDays_reservations_day_idTodaysInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpdateWithWhereUniqueWithoutDays_reservations_day_idTodaysInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_day_idTodaysInput | Prisma.reservationsUpdateManyWithWhereWithoutDays_reservations_day_idTodaysInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsCreateNestedOneWithoutFile_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutFile_linksInput + connect?: Prisma.reservationsWhereUniqueInput +} + +export type reservationsUpdateOneWithoutFile_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutFile_linksInput + upsert?: Prisma.reservationsUpsertWithoutFile_linksInput + disconnect?: Prisma.reservationsWhereInput | boolean + delete?: Prisma.reservationsWhereInput | boolean + connect?: Prisma.reservationsWhereUniqueInput + update?: Prisma.XOR, Prisma.reservationsUncheckedUpdateWithoutFile_linksInput> +} + +export type reservationsCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutPlacesInput[] | Prisma.reservationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutPlacesInput | Prisma.reservationsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.reservationsCreateManyPlacesInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutPlacesInput[] | Prisma.reservationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutPlacesInput | Prisma.reservationsCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.reservationsCreateManyPlacesInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutPlacesInput[] | Prisma.reservationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutPlacesInput | Prisma.reservationsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.reservationsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.reservationsCreateManyPlacesInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.reservationsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutPlacesInput | Prisma.reservationsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutPlacesInput[] | Prisma.reservationsUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutPlacesInput | Prisma.reservationsCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutPlacesInput | Prisma.reservationsUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.reservationsCreateManyPlacesInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutPlacesInput | Prisma.reservationsUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutPlacesInput | Prisma.reservationsUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsCreateNestedOneWithoutReservation_day_positionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutReservation_day_positionsInput + connect?: Prisma.reservationsWhereUniqueInput +} + +export type reservationsUpdateOneRequiredWithoutReservation_day_positionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutReservation_day_positionsInput + upsert?: Prisma.reservationsUpsertWithoutReservation_day_positionsInput + connect?: Prisma.reservationsWhereUniqueInput + update?: Prisma.XOR, Prisma.reservationsUncheckedUpdateWithoutReservation_day_positionsInput> +} + +export type reservationsCreateNestedOneWithoutReservation_endpointsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutReservation_endpointsInput + connect?: Prisma.reservationsWhereUniqueInput +} + +export type reservationsUpdateOneRequiredWithoutReservation_endpointsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutReservation_endpointsInput + upsert?: Prisma.reservationsUpsertWithoutReservation_endpointsInput + connect?: Prisma.reservationsWhereUniqueInput + update?: Prisma.XOR, Prisma.reservationsUncheckedUpdateWithoutReservation_endpointsInput> +} + +export type reservationsCreateNestedOneWithoutTrip_filesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTrip_filesInput + connect?: Prisma.reservationsWhereUniqueInput +} + +export type reservationsUpdateOneWithoutTrip_filesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTrip_filesInput + upsert?: Prisma.reservationsUpsertWithoutTrip_filesInput + disconnect?: Prisma.reservationsWhereInput | boolean + delete?: Prisma.reservationsWhereInput | boolean + connect?: Prisma.reservationsWhereUniqueInput + update?: Prisma.XOR, Prisma.reservationsUncheckedUpdateWithoutTrip_filesInput> +} + +export type reservationsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutTripsInput[] | Prisma.reservationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTripsInput | Prisma.reservationsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.reservationsCreateManyTripsInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutTripsInput[] | Prisma.reservationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTripsInput | Prisma.reservationsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.reservationsCreateManyTripsInputEnvelope + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] +} + +export type reservationsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutTripsInput[] | Prisma.reservationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTripsInput | Prisma.reservationsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutTripsInput | Prisma.reservationsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.reservationsCreateManyTripsInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutTripsInput | Prisma.reservationsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutTripsInput | Prisma.reservationsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.reservationsCreateWithoutTripsInput[] | Prisma.reservationsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.reservationsCreateOrConnectWithoutTripsInput | Prisma.reservationsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.reservationsUpsertWithWhereUniqueWithoutTripsInput | Prisma.reservationsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.reservationsCreateManyTripsInputEnvelope + set?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + disconnect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + delete?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + connect?: Prisma.reservationsWhereUniqueInput | Prisma.reservationsWhereUniqueInput[] + update?: Prisma.reservationsUpdateWithWhereUniqueWithoutTripsInput | Prisma.reservationsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.reservationsUpdateManyWithWhereWithoutTripsInput | Prisma.reservationsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] +} + +export type reservationsCreateWithoutBudget_itemsInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutBudget_itemsInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutBudget_itemsInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsUpsertWithoutBudget_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.reservationsWhereInput +} + +export type reservationsUpdateToOneWithWhereWithoutBudget_itemsInput = { + where?: Prisma.reservationsWhereInput + data: Prisma.XOR +} + +export type reservationsUpdateWithoutBudget_itemsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutBudget_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateWithoutDay_assignmentsInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutDay_assignmentsInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutDay_assignmentsInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsCreateManyDay_assignmentsInputEnvelope = { + data: Prisma.reservationsCreateManyDay_assignmentsInput | Prisma.reservationsCreateManyDay_assignmentsInput[] +} + +export type reservationsUpsertWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.reservationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservationsUpdateWithWhereUniqueWithoutDay_assignmentsInput = { + where: Prisma.reservationsWhereUniqueInput + data: Prisma.XOR +} + +export type reservationsUpdateManyWithWhereWithoutDay_assignmentsInput = { + where: Prisma.reservationsScalarWhereInput + data: Prisma.XOR +} + +export type reservationsScalarWhereInput = { + AND?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] + OR?: Prisma.reservationsScalarWhereInput[] + NOT?: Prisma.reservationsScalarWhereInput | Prisma.reservationsScalarWhereInput[] + id?: Prisma.IntFilter<"reservations"> | number + trip_id?: Prisma.IntFilter<"reservations"> | number + day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + end_day_id?: Prisma.IntNullableFilter<"reservations"> | number | null + place_id?: Prisma.IntNullableFilter<"reservations"> | number | null + assignment_id?: Prisma.IntNullableFilter<"reservations"> | number | null + title?: Prisma.StringFilter<"reservations"> | string + accommodation_id?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_time?: Prisma.StringNullableFilter<"reservations"> | string | null + reservation_end_time?: Prisma.StringNullableFilter<"reservations"> | string | null + location?: Prisma.StringNullableFilter<"reservations"> | string | null + confirmation_number?: Prisma.StringNullableFilter<"reservations"> | string | null + notes?: Prisma.StringNullableFilter<"reservations"> | string | null + status?: Prisma.StringNullableFilter<"reservations"> | string | null + type?: Prisma.StringNullableFilter<"reservations"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"reservations"> | Date | string | null + metadata?: Prisma.StringNullableFilter<"reservations"> | string | null + day_plan_position?: Prisma.FloatNullableFilter<"reservations"> | number | null + needs_review?: Prisma.IntFilter<"reservations"> | number +} + +export type reservationsCreateWithoutDays_reservations_end_day_idTodaysInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutDays_reservations_end_day_idTodaysInput = { + id?: number + trip_id: number + day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutDays_reservations_end_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsCreateManyDays_reservations_end_day_idTodaysInputEnvelope = { + data: Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInput | Prisma.reservationsCreateManyDays_reservations_end_day_idTodaysInput[] +} + +export type reservationsCreateWithoutDays_reservations_day_idTodaysInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutDays_reservations_day_idTodaysInput = { + id?: number + trip_id: number + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutDays_reservations_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsCreateManyDays_reservations_day_idTodaysInputEnvelope = { + data: Prisma.reservationsCreateManyDays_reservations_day_idTodaysInput | Prisma.reservationsCreateManyDays_reservations_day_idTodaysInput[] +} + +export type reservationsUpsertWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservationsUpdateWithWhereUniqueWithoutDays_reservations_end_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + data: Prisma.XOR +} + +export type reservationsUpdateManyWithWhereWithoutDays_reservations_end_day_idTodaysInput = { + where: Prisma.reservationsScalarWhereInput + data: Prisma.XOR +} + +export type reservationsUpsertWithWhereUniqueWithoutDays_reservations_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservationsUpdateWithWhereUniqueWithoutDays_reservations_day_idTodaysInput = { + where: Prisma.reservationsWhereUniqueInput + data: Prisma.XOR +} + +export type reservationsUpdateManyWithWhereWithoutDays_reservations_day_idTodaysInput = { + where: Prisma.reservationsScalarWhereInput + data: Prisma.XOR +} + +export type reservationsCreateWithoutFile_linksInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutFile_linksInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutFile_linksInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsUpsertWithoutFile_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.reservationsWhereInput +} + +export type reservationsUpdateToOneWithWhereWithoutFile_linksInput = { + where?: Prisma.reservationsWhereInput + data: Prisma.XOR +} + +export type reservationsUpdateWithoutFile_linksInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutFile_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateWithoutPlacesInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutPlacesInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutPlacesInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsCreateManyPlacesInputEnvelope = { + data: Prisma.reservationsCreateManyPlacesInput | Prisma.reservationsCreateManyPlacesInput[] +} + +export type reservationsUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.reservationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservationsUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.reservationsWhereUniqueInput + data: Prisma.XOR +} + +export type reservationsUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.reservationsScalarWhereInput + data: Prisma.XOR +} + +export type reservationsCreateWithoutReservation_day_positionsInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutReservation_day_positionsInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutReservation_day_positionsInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsUpsertWithoutReservation_day_positionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.reservationsWhereInput +} + +export type reservationsUpdateToOneWithWhereWithoutReservation_day_positionsInput = { + where?: Prisma.reservationsWhereInput + data: Prisma.XOR +} + +export type reservationsUpdateWithoutReservation_day_positionsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutReservation_day_positionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateWithoutReservation_endpointsInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutReservation_endpointsInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutReservation_endpointsInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsUpsertWithoutReservation_endpointsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.reservationsWhereInput +} + +export type reservationsUpdateToOneWithWhereWithoutReservation_endpointsInput = { + where?: Prisma.reservationsWhereInput + data: Prisma.XOR +} + +export type reservationsUpdateWithoutReservation_endpointsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutReservation_endpointsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateWithoutTrip_filesInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trips: Prisma.tripsCreateNestedOneWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutTrip_filesInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsUpsertWithoutTrip_filesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.reservationsWhereInput +} + +export type reservationsUpdateToOneWithWhereWithoutTrip_filesInput = { + where?: Prisma.reservationsWhereInput + data: Prisma.XOR +} + +export type reservationsUpdateWithoutTrip_filesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsCreateWithoutTripsInput = { + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsCreateNestedManyWithoutReservationsInput + day_assignments?: Prisma.day_assignmentsCreateNestedOneWithoutReservationsInput + places?: Prisma.placesCreateNestedOneWithoutReservationsInput + days_reservations_end_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_end_day_idTodaysInput + days_reservations_day_idTodays?: Prisma.daysCreateNestedOneWithoutReservations_reservations_day_idTodaysInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutReservationsInput +} + +export type reservationsUncheckedCreateWithoutTripsInput = { + id?: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutReservationsInput + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutReservationsInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedCreateNestedManyWithoutReservationsInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedCreateNestedManyWithoutReservationsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutReservationsInput +} + +export type reservationsCreateOrConnectWithoutTripsInput = { + where: Prisma.reservationsWhereUniqueInput + create: Prisma.XOR +} + +export type reservationsCreateManyTripsInputEnvelope = { + data: Prisma.reservationsCreateManyTripsInput | Prisma.reservationsCreateManyTripsInput[] +} + +export type reservationsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.reservationsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type reservationsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.reservationsWhereUniqueInput + data: Prisma.XOR +} + +export type reservationsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.reservationsScalarWhereInput + data: Prisma.XOR +} + +export type reservationsCreateManyDay_assignmentsInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsUpdateWithoutDay_assignmentsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateManyWithoutDay_assignmentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type reservationsCreateManyDays_reservations_end_day_idTodaysInput = { + id?: number + trip_id: number + day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsCreateManyDays_reservations_day_idTodaysInput = { + id?: number + trip_id: number + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsUpdateWithoutDays_reservations_end_day_idTodaysInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutDays_reservations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateManyWithoutDays_reservations_end_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type reservationsUpdateWithoutDays_reservations_day_idTodaysInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutDays_reservations_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateManyWithoutDays_reservations_day_idTodaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type reservationsCreateManyPlacesInput = { + id?: number + trip_id: number + day_id?: number | null + end_day_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsUpdateWithoutPlacesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type reservationsCreateManyTripsInput = { + id?: number + day_id?: number | null + end_day_id?: number | null + place_id?: number | null + assignment_id?: number | null + title: string + accommodation_id?: string | null + reservation_time?: string | null + reservation_end_time?: string | null + location?: string | null + confirmation_number?: string | null + notes?: string | null + status?: string | null + type?: string | null + created_at?: Date | string | null + metadata?: string | null + day_plan_position?: number | null + needs_review?: number +} + +export type reservationsUpdateWithoutTripsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUpdateManyWithoutReservationsNestedInput + day_assignments?: Prisma.day_assignmentsUpdateOneWithoutReservationsNestedInput + places?: Prisma.placesUpdateOneWithoutReservationsNestedInput + days_reservations_end_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_end_day_idTodaysNestedInput + days_reservations_day_idTodays?: Prisma.daysUpdateOneWithoutReservations_reservations_day_idTodaysNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutReservationsNestedInput + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutReservationsNestedInput + reservation_day_positions?: Prisma.reservation_day_positionsUncheckedUpdateManyWithoutReservationsNestedInput + reservation_endpoints?: Prisma.reservation_endpointsUncheckedUpdateManyWithoutReservationsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutReservationsNestedInput +} + +export type reservationsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + end_day_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + assignment_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + title?: Prisma.StringFieldUpdateOperationsInput | string + accommodation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + reservation_end_time?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + confirmation_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + day_plan_position?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null + needs_review?: Prisma.IntFieldUpdateOperationsInput | number +} + + +/** + * Count Type ReservationsCountOutputType + */ + +export type ReservationsCountOutputType = { + budget_items: number + file_links: number + reservation_day_positions: number + reservation_endpoints: number + trip_files: number +} + +export type ReservationsCountOutputTypeSelect = { + budget_items?: boolean | ReservationsCountOutputTypeCountBudget_itemsArgs + file_links?: boolean | ReservationsCountOutputTypeCountFile_linksArgs + reservation_day_positions?: boolean | ReservationsCountOutputTypeCountReservation_day_positionsArgs + reservation_endpoints?: boolean | ReservationsCountOutputTypeCountReservation_endpointsArgs + trip_files?: boolean | ReservationsCountOutputTypeCountTrip_filesArgs +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the ReservationsCountOutputType + */ + select?: Prisma.ReservationsCountOutputTypeSelect | null +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeCountBudget_itemsArgs = { + where?: Prisma.budget_itemsWhereInput +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeCountFile_linksArgs = { + where?: Prisma.file_linksWhereInput +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeCountReservation_day_positionsArgs = { + where?: Prisma.reservation_day_positionsWhereInput +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeCountReservation_endpointsArgs = { + where?: Prisma.reservation_endpointsWhereInput +} + +/** + * ReservationsCountOutputType without action + */ +export type ReservationsCountOutputTypeCountTrip_filesArgs = { + where?: Prisma.trip_filesWhereInput +} + + +export type reservationsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + end_day_id?: boolean + place_id?: boolean + assignment_id?: boolean + title?: boolean + accommodation_id?: boolean + reservation_time?: boolean + reservation_end_time?: boolean + location?: boolean + confirmation_number?: boolean + notes?: boolean + status?: boolean + type?: boolean + created_at?: boolean + metadata?: boolean + day_plan_position?: boolean + needs_review?: boolean + budget_items?: boolean | Prisma.reservations$budget_itemsArgs + file_links?: boolean | Prisma.reservations$file_linksArgs + reservation_day_positions?: boolean | Prisma.reservations$reservation_day_positionsArgs + reservation_endpoints?: boolean | Prisma.reservations$reservation_endpointsArgs + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_files?: boolean | Prisma.reservations$trip_filesArgs + _count?: boolean | Prisma.ReservationsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["reservations"]> + +export type reservationsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + end_day_id?: boolean + place_id?: boolean + assignment_id?: boolean + title?: boolean + accommodation_id?: boolean + reservation_time?: boolean + reservation_end_time?: boolean + location?: boolean + confirmation_number?: boolean + notes?: boolean + status?: boolean + type?: boolean + created_at?: boolean + metadata?: boolean + day_plan_position?: boolean + needs_review?: boolean + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["reservations"]> + +export type reservationsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + day_id?: boolean + end_day_id?: boolean + place_id?: boolean + assignment_id?: boolean + title?: boolean + accommodation_id?: boolean + reservation_time?: boolean + reservation_end_time?: boolean + location?: boolean + confirmation_number?: boolean + notes?: boolean + status?: boolean + type?: boolean + created_at?: boolean + metadata?: boolean + day_plan_position?: boolean + needs_review?: boolean + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["reservations"]> + +export type reservationsSelectScalar = { + id?: boolean + trip_id?: boolean + day_id?: boolean + end_day_id?: boolean + place_id?: boolean + assignment_id?: boolean + title?: boolean + accommodation_id?: boolean + reservation_time?: boolean + reservation_end_time?: boolean + location?: boolean + confirmation_number?: boolean + notes?: boolean + status?: boolean + type?: boolean + created_at?: boolean + metadata?: boolean + day_plan_position?: boolean + needs_review?: boolean +} + +export type reservationsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "day_id" | "end_day_id" | "place_id" | "assignment_id" | "title" | "accommodation_id" | "reservation_time" | "reservation_end_time" | "location" | "confirmation_number" | "notes" | "status" | "type" | "created_at" | "metadata" | "day_plan_position" | "needs_review", ExtArgs["result"]["reservations"]> +export type reservationsInclude = { + budget_items?: boolean | Prisma.reservations$budget_itemsArgs + file_links?: boolean | Prisma.reservations$file_linksArgs + reservation_day_positions?: boolean | Prisma.reservations$reservation_day_positionsArgs + reservation_endpoints?: boolean | Prisma.reservations$reservation_endpointsArgs + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_files?: boolean | Prisma.reservations$trip_filesArgs + _count?: boolean | Prisma.ReservationsCountOutputTypeDefaultArgs +} +export type reservationsIncludeCreateManyAndReturn = { + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type reservationsIncludeUpdateManyAndReturn = { + day_assignments?: boolean | Prisma.reservations$day_assignmentsArgs + places?: boolean | Prisma.reservations$placesArgs + days_reservations_end_day_idTodays?: boolean | Prisma.reservations$days_reservations_end_day_idTodaysArgs + days_reservations_day_idTodays?: boolean | Prisma.reservations$days_reservations_day_idTodaysArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $reservationsPayload = { + name: "reservations" + objects: { + budget_items: Prisma.$budget_itemsPayload[] + file_links: Prisma.$file_linksPayload[] + reservation_day_positions: Prisma.$reservation_day_positionsPayload[] + reservation_endpoints: Prisma.$reservation_endpointsPayload[] + day_assignments: Prisma.$day_assignmentsPayload | null + places: Prisma.$placesPayload | null + days_reservations_end_day_idTodays: Prisma.$daysPayload | null + days_reservations_day_idTodays: Prisma.$daysPayload | null + trips: Prisma.$tripsPayload + trip_files: Prisma.$trip_filesPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + day_id: number | null + end_day_id: number | null + place_id: number | null + assignment_id: number | null + title: string + accommodation_id: string | null + reservation_time: string | null + reservation_end_time: string | null + location: string | null + confirmation_number: string | null + notes: string | null + status: string | null + type: string | null + created_at: Date | null + metadata: string | null + day_plan_position: number | null + needs_review: number + }, ExtArgs["result"]["reservations"]> + composites: {} +} + +export type reservationsGetPayload = runtime.Types.Result.GetResult + +export type reservationsCountArgs = + Omit & { + select?: ReservationsCountAggregateInputType | true + } + +export interface reservationsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['reservations'], meta: { name: 'reservations' } } + /** + * Find zero or one Reservations that matches the filter. + * @param {reservationsFindUniqueArgs} args - Arguments to find a Reservations + * @example + * // Get one Reservations + * const reservations = await prisma.reservations.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Reservations that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {reservationsFindUniqueOrThrowArgs} args - Arguments to find a Reservations + * @example + * // Get one Reservations + * const reservations = await prisma.reservations.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsFindFirstArgs} args - Arguments to find a Reservations + * @example + * // Get one Reservations + * const reservations = await prisma.reservations.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Reservations that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsFindFirstOrThrowArgs} args - Arguments to find a Reservations + * @example + * // Get one Reservations + * const reservations = await prisma.reservations.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Reservations that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Reservations + * const reservations = await prisma.reservations.findMany() + * + * // Get first 10 Reservations + * const reservations = await prisma.reservations.findMany({ take: 10 }) + * + * // Only select the `id` + * const reservationsWithIdOnly = await prisma.reservations.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Reservations. + * @param {reservationsCreateArgs} args - Arguments to create a Reservations. + * @example + * // Create one Reservations + * const Reservations = await prisma.reservations.create({ + * data: { + * // ... data to create a Reservations + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Reservations. + * @param {reservationsCreateManyArgs} args - Arguments to create many Reservations. + * @example + * // Create many Reservations + * const reservations = await prisma.reservations.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Reservations and returns the data saved in the database. + * @param {reservationsCreateManyAndReturnArgs} args - Arguments to create many Reservations. + * @example + * // Create many Reservations + * const reservations = await prisma.reservations.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Reservations and only return the `id` + * const reservationsWithIdOnly = await prisma.reservations.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Reservations. + * @param {reservationsDeleteArgs} args - Arguments to delete one Reservations. + * @example + * // Delete one Reservations + * const Reservations = await prisma.reservations.delete({ + * where: { + * // ... filter to delete one Reservations + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Reservations. + * @param {reservationsUpdateArgs} args - Arguments to update one Reservations. + * @example + * // Update one Reservations + * const reservations = await prisma.reservations.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Reservations. + * @param {reservationsDeleteManyArgs} args - Arguments to filter Reservations to delete. + * @example + * // Delete a few Reservations + * const { count } = await prisma.reservations.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Reservations + * const reservations = await prisma.reservations.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Reservations and returns the data updated in the database. + * @param {reservationsUpdateManyAndReturnArgs} args - Arguments to update many Reservations. + * @example + * // Update many Reservations + * const reservations = await prisma.reservations.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Reservations and only return the `id` + * const reservationsWithIdOnly = await prisma.reservations.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Reservations. + * @param {reservationsUpsertArgs} args - Arguments to update or create a Reservations. + * @example + * // Update or create a Reservations + * const reservations = await prisma.reservations.upsert({ + * create: { + * // ... data to create a Reservations + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Reservations we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__reservationsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Reservations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsCountArgs} args - Arguments to filter Reservations to count. + * @example + * // Count the number of Reservations + * const count = await prisma.reservations.count({ + * where: { + * // ... the filter for the Reservations we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Reservations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {ReservationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Reservations. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {reservationsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends reservationsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: reservationsGroupByArgs['orderBy'] } + : { orderBy?: reservationsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetReservationsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the reservations model + */ +readonly fields: reservationsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for reservations. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__reservationsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + budget_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + file_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservation_day_positions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservation_endpoints = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_assignments = {}>(args?: Prisma.Subset>): Prisma.Prisma__day_assignmentsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + days_reservations_end_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + days_reservations_day_idTodays = {}>(args?: Prisma.Subset>): Prisma.Prisma__daysClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trip_files = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the reservations model + */ +export interface reservationsFieldRefs { + readonly id: Prisma.FieldRef<"reservations", 'Int'> + readonly trip_id: Prisma.FieldRef<"reservations", 'Int'> + readonly day_id: Prisma.FieldRef<"reservations", 'Int'> + readonly end_day_id: Prisma.FieldRef<"reservations", 'Int'> + readonly place_id: Prisma.FieldRef<"reservations", 'Int'> + readonly assignment_id: Prisma.FieldRef<"reservations", 'Int'> + readonly title: Prisma.FieldRef<"reservations", 'String'> + readonly accommodation_id: Prisma.FieldRef<"reservations", 'String'> + readonly reservation_time: Prisma.FieldRef<"reservations", 'String'> + readonly reservation_end_time: Prisma.FieldRef<"reservations", 'String'> + readonly location: Prisma.FieldRef<"reservations", 'String'> + readonly confirmation_number: Prisma.FieldRef<"reservations", 'String'> + readonly notes: Prisma.FieldRef<"reservations", 'String'> + readonly status: Prisma.FieldRef<"reservations", 'String'> + readonly type: Prisma.FieldRef<"reservations", 'String'> + readonly created_at: Prisma.FieldRef<"reservations", 'DateTime'> + readonly metadata: Prisma.FieldRef<"reservations", 'String'> + readonly day_plan_position: Prisma.FieldRef<"reservations", 'Float'> + readonly needs_review: Prisma.FieldRef<"reservations", 'Int'> +} + + +// Custom InputTypes +/** + * reservations findUnique + */ +export type reservationsFindUniqueArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter, which reservations to fetch. + */ + where: Prisma.reservationsWhereUniqueInput +} + +/** + * reservations findUniqueOrThrow + */ +export type reservationsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter, which reservations to fetch. + */ + where: Prisma.reservationsWhereUniqueInput +} + +/** + * reservations findFirst + */ +export type reservationsFindFirstArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter, which reservations to fetch. + */ + where?: Prisma.reservationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservations to fetch. + */ + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservations. + */ + cursor?: Prisma.reservationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservations. + */ + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * reservations findFirstOrThrow + */ +export type reservationsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter, which reservations to fetch. + */ + where?: Prisma.reservationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservations to fetch. + */ + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for reservations. + */ + cursor?: Prisma.reservationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservations. + */ + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * reservations findMany + */ +export type reservationsFindManyArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter, which reservations to fetch. + */ + where?: Prisma.reservationsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of reservations to fetch. + */ + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing reservations. + */ + cursor?: Prisma.reservationsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` reservations from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` reservations. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of reservations. + */ + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * reservations create + */ +export type reservationsCreateArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * The data needed to create a reservations. + */ + data: Prisma.XOR +} + +/** + * reservations createMany + */ +export type reservationsCreateManyArgs = { + /** + * The data used to create many reservations. + */ + data: Prisma.reservationsCreateManyInput | Prisma.reservationsCreateManyInput[] +} + +/** + * reservations createManyAndReturn + */ +export type reservationsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * The data used to create many reservations. + */ + data: Prisma.reservationsCreateManyInput | Prisma.reservationsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsIncludeCreateManyAndReturn | null +} + +/** + * reservations update + */ +export type reservationsUpdateArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * The data needed to update a reservations. + */ + data: Prisma.XOR + /** + * Choose, which reservations to update. + */ + where: Prisma.reservationsWhereUniqueInput +} + +/** + * reservations updateMany + */ +export type reservationsUpdateManyArgs = { + /** + * The data used to update reservations. + */ + data: Prisma.XOR + /** + * Filter which reservations to update + */ + where?: Prisma.reservationsWhereInput + /** + * Limit how many reservations to update. + */ + limit?: number +} + +/** + * reservations updateManyAndReturn + */ +export type reservationsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * The data used to update reservations. + */ + data: Prisma.XOR + /** + * Filter which reservations to update + */ + where?: Prisma.reservationsWhereInput + /** + * Limit how many reservations to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsIncludeUpdateManyAndReturn | null +} + +/** + * reservations upsert + */ +export type reservationsUpsertArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * The filter to search for the reservations to update in case it exists. + */ + where: Prisma.reservationsWhereUniqueInput + /** + * In case the reservations found by the `where` argument doesn't exist, create a new reservations with this data. + */ + create: Prisma.XOR + /** + * In case the reservations was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * reservations delete + */ +export type reservationsDeleteArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + /** + * Filter which reservations to delete. + */ + where: Prisma.reservationsWhereUniqueInput +} + +/** + * reservations deleteMany + */ +export type reservationsDeleteManyArgs = { + /** + * Filter which reservations to delete + */ + where?: Prisma.reservationsWhereInput + /** + * Limit how many reservations to delete. + */ + limit?: number +} + +/** + * reservations.budget_items + */ +export type reservations$budget_itemsArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + where?: Prisma.budget_itemsWhereInput + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + cursor?: Prisma.budget_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * reservations.file_links + */ +export type reservations$file_linksArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + where?: Prisma.file_linksWhereInput + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + cursor?: Prisma.file_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * reservations.reservation_day_positions + */ +export type reservations$reservation_day_positionsArgs = { + /** + * Select specific fields to fetch from the reservation_day_positions + */ + select?: Prisma.reservation_day_positionsSelect | null + /** + * Omit specific fields from the reservation_day_positions + */ + omit?: Prisma.reservation_day_positionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_day_positionsInclude | null + where?: Prisma.reservation_day_positionsWhereInput + orderBy?: Prisma.reservation_day_positionsOrderByWithRelationInput | Prisma.reservation_day_positionsOrderByWithRelationInput[] + cursor?: Prisma.reservation_day_positionsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Reservation_day_positionsScalarFieldEnum | Prisma.Reservation_day_positionsScalarFieldEnum[] +} + +/** + * reservations.reservation_endpoints + */ +export type reservations$reservation_endpointsArgs = { + /** + * Select specific fields to fetch from the reservation_endpoints + */ + select?: Prisma.reservation_endpointsSelect | null + /** + * Omit specific fields from the reservation_endpoints + */ + omit?: Prisma.reservation_endpointsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservation_endpointsInclude | null + where?: Prisma.reservation_endpointsWhereInput + orderBy?: Prisma.reservation_endpointsOrderByWithRelationInput | Prisma.reservation_endpointsOrderByWithRelationInput[] + cursor?: Prisma.reservation_endpointsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Reservation_endpointsScalarFieldEnum | Prisma.Reservation_endpointsScalarFieldEnum[] +} + +/** + * reservations.day_assignments + */ +export type reservations$day_assignmentsArgs = { + /** + * Select specific fields to fetch from the day_assignments + */ + select?: Prisma.day_assignmentsSelect | null + /** + * Omit specific fields from the day_assignments + */ + omit?: Prisma.day_assignmentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_assignmentsInclude | null + where?: Prisma.day_assignmentsWhereInput +} + +/** + * reservations.places + */ +export type reservations$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * reservations.days_reservations_end_day_idTodays + */ +export type reservations$days_reservations_end_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + where?: Prisma.daysWhereInput +} + +/** + * reservations.days_reservations_day_idTodays + */ +export type reservations$days_reservations_day_idTodaysArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + where?: Prisma.daysWhereInput +} + +/** + * reservations.trip_files + */ +export type reservations$trip_filesArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + cursor?: Prisma.trip_filesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * reservations without action + */ +export type reservationsDefaultArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null +} diff --git a/server/src/generated/prisma/models/schema_version.ts b/server/src/generated/prisma/models/schema_version.ts new file mode 100644 index 00000000..0d6f8f8e --- /dev/null +++ b/server/src/generated/prisma/models/schema_version.ts @@ -0,0 +1,1110 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `schema_version` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model schema_version + * + */ +export type schema_versionModel = runtime.Types.Result.DefaultSelection + +export type AggregateSchema_version = { + _count: Schema_versionCountAggregateOutputType | null + _avg: Schema_versionAvgAggregateOutputType | null + _sum: Schema_versionSumAggregateOutputType | null + _min: Schema_versionMinAggregateOutputType | null + _max: Schema_versionMaxAggregateOutputType | null +} + +export type Schema_versionAvgAggregateOutputType = { + id: number | null + version: number | null +} + +export type Schema_versionSumAggregateOutputType = { + id: number | null + version: number | null +} + +export type Schema_versionMinAggregateOutputType = { + id: number | null + version: number | null +} + +export type Schema_versionMaxAggregateOutputType = { + id: number | null + version: number | null +} + +export type Schema_versionCountAggregateOutputType = { + id: number + version: number + _all: number +} + + +export type Schema_versionAvgAggregateInputType = { + id?: true + version?: true +} + +export type Schema_versionSumAggregateInputType = { + id?: true + version?: true +} + +export type Schema_versionMinAggregateInputType = { + id?: true + version?: true +} + +export type Schema_versionMaxAggregateInputType = { + id?: true + version?: true +} + +export type Schema_versionCountAggregateInputType = { + id?: true + version?: true + _all?: true +} + +export type Schema_versionAggregateArgs = { + /** + * Filter which schema_version to aggregate. + */ + where?: Prisma.schema_versionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of schema_versions to fetch. + */ + orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.schema_versionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` schema_versions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` schema_versions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned schema_versions + **/ + _count?: true | Schema_versionCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Schema_versionAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Schema_versionSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Schema_versionMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Schema_versionMaxAggregateInputType +} + +export type GetSchema_versionAggregateType = { + [P in keyof T & keyof AggregateSchema_version]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type schema_versionGroupByArgs = { + where?: Prisma.schema_versionWhereInput + orderBy?: Prisma.schema_versionOrderByWithAggregationInput | Prisma.schema_versionOrderByWithAggregationInput[] + by: Prisma.Schema_versionScalarFieldEnum[] | Prisma.Schema_versionScalarFieldEnum + having?: Prisma.schema_versionScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Schema_versionCountAggregateInputType | true + _avg?: Schema_versionAvgAggregateInputType + _sum?: Schema_versionSumAggregateInputType + _min?: Schema_versionMinAggregateInputType + _max?: Schema_versionMaxAggregateInputType +} + +export type Schema_versionGroupByOutputType = { + id: number + version: number + _count: Schema_versionCountAggregateOutputType | null + _avg: Schema_versionAvgAggregateOutputType | null + _sum: Schema_versionSumAggregateOutputType | null + _min: Schema_versionMinAggregateOutputType | null + _max: Schema_versionMaxAggregateOutputType | null +} + +export type GetSchema_versionGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Schema_versionGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type schema_versionWhereInput = { + AND?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[] + OR?: Prisma.schema_versionWhereInput[] + NOT?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[] + id?: Prisma.IntFilter<"schema_version"> | number + version?: Prisma.IntFilter<"schema_version"> | number +} + +export type schema_versionOrderByWithRelationInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + +export type schema_versionWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[] + OR?: Prisma.schema_versionWhereInput[] + NOT?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[] + version?: Prisma.IntFilter<"schema_version"> | number +}, "id"> + +export type schema_versionOrderByWithAggregationInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder + _count?: Prisma.schema_versionCountOrderByAggregateInput + _avg?: Prisma.schema_versionAvgOrderByAggregateInput + _max?: Prisma.schema_versionMaxOrderByAggregateInput + _min?: Prisma.schema_versionMinOrderByAggregateInput + _sum?: Prisma.schema_versionSumOrderByAggregateInput +} + +export type schema_versionScalarWhereWithAggregatesInput = { + AND?: Prisma.schema_versionScalarWhereWithAggregatesInput | Prisma.schema_versionScalarWhereWithAggregatesInput[] + OR?: Prisma.schema_versionScalarWhereWithAggregatesInput[] + NOT?: Prisma.schema_versionScalarWhereWithAggregatesInput | Prisma.schema_versionScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"schema_version"> | number + version?: Prisma.IntWithAggregatesFilter<"schema_version"> | number +} + +export type schema_versionCreateInput = { + version: number +} + +export type schema_versionUncheckedCreateInput = { + id?: number + version: number +} + +export type schema_versionUpdateInput = { + version?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type schema_versionUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + version?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type schema_versionCreateManyInput = { + id?: number + version: number +} + +export type schema_versionUpdateManyMutationInput = { + version?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type schema_versionUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + version?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type schema_versionCountOrderByAggregateInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + +export type schema_versionAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + +export type schema_versionMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + +export type schema_versionMinOrderByAggregateInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + +export type schema_versionSumOrderByAggregateInput = { + id?: Prisma.SortOrder + version?: Prisma.SortOrder +} + + + +export type schema_versionSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + version?: boolean +}, ExtArgs["result"]["schema_version"]> + +export type schema_versionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + version?: boolean +}, ExtArgs["result"]["schema_version"]> + +export type schema_versionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + version?: boolean +}, ExtArgs["result"]["schema_version"]> + +export type schema_versionSelectScalar = { + id?: boolean + version?: boolean +} + +export type schema_versionOmit = runtime.Types.Extensions.GetOmit<"id" | "version", ExtArgs["result"]["schema_version"]> + +export type $schema_versionPayload = { + name: "schema_version" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + version: number + }, ExtArgs["result"]["schema_version"]> + composites: {} +} + +export type schema_versionGetPayload = runtime.Types.Result.GetResult + +export type schema_versionCountArgs = + Omit & { + select?: Schema_versionCountAggregateInputType | true + } + +export interface schema_versionDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['schema_version'], meta: { name: 'schema_version' } } + /** + * Find zero or one Schema_version that matches the filter. + * @param {schema_versionFindUniqueArgs} args - Arguments to find a Schema_version + * @example + * // Get one Schema_version + * const schema_version = await prisma.schema_version.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Schema_version that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {schema_versionFindUniqueOrThrowArgs} args - Arguments to find a Schema_version + * @example + * // Get one Schema_version + * const schema_version = await prisma.schema_version.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Schema_version that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionFindFirstArgs} args - Arguments to find a Schema_version + * @example + * // Get one Schema_version + * const schema_version = await prisma.schema_version.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Schema_version that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionFindFirstOrThrowArgs} args - Arguments to find a Schema_version + * @example + * // Get one Schema_version + * const schema_version = await prisma.schema_version.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Schema_versions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Schema_versions + * const schema_versions = await prisma.schema_version.findMany() + * + * // Get first 10 Schema_versions + * const schema_versions = await prisma.schema_version.findMany({ take: 10 }) + * + * // Only select the `id` + * const schema_versionWithIdOnly = await prisma.schema_version.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Schema_version. + * @param {schema_versionCreateArgs} args - Arguments to create a Schema_version. + * @example + * // Create one Schema_version + * const Schema_version = await prisma.schema_version.create({ + * data: { + * // ... data to create a Schema_version + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Schema_versions. + * @param {schema_versionCreateManyArgs} args - Arguments to create many Schema_versions. + * @example + * // Create many Schema_versions + * const schema_version = await prisma.schema_version.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Schema_versions and returns the data saved in the database. + * @param {schema_versionCreateManyAndReturnArgs} args - Arguments to create many Schema_versions. + * @example + * // Create many Schema_versions + * const schema_version = await prisma.schema_version.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Schema_versions and only return the `id` + * const schema_versionWithIdOnly = await prisma.schema_version.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Schema_version. + * @param {schema_versionDeleteArgs} args - Arguments to delete one Schema_version. + * @example + * // Delete one Schema_version + * const Schema_version = await prisma.schema_version.delete({ + * where: { + * // ... filter to delete one Schema_version + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Schema_version. + * @param {schema_versionUpdateArgs} args - Arguments to update one Schema_version. + * @example + * // Update one Schema_version + * const schema_version = await prisma.schema_version.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Schema_versions. + * @param {schema_versionDeleteManyArgs} args - Arguments to filter Schema_versions to delete. + * @example + * // Delete a few Schema_versions + * const { count } = await prisma.schema_version.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Schema_versions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Schema_versions + * const schema_version = await prisma.schema_version.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Schema_versions and returns the data updated in the database. + * @param {schema_versionUpdateManyAndReturnArgs} args - Arguments to update many Schema_versions. + * @example + * // Update many Schema_versions + * const schema_version = await prisma.schema_version.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Schema_versions and only return the `id` + * const schema_versionWithIdOnly = await prisma.schema_version.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Schema_version. + * @param {schema_versionUpsertArgs} args - Arguments to update or create a Schema_version. + * @example + * // Update or create a Schema_version + * const schema_version = await prisma.schema_version.upsert({ + * create: { + * // ... data to create a Schema_version + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Schema_version we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__schema_versionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Schema_versions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionCountArgs} args - Arguments to filter Schema_versions to count. + * @example + * // Count the number of Schema_versions + * const count = await prisma.schema_version.count({ + * where: { + * // ... the filter for the Schema_versions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Schema_version. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Schema_versionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Schema_version. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {schema_versionGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends schema_versionGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: schema_versionGroupByArgs['orderBy'] } + : { orderBy?: schema_versionGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSchema_versionGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the schema_version model + */ +readonly fields: schema_versionFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for schema_version. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__schema_versionClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the schema_version model + */ +export interface schema_versionFieldRefs { + readonly id: Prisma.FieldRef<"schema_version", 'Int'> + readonly version: Prisma.FieldRef<"schema_version", 'Int'> +} + + +// Custom InputTypes +/** + * schema_version findUnique + */ +export type schema_versionFindUniqueArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter, which schema_version to fetch. + */ + where: Prisma.schema_versionWhereUniqueInput +} + +/** + * schema_version findUniqueOrThrow + */ +export type schema_versionFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter, which schema_version to fetch. + */ + where: Prisma.schema_versionWhereUniqueInput +} + +/** + * schema_version findFirst + */ +export type schema_versionFindFirstArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter, which schema_version to fetch. + */ + where?: Prisma.schema_versionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of schema_versions to fetch. + */ + orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for schema_versions. + */ + cursor?: Prisma.schema_versionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` schema_versions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` schema_versions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of schema_versions. + */ + distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[] +} + +/** + * schema_version findFirstOrThrow + */ +export type schema_versionFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter, which schema_version to fetch. + */ + where?: Prisma.schema_versionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of schema_versions to fetch. + */ + orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for schema_versions. + */ + cursor?: Prisma.schema_versionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` schema_versions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` schema_versions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of schema_versions. + */ + distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[] +} + +/** + * schema_version findMany + */ +export type schema_versionFindManyArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter, which schema_versions to fetch. + */ + where?: Prisma.schema_versionWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of schema_versions to fetch. + */ + orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing schema_versions. + */ + cursor?: Prisma.schema_versionWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` schema_versions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` schema_versions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of schema_versions. + */ + distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[] +} + +/** + * schema_version create + */ +export type schema_versionCreateArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * The data needed to create a schema_version. + */ + data: Prisma.XOR +} + +/** + * schema_version createMany + */ +export type schema_versionCreateManyArgs = { + /** + * The data used to create many schema_versions. + */ + data: Prisma.schema_versionCreateManyInput | Prisma.schema_versionCreateManyInput[] +} + +/** + * schema_version createManyAndReturn + */ +export type schema_versionCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelectCreateManyAndReturn | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * The data used to create many schema_versions. + */ + data: Prisma.schema_versionCreateManyInput | Prisma.schema_versionCreateManyInput[] +} + +/** + * schema_version update + */ +export type schema_versionUpdateArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * The data needed to update a schema_version. + */ + data: Prisma.XOR + /** + * Choose, which schema_version to update. + */ + where: Prisma.schema_versionWhereUniqueInput +} + +/** + * schema_version updateMany + */ +export type schema_versionUpdateManyArgs = { + /** + * The data used to update schema_versions. + */ + data: Prisma.XOR + /** + * Filter which schema_versions to update + */ + where?: Prisma.schema_versionWhereInput + /** + * Limit how many schema_versions to update. + */ + limit?: number +} + +/** + * schema_version updateManyAndReturn + */ +export type schema_versionUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * The data used to update schema_versions. + */ + data: Prisma.XOR + /** + * Filter which schema_versions to update + */ + where?: Prisma.schema_versionWhereInput + /** + * Limit how many schema_versions to update. + */ + limit?: number +} + +/** + * schema_version upsert + */ +export type schema_versionUpsertArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * The filter to search for the schema_version to update in case it exists. + */ + where: Prisma.schema_versionWhereUniqueInput + /** + * In case the schema_version found by the `where` argument doesn't exist, create a new schema_version with this data. + */ + create: Prisma.XOR + /** + * In case the schema_version was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * schema_version delete + */ +export type schema_versionDeleteArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null + /** + * Filter which schema_version to delete. + */ + where: Prisma.schema_versionWhereUniqueInput +} + +/** + * schema_version deleteMany + */ +export type schema_versionDeleteManyArgs = { + /** + * Filter which schema_versions to delete + */ + where?: Prisma.schema_versionWhereInput + /** + * Limit how many schema_versions to delete. + */ + limit?: number +} + +/** + * schema_version without action + */ +export type schema_versionDefaultArgs = { + /** + * Select specific fields to fetch from the schema_version + */ + select?: Prisma.schema_versionSelect | null + /** + * Omit specific fields from the schema_version + */ + omit?: Prisma.schema_versionOmit | null +} diff --git a/server/src/generated/prisma/models/settings.ts b/server/src/generated/prisma/models/settings.ts new file mode 100644 index 00000000..42bea5bc --- /dev/null +++ b/server/src/generated/prisma/models/settings.ts @@ -0,0 +1,1358 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `settings` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model settings + * + */ +export type settingsModel = runtime.Types.Result.DefaultSelection + +export type AggregateSettings = { + _count: SettingsCountAggregateOutputType | null + _avg: SettingsAvgAggregateOutputType | null + _sum: SettingsSumAggregateOutputType | null + _min: SettingsMinAggregateOutputType | null + _max: SettingsMaxAggregateOutputType | null +} + +export type SettingsAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type SettingsSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type SettingsMinAggregateOutputType = { + id: number | null + user_id: number | null + key: string | null + value: string | null +} + +export type SettingsMaxAggregateOutputType = { + id: number | null + user_id: number | null + key: string | null + value: string | null +} + +export type SettingsCountAggregateOutputType = { + id: number + user_id: number + key: number + value: number + _all: number +} + + +export type SettingsAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type SettingsSumAggregateInputType = { + id?: true + user_id?: true +} + +export type SettingsMinAggregateInputType = { + id?: true + user_id?: true + key?: true + value?: true +} + +export type SettingsMaxAggregateInputType = { + id?: true + user_id?: true + key?: true + value?: true +} + +export type SettingsCountAggregateInputType = { + id?: true + user_id?: true + key?: true + value?: true + _all?: true +} + +export type SettingsAggregateArgs = { + /** + * Filter which settings to aggregate. + */ + where?: Prisma.settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of settings to fetch. + */ + orderBy?: Prisma.settingsOrderByWithRelationInput | Prisma.settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned settings + **/ + _count?: true | SettingsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: SettingsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: SettingsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: SettingsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: SettingsMaxAggregateInputType +} + +export type GetSettingsAggregateType = { + [P in keyof T & keyof AggregateSettings]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type settingsGroupByArgs = { + where?: Prisma.settingsWhereInput + orderBy?: Prisma.settingsOrderByWithAggregationInput | Prisma.settingsOrderByWithAggregationInput[] + by: Prisma.SettingsScalarFieldEnum[] | Prisma.SettingsScalarFieldEnum + having?: Prisma.settingsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: SettingsCountAggregateInputType | true + _avg?: SettingsAvgAggregateInputType + _sum?: SettingsSumAggregateInputType + _min?: SettingsMinAggregateInputType + _max?: SettingsMaxAggregateInputType +} + +export type SettingsGroupByOutputType = { + id: number + user_id: number + key: string + value: string | null + _count: SettingsCountAggregateOutputType | null + _avg: SettingsAvgAggregateOutputType | null + _sum: SettingsSumAggregateOutputType | null + _min: SettingsMinAggregateOutputType | null + _max: SettingsMaxAggregateOutputType | null +} + +export type GetSettingsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof SettingsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type settingsWhereInput = { + AND?: Prisma.settingsWhereInput | Prisma.settingsWhereInput[] + OR?: Prisma.settingsWhereInput[] + NOT?: Prisma.settingsWhereInput | Prisma.settingsWhereInput[] + id?: Prisma.IntFilter<"settings"> | number + user_id?: Prisma.IntFilter<"settings"> | number + key?: Prisma.StringFilter<"settings"> | string + value?: Prisma.StringNullableFilter<"settings"> | string | null + users?: Prisma.XOR +} + +export type settingsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + key?: Prisma.SortOrder + value?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type settingsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_key?: Prisma.settingsUser_idKeyCompoundUniqueInput + AND?: Prisma.settingsWhereInput | Prisma.settingsWhereInput[] + OR?: Prisma.settingsWhereInput[] + NOT?: Prisma.settingsWhereInput | Prisma.settingsWhereInput[] + user_id?: Prisma.IntFilter<"settings"> | number + key?: Prisma.StringFilter<"settings"> | string + value?: Prisma.StringNullableFilter<"settings"> | string | null + users?: Prisma.XOR +}, "id" | "user_id_key"> + +export type settingsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + key?: Prisma.SortOrder + value?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.settingsCountOrderByAggregateInput + _avg?: Prisma.settingsAvgOrderByAggregateInput + _max?: Prisma.settingsMaxOrderByAggregateInput + _min?: Prisma.settingsMinOrderByAggregateInput + _sum?: Prisma.settingsSumOrderByAggregateInput +} + +export type settingsScalarWhereWithAggregatesInput = { + AND?: Prisma.settingsScalarWhereWithAggregatesInput | Prisma.settingsScalarWhereWithAggregatesInput[] + OR?: Prisma.settingsScalarWhereWithAggregatesInput[] + NOT?: Prisma.settingsScalarWhereWithAggregatesInput | Prisma.settingsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"settings"> | number + user_id?: Prisma.IntWithAggregatesFilter<"settings"> | number + key?: Prisma.StringWithAggregatesFilter<"settings"> | string + value?: Prisma.StringNullableWithAggregatesFilter<"settings"> | string | null +} + +export type settingsCreateInput = { + key: string + value?: string | null + users: Prisma.usersCreateNestedOneWithoutSettingsInput +} + +export type settingsUncheckedCreateInput = { + id?: number + user_id: number + key: string + value?: string | null +} + +export type settingsUpdateInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutSettingsNestedInput +} + +export type settingsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type settingsCreateManyInput = { + id?: number + user_id: number + key: string + value?: string | null +} + +export type settingsUpdateManyMutationInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type settingsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type settingsUser_idKeyCompoundUniqueInput = { + user_id: number + key: string +} + +export type settingsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + +export type settingsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type settingsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + +export type settingsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + key?: Prisma.SortOrder + value?: Prisma.SortOrder +} + +export type settingsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type SettingsListRelationFilter = { + every?: Prisma.settingsWhereInput + some?: Prisma.settingsWhereInput + none?: Prisma.settingsWhereInput +} + +export type settingsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type settingsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.settingsCreateWithoutUsersInput[] | Prisma.settingsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.settingsCreateOrConnectWithoutUsersInput | Prisma.settingsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.settingsCreateManyUsersInputEnvelope + connect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] +} + +export type settingsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.settingsCreateWithoutUsersInput[] | Prisma.settingsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.settingsCreateOrConnectWithoutUsersInput | Prisma.settingsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.settingsCreateManyUsersInputEnvelope + connect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] +} + +export type settingsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.settingsCreateWithoutUsersInput[] | Prisma.settingsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.settingsCreateOrConnectWithoutUsersInput | Prisma.settingsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.settingsUpsertWithWhereUniqueWithoutUsersInput | Prisma.settingsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.settingsCreateManyUsersInputEnvelope + set?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + disconnect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + delete?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + connect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + update?: Prisma.settingsUpdateWithWhereUniqueWithoutUsersInput | Prisma.settingsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.settingsUpdateManyWithWhereWithoutUsersInput | Prisma.settingsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.settingsScalarWhereInput | Prisma.settingsScalarWhereInput[] +} + +export type settingsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.settingsCreateWithoutUsersInput[] | Prisma.settingsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.settingsCreateOrConnectWithoutUsersInput | Prisma.settingsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.settingsUpsertWithWhereUniqueWithoutUsersInput | Prisma.settingsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.settingsCreateManyUsersInputEnvelope + set?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + disconnect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + delete?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + connect?: Prisma.settingsWhereUniqueInput | Prisma.settingsWhereUniqueInput[] + update?: Prisma.settingsUpdateWithWhereUniqueWithoutUsersInput | Prisma.settingsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.settingsUpdateManyWithWhereWithoutUsersInput | Prisma.settingsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.settingsScalarWhereInput | Prisma.settingsScalarWhereInput[] +} + +export type settingsCreateWithoutUsersInput = { + key: string + value?: string | null +} + +export type settingsUncheckedCreateWithoutUsersInput = { + id?: number + key: string + value?: string | null +} + +export type settingsCreateOrConnectWithoutUsersInput = { + where: Prisma.settingsWhereUniqueInput + create: Prisma.XOR +} + +export type settingsCreateManyUsersInputEnvelope = { + data: Prisma.settingsCreateManyUsersInput | Prisma.settingsCreateManyUsersInput[] +} + +export type settingsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.settingsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type settingsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.settingsWhereUniqueInput + data: Prisma.XOR +} + +export type settingsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.settingsScalarWhereInput + data: Prisma.XOR +} + +export type settingsScalarWhereInput = { + AND?: Prisma.settingsScalarWhereInput | Prisma.settingsScalarWhereInput[] + OR?: Prisma.settingsScalarWhereInput[] + NOT?: Prisma.settingsScalarWhereInput | Prisma.settingsScalarWhereInput[] + id?: Prisma.IntFilter<"settings"> | number + user_id?: Prisma.IntFilter<"settings"> | number + key?: Prisma.StringFilter<"settings"> | string + value?: Prisma.StringNullableFilter<"settings"> | string | null +} + +export type settingsCreateManyUsersInput = { + id?: number + key: string + value?: string | null +} + +export type settingsUpdateWithoutUsersInput = { + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type settingsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type settingsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + key?: Prisma.StringFieldUpdateOperationsInput | string + value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type settingsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + key?: boolean + value?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["settings"]> + +export type settingsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + key?: boolean + value?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["settings"]> + +export type settingsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + key?: boolean + value?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["settings"]> + +export type settingsSelectScalar = { + id?: boolean + user_id?: boolean + key?: boolean + value?: boolean +} + +export type settingsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "key" | "value", ExtArgs["result"]["settings"]> +export type settingsInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type settingsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type settingsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $settingsPayload = { + name: "settings" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + key: string + value: string | null + }, ExtArgs["result"]["settings"]> + composites: {} +} + +export type settingsGetPayload = runtime.Types.Result.GetResult + +export type settingsCountArgs = + Omit & { + select?: SettingsCountAggregateInputType | true + } + +export interface settingsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['settings'], meta: { name: 'settings' } } + /** + * Find zero or one Settings that matches the filter. + * @param {settingsFindUniqueArgs} args - Arguments to find a Settings + * @example + * // Get one Settings + * const settings = await prisma.settings.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Settings that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {settingsFindUniqueOrThrowArgs} args - Arguments to find a Settings + * @example + * // Get one Settings + * const settings = await prisma.settings.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Settings that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsFindFirstArgs} args - Arguments to find a Settings + * @example + * // Get one Settings + * const settings = await prisma.settings.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Settings that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsFindFirstOrThrowArgs} args - Arguments to find a Settings + * @example + * // Get one Settings + * const settings = await prisma.settings.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Settings that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Settings + * const settings = await prisma.settings.findMany() + * + * // Get first 10 Settings + * const settings = await prisma.settings.findMany({ take: 10 }) + * + * // Only select the `id` + * const settingsWithIdOnly = await prisma.settings.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Settings. + * @param {settingsCreateArgs} args - Arguments to create a Settings. + * @example + * // Create one Settings + * const Settings = await prisma.settings.create({ + * data: { + * // ... data to create a Settings + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Settings. + * @param {settingsCreateManyArgs} args - Arguments to create many Settings. + * @example + * // Create many Settings + * const settings = await prisma.settings.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Settings and returns the data saved in the database. + * @param {settingsCreateManyAndReturnArgs} args - Arguments to create many Settings. + * @example + * // Create many Settings + * const settings = await prisma.settings.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Settings and only return the `id` + * const settingsWithIdOnly = await prisma.settings.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Settings. + * @param {settingsDeleteArgs} args - Arguments to delete one Settings. + * @example + * // Delete one Settings + * const Settings = await prisma.settings.delete({ + * where: { + * // ... filter to delete one Settings + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Settings. + * @param {settingsUpdateArgs} args - Arguments to update one Settings. + * @example + * // Update one Settings + * const settings = await prisma.settings.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Settings. + * @param {settingsDeleteManyArgs} args - Arguments to filter Settings to delete. + * @example + * // Delete a few Settings + * const { count } = await prisma.settings.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Settings + * const settings = await prisma.settings.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Settings and returns the data updated in the database. + * @param {settingsUpdateManyAndReturnArgs} args - Arguments to update many Settings. + * @example + * // Update many Settings + * const settings = await prisma.settings.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Settings and only return the `id` + * const settingsWithIdOnly = await prisma.settings.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Settings. + * @param {settingsUpsertArgs} args - Arguments to update or create a Settings. + * @example + * // Update or create a Settings + * const settings = await prisma.settings.upsert({ + * create: { + * // ... data to create a Settings + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Settings we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__settingsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsCountArgs} args - Arguments to filter Settings to count. + * @example + * // Count the number of Settings + * const count = await prisma.settings.count({ + * where: { + * // ... the filter for the Settings we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Settings. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {settingsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends settingsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: settingsGroupByArgs['orderBy'] } + : { orderBy?: settingsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSettingsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the settings model + */ +readonly fields: settingsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for settings. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__settingsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the settings model + */ +export interface settingsFieldRefs { + readonly id: Prisma.FieldRef<"settings", 'Int'> + readonly user_id: Prisma.FieldRef<"settings", 'Int'> + readonly key: Prisma.FieldRef<"settings", 'String'> + readonly value: Prisma.FieldRef<"settings", 'String'> +} + + +// Custom InputTypes +/** + * settings findUnique + */ +export type settingsFindUniqueArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter, which settings to fetch. + */ + where: Prisma.settingsWhereUniqueInput +} + +/** + * settings findUniqueOrThrow + */ +export type settingsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter, which settings to fetch. + */ + where: Prisma.settingsWhereUniqueInput +} + +/** + * settings findFirst + */ +export type settingsFindFirstArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter, which settings to fetch. + */ + where?: Prisma.settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of settings to fetch. + */ + orderBy?: Prisma.settingsOrderByWithRelationInput | Prisma.settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for settings. + */ + cursor?: Prisma.settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of settings. + */ + distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[] +} + +/** + * settings findFirstOrThrow + */ +export type settingsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter, which settings to fetch. + */ + where?: Prisma.settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of settings to fetch. + */ + orderBy?: Prisma.settingsOrderByWithRelationInput | Prisma.settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for settings. + */ + cursor?: Prisma.settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of settings. + */ + distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[] +} + +/** + * settings findMany + */ +export type settingsFindManyArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter, which settings to fetch. + */ + where?: Prisma.settingsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of settings to fetch. + */ + orderBy?: Prisma.settingsOrderByWithRelationInput | Prisma.settingsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing settings. + */ + cursor?: Prisma.settingsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` settings from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` settings. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of settings. + */ + distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[] +} + +/** + * settings create + */ +export type settingsCreateArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * The data needed to create a settings. + */ + data: Prisma.XOR +} + +/** + * settings createMany + */ +export type settingsCreateManyArgs = { + /** + * The data used to create many settings. + */ + data: Prisma.settingsCreateManyInput | Prisma.settingsCreateManyInput[] +} + +/** + * settings createManyAndReturn + */ +export type settingsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * The data used to create many settings. + */ + data: Prisma.settingsCreateManyInput | Prisma.settingsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsIncludeCreateManyAndReturn | null +} + +/** + * settings update + */ +export type settingsUpdateArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * The data needed to update a settings. + */ + data: Prisma.XOR + /** + * Choose, which settings to update. + */ + where: Prisma.settingsWhereUniqueInput +} + +/** + * settings updateMany + */ +export type settingsUpdateManyArgs = { + /** + * The data used to update settings. + */ + data: Prisma.XOR + /** + * Filter which settings to update + */ + where?: Prisma.settingsWhereInput + /** + * Limit how many settings to update. + */ + limit?: number +} + +/** + * settings updateManyAndReturn + */ +export type settingsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * The data used to update settings. + */ + data: Prisma.XOR + /** + * Filter which settings to update + */ + where?: Prisma.settingsWhereInput + /** + * Limit how many settings to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsIncludeUpdateManyAndReturn | null +} + +/** + * settings upsert + */ +export type settingsUpsertArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * The filter to search for the settings to update in case it exists. + */ + where: Prisma.settingsWhereUniqueInput + /** + * In case the settings found by the `where` argument doesn't exist, create a new settings with this data. + */ + create: Prisma.XOR + /** + * In case the settings was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * settings delete + */ +export type settingsDeleteArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + /** + * Filter which settings to delete. + */ + where: Prisma.settingsWhereUniqueInput +} + +/** + * settings deleteMany + */ +export type settingsDeleteManyArgs = { + /** + * Filter which settings to delete + */ + where?: Prisma.settingsWhereInput + /** + * Limit how many settings to delete. + */ + limit?: number +} + +/** + * settings without action + */ +export type settingsDefaultArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null +} diff --git a/server/src/generated/prisma/models/share_tokens.ts b/server/src/generated/prisma/models/share_tokens.ts new file mode 100644 index 00000000..a669c8f2 --- /dev/null +++ b/server/src/generated/prisma/models/share_tokens.ts @@ -0,0 +1,1786 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `share_tokens` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model share_tokens + * + */ +export type share_tokensModel = runtime.Types.Result.DefaultSelection + +export type AggregateShare_tokens = { + _count: Share_tokensCountAggregateOutputType | null + _avg: Share_tokensAvgAggregateOutputType | null + _sum: Share_tokensSumAggregateOutputType | null + _min: Share_tokensMinAggregateOutputType | null + _max: Share_tokensMaxAggregateOutputType | null +} + +export type Share_tokensAvgAggregateOutputType = { + id: number | null + trip_id: number | null + created_by: number | null + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null +} + +export type Share_tokensSumAggregateOutputType = { + id: number | null + trip_id: number | null + created_by: number | null + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null +} + +export type Share_tokensMinAggregateOutputType = { + id: number | null + trip_id: number | null + token: string | null + created_by: number | null + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null + created_at: Date | null + expires_at: string | null +} + +export type Share_tokensMaxAggregateOutputType = { + id: number | null + trip_id: number | null + token: string | null + created_by: number | null + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null + created_at: Date | null + expires_at: string | null +} + +export type Share_tokensCountAggregateOutputType = { + id: number + trip_id: number + token: number + created_by: number + share_map: number + share_bookings: number + share_packing: number + share_budget: number + share_collab: number + created_at: number + expires_at: number + _all: number +} + + +export type Share_tokensAvgAggregateInputType = { + id?: true + trip_id?: true + created_by?: true + share_map?: true + share_bookings?: true + share_packing?: true + share_budget?: true + share_collab?: true +} + +export type Share_tokensSumAggregateInputType = { + id?: true + trip_id?: true + created_by?: true + share_map?: true + share_bookings?: true + share_packing?: true + share_budget?: true + share_collab?: true +} + +export type Share_tokensMinAggregateInputType = { + id?: true + trip_id?: true + token?: true + created_by?: true + share_map?: true + share_bookings?: true + share_packing?: true + share_budget?: true + share_collab?: true + created_at?: true + expires_at?: true +} + +export type Share_tokensMaxAggregateInputType = { + id?: true + trip_id?: true + token?: true + created_by?: true + share_map?: true + share_bookings?: true + share_packing?: true + share_budget?: true + share_collab?: true + created_at?: true + expires_at?: true +} + +export type Share_tokensCountAggregateInputType = { + id?: true + trip_id?: true + token?: true + created_by?: true + share_map?: true + share_bookings?: true + share_packing?: true + share_budget?: true + share_collab?: true + created_at?: true + expires_at?: true + _all?: true +} + +export type Share_tokensAggregateArgs = { + /** + * Filter which share_tokens to aggregate. + */ + where?: Prisma.share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of share_tokens to fetch. + */ + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned share_tokens + **/ + _count?: true | Share_tokensCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Share_tokensAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Share_tokensSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Share_tokensMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Share_tokensMaxAggregateInputType +} + +export type GetShare_tokensAggregateType = { + [P in keyof T & keyof AggregateShare_tokens]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type share_tokensGroupByArgs = { + where?: Prisma.share_tokensWhereInput + orderBy?: Prisma.share_tokensOrderByWithAggregationInput | Prisma.share_tokensOrderByWithAggregationInput[] + by: Prisma.Share_tokensScalarFieldEnum[] | Prisma.Share_tokensScalarFieldEnum + having?: Prisma.share_tokensScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Share_tokensCountAggregateInputType | true + _avg?: Share_tokensAvgAggregateInputType + _sum?: Share_tokensSumAggregateInputType + _min?: Share_tokensMinAggregateInputType + _max?: Share_tokensMaxAggregateInputType +} + +export type Share_tokensGroupByOutputType = { + id: number + trip_id: number + token: string + created_by: number + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null + created_at: Date | null + expires_at: string | null + _count: Share_tokensCountAggregateOutputType | null + _avg: Share_tokensAvgAggregateOutputType | null + _sum: Share_tokensSumAggregateOutputType | null + _min: Share_tokensMinAggregateOutputType | null + _max: Share_tokensMaxAggregateOutputType | null +} + +export type GetShare_tokensGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Share_tokensGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type share_tokensWhereInput = { + AND?: Prisma.share_tokensWhereInput | Prisma.share_tokensWhereInput[] + OR?: Prisma.share_tokensWhereInput[] + NOT?: Prisma.share_tokensWhereInput | Prisma.share_tokensWhereInput[] + id?: Prisma.IntFilter<"share_tokens"> | number + trip_id?: Prisma.IntFilter<"share_tokens"> | number + token?: Prisma.StringFilter<"share_tokens"> | string + created_by?: Prisma.IntFilter<"share_tokens"> | number + share_map?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_bookings?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_packing?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_budget?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_collab?: Prisma.IntNullableFilter<"share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"share_tokens"> | Date | string | null + expires_at?: Prisma.StringNullableFilter<"share_tokens"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type share_tokensOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrderInput | Prisma.SortOrder + share_bookings?: Prisma.SortOrderInput | Prisma.SortOrder + share_packing?: Prisma.SortOrderInput | Prisma.SortOrder + share_budget?: Prisma.SortOrderInput | Prisma.SortOrder + share_collab?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + expires_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type share_tokensWhereUniqueInput = Prisma.AtLeast<{ + id?: number + token?: string + AND?: Prisma.share_tokensWhereInput | Prisma.share_tokensWhereInput[] + OR?: Prisma.share_tokensWhereInput[] + NOT?: Prisma.share_tokensWhereInput | Prisma.share_tokensWhereInput[] + trip_id?: Prisma.IntFilter<"share_tokens"> | number + created_by?: Prisma.IntFilter<"share_tokens"> | number + share_map?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_bookings?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_packing?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_budget?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_collab?: Prisma.IntNullableFilter<"share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"share_tokens"> | Date | string | null + expires_at?: Prisma.StringNullableFilter<"share_tokens"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id" | "token"> + +export type share_tokensOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrderInput | Prisma.SortOrder + share_bookings?: Prisma.SortOrderInput | Prisma.SortOrder + share_packing?: Prisma.SortOrderInput | Prisma.SortOrder + share_budget?: Prisma.SortOrderInput | Prisma.SortOrder + share_collab?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + expires_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.share_tokensCountOrderByAggregateInput + _avg?: Prisma.share_tokensAvgOrderByAggregateInput + _max?: Prisma.share_tokensMaxOrderByAggregateInput + _min?: Prisma.share_tokensMinOrderByAggregateInput + _sum?: Prisma.share_tokensSumOrderByAggregateInput +} + +export type share_tokensScalarWhereWithAggregatesInput = { + AND?: Prisma.share_tokensScalarWhereWithAggregatesInput | Prisma.share_tokensScalarWhereWithAggregatesInput[] + OR?: Prisma.share_tokensScalarWhereWithAggregatesInput[] + NOT?: Prisma.share_tokensScalarWhereWithAggregatesInput | Prisma.share_tokensScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"share_tokens"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"share_tokens"> | number + token?: Prisma.StringWithAggregatesFilter<"share_tokens"> | string + created_by?: Prisma.IntWithAggregatesFilter<"share_tokens"> | number + share_map?: Prisma.IntNullableWithAggregatesFilter<"share_tokens"> | number | null + share_bookings?: Prisma.IntNullableWithAggregatesFilter<"share_tokens"> | number | null + share_packing?: Prisma.IntNullableWithAggregatesFilter<"share_tokens"> | number | null + share_budget?: Prisma.IntNullableWithAggregatesFilter<"share_tokens"> | number | null + share_collab?: Prisma.IntNullableWithAggregatesFilter<"share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"share_tokens"> | Date | string | null + expires_at?: Prisma.StringNullableWithAggregatesFilter<"share_tokens"> | string | null +} + +export type share_tokensCreateInput = { + token: string + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null + users: Prisma.usersCreateNestedOneWithoutShare_tokensInput + trips: Prisma.tripsCreateNestedOneWithoutShare_tokensInput +} + +export type share_tokensUncheckedCreateInput = { + id?: number + trip_id: number + token: string + created_by: number + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensUpdateInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutShare_tokensNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutShare_tokensNestedInput +} + +export type share_tokensUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensCreateManyInput = { + id?: number + trip_id: number + token: string + created_by: number + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensUpdateManyMutationInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrder + share_bookings?: Prisma.SortOrder + share_packing?: Prisma.SortOrder + share_budget?: Prisma.SortOrder + share_collab?: Prisma.SortOrder + created_at?: Prisma.SortOrder + expires_at?: Prisma.SortOrder +} + +export type share_tokensAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrder + share_bookings?: Prisma.SortOrder + share_packing?: Prisma.SortOrder + share_budget?: Prisma.SortOrder + share_collab?: Prisma.SortOrder +} + +export type share_tokensMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrder + share_bookings?: Prisma.SortOrder + share_packing?: Prisma.SortOrder + share_budget?: Prisma.SortOrder + share_collab?: Prisma.SortOrder + created_at?: Prisma.SortOrder + expires_at?: Prisma.SortOrder +} + +export type share_tokensMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + token?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrder + share_bookings?: Prisma.SortOrder + share_packing?: Prisma.SortOrder + share_budget?: Prisma.SortOrder + share_collab?: Prisma.SortOrder + created_at?: Prisma.SortOrder + expires_at?: Prisma.SortOrder +} + +export type share_tokensSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + created_by?: Prisma.SortOrder + share_map?: Prisma.SortOrder + share_bookings?: Prisma.SortOrder + share_packing?: Prisma.SortOrder + share_budget?: Prisma.SortOrder + share_collab?: Prisma.SortOrder +} + +export type Share_tokensListRelationFilter = { + every?: Prisma.share_tokensWhereInput + some?: Prisma.share_tokensWhereInput + none?: Prisma.share_tokensWhereInput +} + +export type share_tokensOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type share_tokensCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutTripsInput[] | Prisma.share_tokensUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutTripsInput | Prisma.share_tokensCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.share_tokensCreateManyTripsInputEnvelope + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] +} + +export type share_tokensUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutTripsInput[] | Prisma.share_tokensUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutTripsInput | Prisma.share_tokensCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.share_tokensCreateManyTripsInputEnvelope + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] +} + +export type share_tokensUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutTripsInput[] | Prisma.share_tokensUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutTripsInput | Prisma.share_tokensCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.share_tokensUpsertWithWhereUniqueWithoutTripsInput | Prisma.share_tokensUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.share_tokensCreateManyTripsInputEnvelope + set?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + disconnect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + delete?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + update?: Prisma.share_tokensUpdateWithWhereUniqueWithoutTripsInput | Prisma.share_tokensUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.share_tokensUpdateManyWithWhereWithoutTripsInput | Prisma.share_tokensUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] +} + +export type share_tokensUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutTripsInput[] | Prisma.share_tokensUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutTripsInput | Prisma.share_tokensCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.share_tokensUpsertWithWhereUniqueWithoutTripsInput | Prisma.share_tokensUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.share_tokensCreateManyTripsInputEnvelope + set?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + disconnect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + delete?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + update?: Prisma.share_tokensUpdateWithWhereUniqueWithoutTripsInput | Prisma.share_tokensUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.share_tokensUpdateManyWithWhereWithoutTripsInput | Prisma.share_tokensUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] +} + +export type share_tokensCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutUsersInput[] | Prisma.share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutUsersInput | Prisma.share_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.share_tokensCreateManyUsersInputEnvelope + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] +} + +export type share_tokensUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutUsersInput[] | Prisma.share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutUsersInput | Prisma.share_tokensCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.share_tokensCreateManyUsersInputEnvelope + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] +} + +export type share_tokensUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutUsersInput[] | Prisma.share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutUsersInput | Prisma.share_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.share_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.share_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.share_tokensCreateManyUsersInputEnvelope + set?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + disconnect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + delete?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + update?: Prisma.share_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.share_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.share_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.share_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] +} + +export type share_tokensUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.share_tokensCreateWithoutUsersInput[] | Prisma.share_tokensUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.share_tokensCreateOrConnectWithoutUsersInput | Prisma.share_tokensCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.share_tokensUpsertWithWhereUniqueWithoutUsersInput | Prisma.share_tokensUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.share_tokensCreateManyUsersInputEnvelope + set?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + disconnect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + delete?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + connect?: Prisma.share_tokensWhereUniqueInput | Prisma.share_tokensWhereUniqueInput[] + update?: Prisma.share_tokensUpdateWithWhereUniqueWithoutUsersInput | Prisma.share_tokensUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.share_tokensUpdateManyWithWhereWithoutUsersInput | Prisma.share_tokensUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] +} + +export type share_tokensCreateWithoutTripsInput = { + token: string + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null + users: Prisma.usersCreateNestedOneWithoutShare_tokensInput +} + +export type share_tokensUncheckedCreateWithoutTripsInput = { + id?: number + token: string + created_by: number + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensCreateOrConnectWithoutTripsInput = { + where: Prisma.share_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type share_tokensCreateManyTripsInputEnvelope = { + data: Prisma.share_tokensCreateManyTripsInput | Prisma.share_tokensCreateManyTripsInput[] +} + +export type share_tokensUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.share_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type share_tokensUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.share_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type share_tokensUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.share_tokensScalarWhereInput + data: Prisma.XOR +} + +export type share_tokensScalarWhereInput = { + AND?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] + OR?: Prisma.share_tokensScalarWhereInput[] + NOT?: Prisma.share_tokensScalarWhereInput | Prisma.share_tokensScalarWhereInput[] + id?: Prisma.IntFilter<"share_tokens"> | number + trip_id?: Prisma.IntFilter<"share_tokens"> | number + token?: Prisma.StringFilter<"share_tokens"> | string + created_by?: Prisma.IntFilter<"share_tokens"> | number + share_map?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_bookings?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_packing?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_budget?: Prisma.IntNullableFilter<"share_tokens"> | number | null + share_collab?: Prisma.IntNullableFilter<"share_tokens"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"share_tokens"> | Date | string | null + expires_at?: Prisma.StringNullableFilter<"share_tokens"> | string | null +} + +export type share_tokensCreateWithoutUsersInput = { + token: string + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null + trips: Prisma.tripsCreateNestedOneWithoutShare_tokensInput +} + +export type share_tokensUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + token: string + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensCreateOrConnectWithoutUsersInput = { + where: Prisma.share_tokensWhereUniqueInput + create: Prisma.XOR +} + +export type share_tokensCreateManyUsersInputEnvelope = { + data: Prisma.share_tokensCreateManyUsersInput | Prisma.share_tokensCreateManyUsersInput[] +} + +export type share_tokensUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.share_tokensWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type share_tokensUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.share_tokensWhereUniqueInput + data: Prisma.XOR +} + +export type share_tokensUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.share_tokensScalarWhereInput + data: Prisma.XOR +} + +export type share_tokensCreateManyTripsInput = { + id?: number + token: string + created_by: number + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensUpdateWithoutTripsInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutShare_tokensNestedInput +} + +export type share_tokensUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + created_by?: Prisma.IntFieldUpdateOperationsInput | number + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensCreateManyUsersInput = { + id?: number + trip_id: number + token: string + share_map?: number | null + share_bookings?: number | null + share_packing?: number | null + share_budget?: number | null + share_collab?: number | null + created_at?: Date | string | null + expires_at?: string | null +} + +export type share_tokensUpdateWithoutUsersInput = { + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutShare_tokensNestedInput +} + +export type share_tokensUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type share_tokensUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + token?: Prisma.StringFieldUpdateOperationsInput | string + share_map?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_bookings?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_packing?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_budget?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + share_collab?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + expires_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type share_tokensSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + token?: boolean + created_by?: boolean + share_map?: boolean + share_bookings?: boolean + share_packing?: boolean + share_budget?: boolean + share_collab?: boolean + created_at?: boolean + expires_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["share_tokens"]> + +export type share_tokensSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + token?: boolean + created_by?: boolean + share_map?: boolean + share_bookings?: boolean + share_packing?: boolean + share_budget?: boolean + share_collab?: boolean + created_at?: boolean + expires_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["share_tokens"]> + +export type share_tokensSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + token?: boolean + created_by?: boolean + share_map?: boolean + share_bookings?: boolean + share_packing?: boolean + share_budget?: boolean + share_collab?: boolean + created_at?: boolean + expires_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["share_tokens"]> + +export type share_tokensSelectScalar = { + id?: boolean + trip_id?: boolean + token?: boolean + created_by?: boolean + share_map?: boolean + share_bookings?: boolean + share_packing?: boolean + share_budget?: boolean + share_collab?: boolean + created_at?: boolean + expires_at?: boolean +} + +export type share_tokensOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "token" | "created_by" | "share_map" | "share_bookings" | "share_packing" | "share_budget" | "share_collab" | "created_at" | "expires_at", ExtArgs["result"]["share_tokens"]> +export type share_tokensInclude = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type share_tokensIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type share_tokensIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $share_tokensPayload = { + name: "share_tokens" + objects: { + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + token: string + created_by: number + share_map: number | null + share_bookings: number | null + share_packing: number | null + share_budget: number | null + share_collab: number | null + created_at: Date | null + expires_at: string | null + }, ExtArgs["result"]["share_tokens"]> + composites: {} +} + +export type share_tokensGetPayload = runtime.Types.Result.GetResult + +export type share_tokensCountArgs = + Omit & { + select?: Share_tokensCountAggregateInputType | true + } + +export interface share_tokensDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['share_tokens'], meta: { name: 'share_tokens' } } + /** + * Find zero or one Share_tokens that matches the filter. + * @param {share_tokensFindUniqueArgs} args - Arguments to find a Share_tokens + * @example + * // Get one Share_tokens + * const share_tokens = await prisma.share_tokens.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Share_tokens that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {share_tokensFindUniqueOrThrowArgs} args - Arguments to find a Share_tokens + * @example + * // Get one Share_tokens + * const share_tokens = await prisma.share_tokens.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Share_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensFindFirstArgs} args - Arguments to find a Share_tokens + * @example + * // Get one Share_tokens + * const share_tokens = await prisma.share_tokens.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Share_tokens that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensFindFirstOrThrowArgs} args - Arguments to find a Share_tokens + * @example + * // Get one Share_tokens + * const share_tokens = await prisma.share_tokens.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Share_tokens that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Share_tokens + * const share_tokens = await prisma.share_tokens.findMany() + * + * // Get first 10 Share_tokens + * const share_tokens = await prisma.share_tokens.findMany({ take: 10 }) + * + * // Only select the `id` + * const share_tokensWithIdOnly = await prisma.share_tokens.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Share_tokens. + * @param {share_tokensCreateArgs} args - Arguments to create a Share_tokens. + * @example + * // Create one Share_tokens + * const Share_tokens = await prisma.share_tokens.create({ + * data: { + * // ... data to create a Share_tokens + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Share_tokens. + * @param {share_tokensCreateManyArgs} args - Arguments to create many Share_tokens. + * @example + * // Create many Share_tokens + * const share_tokens = await prisma.share_tokens.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Share_tokens and returns the data saved in the database. + * @param {share_tokensCreateManyAndReturnArgs} args - Arguments to create many Share_tokens. + * @example + * // Create many Share_tokens + * const share_tokens = await prisma.share_tokens.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Share_tokens and only return the `id` + * const share_tokensWithIdOnly = await prisma.share_tokens.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Share_tokens. + * @param {share_tokensDeleteArgs} args - Arguments to delete one Share_tokens. + * @example + * // Delete one Share_tokens + * const Share_tokens = await prisma.share_tokens.delete({ + * where: { + * // ... filter to delete one Share_tokens + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Share_tokens. + * @param {share_tokensUpdateArgs} args - Arguments to update one Share_tokens. + * @example + * // Update one Share_tokens + * const share_tokens = await prisma.share_tokens.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Share_tokens. + * @param {share_tokensDeleteManyArgs} args - Arguments to filter Share_tokens to delete. + * @example + * // Delete a few Share_tokens + * const { count } = await prisma.share_tokens.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Share_tokens + * const share_tokens = await prisma.share_tokens.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Share_tokens and returns the data updated in the database. + * @param {share_tokensUpdateManyAndReturnArgs} args - Arguments to update many Share_tokens. + * @example + * // Update many Share_tokens + * const share_tokens = await prisma.share_tokens.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Share_tokens and only return the `id` + * const share_tokensWithIdOnly = await prisma.share_tokens.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Share_tokens. + * @param {share_tokensUpsertArgs} args - Arguments to update or create a Share_tokens. + * @example + * // Update or create a Share_tokens + * const share_tokens = await prisma.share_tokens.upsert({ + * create: { + * // ... data to create a Share_tokens + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Share_tokens we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__share_tokensClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensCountArgs} args - Arguments to filter Share_tokens to count. + * @example + * // Count the number of Share_tokens + * const count = await prisma.share_tokens.count({ + * where: { + * // ... the filter for the Share_tokens we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Share_tokensAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Share_tokens. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {share_tokensGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends share_tokensGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: share_tokensGroupByArgs['orderBy'] } + : { orderBy?: share_tokensGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetShare_tokensGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the share_tokens model + */ +readonly fields: share_tokensFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for share_tokens. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__share_tokensClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the share_tokens model + */ +export interface share_tokensFieldRefs { + readonly id: Prisma.FieldRef<"share_tokens", 'Int'> + readonly trip_id: Prisma.FieldRef<"share_tokens", 'Int'> + readonly token: Prisma.FieldRef<"share_tokens", 'String'> + readonly created_by: Prisma.FieldRef<"share_tokens", 'Int'> + readonly share_map: Prisma.FieldRef<"share_tokens", 'Int'> + readonly share_bookings: Prisma.FieldRef<"share_tokens", 'Int'> + readonly share_packing: Prisma.FieldRef<"share_tokens", 'Int'> + readonly share_budget: Prisma.FieldRef<"share_tokens", 'Int'> + readonly share_collab: Prisma.FieldRef<"share_tokens", 'Int'> + readonly created_at: Prisma.FieldRef<"share_tokens", 'DateTime'> + readonly expires_at: Prisma.FieldRef<"share_tokens", 'String'> +} + + +// Custom InputTypes +/** + * share_tokens findUnique + */ +export type share_tokensFindUniqueArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter, which share_tokens to fetch. + */ + where: Prisma.share_tokensWhereUniqueInput +} + +/** + * share_tokens findUniqueOrThrow + */ +export type share_tokensFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter, which share_tokens to fetch. + */ + where: Prisma.share_tokensWhereUniqueInput +} + +/** + * share_tokens findFirst + */ +export type share_tokensFindFirstArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter, which share_tokens to fetch. + */ + where?: Prisma.share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of share_tokens to fetch. + */ + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for share_tokens. + */ + cursor?: Prisma.share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of share_tokens. + */ + distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[] +} + +/** + * share_tokens findFirstOrThrow + */ +export type share_tokensFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter, which share_tokens to fetch. + */ + where?: Prisma.share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of share_tokens to fetch. + */ + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for share_tokens. + */ + cursor?: Prisma.share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of share_tokens. + */ + distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[] +} + +/** + * share_tokens findMany + */ +export type share_tokensFindManyArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter, which share_tokens to fetch. + */ + where?: Prisma.share_tokensWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of share_tokens to fetch. + */ + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing share_tokens. + */ + cursor?: Prisma.share_tokensWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` share_tokens from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` share_tokens. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of share_tokens. + */ + distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[] +} + +/** + * share_tokens create + */ +export type share_tokensCreateArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * The data needed to create a share_tokens. + */ + data: Prisma.XOR +} + +/** + * share_tokens createMany + */ +export type share_tokensCreateManyArgs = { + /** + * The data used to create many share_tokens. + */ + data: Prisma.share_tokensCreateManyInput | Prisma.share_tokensCreateManyInput[] +} + +/** + * share_tokens createManyAndReturn + */ +export type share_tokensCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelectCreateManyAndReturn | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * The data used to create many share_tokens. + */ + data: Prisma.share_tokensCreateManyInput | Prisma.share_tokensCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensIncludeCreateManyAndReturn | null +} + +/** + * share_tokens update + */ +export type share_tokensUpdateArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * The data needed to update a share_tokens. + */ + data: Prisma.XOR + /** + * Choose, which share_tokens to update. + */ + where: Prisma.share_tokensWhereUniqueInput +} + +/** + * share_tokens updateMany + */ +export type share_tokensUpdateManyArgs = { + /** + * The data used to update share_tokens. + */ + data: Prisma.XOR + /** + * Filter which share_tokens to update + */ + where?: Prisma.share_tokensWhereInput + /** + * Limit how many share_tokens to update. + */ + limit?: number +} + +/** + * share_tokens updateManyAndReturn + */ +export type share_tokensUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * The data used to update share_tokens. + */ + data: Prisma.XOR + /** + * Filter which share_tokens to update + */ + where?: Prisma.share_tokensWhereInput + /** + * Limit how many share_tokens to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensIncludeUpdateManyAndReturn | null +} + +/** + * share_tokens upsert + */ +export type share_tokensUpsertArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * The filter to search for the share_tokens to update in case it exists. + */ + where: Prisma.share_tokensWhereUniqueInput + /** + * In case the share_tokens found by the `where` argument doesn't exist, create a new share_tokens with this data. + */ + create: Prisma.XOR + /** + * In case the share_tokens was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * share_tokens delete + */ +export type share_tokensDeleteArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + /** + * Filter which share_tokens to delete. + */ + where: Prisma.share_tokensWhereUniqueInput +} + +/** + * share_tokens deleteMany + */ +export type share_tokensDeleteManyArgs = { + /** + * Filter which share_tokens to delete + */ + where?: Prisma.share_tokensWhereInput + /** + * Limit how many share_tokens to delete. + */ + limit?: number +} + +/** + * share_tokens without action + */ +export type share_tokensDefaultArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null +} diff --git a/server/src/generated/prisma/models/tags.ts b/server/src/generated/prisma/models/tags.ts new file mode 100644 index 00000000..cacb8880 --- /dev/null +++ b/server/src/generated/prisma/models/tags.ts @@ -0,0 +1,1522 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `tags` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model tags + * + */ +export type tagsModel = runtime.Types.Result.DefaultSelection + +export type AggregateTags = { + _count: TagsCountAggregateOutputType | null + _avg: TagsAvgAggregateOutputType | null + _sum: TagsSumAggregateOutputType | null + _min: TagsMinAggregateOutputType | null + _max: TagsMaxAggregateOutputType | null +} + +export type TagsAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type TagsSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type TagsMinAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + color: string | null + created_at: Date | null +} + +export type TagsMaxAggregateOutputType = { + id: number | null + user_id: number | null + name: string | null + color: string | null + created_at: Date | null +} + +export type TagsCountAggregateOutputType = { + id: number + user_id: number + name: number + color: number + created_at: number + _all: number +} + + +export type TagsAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type TagsSumAggregateInputType = { + id?: true + user_id?: true +} + +export type TagsMinAggregateInputType = { + id?: true + user_id?: true + name?: true + color?: true + created_at?: true +} + +export type TagsMaxAggregateInputType = { + id?: true + user_id?: true + name?: true + color?: true + created_at?: true +} + +export type TagsCountAggregateInputType = { + id?: true + user_id?: true + name?: true + color?: true + created_at?: true + _all?: true +} + +export type TagsAggregateArgs = { + /** + * Filter which tags to aggregate. + */ + where?: Prisma.tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of tags to fetch. + */ + orderBy?: Prisma.tagsOrderByWithRelationInput | Prisma.tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned tags + **/ + _count?: true | TagsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: TagsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: TagsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: TagsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: TagsMaxAggregateInputType +} + +export type GetTagsAggregateType = { + [P in keyof T & keyof AggregateTags]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type tagsGroupByArgs = { + where?: Prisma.tagsWhereInput + orderBy?: Prisma.tagsOrderByWithAggregationInput | Prisma.tagsOrderByWithAggregationInput[] + by: Prisma.TagsScalarFieldEnum[] | Prisma.TagsScalarFieldEnum + having?: Prisma.tagsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: TagsCountAggregateInputType | true + _avg?: TagsAvgAggregateInputType + _sum?: TagsSumAggregateInputType + _min?: TagsMinAggregateInputType + _max?: TagsMaxAggregateInputType +} + +export type TagsGroupByOutputType = { + id: number + user_id: number + name: string + color: string | null + created_at: Date | null + _count: TagsCountAggregateOutputType | null + _avg: TagsAvgAggregateOutputType | null + _sum: TagsSumAggregateOutputType | null + _min: TagsMinAggregateOutputType | null + _max: TagsMaxAggregateOutputType | null +} + +export type GetTagsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof TagsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type tagsWhereInput = { + AND?: Prisma.tagsWhereInput | Prisma.tagsWhereInput[] + OR?: Prisma.tagsWhereInput[] + NOT?: Prisma.tagsWhereInput | Prisma.tagsWhereInput[] + id?: Prisma.IntFilter<"tags"> | number + user_id?: Prisma.IntFilter<"tags"> | number + name?: Prisma.StringFilter<"tags"> | string + color?: Prisma.StringNullableFilter<"tags"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"tags"> | Date | string | null + place_tags?: Prisma.Place_tagsListRelationFilter + users?: Prisma.XOR +} + +export type tagsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + place_tags?: Prisma.place_tagsOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type tagsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.tagsWhereInput | Prisma.tagsWhereInput[] + OR?: Prisma.tagsWhereInput[] + NOT?: Prisma.tagsWhereInput | Prisma.tagsWhereInput[] + user_id?: Prisma.IntFilter<"tags"> | number + name?: Prisma.StringFilter<"tags"> | string + color?: Prisma.StringNullableFilter<"tags"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"tags"> | Date | string | null + place_tags?: Prisma.Place_tagsListRelationFilter + users?: Prisma.XOR +}, "id"> + +export type tagsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.tagsCountOrderByAggregateInput + _avg?: Prisma.tagsAvgOrderByAggregateInput + _max?: Prisma.tagsMaxOrderByAggregateInput + _min?: Prisma.tagsMinOrderByAggregateInput + _sum?: Prisma.tagsSumOrderByAggregateInput +} + +export type tagsScalarWhereWithAggregatesInput = { + AND?: Prisma.tagsScalarWhereWithAggregatesInput | Prisma.tagsScalarWhereWithAggregatesInput[] + OR?: Prisma.tagsScalarWhereWithAggregatesInput[] + NOT?: Prisma.tagsScalarWhereWithAggregatesInput | Prisma.tagsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"tags"> | number + user_id?: Prisma.IntWithAggregatesFilter<"tags"> | number + name?: Prisma.StringWithAggregatesFilter<"tags"> | string + color?: Prisma.StringNullableWithAggregatesFilter<"tags"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"tags"> | Date | string | null +} + +export type tagsCreateInput = { + name: string + color?: string | null + created_at?: Date | string | null + place_tags?: Prisma.place_tagsCreateNestedManyWithoutTagsInput + users: Prisma.usersCreateNestedOneWithoutTagsInput +} + +export type tagsUncheckedCreateInput = { + id?: number + user_id: number + name: string + color?: string | null + created_at?: Date | string | null + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutTagsInput +} + +export type tagsUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + place_tags?: Prisma.place_tagsUpdateManyWithoutTagsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTagsNestedInput +} + +export type tagsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutTagsNestedInput +} + +export type tagsCreateManyInput = { + id?: number + user_id: number + name: string + color?: string | null + created_at?: Date | string | null +} + +export type tagsUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type tagsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type TagsScalarRelationFilter = { + is?: Prisma.tagsWhereInput + isNot?: Prisma.tagsWhereInput +} + +export type tagsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type tagsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type tagsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type tagsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + name?: Prisma.SortOrder + color?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type tagsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type TagsListRelationFilter = { + every?: Prisma.tagsWhereInput + some?: Prisma.tagsWhereInput + none?: Prisma.tagsWhereInput +} + +export type tagsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type tagsCreateNestedOneWithoutPlace_tagsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutPlace_tagsInput + connect?: Prisma.tagsWhereUniqueInput +} + +export type tagsUpdateOneRequiredWithoutPlace_tagsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutPlace_tagsInput + upsert?: Prisma.tagsUpsertWithoutPlace_tagsInput + connect?: Prisma.tagsWhereUniqueInput + update?: Prisma.XOR, Prisma.tagsUncheckedUpdateWithoutPlace_tagsInput> +} + +export type tagsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.tagsCreateWithoutUsersInput[] | Prisma.tagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutUsersInput | Prisma.tagsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.tagsCreateManyUsersInputEnvelope + connect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] +} + +export type tagsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.tagsCreateWithoutUsersInput[] | Prisma.tagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutUsersInput | Prisma.tagsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.tagsCreateManyUsersInputEnvelope + connect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] +} + +export type tagsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.tagsCreateWithoutUsersInput[] | Prisma.tagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutUsersInput | Prisma.tagsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.tagsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tagsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.tagsCreateManyUsersInputEnvelope + set?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + disconnect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + delete?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + connect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + update?: Prisma.tagsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tagsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.tagsUpdateManyWithWhereWithoutUsersInput | Prisma.tagsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.tagsScalarWhereInput | Prisma.tagsScalarWhereInput[] +} + +export type tagsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.tagsCreateWithoutUsersInput[] | Prisma.tagsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tagsCreateOrConnectWithoutUsersInput | Prisma.tagsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.tagsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tagsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.tagsCreateManyUsersInputEnvelope + set?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + disconnect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + delete?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + connect?: Prisma.tagsWhereUniqueInput | Prisma.tagsWhereUniqueInput[] + update?: Prisma.tagsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tagsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.tagsUpdateManyWithWhereWithoutUsersInput | Prisma.tagsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.tagsScalarWhereInput | Prisma.tagsScalarWhereInput[] +} + +export type tagsCreateWithoutPlace_tagsInput = { + name: string + color?: string | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutTagsInput +} + +export type tagsUncheckedCreateWithoutPlace_tagsInput = { + id?: number + user_id: number + name: string + color?: string | null + created_at?: Date | string | null +} + +export type tagsCreateOrConnectWithoutPlace_tagsInput = { + where: Prisma.tagsWhereUniqueInput + create: Prisma.XOR +} + +export type tagsUpsertWithoutPlace_tagsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tagsWhereInput +} + +export type tagsUpdateToOneWithWhereWithoutPlace_tagsInput = { + where?: Prisma.tagsWhereInput + data: Prisma.XOR +} + +export type tagsUpdateWithoutPlace_tagsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutTagsNestedInput +} + +export type tagsUncheckedUpdateWithoutPlace_tagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type tagsCreateWithoutUsersInput = { + name: string + color?: string | null + created_at?: Date | string | null + place_tags?: Prisma.place_tagsCreateNestedManyWithoutTagsInput +} + +export type tagsUncheckedCreateWithoutUsersInput = { + id?: number + name: string + color?: string | null + created_at?: Date | string | null + place_tags?: Prisma.place_tagsUncheckedCreateNestedManyWithoutTagsInput +} + +export type tagsCreateOrConnectWithoutUsersInput = { + where: Prisma.tagsWhereUniqueInput + create: Prisma.XOR +} + +export type tagsCreateManyUsersInputEnvelope = { + data: Prisma.tagsCreateManyUsersInput | Prisma.tagsCreateManyUsersInput[] +} + +export type tagsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.tagsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type tagsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.tagsWhereUniqueInput + data: Prisma.XOR +} + +export type tagsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.tagsScalarWhereInput + data: Prisma.XOR +} + +export type tagsScalarWhereInput = { + AND?: Prisma.tagsScalarWhereInput | Prisma.tagsScalarWhereInput[] + OR?: Prisma.tagsScalarWhereInput[] + NOT?: Prisma.tagsScalarWhereInput | Prisma.tagsScalarWhereInput[] + id?: Prisma.IntFilter<"tags"> | number + user_id?: Prisma.IntFilter<"tags"> | number + name?: Prisma.StringFilter<"tags"> | string + color?: Prisma.StringNullableFilter<"tags"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"tags"> | Date | string | null +} + +export type tagsCreateManyUsersInput = { + id?: number + name: string + color?: string | null + created_at?: Date | string | null +} + +export type tagsUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + place_tags?: Prisma.place_tagsUpdateManyWithoutTagsNestedInput +} + +export type tagsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + place_tags?: Prisma.place_tagsUncheckedUpdateManyWithoutTagsNestedInput +} + +export type tagsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type TagsCountOutputType + */ + +export type TagsCountOutputType = { + place_tags: number +} + +export type TagsCountOutputTypeSelect = { + place_tags?: boolean | TagsCountOutputTypeCountPlace_tagsArgs +} + +/** + * TagsCountOutputType without action + */ +export type TagsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the TagsCountOutputType + */ + select?: Prisma.TagsCountOutputTypeSelect | null +} + +/** + * TagsCountOutputType without action + */ +export type TagsCountOutputTypeCountPlace_tagsArgs = { + where?: Prisma.place_tagsWhereInput +} + + +export type tagsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + color?: boolean + created_at?: boolean + place_tags?: boolean | Prisma.tags$place_tagsArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.TagsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["tags"]> + +export type tagsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + color?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["tags"]> + +export type tagsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + name?: boolean + color?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["tags"]> + +export type tagsSelectScalar = { + id?: boolean + user_id?: boolean + name?: boolean + color?: boolean + created_at?: boolean +} + +export type tagsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "name" | "color" | "created_at", ExtArgs["result"]["tags"]> +export type tagsInclude = { + place_tags?: boolean | Prisma.tags$place_tagsArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.TagsCountOutputTypeDefaultArgs +} +export type tagsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type tagsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $tagsPayload = { + name: "tags" + objects: { + place_tags: Prisma.$place_tagsPayload[] + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + name: string + color: string | null + created_at: Date | null + }, ExtArgs["result"]["tags"]> + composites: {} +} + +export type tagsGetPayload = runtime.Types.Result.GetResult + +export type tagsCountArgs = + Omit & { + select?: TagsCountAggregateInputType | true + } + +export interface tagsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['tags'], meta: { name: 'tags' } } + /** + * Find zero or one Tags that matches the filter. + * @param {tagsFindUniqueArgs} args - Arguments to find a Tags + * @example + * // Get one Tags + * const tags = await prisma.tags.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Tags that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {tagsFindUniqueOrThrowArgs} args - Arguments to find a Tags + * @example + * // Get one Tags + * const tags = await prisma.tags.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Tags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsFindFirstArgs} args - Arguments to find a Tags + * @example + * // Get one Tags + * const tags = await prisma.tags.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Tags that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsFindFirstOrThrowArgs} args - Arguments to find a Tags + * @example + * // Get one Tags + * const tags = await prisma.tags.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Tags that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Tags + * const tags = await prisma.tags.findMany() + * + * // Get first 10 Tags + * const tags = await prisma.tags.findMany({ take: 10 }) + * + * // Only select the `id` + * const tagsWithIdOnly = await prisma.tags.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Tags. + * @param {tagsCreateArgs} args - Arguments to create a Tags. + * @example + * // Create one Tags + * const Tags = await prisma.tags.create({ + * data: { + * // ... data to create a Tags + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Tags. + * @param {tagsCreateManyArgs} args - Arguments to create many Tags. + * @example + * // Create many Tags + * const tags = await prisma.tags.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Tags and returns the data saved in the database. + * @param {tagsCreateManyAndReturnArgs} args - Arguments to create many Tags. + * @example + * // Create many Tags + * const tags = await prisma.tags.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Tags and only return the `id` + * const tagsWithIdOnly = await prisma.tags.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Tags. + * @param {tagsDeleteArgs} args - Arguments to delete one Tags. + * @example + * // Delete one Tags + * const Tags = await prisma.tags.delete({ + * where: { + * // ... filter to delete one Tags + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Tags. + * @param {tagsUpdateArgs} args - Arguments to update one Tags. + * @example + * // Update one Tags + * const tags = await prisma.tags.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Tags. + * @param {tagsDeleteManyArgs} args - Arguments to filter Tags to delete. + * @example + * // Delete a few Tags + * const { count } = await prisma.tags.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Tags + * const tags = await prisma.tags.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Tags and returns the data updated in the database. + * @param {tagsUpdateManyAndReturnArgs} args - Arguments to update many Tags. + * @example + * // Update many Tags + * const tags = await prisma.tags.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Tags and only return the `id` + * const tagsWithIdOnly = await prisma.tags.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Tags. + * @param {tagsUpsertArgs} args - Arguments to update or create a Tags. + * @example + * // Update or create a Tags + * const tags = await prisma.tags.upsert({ + * create: { + * // ... data to create a Tags + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Tags we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__tagsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsCountArgs} args - Arguments to filter Tags to count. + * @example + * // Count the number of Tags + * const count = await prisma.tags.count({ + * where: { + * // ... the filter for the Tags we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {TagsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Tags. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tagsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends tagsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: tagsGroupByArgs['orderBy'] } + : { orderBy?: tagsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTagsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the tags model + */ +readonly fields: tagsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for tags. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__tagsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + place_tags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the tags model + */ +export interface tagsFieldRefs { + readonly id: Prisma.FieldRef<"tags", 'Int'> + readonly user_id: Prisma.FieldRef<"tags", 'Int'> + readonly name: Prisma.FieldRef<"tags", 'String'> + readonly color: Prisma.FieldRef<"tags", 'String'> + readonly created_at: Prisma.FieldRef<"tags", 'DateTime'> +} + + +// Custom InputTypes +/** + * tags findUnique + */ +export type tagsFindUniqueArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter, which tags to fetch. + */ + where: Prisma.tagsWhereUniqueInput +} + +/** + * tags findUniqueOrThrow + */ +export type tagsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter, which tags to fetch. + */ + where: Prisma.tagsWhereUniqueInput +} + +/** + * tags findFirst + */ +export type tagsFindFirstArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter, which tags to fetch. + */ + where?: Prisma.tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of tags to fetch. + */ + orderBy?: Prisma.tagsOrderByWithRelationInput | Prisma.tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for tags. + */ + cursor?: Prisma.tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of tags. + */ + distinct?: Prisma.TagsScalarFieldEnum | Prisma.TagsScalarFieldEnum[] +} + +/** + * tags findFirstOrThrow + */ +export type tagsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter, which tags to fetch. + */ + where?: Prisma.tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of tags to fetch. + */ + orderBy?: Prisma.tagsOrderByWithRelationInput | Prisma.tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for tags. + */ + cursor?: Prisma.tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of tags. + */ + distinct?: Prisma.TagsScalarFieldEnum | Prisma.TagsScalarFieldEnum[] +} + +/** + * tags findMany + */ +export type tagsFindManyArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter, which tags to fetch. + */ + where?: Prisma.tagsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of tags to fetch. + */ + orderBy?: Prisma.tagsOrderByWithRelationInput | Prisma.tagsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing tags. + */ + cursor?: Prisma.tagsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` tags from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` tags. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of tags. + */ + distinct?: Prisma.TagsScalarFieldEnum | Prisma.TagsScalarFieldEnum[] +} + +/** + * tags create + */ +export type tagsCreateArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * The data needed to create a tags. + */ + data: Prisma.XOR +} + +/** + * tags createMany + */ +export type tagsCreateManyArgs = { + /** + * The data used to create many tags. + */ + data: Prisma.tagsCreateManyInput | Prisma.tagsCreateManyInput[] +} + +/** + * tags createManyAndReturn + */ +export type tagsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * The data used to create many tags. + */ + data: Prisma.tagsCreateManyInput | Prisma.tagsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsIncludeCreateManyAndReturn | null +} + +/** + * tags update + */ +export type tagsUpdateArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * The data needed to update a tags. + */ + data: Prisma.XOR + /** + * Choose, which tags to update. + */ + where: Prisma.tagsWhereUniqueInput +} + +/** + * tags updateMany + */ +export type tagsUpdateManyArgs = { + /** + * The data used to update tags. + */ + data: Prisma.XOR + /** + * Filter which tags to update + */ + where?: Prisma.tagsWhereInput + /** + * Limit how many tags to update. + */ + limit?: number +} + +/** + * tags updateManyAndReturn + */ +export type tagsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * The data used to update tags. + */ + data: Prisma.XOR + /** + * Filter which tags to update + */ + where?: Prisma.tagsWhereInput + /** + * Limit how many tags to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsIncludeUpdateManyAndReturn | null +} + +/** + * tags upsert + */ +export type tagsUpsertArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * The filter to search for the tags to update in case it exists. + */ + where: Prisma.tagsWhereUniqueInput + /** + * In case the tags found by the `where` argument doesn't exist, create a new tags with this data. + */ + create: Prisma.XOR + /** + * In case the tags was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * tags delete + */ +export type tagsDeleteArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + /** + * Filter which tags to delete. + */ + where: Prisma.tagsWhereUniqueInput +} + +/** + * tags deleteMany + */ +export type tagsDeleteManyArgs = { + /** + * Filter which tags to delete + */ + where?: Prisma.tagsWhereInput + /** + * Limit how many tags to delete. + */ + limit?: number +} + +/** + * tags.place_tags + */ +export type tags$place_tagsArgs = { + /** + * Select specific fields to fetch from the place_tags + */ + select?: Prisma.place_tagsSelect | null + /** + * Omit specific fields from the place_tags + */ + omit?: Prisma.place_tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.place_tagsInclude | null + where?: Prisma.place_tagsWhereInput + orderBy?: Prisma.place_tagsOrderByWithRelationInput | Prisma.place_tagsOrderByWithRelationInput[] + cursor?: Prisma.place_tagsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Place_tagsScalarFieldEnum | Prisma.Place_tagsScalarFieldEnum[] +} + +/** + * tags without action + */ +export type tagsDefaultArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null +} diff --git a/server/src/generated/prisma/models/todo_category_assignees.ts b/server/src/generated/prisma/models/todo_category_assignees.ts new file mode 100644 index 00000000..8937b1df --- /dev/null +++ b/server/src/generated/prisma/models/todo_category_assignees.ts @@ -0,0 +1,1476 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `todo_category_assignees` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model todo_category_assignees + * + */ +export type todo_category_assigneesModel = runtime.Types.Result.DefaultSelection + +export type AggregateTodo_category_assignees = { + _count: Todo_category_assigneesCountAggregateOutputType | null + _avg: Todo_category_assigneesAvgAggregateOutputType | null + _sum: Todo_category_assigneesSumAggregateOutputType | null + _min: Todo_category_assigneesMinAggregateOutputType | null + _max: Todo_category_assigneesMaxAggregateOutputType | null +} + +export type Todo_category_assigneesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null +} + +export type Todo_category_assigneesSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null +} + +export type Todo_category_assigneesMinAggregateOutputType = { + id: number | null + trip_id: number | null + category_name: string | null + user_id: number | null +} + +export type Todo_category_assigneesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + category_name: string | null + user_id: number | null +} + +export type Todo_category_assigneesCountAggregateOutputType = { + id: number + trip_id: number + category_name: number + user_id: number + _all: number +} + + +export type Todo_category_assigneesAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true +} + +export type Todo_category_assigneesSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true +} + +export type Todo_category_assigneesMinAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true +} + +export type Todo_category_assigneesMaxAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true +} + +export type Todo_category_assigneesCountAggregateInputType = { + id?: true + trip_id?: true + category_name?: true + user_id?: true + _all?: true +} + +export type Todo_category_assigneesAggregateArgs = { + /** + * Filter which todo_category_assignees to aggregate. + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_category_assignees to fetch. + */ + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned todo_category_assignees + **/ + _count?: true | Todo_category_assigneesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Todo_category_assigneesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Todo_category_assigneesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Todo_category_assigneesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Todo_category_assigneesMaxAggregateInputType +} + +export type GetTodo_category_assigneesAggregateType = { + [P in keyof T & keyof AggregateTodo_category_assignees]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type todo_category_assigneesGroupByArgs = { + where?: Prisma.todo_category_assigneesWhereInput + orderBy?: Prisma.todo_category_assigneesOrderByWithAggregationInput | Prisma.todo_category_assigneesOrderByWithAggregationInput[] + by: Prisma.Todo_category_assigneesScalarFieldEnum[] | Prisma.Todo_category_assigneesScalarFieldEnum + having?: Prisma.todo_category_assigneesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Todo_category_assigneesCountAggregateInputType | true + _avg?: Todo_category_assigneesAvgAggregateInputType + _sum?: Todo_category_assigneesSumAggregateInputType + _min?: Todo_category_assigneesMinAggregateInputType + _max?: Todo_category_assigneesMaxAggregateInputType +} + +export type Todo_category_assigneesGroupByOutputType = { + id: number + trip_id: number + category_name: string + user_id: number + _count: Todo_category_assigneesCountAggregateOutputType | null + _avg: Todo_category_assigneesAvgAggregateOutputType | null + _sum: Todo_category_assigneesSumAggregateOutputType | null + _min: Todo_category_assigneesMinAggregateOutputType | null + _max: Todo_category_assigneesMaxAggregateOutputType | null +} + +export type GetTodo_category_assigneesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Todo_category_assigneesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type todo_category_assigneesWhereInput = { + AND?: Prisma.todo_category_assigneesWhereInput | Prisma.todo_category_assigneesWhereInput[] + OR?: Prisma.todo_category_assigneesWhereInput[] + NOT?: Prisma.todo_category_assigneesWhereInput | Prisma.todo_category_assigneesWhereInput[] + id?: Prisma.IntFilter<"todo_category_assignees"> | number + trip_id?: Prisma.IntFilter<"todo_category_assignees"> | number + category_name?: Prisma.StringFilter<"todo_category_assignees"> | string + user_id?: Prisma.IntFilter<"todo_category_assignees"> | number + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type todo_category_assigneesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type todo_category_assigneesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_category_name_user_id?: Prisma.todo_category_assigneesTrip_idCategory_nameUser_idCompoundUniqueInput + AND?: Prisma.todo_category_assigneesWhereInput | Prisma.todo_category_assigneesWhereInput[] + OR?: Prisma.todo_category_assigneesWhereInput[] + NOT?: Prisma.todo_category_assigneesWhereInput | Prisma.todo_category_assigneesWhereInput[] + trip_id?: Prisma.IntFilter<"todo_category_assignees"> | number + category_name?: Prisma.StringFilter<"todo_category_assignees"> | string + user_id?: Prisma.IntFilter<"todo_category_assignees"> | number + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id" | "trip_id_category_name_user_id"> + +export type todo_category_assigneesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder + _count?: Prisma.todo_category_assigneesCountOrderByAggregateInput + _avg?: Prisma.todo_category_assigneesAvgOrderByAggregateInput + _max?: Prisma.todo_category_assigneesMaxOrderByAggregateInput + _min?: Prisma.todo_category_assigneesMinOrderByAggregateInput + _sum?: Prisma.todo_category_assigneesSumOrderByAggregateInput +} + +export type todo_category_assigneesScalarWhereWithAggregatesInput = { + AND?: Prisma.todo_category_assigneesScalarWhereWithAggregatesInput | Prisma.todo_category_assigneesScalarWhereWithAggregatesInput[] + OR?: Prisma.todo_category_assigneesScalarWhereWithAggregatesInput[] + NOT?: Prisma.todo_category_assigneesScalarWhereWithAggregatesInput | Prisma.todo_category_assigneesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"todo_category_assignees"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"todo_category_assignees"> | number + category_name?: Prisma.StringWithAggregatesFilter<"todo_category_assignees"> | string + user_id?: Prisma.IntWithAggregatesFilter<"todo_category_assignees"> | number +} + +export type todo_category_assigneesCreateInput = { + category_name: string + users: Prisma.usersCreateNestedOneWithoutTodo_category_assigneesInput + trips: Prisma.tripsCreateNestedOneWithoutTodo_category_assigneesInput +} + +export type todo_category_assigneesUncheckedCreateInput = { + id?: number + trip_id: number + category_name: string + user_id: number +} + +export type todo_category_assigneesUpdateInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneRequiredWithoutTodo_category_assigneesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTodo_category_assigneesNestedInput +} + +export type todo_category_assigneesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type todo_category_assigneesCreateManyInput = { + id?: number + trip_id: number + category_name: string + user_id: number +} + +export type todo_category_assigneesUpdateManyMutationInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type todo_category_assigneesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type todo_category_assigneesTrip_idCategory_nameUser_idCompoundUniqueInput = { + trip_id: number + category_name: string + user_id: number +} + +export type todo_category_assigneesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type todo_category_assigneesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type todo_category_assigneesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type todo_category_assigneesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + category_name?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type todo_category_assigneesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type Todo_category_assigneesListRelationFilter = { + every?: Prisma.todo_category_assigneesWhereInput + some?: Prisma.todo_category_assigneesWhereInput + none?: Prisma.todo_category_assigneesWhereInput +} + +export type todo_category_assigneesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type todo_category_assigneesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutTripsInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.todo_category_assigneesCreateManyTripsInputEnvelope + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] +} + +export type todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutTripsInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.todo_category_assigneesCreateManyTripsInputEnvelope + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] +} + +export type todo_category_assigneesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutTripsInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutTripsInput | Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.todo_category_assigneesCreateManyTripsInputEnvelope + set?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + delete?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + update?: Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutTripsInput | Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.todo_category_assigneesUpdateManyWithWhereWithoutTripsInput | Prisma.todo_category_assigneesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] +} + +export type todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutTripsInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput | Prisma.todo_category_assigneesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutTripsInput | Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.todo_category_assigneesCreateManyTripsInputEnvelope + set?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + delete?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + update?: Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutTripsInput | Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.todo_category_assigneesUpdateManyWithWhereWithoutTripsInput | Prisma.todo_category_assigneesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] +} + +export type todo_category_assigneesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutUsersInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.todo_category_assigneesCreateManyUsersInputEnvelope + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] +} + +export type todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutUsersInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.todo_category_assigneesCreateManyUsersInputEnvelope + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] +} + +export type todo_category_assigneesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutUsersInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutUsersInput | Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.todo_category_assigneesCreateManyUsersInputEnvelope + set?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + delete?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + update?: Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutUsersInput | Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.todo_category_assigneesUpdateManyWithWhereWithoutUsersInput | Prisma.todo_category_assigneesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] +} + +export type todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.todo_category_assigneesCreateWithoutUsersInput[] | Prisma.todo_category_assigneesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput | Prisma.todo_category_assigneesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutUsersInput | Prisma.todo_category_assigneesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.todo_category_assigneesCreateManyUsersInputEnvelope + set?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + disconnect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + delete?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + connect?: Prisma.todo_category_assigneesWhereUniqueInput | Prisma.todo_category_assigneesWhereUniqueInput[] + update?: Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutUsersInput | Prisma.todo_category_assigneesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.todo_category_assigneesUpdateManyWithWhereWithoutUsersInput | Prisma.todo_category_assigneesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] +} + +export type todo_category_assigneesCreateWithoutTripsInput = { + category_name: string + users: Prisma.usersCreateNestedOneWithoutTodo_category_assigneesInput +} + +export type todo_category_assigneesUncheckedCreateWithoutTripsInput = { + id?: number + category_name: string + user_id: number +} + +export type todo_category_assigneesCreateOrConnectWithoutTripsInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + create: Prisma.XOR +} + +export type todo_category_assigneesCreateManyTripsInputEnvelope = { + data: Prisma.todo_category_assigneesCreateManyTripsInput | Prisma.todo_category_assigneesCreateManyTripsInput[] +} + +export type todo_category_assigneesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type todo_category_assigneesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + data: Prisma.XOR +} + +export type todo_category_assigneesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.todo_category_assigneesScalarWhereInput + data: Prisma.XOR +} + +export type todo_category_assigneesScalarWhereInput = { + AND?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] + OR?: Prisma.todo_category_assigneesScalarWhereInput[] + NOT?: Prisma.todo_category_assigneesScalarWhereInput | Prisma.todo_category_assigneesScalarWhereInput[] + id?: Prisma.IntFilter<"todo_category_assignees"> | number + trip_id?: Prisma.IntFilter<"todo_category_assignees"> | number + category_name?: Prisma.StringFilter<"todo_category_assignees"> | string + user_id?: Prisma.IntFilter<"todo_category_assignees"> | number +} + +export type todo_category_assigneesCreateWithoutUsersInput = { + category_name: string + trips: Prisma.tripsCreateNestedOneWithoutTodo_category_assigneesInput +} + +export type todo_category_assigneesUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + category_name: string +} + +export type todo_category_assigneesCreateOrConnectWithoutUsersInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + create: Prisma.XOR +} + +export type todo_category_assigneesCreateManyUsersInputEnvelope = { + data: Prisma.todo_category_assigneesCreateManyUsersInput | Prisma.todo_category_assigneesCreateManyUsersInput[] +} + +export type todo_category_assigneesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type todo_category_assigneesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.todo_category_assigneesWhereUniqueInput + data: Prisma.XOR +} + +export type todo_category_assigneesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.todo_category_assigneesScalarWhereInput + data: Prisma.XOR +} + +export type todo_category_assigneesCreateManyTripsInput = { + id?: number + category_name: string + user_id: number +} + +export type todo_category_assigneesUpdateWithoutTripsInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + users?: Prisma.usersUpdateOneRequiredWithoutTodo_category_assigneesNestedInput +} + +export type todo_category_assigneesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type todo_category_assigneesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string + user_id?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type todo_category_assigneesCreateManyUsersInput = { + id?: number + trip_id: number + category_name: string +} + +export type todo_category_assigneesUpdateWithoutUsersInput = { + category_name?: Prisma.StringFieldUpdateOperationsInput | string + trips?: Prisma.tripsUpdateOneRequiredWithoutTodo_category_assigneesNestedInput +} + +export type todo_category_assigneesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + +export type todo_category_assigneesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + category_name?: Prisma.StringFieldUpdateOperationsInput | string +} + + + +export type todo_category_assigneesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_category_assignees"]> + +export type todo_category_assigneesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_category_assignees"]> + +export type todo_category_assigneesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_category_assignees"]> + +export type todo_category_assigneesSelectScalar = { + id?: boolean + trip_id?: boolean + category_name?: boolean + user_id?: boolean +} + +export type todo_category_assigneesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "category_name" | "user_id", ExtArgs["result"]["todo_category_assignees"]> +export type todo_category_assigneesInclude = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type todo_category_assigneesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type todo_category_assigneesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $todo_category_assigneesPayload = { + name: "todo_category_assignees" + objects: { + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + category_name: string + user_id: number + }, ExtArgs["result"]["todo_category_assignees"]> + composites: {} +} + +export type todo_category_assigneesGetPayload = runtime.Types.Result.GetResult + +export type todo_category_assigneesCountArgs = + Omit & { + select?: Todo_category_assigneesCountAggregateInputType | true + } + +export interface todo_category_assigneesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['todo_category_assignees'], meta: { name: 'todo_category_assignees' } } + /** + * Find zero or one Todo_category_assignees that matches the filter. + * @param {todo_category_assigneesFindUniqueArgs} args - Arguments to find a Todo_category_assignees + * @example + * // Get one Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Todo_category_assignees that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {todo_category_assigneesFindUniqueOrThrowArgs} args - Arguments to find a Todo_category_assignees + * @example + * // Get one Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Todo_category_assignees that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesFindFirstArgs} args - Arguments to find a Todo_category_assignees + * @example + * // Get one Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Todo_category_assignees that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesFindFirstOrThrowArgs} args - Arguments to find a Todo_category_assignees + * @example + * // Get one Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Todo_category_assignees that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findMany() + * + * // Get first 10 Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.findMany({ take: 10 }) + * + * // Only select the `id` + * const todo_category_assigneesWithIdOnly = await prisma.todo_category_assignees.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Todo_category_assignees. + * @param {todo_category_assigneesCreateArgs} args - Arguments to create a Todo_category_assignees. + * @example + * // Create one Todo_category_assignees + * const Todo_category_assignees = await prisma.todo_category_assignees.create({ + * data: { + * // ... data to create a Todo_category_assignees + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Todo_category_assignees. + * @param {todo_category_assigneesCreateManyArgs} args - Arguments to create many Todo_category_assignees. + * @example + * // Create many Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Todo_category_assignees and returns the data saved in the database. + * @param {todo_category_assigneesCreateManyAndReturnArgs} args - Arguments to create many Todo_category_assignees. + * @example + * // Create many Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Todo_category_assignees and only return the `id` + * const todo_category_assigneesWithIdOnly = await prisma.todo_category_assignees.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Todo_category_assignees. + * @param {todo_category_assigneesDeleteArgs} args - Arguments to delete one Todo_category_assignees. + * @example + * // Delete one Todo_category_assignees + * const Todo_category_assignees = await prisma.todo_category_assignees.delete({ + * where: { + * // ... filter to delete one Todo_category_assignees + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Todo_category_assignees. + * @param {todo_category_assigneesUpdateArgs} args - Arguments to update one Todo_category_assignees. + * @example + * // Update one Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Todo_category_assignees. + * @param {todo_category_assigneesDeleteManyArgs} args - Arguments to filter Todo_category_assignees to delete. + * @example + * // Delete a few Todo_category_assignees + * const { count } = await prisma.todo_category_assignees.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Todo_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Todo_category_assignees and returns the data updated in the database. + * @param {todo_category_assigneesUpdateManyAndReturnArgs} args - Arguments to update many Todo_category_assignees. + * @example + * // Update many Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Todo_category_assignees and only return the `id` + * const todo_category_assigneesWithIdOnly = await prisma.todo_category_assignees.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Todo_category_assignees. + * @param {todo_category_assigneesUpsertArgs} args - Arguments to update or create a Todo_category_assignees. + * @example + * // Update or create a Todo_category_assignees + * const todo_category_assignees = await prisma.todo_category_assignees.upsert({ + * create: { + * // ... data to create a Todo_category_assignees + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Todo_category_assignees we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__todo_category_assigneesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Todo_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesCountArgs} args - Arguments to filter Todo_category_assignees to count. + * @example + * // Count the number of Todo_category_assignees + * const count = await prisma.todo_category_assignees.count({ + * where: { + * // ... the filter for the Todo_category_assignees we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Todo_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Todo_category_assigneesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Todo_category_assignees. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_category_assigneesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends todo_category_assigneesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: todo_category_assigneesGroupByArgs['orderBy'] } + : { orderBy?: todo_category_assigneesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTodo_category_assigneesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the todo_category_assignees model + */ +readonly fields: todo_category_assigneesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for todo_category_assignees. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__todo_category_assigneesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the todo_category_assignees model + */ +export interface todo_category_assigneesFieldRefs { + readonly id: Prisma.FieldRef<"todo_category_assignees", 'Int'> + readonly trip_id: Prisma.FieldRef<"todo_category_assignees", 'Int'> + readonly category_name: Prisma.FieldRef<"todo_category_assignees", 'String'> + readonly user_id: Prisma.FieldRef<"todo_category_assignees", 'Int'> +} + + +// Custom InputTypes +/** + * todo_category_assignees findUnique + */ +export type todo_category_assigneesFindUniqueArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter, which todo_category_assignees to fetch. + */ + where: Prisma.todo_category_assigneesWhereUniqueInput +} + +/** + * todo_category_assignees findUniqueOrThrow + */ +export type todo_category_assigneesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter, which todo_category_assignees to fetch. + */ + where: Prisma.todo_category_assigneesWhereUniqueInput +} + +/** + * todo_category_assignees findFirst + */ +export type todo_category_assigneesFindFirstArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter, which todo_category_assignees to fetch. + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_category_assignees to fetch. + */ + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for todo_category_assignees. + */ + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_category_assignees. + */ + distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[] +} + +/** + * todo_category_assignees findFirstOrThrow + */ +export type todo_category_assigneesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter, which todo_category_assignees to fetch. + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_category_assignees to fetch. + */ + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for todo_category_assignees. + */ + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_category_assignees. + */ + distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[] +} + +/** + * todo_category_assignees findMany + */ +export type todo_category_assigneesFindManyArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter, which todo_category_assignees to fetch. + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_category_assignees to fetch. + */ + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing todo_category_assignees. + */ + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_category_assignees from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_category_assignees. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_category_assignees. + */ + distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[] +} + +/** + * todo_category_assignees create + */ +export type todo_category_assigneesCreateArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * The data needed to create a todo_category_assignees. + */ + data: Prisma.XOR +} + +/** + * todo_category_assignees createMany + */ +export type todo_category_assigneesCreateManyArgs = { + /** + * The data used to create many todo_category_assignees. + */ + data: Prisma.todo_category_assigneesCreateManyInput | Prisma.todo_category_assigneesCreateManyInput[] +} + +/** + * todo_category_assignees createManyAndReturn + */ +export type todo_category_assigneesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * The data used to create many todo_category_assignees. + */ + data: Prisma.todo_category_assigneesCreateManyInput | Prisma.todo_category_assigneesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesIncludeCreateManyAndReturn | null +} + +/** + * todo_category_assignees update + */ +export type todo_category_assigneesUpdateArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * The data needed to update a todo_category_assignees. + */ + data: Prisma.XOR + /** + * Choose, which todo_category_assignees to update. + */ + where: Prisma.todo_category_assigneesWhereUniqueInput +} + +/** + * todo_category_assignees updateMany + */ +export type todo_category_assigneesUpdateManyArgs = { + /** + * The data used to update todo_category_assignees. + */ + data: Prisma.XOR + /** + * Filter which todo_category_assignees to update + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * Limit how many todo_category_assignees to update. + */ + limit?: number +} + +/** + * todo_category_assignees updateManyAndReturn + */ +export type todo_category_assigneesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * The data used to update todo_category_assignees. + */ + data: Prisma.XOR + /** + * Filter which todo_category_assignees to update + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * Limit how many todo_category_assignees to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesIncludeUpdateManyAndReturn | null +} + +/** + * todo_category_assignees upsert + */ +export type todo_category_assigneesUpsertArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * The filter to search for the todo_category_assignees to update in case it exists. + */ + where: Prisma.todo_category_assigneesWhereUniqueInput + /** + * In case the todo_category_assignees found by the `where` argument doesn't exist, create a new todo_category_assignees with this data. + */ + create: Prisma.XOR + /** + * In case the todo_category_assignees was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * todo_category_assignees delete + */ +export type todo_category_assigneesDeleteArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + /** + * Filter which todo_category_assignees to delete. + */ + where: Prisma.todo_category_assigneesWhereUniqueInput +} + +/** + * todo_category_assignees deleteMany + */ +export type todo_category_assigneesDeleteManyArgs = { + /** + * Filter which todo_category_assignees to delete + */ + where?: Prisma.todo_category_assigneesWhereInput + /** + * Limit how many todo_category_assignees to delete. + */ + limit?: number +} + +/** + * todo_category_assignees without action + */ +export type todo_category_assigneesDefaultArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null +} diff --git a/server/src/generated/prisma/models/todo_items.ts b/server/src/generated/prisma/models/todo_items.ts new file mode 100644 index 00000000..fa3ad753 --- /dev/null +++ b/server/src/generated/prisma/models/todo_items.ts @@ -0,0 +1,1834 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `todo_items` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model todo_items + * + */ +export type todo_itemsModel = runtime.Types.Result.DefaultSelection + +export type AggregateTodo_items = { + _count: Todo_itemsCountAggregateOutputType | null + _avg: Todo_itemsAvgAggregateOutputType | null + _sum: Todo_itemsSumAggregateOutputType | null + _min: Todo_itemsMinAggregateOutputType | null + _max: Todo_itemsMaxAggregateOutputType | null +} + +export type Todo_itemsAvgAggregateOutputType = { + id: number | null + trip_id: number | null + checked: number | null + sort_order: number | null + assigned_user_id: number | null + priority: number | null +} + +export type Todo_itemsSumAggregateOutputType = { + id: number | null + trip_id: number | null + checked: number | null + sort_order: number | null + assigned_user_id: number | null + priority: number | null +} + +export type Todo_itemsMinAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + checked: number | null + category: string | null + sort_order: number | null + due_date: string | null + description: string | null + assigned_user_id: number | null + priority: number | null + created_at: Date | null + reminded_at: Date | null +} + +export type Todo_itemsMaxAggregateOutputType = { + id: number | null + trip_id: number | null + name: string | null + checked: number | null + category: string | null + sort_order: number | null + due_date: string | null + description: string | null + assigned_user_id: number | null + priority: number | null + created_at: Date | null + reminded_at: Date | null +} + +export type Todo_itemsCountAggregateOutputType = { + id: number + trip_id: number + name: number + checked: number + category: number + sort_order: number + due_date: number + description: number + assigned_user_id: number + priority: number + created_at: number + reminded_at: number + _all: number +} + + +export type Todo_itemsAvgAggregateInputType = { + id?: true + trip_id?: true + checked?: true + sort_order?: true + assigned_user_id?: true + priority?: true +} + +export type Todo_itemsSumAggregateInputType = { + id?: true + trip_id?: true + checked?: true + sort_order?: true + assigned_user_id?: true + priority?: true +} + +export type Todo_itemsMinAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + due_date?: true + description?: true + assigned_user_id?: true + priority?: true + created_at?: true + reminded_at?: true +} + +export type Todo_itemsMaxAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + due_date?: true + description?: true + assigned_user_id?: true + priority?: true + created_at?: true + reminded_at?: true +} + +export type Todo_itemsCountAggregateInputType = { + id?: true + trip_id?: true + name?: true + checked?: true + category?: true + sort_order?: true + due_date?: true + description?: true + assigned_user_id?: true + priority?: true + created_at?: true + reminded_at?: true + _all?: true +} + +export type Todo_itemsAggregateArgs = { + /** + * Filter which todo_items to aggregate. + */ + where?: Prisma.todo_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_items to fetch. + */ + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.todo_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned todo_items + **/ + _count?: true | Todo_itemsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Todo_itemsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Todo_itemsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Todo_itemsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Todo_itemsMaxAggregateInputType +} + +export type GetTodo_itemsAggregateType = { + [P in keyof T & keyof AggregateTodo_items]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type todo_itemsGroupByArgs = { + where?: Prisma.todo_itemsWhereInput + orderBy?: Prisma.todo_itemsOrderByWithAggregationInput | Prisma.todo_itemsOrderByWithAggregationInput[] + by: Prisma.Todo_itemsScalarFieldEnum[] | Prisma.Todo_itemsScalarFieldEnum + having?: Prisma.todo_itemsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Todo_itemsCountAggregateInputType | true + _avg?: Todo_itemsAvgAggregateInputType + _sum?: Todo_itemsSumAggregateInputType + _min?: Todo_itemsMinAggregateInputType + _max?: Todo_itemsMaxAggregateInputType +} + +export type Todo_itemsGroupByOutputType = { + id: number + trip_id: number + name: string + checked: number | null + category: string | null + sort_order: number | null + due_date: string | null + description: string | null + assigned_user_id: number | null + priority: number | null + created_at: Date | null + reminded_at: Date | null + _count: Todo_itemsCountAggregateOutputType | null + _avg: Todo_itemsAvgAggregateOutputType | null + _sum: Todo_itemsSumAggregateOutputType | null + _min: Todo_itemsMinAggregateOutputType | null + _max: Todo_itemsMaxAggregateOutputType | null +} + +export type GetTodo_itemsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Todo_itemsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type todo_itemsWhereInput = { + AND?: Prisma.todo_itemsWhereInput | Prisma.todo_itemsWhereInput[] + OR?: Prisma.todo_itemsWhereInput[] + NOT?: Prisma.todo_itemsWhereInput | Prisma.todo_itemsWhereInput[] + id?: Prisma.IntFilter<"todo_items"> | number + trip_id?: Prisma.IntFilter<"todo_items"> | number + name?: Prisma.StringFilter<"todo_items"> | string + checked?: Prisma.IntNullableFilter<"todo_items"> | number | null + category?: Prisma.StringNullableFilter<"todo_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"todo_items"> | number | null + due_date?: Prisma.StringNullableFilter<"todo_items"> | string | null + description?: Prisma.StringNullableFilter<"todo_items"> | string | null + assigned_user_id?: Prisma.IntNullableFilter<"todo_items"> | number | null + priority?: Prisma.IntNullableFilter<"todo_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null + reminded_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null + users?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type todo_itemsOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrderInput | Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + due_date?: Prisma.SortOrderInput | Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + assigned_user_id?: Prisma.SortOrderInput | Prisma.SortOrder + priority?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + reminded_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type todo_itemsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.todo_itemsWhereInput | Prisma.todo_itemsWhereInput[] + OR?: Prisma.todo_itemsWhereInput[] + NOT?: Prisma.todo_itemsWhereInput | Prisma.todo_itemsWhereInput[] + trip_id?: Prisma.IntFilter<"todo_items"> | number + name?: Prisma.StringFilter<"todo_items"> | string + checked?: Prisma.IntNullableFilter<"todo_items"> | number | null + category?: Prisma.StringNullableFilter<"todo_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"todo_items"> | number | null + due_date?: Prisma.StringNullableFilter<"todo_items"> | string | null + description?: Prisma.StringNullableFilter<"todo_items"> | string | null + assigned_user_id?: Prisma.IntNullableFilter<"todo_items"> | number | null + priority?: Prisma.IntNullableFilter<"todo_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null + reminded_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null + users?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type todo_itemsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrderInput | Prisma.SortOrder + category?: Prisma.SortOrderInput | Prisma.SortOrder + sort_order?: Prisma.SortOrderInput | Prisma.SortOrder + due_date?: Prisma.SortOrderInput | Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + assigned_user_id?: Prisma.SortOrderInput | Prisma.SortOrder + priority?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + reminded_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.todo_itemsCountOrderByAggregateInput + _avg?: Prisma.todo_itemsAvgOrderByAggregateInput + _max?: Prisma.todo_itemsMaxOrderByAggregateInput + _min?: Prisma.todo_itemsMinOrderByAggregateInput + _sum?: Prisma.todo_itemsSumOrderByAggregateInput +} + +export type todo_itemsScalarWhereWithAggregatesInput = { + AND?: Prisma.todo_itemsScalarWhereWithAggregatesInput | Prisma.todo_itemsScalarWhereWithAggregatesInput[] + OR?: Prisma.todo_itemsScalarWhereWithAggregatesInput[] + NOT?: Prisma.todo_itemsScalarWhereWithAggregatesInput | Prisma.todo_itemsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"todo_items"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"todo_items"> | number + name?: Prisma.StringWithAggregatesFilter<"todo_items"> | string + checked?: Prisma.IntNullableWithAggregatesFilter<"todo_items"> | number | null + category?: Prisma.StringNullableWithAggregatesFilter<"todo_items"> | string | null + sort_order?: Prisma.IntNullableWithAggregatesFilter<"todo_items"> | number | null + due_date?: Prisma.StringNullableWithAggregatesFilter<"todo_items"> | string | null + description?: Prisma.StringNullableWithAggregatesFilter<"todo_items"> | string | null + assigned_user_id?: Prisma.IntNullableWithAggregatesFilter<"todo_items"> | number | null + priority?: Prisma.IntNullableWithAggregatesFilter<"todo_items"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"todo_items"> | Date | string | null + reminded_at?: Prisma.DateTimeNullableWithAggregatesFilter<"todo_items"> | Date | string | null +} + +export type todo_itemsCreateInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null + users?: Prisma.usersCreateNestedOneWithoutTodo_itemsInput + trips: Prisma.tripsCreateNestedOneWithoutTodo_itemsInput +} + +export type todo_itemsUncheckedCreateInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + assigned_user_id?: number | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsUpdateInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneWithoutTodo_itemsNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTodo_itemsNestedInput +} + +export type todo_itemsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assigned_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsCreateManyInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + assigned_user_id?: number | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsUpdateManyMutationInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assigned_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + due_date?: Prisma.SortOrder + description?: Prisma.SortOrder + assigned_user_id?: Prisma.SortOrder + priority?: Prisma.SortOrder + created_at?: Prisma.SortOrder + reminded_at?: Prisma.SortOrder +} + +export type todo_itemsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + checked?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + assigned_user_id?: Prisma.SortOrder + priority?: Prisma.SortOrder +} + +export type todo_itemsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + due_date?: Prisma.SortOrder + description?: Prisma.SortOrder + assigned_user_id?: Prisma.SortOrder + priority?: Prisma.SortOrder + created_at?: Prisma.SortOrder + reminded_at?: Prisma.SortOrder +} + +export type todo_itemsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + name?: Prisma.SortOrder + checked?: Prisma.SortOrder + category?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + due_date?: Prisma.SortOrder + description?: Prisma.SortOrder + assigned_user_id?: Prisma.SortOrder + priority?: Prisma.SortOrder + created_at?: Prisma.SortOrder + reminded_at?: Prisma.SortOrder +} + +export type todo_itemsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + checked?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + assigned_user_id?: Prisma.SortOrder + priority?: Prisma.SortOrder +} + +export type Todo_itemsListRelationFilter = { + every?: Prisma.todo_itemsWhereInput + some?: Prisma.todo_itemsWhereInput + none?: Prisma.todo_itemsWhereInput +} + +export type todo_itemsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type todo_itemsCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutTripsInput[] | Prisma.todo_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutTripsInput | Prisma.todo_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.todo_itemsCreateManyTripsInputEnvelope + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] +} + +export type todo_itemsUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutTripsInput[] | Prisma.todo_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutTripsInput | Prisma.todo_itemsCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.todo_itemsCreateManyTripsInputEnvelope + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] +} + +export type todo_itemsUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutTripsInput[] | Prisma.todo_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutTripsInput | Prisma.todo_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.todo_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.todo_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.todo_itemsCreateManyTripsInputEnvelope + set?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + disconnect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + delete?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + update?: Prisma.todo_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.todo_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.todo_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.todo_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] +} + +export type todo_itemsUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutTripsInput[] | Prisma.todo_itemsUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutTripsInput | Prisma.todo_itemsCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.todo_itemsUpsertWithWhereUniqueWithoutTripsInput | Prisma.todo_itemsUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.todo_itemsCreateManyTripsInputEnvelope + set?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + disconnect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + delete?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + update?: Prisma.todo_itemsUpdateWithWhereUniqueWithoutTripsInput | Prisma.todo_itemsUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.todo_itemsUpdateManyWithWhereWithoutTripsInput | Prisma.todo_itemsUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] +} + +export type todo_itemsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutUsersInput[] | Prisma.todo_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutUsersInput | Prisma.todo_itemsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.todo_itemsCreateManyUsersInputEnvelope + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] +} + +export type todo_itemsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutUsersInput[] | Prisma.todo_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutUsersInput | Prisma.todo_itemsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.todo_itemsCreateManyUsersInputEnvelope + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] +} + +export type todo_itemsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutUsersInput[] | Prisma.todo_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutUsersInput | Prisma.todo_itemsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.todo_itemsUpsertWithWhereUniqueWithoutUsersInput | Prisma.todo_itemsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.todo_itemsCreateManyUsersInputEnvelope + set?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + disconnect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + delete?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + update?: Prisma.todo_itemsUpdateWithWhereUniqueWithoutUsersInput | Prisma.todo_itemsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.todo_itemsUpdateManyWithWhereWithoutUsersInput | Prisma.todo_itemsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] +} + +export type todo_itemsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.todo_itemsCreateWithoutUsersInput[] | Prisma.todo_itemsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.todo_itemsCreateOrConnectWithoutUsersInput | Prisma.todo_itemsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.todo_itemsUpsertWithWhereUniqueWithoutUsersInput | Prisma.todo_itemsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.todo_itemsCreateManyUsersInputEnvelope + set?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + disconnect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + delete?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + connect?: Prisma.todo_itemsWhereUniqueInput | Prisma.todo_itemsWhereUniqueInput[] + update?: Prisma.todo_itemsUpdateWithWhereUniqueWithoutUsersInput | Prisma.todo_itemsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.todo_itemsUpdateManyWithWhereWithoutUsersInput | Prisma.todo_itemsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] +} + +export type todo_itemsCreateWithoutTripsInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null + users?: Prisma.usersCreateNestedOneWithoutTodo_itemsInput +} + +export type todo_itemsUncheckedCreateWithoutTripsInput = { + id?: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + assigned_user_id?: number | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsCreateOrConnectWithoutTripsInput = { + where: Prisma.todo_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type todo_itemsCreateManyTripsInputEnvelope = { + data: Prisma.todo_itemsCreateManyTripsInput | Prisma.todo_itemsCreateManyTripsInput[] +} + +export type todo_itemsUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.todo_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type todo_itemsUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.todo_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type todo_itemsUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.todo_itemsScalarWhereInput + data: Prisma.XOR +} + +export type todo_itemsScalarWhereInput = { + AND?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] + OR?: Prisma.todo_itemsScalarWhereInput[] + NOT?: Prisma.todo_itemsScalarWhereInput | Prisma.todo_itemsScalarWhereInput[] + id?: Prisma.IntFilter<"todo_items"> | number + trip_id?: Prisma.IntFilter<"todo_items"> | number + name?: Prisma.StringFilter<"todo_items"> | string + checked?: Prisma.IntNullableFilter<"todo_items"> | number | null + category?: Prisma.StringNullableFilter<"todo_items"> | string | null + sort_order?: Prisma.IntNullableFilter<"todo_items"> | number | null + due_date?: Prisma.StringNullableFilter<"todo_items"> | string | null + description?: Prisma.StringNullableFilter<"todo_items"> | string | null + assigned_user_id?: Prisma.IntNullableFilter<"todo_items"> | number | null + priority?: Prisma.IntNullableFilter<"todo_items"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null + reminded_at?: Prisma.DateTimeNullableFilter<"todo_items"> | Date | string | null +} + +export type todo_itemsCreateWithoutUsersInput = { + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null + trips: Prisma.tripsCreateNestedOneWithoutTodo_itemsInput +} + +export type todo_itemsUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsCreateOrConnectWithoutUsersInput = { + where: Prisma.todo_itemsWhereUniqueInput + create: Prisma.XOR +} + +export type todo_itemsCreateManyUsersInputEnvelope = { + data: Prisma.todo_itemsCreateManyUsersInput | Prisma.todo_itemsCreateManyUsersInput[] +} + +export type todo_itemsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.todo_itemsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type todo_itemsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.todo_itemsWhereUniqueInput + data: Prisma.XOR +} + +export type todo_itemsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.todo_itemsScalarWhereInput + data: Prisma.XOR +} + +export type todo_itemsCreateManyTripsInput = { + id?: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + assigned_user_id?: number | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsUpdateWithoutTripsInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneWithoutTodo_itemsNestedInput +} + +export type todo_itemsUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assigned_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + assigned_user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsCreateManyUsersInput = { + id?: number + trip_id: number + name: string + checked?: number | null + category?: string | null + sort_order?: number | null + due_date?: string | null + description?: string | null + priority?: number | null + created_at?: Date | string | null + reminded_at?: Date | string | null +} + +export type todo_itemsUpdateWithoutUsersInput = { + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutTodo_itemsNestedInput +} + +export type todo_itemsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type todo_itemsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + name?: Prisma.StringFieldUpdateOperationsInput | string + checked?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + sort_order?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + due_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + priority?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + reminded_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type todo_itemsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + due_date?: boolean + description?: boolean + assigned_user_id?: boolean + priority?: boolean + created_at?: boolean + reminded_at?: boolean + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_items"]> + +export type todo_itemsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + due_date?: boolean + description?: boolean + assigned_user_id?: boolean + priority?: boolean + created_at?: boolean + reminded_at?: boolean + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_items"]> + +export type todo_itemsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + due_date?: boolean + description?: boolean + assigned_user_id?: boolean + priority?: boolean + created_at?: boolean + reminded_at?: boolean + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["todo_items"]> + +export type todo_itemsSelectScalar = { + id?: boolean + trip_id?: boolean + name?: boolean + checked?: boolean + category?: boolean + sort_order?: boolean + due_date?: boolean + description?: boolean + assigned_user_id?: boolean + priority?: boolean + created_at?: boolean + reminded_at?: boolean +} + +export type todo_itemsOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "name" | "checked" | "category" | "sort_order" | "due_date" | "description" | "assigned_user_id" | "priority" | "created_at" | "reminded_at", ExtArgs["result"]["todo_items"]> +export type todo_itemsInclude = { + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type todo_itemsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type todo_itemsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.todo_items$usersArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $todo_itemsPayload = { + name: "todo_items" + objects: { + users: Prisma.$usersPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + name: string + checked: number | null + category: string | null + sort_order: number | null + due_date: string | null + description: string | null + assigned_user_id: number | null + priority: number | null + created_at: Date | null + reminded_at: Date | null + }, ExtArgs["result"]["todo_items"]> + composites: {} +} + +export type todo_itemsGetPayload = runtime.Types.Result.GetResult + +export type todo_itemsCountArgs = + Omit & { + select?: Todo_itemsCountAggregateInputType | true + } + +export interface todo_itemsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['todo_items'], meta: { name: 'todo_items' } } + /** + * Find zero or one Todo_items that matches the filter. + * @param {todo_itemsFindUniqueArgs} args - Arguments to find a Todo_items + * @example + * // Get one Todo_items + * const todo_items = await prisma.todo_items.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Todo_items that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {todo_itemsFindUniqueOrThrowArgs} args - Arguments to find a Todo_items + * @example + * // Get one Todo_items + * const todo_items = await prisma.todo_items.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Todo_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsFindFirstArgs} args - Arguments to find a Todo_items + * @example + * // Get one Todo_items + * const todo_items = await prisma.todo_items.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Todo_items that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsFindFirstOrThrowArgs} args - Arguments to find a Todo_items + * @example + * // Get one Todo_items + * const todo_items = await prisma.todo_items.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Todo_items that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Todo_items + * const todo_items = await prisma.todo_items.findMany() + * + * // Get first 10 Todo_items + * const todo_items = await prisma.todo_items.findMany({ take: 10 }) + * + * // Only select the `id` + * const todo_itemsWithIdOnly = await prisma.todo_items.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Todo_items. + * @param {todo_itemsCreateArgs} args - Arguments to create a Todo_items. + * @example + * // Create one Todo_items + * const Todo_items = await prisma.todo_items.create({ + * data: { + * // ... data to create a Todo_items + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Todo_items. + * @param {todo_itemsCreateManyArgs} args - Arguments to create many Todo_items. + * @example + * // Create many Todo_items + * const todo_items = await prisma.todo_items.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Todo_items and returns the data saved in the database. + * @param {todo_itemsCreateManyAndReturnArgs} args - Arguments to create many Todo_items. + * @example + * // Create many Todo_items + * const todo_items = await prisma.todo_items.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Todo_items and only return the `id` + * const todo_itemsWithIdOnly = await prisma.todo_items.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Todo_items. + * @param {todo_itemsDeleteArgs} args - Arguments to delete one Todo_items. + * @example + * // Delete one Todo_items + * const Todo_items = await prisma.todo_items.delete({ + * where: { + * // ... filter to delete one Todo_items + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Todo_items. + * @param {todo_itemsUpdateArgs} args - Arguments to update one Todo_items. + * @example + * // Update one Todo_items + * const todo_items = await prisma.todo_items.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Todo_items. + * @param {todo_itemsDeleteManyArgs} args - Arguments to filter Todo_items to delete. + * @example + * // Delete a few Todo_items + * const { count } = await prisma.todo_items.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Todo_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Todo_items + * const todo_items = await prisma.todo_items.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Todo_items and returns the data updated in the database. + * @param {todo_itemsUpdateManyAndReturnArgs} args - Arguments to update many Todo_items. + * @example + * // Update many Todo_items + * const todo_items = await prisma.todo_items.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Todo_items and only return the `id` + * const todo_itemsWithIdOnly = await prisma.todo_items.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Todo_items. + * @param {todo_itemsUpsertArgs} args - Arguments to update or create a Todo_items. + * @example + * // Update or create a Todo_items + * const todo_items = await prisma.todo_items.upsert({ + * create: { + * // ... data to create a Todo_items + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Todo_items we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__todo_itemsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Todo_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsCountArgs} args - Arguments to filter Todo_items to count. + * @example + * // Count the number of Todo_items + * const count = await prisma.todo_items.count({ + * where: { + * // ... the filter for the Todo_items we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Todo_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Todo_itemsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Todo_items. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {todo_itemsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends todo_itemsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: todo_itemsGroupByArgs['orderBy'] } + : { orderBy?: todo_itemsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTodo_itemsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the todo_items model + */ +readonly fields: todo_itemsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for todo_items. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__todo_itemsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the todo_items model + */ +export interface todo_itemsFieldRefs { + readonly id: Prisma.FieldRef<"todo_items", 'Int'> + readonly trip_id: Prisma.FieldRef<"todo_items", 'Int'> + readonly name: Prisma.FieldRef<"todo_items", 'String'> + readonly checked: Prisma.FieldRef<"todo_items", 'Int'> + readonly category: Prisma.FieldRef<"todo_items", 'String'> + readonly sort_order: Prisma.FieldRef<"todo_items", 'Int'> + readonly due_date: Prisma.FieldRef<"todo_items", 'String'> + readonly description: Prisma.FieldRef<"todo_items", 'String'> + readonly assigned_user_id: Prisma.FieldRef<"todo_items", 'Int'> + readonly priority: Prisma.FieldRef<"todo_items", 'Int'> + readonly created_at: Prisma.FieldRef<"todo_items", 'DateTime'> + readonly reminded_at: Prisma.FieldRef<"todo_items", 'DateTime'> +} + + +// Custom InputTypes +/** + * todo_items findUnique + */ +export type todo_itemsFindUniqueArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter, which todo_items to fetch. + */ + where: Prisma.todo_itemsWhereUniqueInput +} + +/** + * todo_items findUniqueOrThrow + */ +export type todo_itemsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter, which todo_items to fetch. + */ + where: Prisma.todo_itemsWhereUniqueInput +} + +/** + * todo_items findFirst + */ +export type todo_itemsFindFirstArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter, which todo_items to fetch. + */ + where?: Prisma.todo_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_items to fetch. + */ + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for todo_items. + */ + cursor?: Prisma.todo_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_items. + */ + distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[] +} + +/** + * todo_items findFirstOrThrow + */ +export type todo_itemsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter, which todo_items to fetch. + */ + where?: Prisma.todo_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_items to fetch. + */ + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for todo_items. + */ + cursor?: Prisma.todo_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_items. + */ + distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[] +} + +/** + * todo_items findMany + */ +export type todo_itemsFindManyArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter, which todo_items to fetch. + */ + where?: Prisma.todo_itemsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of todo_items to fetch. + */ + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing todo_items. + */ + cursor?: Prisma.todo_itemsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` todo_items from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` todo_items. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of todo_items. + */ + distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[] +} + +/** + * todo_items create + */ +export type todo_itemsCreateArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * The data needed to create a todo_items. + */ + data: Prisma.XOR +} + +/** + * todo_items createMany + */ +export type todo_itemsCreateManyArgs = { + /** + * The data used to create many todo_items. + */ + data: Prisma.todo_itemsCreateManyInput | Prisma.todo_itemsCreateManyInput[] +} + +/** + * todo_items createManyAndReturn + */ +export type todo_itemsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * The data used to create many todo_items. + */ + data: Prisma.todo_itemsCreateManyInput | Prisma.todo_itemsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsIncludeCreateManyAndReturn | null +} + +/** + * todo_items update + */ +export type todo_itemsUpdateArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * The data needed to update a todo_items. + */ + data: Prisma.XOR + /** + * Choose, which todo_items to update. + */ + where: Prisma.todo_itemsWhereUniqueInput +} + +/** + * todo_items updateMany + */ +export type todo_itemsUpdateManyArgs = { + /** + * The data used to update todo_items. + */ + data: Prisma.XOR + /** + * Filter which todo_items to update + */ + where?: Prisma.todo_itemsWhereInput + /** + * Limit how many todo_items to update. + */ + limit?: number +} + +/** + * todo_items updateManyAndReturn + */ +export type todo_itemsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * The data used to update todo_items. + */ + data: Prisma.XOR + /** + * Filter which todo_items to update + */ + where?: Prisma.todo_itemsWhereInput + /** + * Limit how many todo_items to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsIncludeUpdateManyAndReturn | null +} + +/** + * todo_items upsert + */ +export type todo_itemsUpsertArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * The filter to search for the todo_items to update in case it exists. + */ + where: Prisma.todo_itemsWhereUniqueInput + /** + * In case the todo_items found by the `where` argument doesn't exist, create a new todo_items with this data. + */ + create: Prisma.XOR + /** + * In case the todo_items was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * todo_items delete + */ +export type todo_itemsDeleteArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + /** + * Filter which todo_items to delete. + */ + where: Prisma.todo_itemsWhereUniqueInput +} + +/** + * todo_items deleteMany + */ +export type todo_itemsDeleteManyArgs = { + /** + * Filter which todo_items to delete + */ + where?: Prisma.todo_itemsWhereInput + /** + * Limit how many todo_items to delete. + */ + limit?: number +} + +/** + * todo_items.users + */ +export type todo_items$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * todo_items without action + */ +export type todo_itemsDefaultArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null +} diff --git a/server/src/generated/prisma/models/trek_photo_cache_meta.ts b/server/src/generated/prisma/models/trek_photo_cache_meta.ts new file mode 100644 index 00000000..f785b002 --- /dev/null +++ b/server/src/generated/prisma/models/trek_photo_cache_meta.ts @@ -0,0 +1,1135 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trek_photo_cache_meta` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trek_photo_cache_meta + * + */ +export type trek_photo_cache_metaModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrek_photo_cache_meta = { + _count: Trek_photo_cache_metaCountAggregateOutputType | null + _avg: Trek_photo_cache_metaAvgAggregateOutputType | null + _sum: Trek_photo_cache_metaSumAggregateOutputType | null + _min: Trek_photo_cache_metaMinAggregateOutputType | null + _max: Trek_photo_cache_metaMaxAggregateOutputType | null +} + +export type Trek_photo_cache_metaAvgAggregateOutputType = { + fetched_at: number | null +} + +export type Trek_photo_cache_metaSumAggregateOutputType = { + fetched_at: number | null +} + +export type Trek_photo_cache_metaMinAggregateOutputType = { + cache_key: string | null + content_type: string | null + fetched_at: number | null +} + +export type Trek_photo_cache_metaMaxAggregateOutputType = { + cache_key: string | null + content_type: string | null + fetched_at: number | null +} + +export type Trek_photo_cache_metaCountAggregateOutputType = { + cache_key: number + content_type: number + fetched_at: number + _all: number +} + + +export type Trek_photo_cache_metaAvgAggregateInputType = { + fetched_at?: true +} + +export type Trek_photo_cache_metaSumAggregateInputType = { + fetched_at?: true +} + +export type Trek_photo_cache_metaMinAggregateInputType = { + cache_key?: true + content_type?: true + fetched_at?: true +} + +export type Trek_photo_cache_metaMaxAggregateInputType = { + cache_key?: true + content_type?: true + fetched_at?: true +} + +export type Trek_photo_cache_metaCountAggregateInputType = { + cache_key?: true + content_type?: true + fetched_at?: true + _all?: true +} + +export type Trek_photo_cache_metaAggregateArgs = { + /** + * Filter which trek_photo_cache_meta to aggregate. + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photo_cache_metas to fetch. + */ + orderBy?: Prisma.trek_photo_cache_metaOrderByWithRelationInput | Prisma.trek_photo_cache_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trek_photo_cache_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photo_cache_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photo_cache_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trek_photo_cache_metas + **/ + _count?: true | Trek_photo_cache_metaCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trek_photo_cache_metaAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trek_photo_cache_metaSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trek_photo_cache_metaMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trek_photo_cache_metaMaxAggregateInputType +} + +export type GetTrek_photo_cache_metaAggregateType = { + [P in keyof T & keyof AggregateTrek_photo_cache_meta]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trek_photo_cache_metaGroupByArgs = { + where?: Prisma.trek_photo_cache_metaWhereInput + orderBy?: Prisma.trek_photo_cache_metaOrderByWithAggregationInput | Prisma.trek_photo_cache_metaOrderByWithAggregationInput[] + by: Prisma.Trek_photo_cache_metaScalarFieldEnum[] | Prisma.Trek_photo_cache_metaScalarFieldEnum + having?: Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trek_photo_cache_metaCountAggregateInputType | true + _avg?: Trek_photo_cache_metaAvgAggregateInputType + _sum?: Trek_photo_cache_metaSumAggregateInputType + _min?: Trek_photo_cache_metaMinAggregateInputType + _max?: Trek_photo_cache_metaMaxAggregateInputType +} + +export type Trek_photo_cache_metaGroupByOutputType = { + cache_key: string + content_type: string + fetched_at: number + _count: Trek_photo_cache_metaCountAggregateOutputType | null + _avg: Trek_photo_cache_metaAvgAggregateOutputType | null + _sum: Trek_photo_cache_metaSumAggregateOutputType | null + _min: Trek_photo_cache_metaMinAggregateOutputType | null + _max: Trek_photo_cache_metaMaxAggregateOutputType | null +} + +export type GetTrek_photo_cache_metaGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trek_photo_cache_metaGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trek_photo_cache_metaWhereInput = { + AND?: Prisma.trek_photo_cache_metaWhereInput | Prisma.trek_photo_cache_metaWhereInput[] + OR?: Prisma.trek_photo_cache_metaWhereInput[] + NOT?: Prisma.trek_photo_cache_metaWhereInput | Prisma.trek_photo_cache_metaWhereInput[] + cache_key?: Prisma.StringFilter<"trek_photo_cache_meta"> | string + content_type?: Prisma.StringFilter<"trek_photo_cache_meta"> | string + fetched_at?: Prisma.IntFilter<"trek_photo_cache_meta"> | number +} + +export type trek_photo_cache_metaOrderByWithRelationInput = { + cache_key?: Prisma.SortOrder + content_type?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type trek_photo_cache_metaWhereUniqueInput = Prisma.AtLeast<{ + cache_key?: string + AND?: Prisma.trek_photo_cache_metaWhereInput | Prisma.trek_photo_cache_metaWhereInput[] + OR?: Prisma.trek_photo_cache_metaWhereInput[] + NOT?: Prisma.trek_photo_cache_metaWhereInput | Prisma.trek_photo_cache_metaWhereInput[] + content_type?: Prisma.StringFilter<"trek_photo_cache_meta"> | string + fetched_at?: Prisma.IntFilter<"trek_photo_cache_meta"> | number +}, "cache_key"> + +export type trek_photo_cache_metaOrderByWithAggregationInput = { + cache_key?: Prisma.SortOrder + content_type?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder + _count?: Prisma.trek_photo_cache_metaCountOrderByAggregateInput + _avg?: Prisma.trek_photo_cache_metaAvgOrderByAggregateInput + _max?: Prisma.trek_photo_cache_metaMaxOrderByAggregateInput + _min?: Prisma.trek_photo_cache_metaMinOrderByAggregateInput + _sum?: Prisma.trek_photo_cache_metaSumOrderByAggregateInput +} + +export type trek_photo_cache_metaScalarWhereWithAggregatesInput = { + AND?: Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput | Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput[] + OR?: Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput[] + NOT?: Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput | Prisma.trek_photo_cache_metaScalarWhereWithAggregatesInput[] + cache_key?: Prisma.StringWithAggregatesFilter<"trek_photo_cache_meta"> | string + content_type?: Prisma.StringWithAggregatesFilter<"trek_photo_cache_meta"> | string + fetched_at?: Prisma.IntWithAggregatesFilter<"trek_photo_cache_meta"> | number +} + +export type trek_photo_cache_metaCreateInput = { + cache_key: string + content_type?: string + fetched_at: number +} + +export type trek_photo_cache_metaUncheckedCreateInput = { + cache_key: string + content_type?: string + fetched_at: number +} + +export type trek_photo_cache_metaUpdateInput = { + cache_key?: Prisma.StringFieldUpdateOperationsInput | string + content_type?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type trek_photo_cache_metaUncheckedUpdateInput = { + cache_key?: Prisma.StringFieldUpdateOperationsInput | string + content_type?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type trek_photo_cache_metaCreateManyInput = { + cache_key: string + content_type?: string + fetched_at: number +} + +export type trek_photo_cache_metaUpdateManyMutationInput = { + cache_key?: Prisma.StringFieldUpdateOperationsInput | string + content_type?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type trek_photo_cache_metaUncheckedUpdateManyInput = { + cache_key?: Prisma.StringFieldUpdateOperationsInput | string + content_type?: Prisma.StringFieldUpdateOperationsInput | string + fetched_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type trek_photo_cache_metaCountOrderByAggregateInput = { + cache_key?: Prisma.SortOrder + content_type?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type trek_photo_cache_metaAvgOrderByAggregateInput = { + fetched_at?: Prisma.SortOrder +} + +export type trek_photo_cache_metaMaxOrderByAggregateInput = { + cache_key?: Prisma.SortOrder + content_type?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type trek_photo_cache_metaMinOrderByAggregateInput = { + cache_key?: Prisma.SortOrder + content_type?: Prisma.SortOrder + fetched_at?: Prisma.SortOrder +} + +export type trek_photo_cache_metaSumOrderByAggregateInput = { + fetched_at?: Prisma.SortOrder +} + + + +export type trek_photo_cache_metaSelect = runtime.Types.Extensions.GetSelect<{ + cache_key?: boolean + content_type?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["trek_photo_cache_meta"]> + +export type trek_photo_cache_metaSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + cache_key?: boolean + content_type?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["trek_photo_cache_meta"]> + +export type trek_photo_cache_metaSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + cache_key?: boolean + content_type?: boolean + fetched_at?: boolean +}, ExtArgs["result"]["trek_photo_cache_meta"]> + +export type trek_photo_cache_metaSelectScalar = { + cache_key?: boolean + content_type?: boolean + fetched_at?: boolean +} + +export type trek_photo_cache_metaOmit = runtime.Types.Extensions.GetOmit<"cache_key" | "content_type" | "fetched_at", ExtArgs["result"]["trek_photo_cache_meta"]> + +export type $trek_photo_cache_metaPayload = { + name: "trek_photo_cache_meta" + objects: {} + scalars: runtime.Types.Extensions.GetPayloadResult<{ + cache_key: string + content_type: string + fetched_at: number + }, ExtArgs["result"]["trek_photo_cache_meta"]> + composites: {} +} + +export type trek_photo_cache_metaGetPayload = runtime.Types.Result.GetResult + +export type trek_photo_cache_metaCountArgs = + Omit & { + select?: Trek_photo_cache_metaCountAggregateInputType | true + } + +export interface trek_photo_cache_metaDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trek_photo_cache_meta'], meta: { name: 'trek_photo_cache_meta' } } + /** + * Find zero or one Trek_photo_cache_meta that matches the filter. + * @param {trek_photo_cache_metaFindUniqueArgs} args - Arguments to find a Trek_photo_cache_meta + * @example + * // Get one Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trek_photo_cache_meta that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trek_photo_cache_metaFindUniqueOrThrowArgs} args - Arguments to find a Trek_photo_cache_meta + * @example + * // Get one Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trek_photo_cache_meta that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaFindFirstArgs} args - Arguments to find a Trek_photo_cache_meta + * @example + * // Get one Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trek_photo_cache_meta that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaFindFirstOrThrowArgs} args - Arguments to find a Trek_photo_cache_meta + * @example + * // Get one Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trek_photo_cache_metas that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trek_photo_cache_metas + * const trek_photo_cache_metas = await prisma.trek_photo_cache_meta.findMany() + * + * // Get first 10 Trek_photo_cache_metas + * const trek_photo_cache_metas = await prisma.trek_photo_cache_meta.findMany({ take: 10 }) + * + * // Only select the `cache_key` + * const trek_photo_cache_metaWithCache_keyOnly = await prisma.trek_photo_cache_meta.findMany({ select: { cache_key: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trek_photo_cache_meta. + * @param {trek_photo_cache_metaCreateArgs} args - Arguments to create a Trek_photo_cache_meta. + * @example + * // Create one Trek_photo_cache_meta + * const Trek_photo_cache_meta = await prisma.trek_photo_cache_meta.create({ + * data: { + * // ... data to create a Trek_photo_cache_meta + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trek_photo_cache_metas. + * @param {trek_photo_cache_metaCreateManyArgs} args - Arguments to create many Trek_photo_cache_metas. + * @example + * // Create many Trek_photo_cache_metas + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trek_photo_cache_metas and returns the data saved in the database. + * @param {trek_photo_cache_metaCreateManyAndReturnArgs} args - Arguments to create many Trek_photo_cache_metas. + * @example + * // Create many Trek_photo_cache_metas + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trek_photo_cache_metas and only return the `cache_key` + * const trek_photo_cache_metaWithCache_keyOnly = await prisma.trek_photo_cache_meta.createManyAndReturn({ + * select: { cache_key: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trek_photo_cache_meta. + * @param {trek_photo_cache_metaDeleteArgs} args - Arguments to delete one Trek_photo_cache_meta. + * @example + * // Delete one Trek_photo_cache_meta + * const Trek_photo_cache_meta = await prisma.trek_photo_cache_meta.delete({ + * where: { + * // ... filter to delete one Trek_photo_cache_meta + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trek_photo_cache_meta. + * @param {trek_photo_cache_metaUpdateArgs} args - Arguments to update one Trek_photo_cache_meta. + * @example + * // Update one Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trek_photo_cache_metas. + * @param {trek_photo_cache_metaDeleteManyArgs} args - Arguments to filter Trek_photo_cache_metas to delete. + * @example + * // Delete a few Trek_photo_cache_metas + * const { count } = await prisma.trek_photo_cache_meta.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trek_photo_cache_metas. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trek_photo_cache_metas + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trek_photo_cache_metas and returns the data updated in the database. + * @param {trek_photo_cache_metaUpdateManyAndReturnArgs} args - Arguments to update many Trek_photo_cache_metas. + * @example + * // Update many Trek_photo_cache_metas + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trek_photo_cache_metas and only return the `cache_key` + * const trek_photo_cache_metaWithCache_keyOnly = await prisma.trek_photo_cache_meta.updateManyAndReturn({ + * select: { cache_key: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trek_photo_cache_meta. + * @param {trek_photo_cache_metaUpsertArgs} args - Arguments to update or create a Trek_photo_cache_meta. + * @example + * // Update or create a Trek_photo_cache_meta + * const trek_photo_cache_meta = await prisma.trek_photo_cache_meta.upsert({ + * create: { + * // ... data to create a Trek_photo_cache_meta + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trek_photo_cache_meta we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photo_cache_metaClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trek_photo_cache_metas. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaCountArgs} args - Arguments to filter Trek_photo_cache_metas to count. + * @example + * // Count the number of Trek_photo_cache_metas + * const count = await prisma.trek_photo_cache_meta.count({ + * where: { + * // ... the filter for the Trek_photo_cache_metas we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trek_photo_cache_meta. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trek_photo_cache_metaAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trek_photo_cache_meta. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photo_cache_metaGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trek_photo_cache_metaGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trek_photo_cache_metaGroupByArgs['orderBy'] } + : { orderBy?: trek_photo_cache_metaGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrek_photo_cache_metaGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trek_photo_cache_meta model + */ +readonly fields: trek_photo_cache_metaFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trek_photo_cache_meta. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trek_photo_cache_metaClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trek_photo_cache_meta model + */ +export interface trek_photo_cache_metaFieldRefs { + readonly cache_key: Prisma.FieldRef<"trek_photo_cache_meta", 'String'> + readonly content_type: Prisma.FieldRef<"trek_photo_cache_meta", 'String'> + readonly fetched_at: Prisma.FieldRef<"trek_photo_cache_meta", 'Int'> +} + + +// Custom InputTypes +/** + * trek_photo_cache_meta findUnique + */ +export type trek_photo_cache_metaFindUniqueArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter, which trek_photo_cache_meta to fetch. + */ + where: Prisma.trek_photo_cache_metaWhereUniqueInput +} + +/** + * trek_photo_cache_meta findUniqueOrThrow + */ +export type trek_photo_cache_metaFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter, which trek_photo_cache_meta to fetch. + */ + where: Prisma.trek_photo_cache_metaWhereUniqueInput +} + +/** + * trek_photo_cache_meta findFirst + */ +export type trek_photo_cache_metaFindFirstArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter, which trek_photo_cache_meta to fetch. + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photo_cache_metas to fetch. + */ + orderBy?: Prisma.trek_photo_cache_metaOrderByWithRelationInput | Prisma.trek_photo_cache_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trek_photo_cache_metas. + */ + cursor?: Prisma.trek_photo_cache_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photo_cache_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photo_cache_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photo_cache_metas. + */ + distinct?: Prisma.Trek_photo_cache_metaScalarFieldEnum | Prisma.Trek_photo_cache_metaScalarFieldEnum[] +} + +/** + * trek_photo_cache_meta findFirstOrThrow + */ +export type trek_photo_cache_metaFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter, which trek_photo_cache_meta to fetch. + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photo_cache_metas to fetch. + */ + orderBy?: Prisma.trek_photo_cache_metaOrderByWithRelationInput | Prisma.trek_photo_cache_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trek_photo_cache_metas. + */ + cursor?: Prisma.trek_photo_cache_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photo_cache_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photo_cache_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photo_cache_metas. + */ + distinct?: Prisma.Trek_photo_cache_metaScalarFieldEnum | Prisma.Trek_photo_cache_metaScalarFieldEnum[] +} + +/** + * trek_photo_cache_meta findMany + */ +export type trek_photo_cache_metaFindManyArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter, which trek_photo_cache_metas to fetch. + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photo_cache_metas to fetch. + */ + orderBy?: Prisma.trek_photo_cache_metaOrderByWithRelationInput | Prisma.trek_photo_cache_metaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trek_photo_cache_metas. + */ + cursor?: Prisma.trek_photo_cache_metaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photo_cache_metas from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photo_cache_metas. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photo_cache_metas. + */ + distinct?: Prisma.Trek_photo_cache_metaScalarFieldEnum | Prisma.Trek_photo_cache_metaScalarFieldEnum[] +} + +/** + * trek_photo_cache_meta create + */ +export type trek_photo_cache_metaCreateArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * The data needed to create a trek_photo_cache_meta. + */ + data: Prisma.XOR +} + +/** + * trek_photo_cache_meta createMany + */ +export type trek_photo_cache_metaCreateManyArgs = { + /** + * The data used to create many trek_photo_cache_metas. + */ + data: Prisma.trek_photo_cache_metaCreateManyInput | Prisma.trek_photo_cache_metaCreateManyInput[] +} + +/** + * trek_photo_cache_meta createManyAndReturn + */ +export type trek_photo_cache_metaCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * The data used to create many trek_photo_cache_metas. + */ + data: Prisma.trek_photo_cache_metaCreateManyInput | Prisma.trek_photo_cache_metaCreateManyInput[] +} + +/** + * trek_photo_cache_meta update + */ +export type trek_photo_cache_metaUpdateArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * The data needed to update a trek_photo_cache_meta. + */ + data: Prisma.XOR + /** + * Choose, which trek_photo_cache_meta to update. + */ + where: Prisma.trek_photo_cache_metaWhereUniqueInput +} + +/** + * trek_photo_cache_meta updateMany + */ +export type trek_photo_cache_metaUpdateManyArgs = { + /** + * The data used to update trek_photo_cache_metas. + */ + data: Prisma.XOR + /** + * Filter which trek_photo_cache_metas to update + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * Limit how many trek_photo_cache_metas to update. + */ + limit?: number +} + +/** + * trek_photo_cache_meta updateManyAndReturn + */ +export type trek_photo_cache_metaUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * The data used to update trek_photo_cache_metas. + */ + data: Prisma.XOR + /** + * Filter which trek_photo_cache_metas to update + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * Limit how many trek_photo_cache_metas to update. + */ + limit?: number +} + +/** + * trek_photo_cache_meta upsert + */ +export type trek_photo_cache_metaUpsertArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * The filter to search for the trek_photo_cache_meta to update in case it exists. + */ + where: Prisma.trek_photo_cache_metaWhereUniqueInput + /** + * In case the trek_photo_cache_meta found by the `where` argument doesn't exist, create a new trek_photo_cache_meta with this data. + */ + create: Prisma.XOR + /** + * In case the trek_photo_cache_meta was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trek_photo_cache_meta delete + */ +export type trek_photo_cache_metaDeleteArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null + /** + * Filter which trek_photo_cache_meta to delete. + */ + where: Prisma.trek_photo_cache_metaWhereUniqueInput +} + +/** + * trek_photo_cache_meta deleteMany + */ +export type trek_photo_cache_metaDeleteManyArgs = { + /** + * Filter which trek_photo_cache_metas to delete + */ + where?: Prisma.trek_photo_cache_metaWhereInput + /** + * Limit how many trek_photo_cache_metas to delete. + */ + limit?: number +} + +/** + * trek_photo_cache_meta without action + */ +export type trek_photo_cache_metaDefaultArgs = { + /** + * Select specific fields to fetch from the trek_photo_cache_meta + */ + select?: Prisma.trek_photo_cache_metaSelect | null + /** + * Omit specific fields from the trek_photo_cache_meta + */ + omit?: Prisma.trek_photo_cache_metaOmit | null +} diff --git a/server/src/generated/prisma/models/trek_photos.ts b/server/src/generated/prisma/models/trek_photos.ts new file mode 100644 index 00000000..c1c5adf7 --- /dev/null +++ b/server/src/generated/prisma/models/trek_photos.ts @@ -0,0 +1,1891 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trek_photos` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trek_photos + * + */ +export type trek_photosModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrek_photos = { + _count: Trek_photosCountAggregateOutputType | null + _avg: Trek_photosAvgAggregateOutputType | null + _sum: Trek_photosSumAggregateOutputType | null + _min: Trek_photosMinAggregateOutputType | null + _max: Trek_photosMaxAggregateOutputType | null +} + +export type Trek_photosAvgAggregateOutputType = { + id: number | null + owner_id: number | null + width: number | null + height: number | null +} + +export type Trek_photosSumAggregateOutputType = { + id: number | null + owner_id: number | null + width: number | null + height: number | null +} + +export type Trek_photosMinAggregateOutputType = { + id: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + file_path: string | null + thumbnail_path: string | null + width: number | null + height: number | null + created_at: Date | null + passphrase: string | null +} + +export type Trek_photosMaxAggregateOutputType = { + id: number | null + provider: string | null + asset_id: string | null + owner_id: number | null + file_path: string | null + thumbnail_path: string | null + width: number | null + height: number | null + created_at: Date | null + passphrase: string | null +} + +export type Trek_photosCountAggregateOutputType = { + id: number + provider: number + asset_id: number + owner_id: number + file_path: number + thumbnail_path: number + width: number + height: number + created_at: number + passphrase: number + _all: number +} + + +export type Trek_photosAvgAggregateInputType = { + id?: true + owner_id?: true + width?: true + height?: true +} + +export type Trek_photosSumAggregateInputType = { + id?: true + owner_id?: true + width?: true + height?: true +} + +export type Trek_photosMinAggregateInputType = { + id?: true + provider?: true + asset_id?: true + owner_id?: true + file_path?: true + thumbnail_path?: true + width?: true + height?: true + created_at?: true + passphrase?: true +} + +export type Trek_photosMaxAggregateInputType = { + id?: true + provider?: true + asset_id?: true + owner_id?: true + file_path?: true + thumbnail_path?: true + width?: true + height?: true + created_at?: true + passphrase?: true +} + +export type Trek_photosCountAggregateInputType = { + id?: true + provider?: true + asset_id?: true + owner_id?: true + file_path?: true + thumbnail_path?: true + width?: true + height?: true + created_at?: true + passphrase?: true + _all?: true +} + +export type Trek_photosAggregateArgs = { + /** + * Filter which trek_photos to aggregate. + */ + where?: Prisma.trek_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photos to fetch. + */ + orderBy?: Prisma.trek_photosOrderByWithRelationInput | Prisma.trek_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trek_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trek_photos + **/ + _count?: true | Trek_photosCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trek_photosAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trek_photosSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trek_photosMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trek_photosMaxAggregateInputType +} + +export type GetTrek_photosAggregateType = { + [P in keyof T & keyof AggregateTrek_photos]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trek_photosGroupByArgs = { + where?: Prisma.trek_photosWhereInput + orderBy?: Prisma.trek_photosOrderByWithAggregationInput | Prisma.trek_photosOrderByWithAggregationInput[] + by: Prisma.Trek_photosScalarFieldEnum[] | Prisma.Trek_photosScalarFieldEnum + having?: Prisma.trek_photosScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trek_photosCountAggregateInputType | true + _avg?: Trek_photosAvgAggregateInputType + _sum?: Trek_photosSumAggregateInputType + _min?: Trek_photosMinAggregateInputType + _max?: Trek_photosMaxAggregateInputType +} + +export type Trek_photosGroupByOutputType = { + id: number + provider: string + asset_id: string | null + owner_id: number | null + file_path: string | null + thumbnail_path: string | null + width: number | null + height: number | null + created_at: Date | null + passphrase: string | null + _count: Trek_photosCountAggregateOutputType | null + _avg: Trek_photosAvgAggregateOutputType | null + _sum: Trek_photosSumAggregateOutputType | null + _min: Trek_photosMinAggregateOutputType | null + _max: Trek_photosMaxAggregateOutputType | null +} + +export type GetTrek_photosGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trek_photosGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trek_photosWhereInput = { + AND?: Prisma.trek_photosWhereInput | Prisma.trek_photosWhereInput[] + OR?: Prisma.trek_photosWhereInput[] + NOT?: Prisma.trek_photosWhereInput | Prisma.trek_photosWhereInput[] + id?: Prisma.IntFilter<"trek_photos"> | number + provider?: Prisma.StringFilter<"trek_photos"> | string + asset_id?: Prisma.StringNullableFilter<"trek_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"trek_photos"> | number | null + file_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + thumbnail_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + width?: Prisma.IntNullableFilter<"trek_photos"> | number | null + height?: Prisma.IntNullableFilter<"trek_photos"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trek_photos"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trek_photos"> | string | null + journey_photos?: Prisma.Journey_photosListRelationFilter + users?: Prisma.XOR | null + trip_photos?: Prisma.Trip_photosListRelationFilter +} + +export type trek_photosOrderByWithRelationInput = { + id?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrderInput | Prisma.SortOrder + owner_id?: Prisma.SortOrderInput | Prisma.SortOrder + file_path?: Prisma.SortOrderInput | Prisma.SortOrder + thumbnail_path?: Prisma.SortOrderInput | Prisma.SortOrder + width?: Prisma.SortOrderInput | Prisma.SortOrder + height?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + passphrase?: Prisma.SortOrderInput | Prisma.SortOrder + journey_photos?: Prisma.journey_photosOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + trip_photos?: Prisma.trip_photosOrderByRelationAggregateInput +} + +export type trek_photosWhereUniqueInput = Prisma.AtLeast<{ + id?: number + provider_asset_id_owner_id?: Prisma.trek_photosProviderAsset_idOwner_idCompoundUniqueInput + AND?: Prisma.trek_photosWhereInput | Prisma.trek_photosWhereInput[] + OR?: Prisma.trek_photosWhereInput[] + NOT?: Prisma.trek_photosWhereInput | Prisma.trek_photosWhereInput[] + provider?: Prisma.StringFilter<"trek_photos"> | string + asset_id?: Prisma.StringNullableFilter<"trek_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"trek_photos"> | number | null + file_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + thumbnail_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + width?: Prisma.IntNullableFilter<"trek_photos"> | number | null + height?: Prisma.IntNullableFilter<"trek_photos"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trek_photos"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trek_photos"> | string | null + journey_photos?: Prisma.Journey_photosListRelationFilter + users?: Prisma.XOR | null + trip_photos?: Prisma.Trip_photosListRelationFilter +}, "id" | "provider_asset_id_owner_id"> + +export type trek_photosOrderByWithAggregationInput = { + id?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrderInput | Prisma.SortOrder + owner_id?: Prisma.SortOrderInput | Prisma.SortOrder + file_path?: Prisma.SortOrderInput | Prisma.SortOrder + thumbnail_path?: Prisma.SortOrderInput | Prisma.SortOrder + width?: Prisma.SortOrderInput | Prisma.SortOrder + height?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + passphrase?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.trek_photosCountOrderByAggregateInput + _avg?: Prisma.trek_photosAvgOrderByAggregateInput + _max?: Prisma.trek_photosMaxOrderByAggregateInput + _min?: Prisma.trek_photosMinOrderByAggregateInput + _sum?: Prisma.trek_photosSumOrderByAggregateInput +} + +export type trek_photosScalarWhereWithAggregatesInput = { + AND?: Prisma.trek_photosScalarWhereWithAggregatesInput | Prisma.trek_photosScalarWhereWithAggregatesInput[] + OR?: Prisma.trek_photosScalarWhereWithAggregatesInput[] + NOT?: Prisma.trek_photosScalarWhereWithAggregatesInput | Prisma.trek_photosScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trek_photos"> | number + provider?: Prisma.StringWithAggregatesFilter<"trek_photos"> | string + asset_id?: Prisma.StringNullableWithAggregatesFilter<"trek_photos"> | string | null + owner_id?: Prisma.IntNullableWithAggregatesFilter<"trek_photos"> | number | null + file_path?: Prisma.StringNullableWithAggregatesFilter<"trek_photos"> | string | null + thumbnail_path?: Prisma.StringNullableWithAggregatesFilter<"trek_photos"> | string | null + width?: Prisma.IntNullableWithAggregatesFilter<"trek_photos"> | number | null + height?: Prisma.IntNullableWithAggregatesFilter<"trek_photos"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trek_photos"> | Date | string | null + passphrase?: Prisma.StringNullableWithAggregatesFilter<"trek_photos"> | string | null +} + +export type trek_photosCreateInput = { + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutTrek_photosInput + users?: Prisma.usersCreateNestedOneWithoutTrek_photosInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosUncheckedCreateInput = { + id?: number + provider: string + asset_id?: string | null + owner_id?: number | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutTrek_photosInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosUpdateInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUpdateManyWithoutTrek_photosNestedInput + users?: Prisma.usersUpdateOneWithoutTrek_photosNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutTrek_photosNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosCreateManyInput = { + id?: number + provider: string + asset_id?: string | null + owner_id?: number | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trek_photosUpdateManyMutationInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trek_photosUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Trek_photosScalarRelationFilter = { + is?: Prisma.trek_photosWhereInput + isNot?: Prisma.trek_photosWhereInput +} + +export type trek_photosProviderAsset_idOwner_idCompoundUniqueInput = { + provider: string + asset_id: string + owner_id: number +} + +export type trek_photosCountOrderByAggregateInput = { + id?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + file_path?: Prisma.SortOrder + thumbnail_path?: Prisma.SortOrder + width?: Prisma.SortOrder + height?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trek_photosAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + width?: Prisma.SortOrder + height?: Prisma.SortOrder +} + +export type trek_photosMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + file_path?: Prisma.SortOrder + thumbnail_path?: Prisma.SortOrder + width?: Prisma.SortOrder + height?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trek_photosMinOrderByAggregateInput = { + id?: Prisma.SortOrder + provider?: Prisma.SortOrder + asset_id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + file_path?: Prisma.SortOrder + thumbnail_path?: Prisma.SortOrder + width?: Prisma.SortOrder + height?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trek_photosSumOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + width?: Prisma.SortOrder + height?: Prisma.SortOrder +} + +export type Trek_photosListRelationFilter = { + every?: Prisma.trek_photosWhereInput + some?: Prisma.trek_photosWhereInput + none?: Prisma.trek_photosWhereInput +} + +export type trek_photosOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type trek_photosCreateNestedOneWithoutJourney_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutJourney_photosInput + connect?: Prisma.trek_photosWhereUniqueInput +} + +export type trek_photosUpdateOneRequiredWithoutJourney_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutJourney_photosInput + upsert?: Prisma.trek_photosUpsertWithoutJourney_photosInput + connect?: Prisma.trek_photosWhereUniqueInput + update?: Prisma.XOR, Prisma.trek_photosUncheckedUpdateWithoutJourney_photosInput> +} + +export type trek_photosCreateNestedOneWithoutTrip_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutTrip_photosInput + connect?: Prisma.trek_photosWhereUniqueInput +} + +export type trek_photosUpdateOneRequiredWithoutTrip_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutTrip_photosInput + upsert?: Prisma.trek_photosUpsertWithoutTrip_photosInput + connect?: Prisma.trek_photosWhereUniqueInput + update?: Prisma.XOR, Prisma.trek_photosUncheckedUpdateWithoutTrip_photosInput> +} + +export type trek_photosCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trek_photosCreateWithoutUsersInput[] | Prisma.trek_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutUsersInput | Prisma.trek_photosCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trek_photosCreateManyUsersInputEnvelope + connect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] +} + +export type trek_photosUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trek_photosCreateWithoutUsersInput[] | Prisma.trek_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutUsersInput | Prisma.trek_photosCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trek_photosCreateManyUsersInputEnvelope + connect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] +} + +export type trek_photosUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trek_photosCreateWithoutUsersInput[] | Prisma.trek_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutUsersInput | Prisma.trek_photosCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trek_photosUpsertWithWhereUniqueWithoutUsersInput | Prisma.trek_photosUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trek_photosCreateManyUsersInputEnvelope + set?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + disconnect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + delete?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + connect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + update?: Prisma.trek_photosUpdateWithWhereUniqueWithoutUsersInput | Prisma.trek_photosUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trek_photosUpdateManyWithWhereWithoutUsersInput | Prisma.trek_photosUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trek_photosScalarWhereInput | Prisma.trek_photosScalarWhereInput[] +} + +export type trek_photosUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trek_photosCreateWithoutUsersInput[] | Prisma.trek_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trek_photosCreateOrConnectWithoutUsersInput | Prisma.trek_photosCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trek_photosUpsertWithWhereUniqueWithoutUsersInput | Prisma.trek_photosUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trek_photosCreateManyUsersInputEnvelope + set?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + disconnect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + delete?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + connect?: Prisma.trek_photosWhereUniqueInput | Prisma.trek_photosWhereUniqueInput[] + update?: Prisma.trek_photosUpdateWithWhereUniqueWithoutUsersInput | Prisma.trek_photosUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trek_photosUpdateManyWithWhereWithoutUsersInput | Prisma.trek_photosUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trek_photosScalarWhereInput | Prisma.trek_photosScalarWhereInput[] +} + +export type trek_photosCreateWithoutJourney_photosInput = { + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + users?: Prisma.usersCreateNestedOneWithoutTrek_photosInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosUncheckedCreateWithoutJourney_photosInput = { + id?: number + provider: string + asset_id?: string | null + owner_id?: number | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosCreateOrConnectWithoutJourney_photosInput = { + where: Prisma.trek_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trek_photosUpsertWithoutJourney_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.trek_photosWhereInput +} + +export type trek_photosUpdateToOneWithWhereWithoutJourney_photosInput = { + where?: Prisma.trek_photosWhereInput + data: Prisma.XOR +} + +export type trek_photosUpdateWithoutJourney_photosInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneWithoutTrek_photosNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosUncheckedUpdateWithoutJourney_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosCreateWithoutTrip_photosInput = { + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutTrek_photosInput + users?: Prisma.usersCreateNestedOneWithoutTrek_photosInput +} + +export type trek_photosUncheckedCreateWithoutTrip_photosInput = { + id?: number + provider: string + asset_id?: string | null + owner_id?: number | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosCreateOrConnectWithoutTrip_photosInput = { + where: Prisma.trek_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trek_photosUpsertWithoutTrip_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.trek_photosWhereInput +} + +export type trek_photosUpdateToOneWithWhereWithoutTrip_photosInput = { + where?: Prisma.trek_photosWhereInput + data: Prisma.XOR +} + +export type trek_photosUpdateWithoutTrip_photosInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUpdateManyWithoutTrek_photosNestedInput + users?: Prisma.usersUpdateOneWithoutTrek_photosNestedInput +} + +export type trek_photosUncheckedUpdateWithoutTrip_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + owner_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosCreateWithoutUsersInput = { + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosCreateNestedManyWithoutTrek_photosInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosUncheckedCreateWithoutUsersInput = { + id?: number + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null + journey_photos?: Prisma.journey_photosUncheckedCreateNestedManyWithoutTrek_photosInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrek_photosInput +} + +export type trek_photosCreateOrConnectWithoutUsersInput = { + where: Prisma.trek_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trek_photosCreateManyUsersInputEnvelope = { + data: Prisma.trek_photosCreateManyUsersInput | Prisma.trek_photosCreateManyUsersInput[] +} + +export type trek_photosUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.trek_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trek_photosUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.trek_photosWhereUniqueInput + data: Prisma.XOR +} + +export type trek_photosUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.trek_photosScalarWhereInput + data: Prisma.XOR +} + +export type trek_photosScalarWhereInput = { + AND?: Prisma.trek_photosScalarWhereInput | Prisma.trek_photosScalarWhereInput[] + OR?: Prisma.trek_photosScalarWhereInput[] + NOT?: Prisma.trek_photosScalarWhereInput | Prisma.trek_photosScalarWhereInput[] + id?: Prisma.IntFilter<"trek_photos"> | number + provider?: Prisma.StringFilter<"trek_photos"> | string + asset_id?: Prisma.StringNullableFilter<"trek_photos"> | string | null + owner_id?: Prisma.IntNullableFilter<"trek_photos"> | number | null + file_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + thumbnail_path?: Prisma.StringNullableFilter<"trek_photos"> | string | null + width?: Prisma.IntNullableFilter<"trek_photos"> | number | null + height?: Prisma.IntNullableFilter<"trek_photos"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trek_photos"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trek_photos"> | string | null +} + +export type trek_photosCreateManyUsersInput = { + id?: number + provider: string + asset_id?: string | null + file_path?: string | null + thumbnail_path?: string | null + width?: number | null + height?: number | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trek_photosUpdateWithoutUsersInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUpdateManyWithoutTrek_photosNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + journey_photos?: Prisma.journey_photosUncheckedUpdateManyWithoutTrek_photosNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrek_photosNestedInput +} + +export type trek_photosUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + asset_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + thumbnail_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Trek_photosCountOutputType + */ + +export type Trek_photosCountOutputType = { + journey_photos: number + trip_photos: number +} + +export type Trek_photosCountOutputTypeSelect = { + journey_photos?: boolean | Trek_photosCountOutputTypeCountJourney_photosArgs + trip_photos?: boolean | Trek_photosCountOutputTypeCountTrip_photosArgs +} + +/** + * Trek_photosCountOutputType without action + */ +export type Trek_photosCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Trek_photosCountOutputType + */ + select?: Prisma.Trek_photosCountOutputTypeSelect | null +} + +/** + * Trek_photosCountOutputType without action + */ +export type Trek_photosCountOutputTypeCountJourney_photosArgs = { + where?: Prisma.journey_photosWhereInput +} + +/** + * Trek_photosCountOutputType without action + */ +export type Trek_photosCountOutputTypeCountTrip_photosArgs = { + where?: Prisma.trip_photosWhereInput +} + + +export type trek_photosSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + file_path?: boolean + thumbnail_path?: boolean + width?: boolean + height?: boolean + created_at?: boolean + passphrase?: boolean + journey_photos?: boolean | Prisma.trek_photos$journey_photosArgs + users?: boolean | Prisma.trek_photos$usersArgs + trip_photos?: boolean | Prisma.trek_photos$trip_photosArgs + _count?: boolean | Prisma.Trek_photosCountOutputTypeDefaultArgs +}, ExtArgs["result"]["trek_photos"]> + +export type trek_photosSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + file_path?: boolean + thumbnail_path?: boolean + width?: boolean + height?: boolean + created_at?: boolean + passphrase?: boolean + users?: boolean | Prisma.trek_photos$usersArgs +}, ExtArgs["result"]["trek_photos"]> + +export type trek_photosSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + file_path?: boolean + thumbnail_path?: boolean + width?: boolean + height?: boolean + created_at?: boolean + passphrase?: boolean + users?: boolean | Prisma.trek_photos$usersArgs +}, ExtArgs["result"]["trek_photos"]> + +export type trek_photosSelectScalar = { + id?: boolean + provider?: boolean + asset_id?: boolean + owner_id?: boolean + file_path?: boolean + thumbnail_path?: boolean + width?: boolean + height?: boolean + created_at?: boolean + passphrase?: boolean +} + +export type trek_photosOmit = runtime.Types.Extensions.GetOmit<"id" | "provider" | "asset_id" | "owner_id" | "file_path" | "thumbnail_path" | "width" | "height" | "created_at" | "passphrase", ExtArgs["result"]["trek_photos"]> +export type trek_photosInclude = { + journey_photos?: boolean | Prisma.trek_photos$journey_photosArgs + users?: boolean | Prisma.trek_photos$usersArgs + trip_photos?: boolean | Prisma.trek_photos$trip_photosArgs + _count?: boolean | Prisma.Trek_photosCountOutputTypeDefaultArgs +} +export type trek_photosIncludeCreateManyAndReturn = { + users?: boolean | Prisma.trek_photos$usersArgs +} +export type trek_photosIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.trek_photos$usersArgs +} + +export type $trek_photosPayload = { + name: "trek_photos" + objects: { + journey_photos: Prisma.$journey_photosPayload[] + users: Prisma.$usersPayload | null + trip_photos: Prisma.$trip_photosPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + provider: string + asset_id: string | null + owner_id: number | null + file_path: string | null + thumbnail_path: string | null + width: number | null + height: number | null + created_at: Date | null + passphrase: string | null + }, ExtArgs["result"]["trek_photos"]> + composites: {} +} + +export type trek_photosGetPayload = runtime.Types.Result.GetResult + +export type trek_photosCountArgs = + Omit & { + select?: Trek_photosCountAggregateInputType | true + } + +export interface trek_photosDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trek_photos'], meta: { name: 'trek_photos' } } + /** + * Find zero or one Trek_photos that matches the filter. + * @param {trek_photosFindUniqueArgs} args - Arguments to find a Trek_photos + * @example + * // Get one Trek_photos + * const trek_photos = await prisma.trek_photos.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trek_photos that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trek_photosFindUniqueOrThrowArgs} args - Arguments to find a Trek_photos + * @example + * // Get one Trek_photos + * const trek_photos = await prisma.trek_photos.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trek_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosFindFirstArgs} args - Arguments to find a Trek_photos + * @example + * // Get one Trek_photos + * const trek_photos = await prisma.trek_photos.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trek_photos that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosFindFirstOrThrowArgs} args - Arguments to find a Trek_photos + * @example + * // Get one Trek_photos + * const trek_photos = await prisma.trek_photos.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trek_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trek_photos + * const trek_photos = await prisma.trek_photos.findMany() + * + * // Get first 10 Trek_photos + * const trek_photos = await prisma.trek_photos.findMany({ take: 10 }) + * + * // Only select the `id` + * const trek_photosWithIdOnly = await prisma.trek_photos.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trek_photos. + * @param {trek_photosCreateArgs} args - Arguments to create a Trek_photos. + * @example + * // Create one Trek_photos + * const Trek_photos = await prisma.trek_photos.create({ + * data: { + * // ... data to create a Trek_photos + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trek_photos. + * @param {trek_photosCreateManyArgs} args - Arguments to create many Trek_photos. + * @example + * // Create many Trek_photos + * const trek_photos = await prisma.trek_photos.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trek_photos and returns the data saved in the database. + * @param {trek_photosCreateManyAndReturnArgs} args - Arguments to create many Trek_photos. + * @example + * // Create many Trek_photos + * const trek_photos = await prisma.trek_photos.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trek_photos and only return the `id` + * const trek_photosWithIdOnly = await prisma.trek_photos.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trek_photos. + * @param {trek_photosDeleteArgs} args - Arguments to delete one Trek_photos. + * @example + * // Delete one Trek_photos + * const Trek_photos = await prisma.trek_photos.delete({ + * where: { + * // ... filter to delete one Trek_photos + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trek_photos. + * @param {trek_photosUpdateArgs} args - Arguments to update one Trek_photos. + * @example + * // Update one Trek_photos + * const trek_photos = await prisma.trek_photos.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trek_photos. + * @param {trek_photosDeleteManyArgs} args - Arguments to filter Trek_photos to delete. + * @example + * // Delete a few Trek_photos + * const { count } = await prisma.trek_photos.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trek_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trek_photos + * const trek_photos = await prisma.trek_photos.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trek_photos and returns the data updated in the database. + * @param {trek_photosUpdateManyAndReturnArgs} args - Arguments to update many Trek_photos. + * @example + * // Update many Trek_photos + * const trek_photos = await prisma.trek_photos.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trek_photos and only return the `id` + * const trek_photosWithIdOnly = await prisma.trek_photos.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trek_photos. + * @param {trek_photosUpsertArgs} args - Arguments to update or create a Trek_photos. + * @example + * // Update or create a Trek_photos + * const trek_photos = await prisma.trek_photos.upsert({ + * create: { + * // ... data to create a Trek_photos + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trek_photos we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trek_photosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trek_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosCountArgs} args - Arguments to filter Trek_photos to count. + * @example + * // Count the number of Trek_photos + * const count = await prisma.trek_photos.count({ + * where: { + * // ... the filter for the Trek_photos we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trek_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trek_photosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trek_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trek_photosGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trek_photosGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trek_photosGroupByArgs['orderBy'] } + : { orderBy?: trek_photosGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrek_photosGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trek_photos model + */ +readonly fields: trek_photosFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trek_photos. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trek_photosClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + journey_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trip_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trek_photos model + */ +export interface trek_photosFieldRefs { + readonly id: Prisma.FieldRef<"trek_photos", 'Int'> + readonly provider: Prisma.FieldRef<"trek_photos", 'String'> + readonly asset_id: Prisma.FieldRef<"trek_photos", 'String'> + readonly owner_id: Prisma.FieldRef<"trek_photos", 'Int'> + readonly file_path: Prisma.FieldRef<"trek_photos", 'String'> + readonly thumbnail_path: Prisma.FieldRef<"trek_photos", 'String'> + readonly width: Prisma.FieldRef<"trek_photos", 'Int'> + readonly height: Prisma.FieldRef<"trek_photos", 'Int'> + readonly created_at: Prisma.FieldRef<"trek_photos", 'DateTime'> + readonly passphrase: Prisma.FieldRef<"trek_photos", 'String'> +} + + +// Custom InputTypes +/** + * trek_photos findUnique + */ +export type trek_photosFindUniqueArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter, which trek_photos to fetch. + */ + where: Prisma.trek_photosWhereUniqueInput +} + +/** + * trek_photos findUniqueOrThrow + */ +export type trek_photosFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter, which trek_photos to fetch. + */ + where: Prisma.trek_photosWhereUniqueInput +} + +/** + * trek_photos findFirst + */ +export type trek_photosFindFirstArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter, which trek_photos to fetch. + */ + where?: Prisma.trek_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photos to fetch. + */ + orderBy?: Prisma.trek_photosOrderByWithRelationInput | Prisma.trek_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trek_photos. + */ + cursor?: Prisma.trek_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photos. + */ + distinct?: Prisma.Trek_photosScalarFieldEnum | Prisma.Trek_photosScalarFieldEnum[] +} + +/** + * trek_photos findFirstOrThrow + */ +export type trek_photosFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter, which trek_photos to fetch. + */ + where?: Prisma.trek_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photos to fetch. + */ + orderBy?: Prisma.trek_photosOrderByWithRelationInput | Prisma.trek_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trek_photos. + */ + cursor?: Prisma.trek_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photos. + */ + distinct?: Prisma.Trek_photosScalarFieldEnum | Prisma.Trek_photosScalarFieldEnum[] +} + +/** + * trek_photos findMany + */ +export type trek_photosFindManyArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter, which trek_photos to fetch. + */ + where?: Prisma.trek_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trek_photos to fetch. + */ + orderBy?: Prisma.trek_photosOrderByWithRelationInput | Prisma.trek_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trek_photos. + */ + cursor?: Prisma.trek_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trek_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trek_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trek_photos. + */ + distinct?: Prisma.Trek_photosScalarFieldEnum | Prisma.Trek_photosScalarFieldEnum[] +} + +/** + * trek_photos create + */ +export type trek_photosCreateArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * The data needed to create a trek_photos. + */ + data: Prisma.XOR +} + +/** + * trek_photos createMany + */ +export type trek_photosCreateManyArgs = { + /** + * The data used to create many trek_photos. + */ + data: Prisma.trek_photosCreateManyInput | Prisma.trek_photosCreateManyInput[] +} + +/** + * trek_photos createManyAndReturn + */ +export type trek_photosCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * The data used to create many trek_photos. + */ + data: Prisma.trek_photosCreateManyInput | Prisma.trek_photosCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosIncludeCreateManyAndReturn | null +} + +/** + * trek_photos update + */ +export type trek_photosUpdateArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * The data needed to update a trek_photos. + */ + data: Prisma.XOR + /** + * Choose, which trek_photos to update. + */ + where: Prisma.trek_photosWhereUniqueInput +} + +/** + * trek_photos updateMany + */ +export type trek_photosUpdateManyArgs = { + /** + * The data used to update trek_photos. + */ + data: Prisma.XOR + /** + * Filter which trek_photos to update + */ + where?: Prisma.trek_photosWhereInput + /** + * Limit how many trek_photos to update. + */ + limit?: number +} + +/** + * trek_photos updateManyAndReturn + */ +export type trek_photosUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * The data used to update trek_photos. + */ + data: Prisma.XOR + /** + * Filter which trek_photos to update + */ + where?: Prisma.trek_photosWhereInput + /** + * Limit how many trek_photos to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosIncludeUpdateManyAndReturn | null +} + +/** + * trek_photos upsert + */ +export type trek_photosUpsertArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * The filter to search for the trek_photos to update in case it exists. + */ + where: Prisma.trek_photosWhereUniqueInput + /** + * In case the trek_photos found by the `where` argument doesn't exist, create a new trek_photos with this data. + */ + create: Prisma.XOR + /** + * In case the trek_photos was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trek_photos delete + */ +export type trek_photosDeleteArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + /** + * Filter which trek_photos to delete. + */ + where: Prisma.trek_photosWhereUniqueInput +} + +/** + * trek_photos deleteMany + */ +export type trek_photosDeleteManyArgs = { + /** + * Filter which trek_photos to delete + */ + where?: Prisma.trek_photosWhereInput + /** + * Limit how many trek_photos to delete. + */ + limit?: number +} + +/** + * trek_photos.journey_photos + */ +export type trek_photos$journey_photosArgs = { + /** + * Select specific fields to fetch from the journey_photos + */ + select?: Prisma.journey_photosSelect | null + /** + * Omit specific fields from the journey_photos + */ + omit?: Prisma.journey_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_photosInclude | null + where?: Prisma.journey_photosWhereInput + orderBy?: Prisma.journey_photosOrderByWithRelationInput | Prisma.journey_photosOrderByWithRelationInput[] + cursor?: Prisma.journey_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_photosScalarFieldEnum | Prisma.Journey_photosScalarFieldEnum[] +} + +/** + * trek_photos.users + */ +export type trek_photos$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * trek_photos.trip_photos + */ +export type trek_photos$trip_photosArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + where?: Prisma.trip_photosWhereInput + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + cursor?: Prisma.trip_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trek_photos without action + */ +export type trek_photosDefaultArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null +} diff --git a/server/src/generated/prisma/models/trip_album_links.ts b/server/src/generated/prisma/models/trip_album_links.ts new file mode 100644 index 00000000..41ca9642 --- /dev/null +++ b/server/src/generated/prisma/models/trip_album_links.ts @@ -0,0 +1,1890 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trip_album_links` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trip_album_links + * + */ +export type trip_album_linksModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrip_album_links = { + _count: Trip_album_linksCountAggregateOutputType | null + _avg: Trip_album_linksAvgAggregateOutputType | null + _sum: Trip_album_linksSumAggregateOutputType | null + _min: Trip_album_linksMinAggregateOutputType | null + _max: Trip_album_linksMaxAggregateOutputType | null +} + +export type Trip_album_linksAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + sync_enabled: number | null +} + +export type Trip_album_linksSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + sync_enabled: number | null +} + +export type Trip_album_linksMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + provider: string | null + album_id: string | null + album_name: string | null + sync_enabled: number | null + last_synced_at: Date | null + created_at: Date | null + passphrase: string | null +} + +export type Trip_album_linksMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + provider: string | null + album_id: string | null + album_name: string | null + sync_enabled: number | null + last_synced_at: Date | null + created_at: Date | null + passphrase: string | null +} + +export type Trip_album_linksCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + provider: number + album_id: number + album_name: number + sync_enabled: number + last_synced_at: number + created_at: number + passphrase: number + _all: number +} + + +export type Trip_album_linksAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + sync_enabled?: true +} + +export type Trip_album_linksSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + sync_enabled?: true +} + +export type Trip_album_linksMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + provider?: true + album_id?: true + album_name?: true + sync_enabled?: true + last_synced_at?: true + created_at?: true + passphrase?: true +} + +export type Trip_album_linksMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + provider?: true + album_id?: true + album_name?: true + sync_enabled?: true + last_synced_at?: true + created_at?: true + passphrase?: true +} + +export type Trip_album_linksCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + provider?: true + album_id?: true + album_name?: true + sync_enabled?: true + last_synced_at?: true + created_at?: true + passphrase?: true + _all?: true +} + +export type Trip_album_linksAggregateArgs = { + /** + * Filter which trip_album_links to aggregate. + */ + where?: Prisma.trip_album_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_album_links to fetch. + */ + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trip_album_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_album_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_album_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trip_album_links + **/ + _count?: true | Trip_album_linksCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trip_album_linksAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trip_album_linksSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trip_album_linksMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trip_album_linksMaxAggregateInputType +} + +export type GetTrip_album_linksAggregateType = { + [P in keyof T & keyof AggregateTrip_album_links]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trip_album_linksGroupByArgs = { + where?: Prisma.trip_album_linksWhereInput + orderBy?: Prisma.trip_album_linksOrderByWithAggregationInput | Prisma.trip_album_linksOrderByWithAggregationInput[] + by: Prisma.Trip_album_linksScalarFieldEnum[] | Prisma.Trip_album_linksScalarFieldEnum + having?: Prisma.trip_album_linksScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trip_album_linksCountAggregateInputType | true + _avg?: Trip_album_linksAvgAggregateInputType + _sum?: Trip_album_linksSumAggregateInputType + _min?: Trip_album_linksMinAggregateInputType + _max?: Trip_album_linksMaxAggregateInputType +} + +export type Trip_album_linksGroupByOutputType = { + id: number + trip_id: number + user_id: number + provider: string + album_id: string + album_name: string + sync_enabled: number + last_synced_at: Date | null + created_at: Date | null + passphrase: string | null + _count: Trip_album_linksCountAggregateOutputType | null + _avg: Trip_album_linksAvgAggregateOutputType | null + _sum: Trip_album_linksSumAggregateOutputType | null + _min: Trip_album_linksMinAggregateOutputType | null + _max: Trip_album_linksMaxAggregateOutputType | null +} + +export type GetTrip_album_linksGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trip_album_linksGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trip_album_linksWhereInput = { + AND?: Prisma.trip_album_linksWhereInput | Prisma.trip_album_linksWhereInput[] + OR?: Prisma.trip_album_linksWhereInput[] + NOT?: Prisma.trip_album_linksWhereInput | Prisma.trip_album_linksWhereInput[] + id?: Prisma.IntFilter<"trip_album_links"> | number + trip_id?: Prisma.IntFilter<"trip_album_links"> | number + user_id?: Prisma.IntFilter<"trip_album_links"> | number + provider?: Prisma.StringFilter<"trip_album_links"> | string + album_id?: Prisma.StringFilter<"trip_album_links"> | string + album_name?: Prisma.StringFilter<"trip_album_links"> | string + sync_enabled?: Prisma.IntFilter<"trip_album_links"> | number + last_synced_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trip_album_links"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR + trip_photos?: Prisma.Trip_photosListRelationFilter +} + +export type trip_album_linksOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + provider?: Prisma.SortOrder + album_id?: Prisma.SortOrder + album_name?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder + last_synced_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + passphrase?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput + trip_photos?: Prisma.trip_photosOrderByRelationAggregateInput +} + +export type trip_album_linksWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_user_id_provider_album_id?: Prisma.trip_album_linksTrip_idUser_idProviderAlbum_idCompoundUniqueInput + AND?: Prisma.trip_album_linksWhereInput | Prisma.trip_album_linksWhereInput[] + OR?: Prisma.trip_album_linksWhereInput[] + NOT?: Prisma.trip_album_linksWhereInput | Prisma.trip_album_linksWhereInput[] + trip_id?: Prisma.IntFilter<"trip_album_links"> | number + user_id?: Prisma.IntFilter<"trip_album_links"> | number + provider?: Prisma.StringFilter<"trip_album_links"> | string + album_id?: Prisma.StringFilter<"trip_album_links"> | string + album_name?: Prisma.StringFilter<"trip_album_links"> | string + sync_enabled?: Prisma.IntFilter<"trip_album_links"> | number + last_synced_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trip_album_links"> | string | null + users?: Prisma.XOR + trips?: Prisma.XOR + trip_photos?: Prisma.Trip_photosListRelationFilter +}, "id" | "trip_id_user_id_provider_album_id"> + +export type trip_album_linksOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + provider?: Prisma.SortOrder + album_id?: Prisma.SortOrder + album_name?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder + last_synced_at?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + passphrase?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.trip_album_linksCountOrderByAggregateInput + _avg?: Prisma.trip_album_linksAvgOrderByAggregateInput + _max?: Prisma.trip_album_linksMaxOrderByAggregateInput + _min?: Prisma.trip_album_linksMinOrderByAggregateInput + _sum?: Prisma.trip_album_linksSumOrderByAggregateInput +} + +export type trip_album_linksScalarWhereWithAggregatesInput = { + AND?: Prisma.trip_album_linksScalarWhereWithAggregatesInput | Prisma.trip_album_linksScalarWhereWithAggregatesInput[] + OR?: Prisma.trip_album_linksScalarWhereWithAggregatesInput[] + NOT?: Prisma.trip_album_linksScalarWhereWithAggregatesInput | Prisma.trip_album_linksScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trip_album_links"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"trip_album_links"> | number + user_id?: Prisma.IntWithAggregatesFilter<"trip_album_links"> | number + provider?: Prisma.StringWithAggregatesFilter<"trip_album_links"> | string + album_id?: Prisma.StringWithAggregatesFilter<"trip_album_links"> | string + album_name?: Prisma.StringWithAggregatesFilter<"trip_album_links"> | string + sync_enabled?: Prisma.IntWithAggregatesFilter<"trip_album_links"> | number + last_synced_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trip_album_links"> | Date | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trip_album_links"> | Date | string | null + passphrase?: Prisma.StringNullableWithAggregatesFilter<"trip_album_links"> | string | null +} + +export type trip_album_linksCreateInput = { + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + users: Prisma.usersCreateNestedOneWithoutTrip_album_linksInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_album_linksInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksUpdateInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutTrip_album_linksNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_album_linksNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksCreateManyInput = { + id?: number + trip_id: number + user_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trip_album_linksUpdateManyMutationInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_album_linksUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_album_linksTrip_idUser_idProviderAlbum_idCompoundUniqueInput = { + trip_id: number + user_id: number + provider: string + album_id: string +} + +export type trip_album_linksCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + provider?: Prisma.SortOrder + album_id?: Prisma.SortOrder + album_name?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder + last_synced_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trip_album_linksAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder +} + +export type trip_album_linksMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + provider?: Prisma.SortOrder + album_id?: Prisma.SortOrder + album_name?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder + last_synced_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trip_album_linksMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + provider?: Prisma.SortOrder + album_id?: Prisma.SortOrder + album_name?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder + last_synced_at?: Prisma.SortOrder + created_at?: Prisma.SortOrder + passphrase?: Prisma.SortOrder +} + +export type trip_album_linksSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + sync_enabled?: Prisma.SortOrder +} + +export type Trip_album_linksNullableScalarRelationFilter = { + is?: Prisma.trip_album_linksWhereInput | null + isNot?: Prisma.trip_album_linksWhereInput | null +} + +export type Trip_album_linksListRelationFilter = { + every?: Prisma.trip_album_linksWhereInput + some?: Prisma.trip_album_linksWhereInput + none?: Prisma.trip_album_linksWhereInput +} + +export type trip_album_linksOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type trip_album_linksCreateNestedOneWithoutTrip_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTrip_photosInput + connect?: Prisma.trip_album_linksWhereUniqueInput +} + +export type trip_album_linksUpdateOneWithoutTrip_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTrip_photosInput + upsert?: Prisma.trip_album_linksUpsertWithoutTrip_photosInput + disconnect?: Prisma.trip_album_linksWhereInput | boolean + delete?: Prisma.trip_album_linksWhereInput | boolean + connect?: Prisma.trip_album_linksWhereUniqueInput + update?: Prisma.XOR, Prisma.trip_album_linksUncheckedUpdateWithoutTrip_photosInput> +} + +export type trip_album_linksCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutTripsInput[] | Prisma.trip_album_linksUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTripsInput | Prisma.trip_album_linksCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_album_linksCreateManyTripsInputEnvelope + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] +} + +export type trip_album_linksUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutTripsInput[] | Prisma.trip_album_linksUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTripsInput | Prisma.trip_album_linksCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_album_linksCreateManyTripsInputEnvelope + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] +} + +export type trip_album_linksUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutTripsInput[] | Prisma.trip_album_linksUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTripsInput | Prisma.trip_album_linksCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_album_linksUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_album_linksUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_album_linksCreateManyTripsInputEnvelope + set?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + disconnect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + delete?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + update?: Prisma.trip_album_linksUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_album_linksUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_album_linksUpdateManyWithWhereWithoutTripsInput | Prisma.trip_album_linksUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] +} + +export type trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutTripsInput[] | Prisma.trip_album_linksUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutTripsInput | Prisma.trip_album_linksCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_album_linksUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_album_linksUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_album_linksCreateManyTripsInputEnvelope + set?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + disconnect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + delete?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + update?: Prisma.trip_album_linksUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_album_linksUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_album_linksUpdateManyWithWhereWithoutTripsInput | Prisma.trip_album_linksUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] +} + +export type trip_album_linksCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutUsersInput[] | Prisma.trip_album_linksUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutUsersInput | Prisma.trip_album_linksCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_album_linksCreateManyUsersInputEnvelope + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] +} + +export type trip_album_linksUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutUsersInput[] | Prisma.trip_album_linksUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutUsersInput | Prisma.trip_album_linksCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_album_linksCreateManyUsersInputEnvelope + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] +} + +export type trip_album_linksUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutUsersInput[] | Prisma.trip_album_linksUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutUsersInput | Prisma.trip_album_linksCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_album_linksUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_album_linksUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_album_linksCreateManyUsersInputEnvelope + set?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + disconnect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + delete?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + update?: Prisma.trip_album_linksUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_album_linksUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_album_linksUpdateManyWithWhereWithoutUsersInput | Prisma.trip_album_linksUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] +} + +export type trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_album_linksCreateWithoutUsersInput[] | Prisma.trip_album_linksUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_album_linksCreateOrConnectWithoutUsersInput | Prisma.trip_album_linksCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_album_linksUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_album_linksUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_album_linksCreateManyUsersInputEnvelope + set?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + disconnect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + delete?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + connect?: Prisma.trip_album_linksWhereUniqueInput | Prisma.trip_album_linksWhereUniqueInput[] + update?: Prisma.trip_album_linksUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_album_linksUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_album_linksUpdateManyWithWhereWithoutUsersInput | Prisma.trip_album_linksUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] +} + +export type trip_album_linksCreateWithoutTrip_photosInput = { + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + users: Prisma.usersCreateNestedOneWithoutTrip_album_linksInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_album_linksInput +} + +export type trip_album_linksUncheckedCreateWithoutTrip_photosInput = { + id?: number + trip_id: number + user_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trip_album_linksCreateOrConnectWithoutTrip_photosInput = { + where: Prisma.trip_album_linksWhereUniqueInput + create: Prisma.XOR +} + +export type trip_album_linksUpsertWithoutTrip_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.trip_album_linksWhereInput +} + +export type trip_album_linksUpdateToOneWithWhereWithoutTrip_photosInput = { + where?: Prisma.trip_album_linksWhereInput + data: Prisma.XOR +} + +export type trip_album_linksUpdateWithoutTrip_photosInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutTrip_album_linksNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateWithoutTrip_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_album_linksCreateWithoutTripsInput = { + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + users: Prisma.usersCreateNestedOneWithoutTrip_album_linksInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksCreateOrConnectWithoutTripsInput = { + where: Prisma.trip_album_linksWhereUniqueInput + create: Prisma.XOR +} + +export type trip_album_linksCreateManyTripsInputEnvelope = { + data: Prisma.trip_album_linksCreateManyTripsInput | Prisma.trip_album_linksCreateManyTripsInput[] +} + +export type trip_album_linksUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_album_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_album_linksUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_album_linksWhereUniqueInput + data: Prisma.XOR +} + +export type trip_album_linksUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.trip_album_linksScalarWhereInput + data: Prisma.XOR +} + +export type trip_album_linksScalarWhereInput = { + AND?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] + OR?: Prisma.trip_album_linksScalarWhereInput[] + NOT?: Prisma.trip_album_linksScalarWhereInput | Prisma.trip_album_linksScalarWhereInput[] + id?: Prisma.IntFilter<"trip_album_links"> | number + trip_id?: Prisma.IntFilter<"trip_album_links"> | number + user_id?: Prisma.IntFilter<"trip_album_links"> | number + provider?: Prisma.StringFilter<"trip_album_links"> | string + album_id?: Prisma.StringFilter<"trip_album_links"> | string + album_name?: Prisma.StringFilter<"trip_album_links"> | string + sync_enabled?: Prisma.IntFilter<"trip_album_links"> | number + last_synced_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_album_links"> | Date | string | null + passphrase?: Prisma.StringNullableFilter<"trip_album_links"> | string | null +} + +export type trip_album_linksCreateWithoutUsersInput = { + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + trips: Prisma.tripsCreateNestedOneWithoutTrip_album_linksInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTrip_album_linksInput +} + +export type trip_album_linksCreateOrConnectWithoutUsersInput = { + where: Prisma.trip_album_linksWhereUniqueInput + create: Prisma.XOR +} + +export type trip_album_linksCreateManyUsersInputEnvelope = { + data: Prisma.trip_album_linksCreateManyUsersInput | Prisma.trip_album_linksCreateManyUsersInput[] +} + +export type trip_album_linksUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_album_linksWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_album_linksUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_album_linksWhereUniqueInput + data: Prisma.XOR +} + +export type trip_album_linksUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.trip_album_linksScalarWhereInput + data: Prisma.XOR +} + +export type trip_album_linksCreateManyTripsInput = { + id?: number + user_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trip_album_linksUpdateWithoutTripsInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutTrip_album_linksNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_album_linksCreateManyUsersInput = { + id?: number + trip_id: number + provider: string + album_id: string + album_name?: string + sync_enabled?: number + last_synced_at?: Date | string | null + created_at?: Date | string | null + passphrase?: string | null +} + +export type trip_album_linksUpdateWithoutUsersInput = { + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_album_linksNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTrip_album_linksNestedInput +} + +export type trip_album_linksUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + provider?: Prisma.StringFieldUpdateOperationsInput | string + album_id?: Prisma.StringFieldUpdateOperationsInput | string + album_name?: Prisma.StringFieldUpdateOperationsInput | string + sync_enabled?: Prisma.IntFieldUpdateOperationsInput | number + last_synced_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + passphrase?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Trip_album_linksCountOutputType + */ + +export type Trip_album_linksCountOutputType = { + trip_photos: number +} + +export type Trip_album_linksCountOutputTypeSelect = { + trip_photos?: boolean | Trip_album_linksCountOutputTypeCountTrip_photosArgs +} + +/** + * Trip_album_linksCountOutputType without action + */ +export type Trip_album_linksCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Trip_album_linksCountOutputType + */ + select?: Prisma.Trip_album_linksCountOutputTypeSelect | null +} + +/** + * Trip_album_linksCountOutputType without action + */ +export type Trip_album_linksCountOutputTypeCountTrip_photosArgs = { + where?: Prisma.trip_photosWhereInput +} + + +export type trip_album_linksSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + provider?: boolean + album_id?: boolean + album_name?: boolean + sync_enabled?: boolean + last_synced_at?: boolean + created_at?: boolean + passphrase?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_photos?: boolean | Prisma.trip_album_links$trip_photosArgs + _count?: boolean | Prisma.Trip_album_linksCountOutputTypeDefaultArgs +}, ExtArgs["result"]["trip_album_links"]> + +export type trip_album_linksSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + provider?: boolean + album_id?: boolean + album_name?: boolean + sync_enabled?: boolean + last_synced_at?: boolean + created_at?: boolean + passphrase?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_album_links"]> + +export type trip_album_linksSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + provider?: boolean + album_id?: boolean + album_name?: boolean + sync_enabled?: boolean + last_synced_at?: boolean + created_at?: boolean + passphrase?: boolean + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_album_links"]> + +export type trip_album_linksSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + provider?: boolean + album_id?: boolean + album_name?: boolean + sync_enabled?: boolean + last_synced_at?: boolean + created_at?: boolean + passphrase?: boolean +} + +export type trip_album_linksOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "provider" | "album_id" | "album_name" | "sync_enabled" | "last_synced_at" | "created_at" | "passphrase", ExtArgs["result"]["trip_album_links"]> +export type trip_album_linksInclude = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs + trip_photos?: boolean | Prisma.trip_album_links$trip_photosArgs + _count?: boolean | Prisma.Trip_album_linksCountOutputTypeDefaultArgs +} +export type trip_album_linksIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_album_linksIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $trip_album_linksPayload = { + name: "trip_album_links" + objects: { + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + trip_photos: Prisma.$trip_photosPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + provider: string + album_id: string + album_name: string + sync_enabled: number + last_synced_at: Date | null + created_at: Date | null + passphrase: string | null + }, ExtArgs["result"]["trip_album_links"]> + composites: {} +} + +export type trip_album_linksGetPayload = runtime.Types.Result.GetResult + +export type trip_album_linksCountArgs = + Omit & { + select?: Trip_album_linksCountAggregateInputType | true + } + +export interface trip_album_linksDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trip_album_links'], meta: { name: 'trip_album_links' } } + /** + * Find zero or one Trip_album_links that matches the filter. + * @param {trip_album_linksFindUniqueArgs} args - Arguments to find a Trip_album_links + * @example + * // Get one Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trip_album_links that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trip_album_linksFindUniqueOrThrowArgs} args - Arguments to find a Trip_album_links + * @example + * // Get one Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_album_links that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksFindFirstArgs} args - Arguments to find a Trip_album_links + * @example + * // Get one Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_album_links that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksFindFirstOrThrowArgs} args - Arguments to find a Trip_album_links + * @example + * // Get one Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trip_album_links that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findMany() + * + * // Get first 10 Trip_album_links + * const trip_album_links = await prisma.trip_album_links.findMany({ take: 10 }) + * + * // Only select the `id` + * const trip_album_linksWithIdOnly = await prisma.trip_album_links.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trip_album_links. + * @param {trip_album_linksCreateArgs} args - Arguments to create a Trip_album_links. + * @example + * // Create one Trip_album_links + * const Trip_album_links = await prisma.trip_album_links.create({ + * data: { + * // ... data to create a Trip_album_links + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trip_album_links. + * @param {trip_album_linksCreateManyArgs} args - Arguments to create many Trip_album_links. + * @example + * // Create many Trip_album_links + * const trip_album_links = await prisma.trip_album_links.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trip_album_links and returns the data saved in the database. + * @param {trip_album_linksCreateManyAndReturnArgs} args - Arguments to create many Trip_album_links. + * @example + * // Create many Trip_album_links + * const trip_album_links = await prisma.trip_album_links.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trip_album_links and only return the `id` + * const trip_album_linksWithIdOnly = await prisma.trip_album_links.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trip_album_links. + * @param {trip_album_linksDeleteArgs} args - Arguments to delete one Trip_album_links. + * @example + * // Delete one Trip_album_links + * const Trip_album_links = await prisma.trip_album_links.delete({ + * where: { + * // ... filter to delete one Trip_album_links + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trip_album_links. + * @param {trip_album_linksUpdateArgs} args - Arguments to update one Trip_album_links. + * @example + * // Update one Trip_album_links + * const trip_album_links = await prisma.trip_album_links.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trip_album_links. + * @param {trip_album_linksDeleteManyArgs} args - Arguments to filter Trip_album_links to delete. + * @example + * // Delete a few Trip_album_links + * const { count } = await prisma.trip_album_links.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_album_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trip_album_links + * const trip_album_links = await prisma.trip_album_links.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_album_links and returns the data updated in the database. + * @param {trip_album_linksUpdateManyAndReturnArgs} args - Arguments to update many Trip_album_links. + * @example + * // Update many Trip_album_links + * const trip_album_links = await prisma.trip_album_links.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trip_album_links and only return the `id` + * const trip_album_linksWithIdOnly = await prisma.trip_album_links.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trip_album_links. + * @param {trip_album_linksUpsertArgs} args - Arguments to update or create a Trip_album_links. + * @example + * // Update or create a Trip_album_links + * const trip_album_links = await prisma.trip_album_links.upsert({ + * create: { + * // ... data to create a Trip_album_links + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trip_album_links we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trip_album_linksClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trip_album_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksCountArgs} args - Arguments to filter Trip_album_links to count. + * @example + * // Count the number of Trip_album_links + * const count = await prisma.trip_album_links.count({ + * where: { + * // ... the filter for the Trip_album_links we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trip_album_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trip_album_linksAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trip_album_links. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_album_linksGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trip_album_linksGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trip_album_linksGroupByArgs['orderBy'] } + : { orderBy?: trip_album_linksGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrip_album_linksGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trip_album_links model + */ +readonly fields: trip_album_linksFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trip_album_links. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trip_album_linksClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trip_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trip_album_links model + */ +export interface trip_album_linksFieldRefs { + readonly id: Prisma.FieldRef<"trip_album_links", 'Int'> + readonly trip_id: Prisma.FieldRef<"trip_album_links", 'Int'> + readonly user_id: Prisma.FieldRef<"trip_album_links", 'Int'> + readonly provider: Prisma.FieldRef<"trip_album_links", 'String'> + readonly album_id: Prisma.FieldRef<"trip_album_links", 'String'> + readonly album_name: Prisma.FieldRef<"trip_album_links", 'String'> + readonly sync_enabled: Prisma.FieldRef<"trip_album_links", 'Int'> + readonly last_synced_at: Prisma.FieldRef<"trip_album_links", 'DateTime'> + readonly created_at: Prisma.FieldRef<"trip_album_links", 'DateTime'> + readonly passphrase: Prisma.FieldRef<"trip_album_links", 'String'> +} + + +// Custom InputTypes +/** + * trip_album_links findUnique + */ +export type trip_album_linksFindUniqueArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter, which trip_album_links to fetch. + */ + where: Prisma.trip_album_linksWhereUniqueInput +} + +/** + * trip_album_links findUniqueOrThrow + */ +export type trip_album_linksFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter, which trip_album_links to fetch. + */ + where: Prisma.trip_album_linksWhereUniqueInput +} + +/** + * trip_album_links findFirst + */ +export type trip_album_linksFindFirstArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter, which trip_album_links to fetch. + */ + where?: Prisma.trip_album_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_album_links to fetch. + */ + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_album_links. + */ + cursor?: Prisma.trip_album_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_album_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_album_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_album_links. + */ + distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[] +} + +/** + * trip_album_links findFirstOrThrow + */ +export type trip_album_linksFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter, which trip_album_links to fetch. + */ + where?: Prisma.trip_album_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_album_links to fetch. + */ + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_album_links. + */ + cursor?: Prisma.trip_album_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_album_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_album_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_album_links. + */ + distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[] +} + +/** + * trip_album_links findMany + */ +export type trip_album_linksFindManyArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter, which trip_album_links to fetch. + */ + where?: Prisma.trip_album_linksWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_album_links to fetch. + */ + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trip_album_links. + */ + cursor?: Prisma.trip_album_linksWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_album_links from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_album_links. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_album_links. + */ + distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[] +} + +/** + * trip_album_links create + */ +export type trip_album_linksCreateArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * The data needed to create a trip_album_links. + */ + data: Prisma.XOR +} + +/** + * trip_album_links createMany + */ +export type trip_album_linksCreateManyArgs = { + /** + * The data used to create many trip_album_links. + */ + data: Prisma.trip_album_linksCreateManyInput | Prisma.trip_album_linksCreateManyInput[] +} + +/** + * trip_album_links createManyAndReturn + */ +export type trip_album_linksCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * The data used to create many trip_album_links. + */ + data: Prisma.trip_album_linksCreateManyInput | Prisma.trip_album_linksCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksIncludeCreateManyAndReturn | null +} + +/** + * trip_album_links update + */ +export type trip_album_linksUpdateArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * The data needed to update a trip_album_links. + */ + data: Prisma.XOR + /** + * Choose, which trip_album_links to update. + */ + where: Prisma.trip_album_linksWhereUniqueInput +} + +/** + * trip_album_links updateMany + */ +export type trip_album_linksUpdateManyArgs = { + /** + * The data used to update trip_album_links. + */ + data: Prisma.XOR + /** + * Filter which trip_album_links to update + */ + where?: Prisma.trip_album_linksWhereInput + /** + * Limit how many trip_album_links to update. + */ + limit?: number +} + +/** + * trip_album_links updateManyAndReturn + */ +export type trip_album_linksUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * The data used to update trip_album_links. + */ + data: Prisma.XOR + /** + * Filter which trip_album_links to update + */ + where?: Prisma.trip_album_linksWhereInput + /** + * Limit how many trip_album_links to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksIncludeUpdateManyAndReturn | null +} + +/** + * trip_album_links upsert + */ +export type trip_album_linksUpsertArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * The filter to search for the trip_album_links to update in case it exists. + */ + where: Prisma.trip_album_linksWhereUniqueInput + /** + * In case the trip_album_links found by the `where` argument doesn't exist, create a new trip_album_links with this data. + */ + create: Prisma.XOR + /** + * In case the trip_album_links was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trip_album_links delete + */ +export type trip_album_linksDeleteArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + /** + * Filter which trip_album_links to delete. + */ + where: Prisma.trip_album_linksWhereUniqueInput +} + +/** + * trip_album_links deleteMany + */ +export type trip_album_linksDeleteManyArgs = { + /** + * Filter which trip_album_links to delete + */ + where?: Prisma.trip_album_linksWhereInput + /** + * Limit how many trip_album_links to delete. + */ + limit?: number +} + +/** + * trip_album_links.trip_photos + */ +export type trip_album_links$trip_photosArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + where?: Prisma.trip_photosWhereInput + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + cursor?: Prisma.trip_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trip_album_links without action + */ +export type trip_album_linksDefaultArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null +} diff --git a/server/src/generated/prisma/models/trip_files.ts b/server/src/generated/prisma/models/trip_files.ts new file mode 100644 index 00000000..31501e3e --- /dev/null +++ b/server/src/generated/prisma/models/trip_files.ts @@ -0,0 +1,2685 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trip_files` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trip_files + * + */ +export type trip_filesModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrip_files = { + _count: Trip_filesCountAggregateOutputType | null + _avg: Trip_filesAvgAggregateOutputType | null + _sum: Trip_filesSumAggregateOutputType | null + _min: Trip_filesMinAggregateOutputType | null + _max: Trip_filesMaxAggregateOutputType | null +} + +export type Trip_filesAvgAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + reservation_id: number | null + file_size: number | null + note_id: number | null + uploaded_by: number | null + starred: number | null +} + +export type Trip_filesSumAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + reservation_id: number | null + file_size: number | null + note_id: number | null + uploaded_by: number | null + starred: number | null +} + +export type Trip_filesMinAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + reservation_id: number | null + filename: string | null + original_name: string | null + file_size: number | null + mime_type: string | null + description: string | null + created_at: Date | null + note_id: number | null + uploaded_by: number | null + starred: number | null + deleted_at: string | null +} + +export type Trip_filesMaxAggregateOutputType = { + id: number | null + trip_id: number | null + place_id: number | null + reservation_id: number | null + filename: string | null + original_name: string | null + file_size: number | null + mime_type: string | null + description: string | null + created_at: Date | null + note_id: number | null + uploaded_by: number | null + starred: number | null + deleted_at: string | null +} + +export type Trip_filesCountAggregateOutputType = { + id: number + trip_id: number + place_id: number + reservation_id: number + filename: number + original_name: number + file_size: number + mime_type: number + description: number + created_at: number + note_id: number + uploaded_by: number + starred: number + deleted_at: number + _all: number +} + + +export type Trip_filesAvgAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + reservation_id?: true + file_size?: true + note_id?: true + uploaded_by?: true + starred?: true +} + +export type Trip_filesSumAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + reservation_id?: true + file_size?: true + note_id?: true + uploaded_by?: true + starred?: true +} + +export type Trip_filesMinAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + reservation_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + description?: true + created_at?: true + note_id?: true + uploaded_by?: true + starred?: true + deleted_at?: true +} + +export type Trip_filesMaxAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + reservation_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + description?: true + created_at?: true + note_id?: true + uploaded_by?: true + starred?: true + deleted_at?: true +} + +export type Trip_filesCountAggregateInputType = { + id?: true + trip_id?: true + place_id?: true + reservation_id?: true + filename?: true + original_name?: true + file_size?: true + mime_type?: true + description?: true + created_at?: true + note_id?: true + uploaded_by?: true + starred?: true + deleted_at?: true + _all?: true +} + +export type Trip_filesAggregateArgs = { + /** + * Filter which trip_files to aggregate. + */ + where?: Prisma.trip_filesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_files to fetch. + */ + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trip_filesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_files from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_files. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trip_files + **/ + _count?: true | Trip_filesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trip_filesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trip_filesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trip_filesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trip_filesMaxAggregateInputType +} + +export type GetTrip_filesAggregateType = { + [P in keyof T & keyof AggregateTrip_files]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trip_filesGroupByArgs = { + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithAggregationInput | Prisma.trip_filesOrderByWithAggregationInput[] + by: Prisma.Trip_filesScalarFieldEnum[] | Prisma.Trip_filesScalarFieldEnum + having?: Prisma.trip_filesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trip_filesCountAggregateInputType | true + _avg?: Trip_filesAvgAggregateInputType + _sum?: Trip_filesSumAggregateInputType + _min?: Trip_filesMinAggregateInputType + _max?: Trip_filesMaxAggregateInputType +} + +export type Trip_filesGroupByOutputType = { + id: number + trip_id: number + place_id: number | null + reservation_id: number | null + filename: string + original_name: string + file_size: number | null + mime_type: string | null + description: string | null + created_at: Date | null + note_id: number | null + uploaded_by: number | null + starred: number | null + deleted_at: string | null + _count: Trip_filesCountAggregateOutputType | null + _avg: Trip_filesAvgAggregateOutputType | null + _sum: Trip_filesSumAggregateOutputType | null + _min: Trip_filesMinAggregateOutputType | null + _max: Trip_filesMaxAggregateOutputType | null +} + +export type GetTrip_filesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trip_filesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trip_filesWhereInput = { + AND?: Prisma.trip_filesWhereInput | Prisma.trip_filesWhereInput[] + OR?: Prisma.trip_filesWhereInput[] + NOT?: Prisma.trip_filesWhereInput | Prisma.trip_filesWhereInput[] + id?: Prisma.IntFilter<"trip_files"> | number + trip_id?: Prisma.IntFilter<"trip_files"> | number + place_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + reservation_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + filename?: Prisma.StringFilter<"trip_files"> | string + original_name?: Prisma.StringFilter<"trip_files"> | string + file_size?: Prisma.IntNullableFilter<"trip_files"> | number | null + mime_type?: Prisma.StringNullableFilter<"trip_files"> | string | null + description?: Prisma.StringNullableFilter<"trip_files"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_files"> | Date | string | null + note_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + uploaded_by?: Prisma.IntNullableFilter<"trip_files"> | number | null + starred?: Prisma.IntNullableFilter<"trip_files"> | number | null + deleted_at?: Prisma.StringNullableFilter<"trip_files"> | string | null + file_links?: Prisma.File_linksListRelationFilter + users?: Prisma.XOR | null + collab_notes?: Prisma.XOR | null + reservations?: Prisma.XOR | null + places?: Prisma.XOR | null + trips?: Prisma.XOR +} + +export type trip_filesOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrderInput | Prisma.SortOrder + mime_type?: Prisma.SortOrderInput | Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + note_id?: Prisma.SortOrderInput | Prisma.SortOrder + uploaded_by?: Prisma.SortOrderInput | Prisma.SortOrder + starred?: Prisma.SortOrderInput | Prisma.SortOrder + deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder + file_links?: Prisma.file_linksOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + collab_notes?: Prisma.collab_notesOrderByWithRelationInput + reservations?: Prisma.reservationsOrderByWithRelationInput + places?: Prisma.placesOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type trip_filesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.trip_filesWhereInput | Prisma.trip_filesWhereInput[] + OR?: Prisma.trip_filesWhereInput[] + NOT?: Prisma.trip_filesWhereInput | Prisma.trip_filesWhereInput[] + trip_id?: Prisma.IntFilter<"trip_files"> | number + place_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + reservation_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + filename?: Prisma.StringFilter<"trip_files"> | string + original_name?: Prisma.StringFilter<"trip_files"> | string + file_size?: Prisma.IntNullableFilter<"trip_files"> | number | null + mime_type?: Prisma.StringNullableFilter<"trip_files"> | string | null + description?: Prisma.StringNullableFilter<"trip_files"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_files"> | Date | string | null + note_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + uploaded_by?: Prisma.IntNullableFilter<"trip_files"> | number | null + starred?: Prisma.IntNullableFilter<"trip_files"> | number | null + deleted_at?: Prisma.StringNullableFilter<"trip_files"> | string | null + file_links?: Prisma.File_linksListRelationFilter + users?: Prisma.XOR | null + collab_notes?: Prisma.XOR | null + reservations?: Prisma.XOR | null + places?: Prisma.XOR | null + trips?: Prisma.XOR +}, "id"> + +export type trip_filesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrderInput | Prisma.SortOrder + reservation_id?: Prisma.SortOrderInput | Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrderInput | Prisma.SortOrder + mime_type?: Prisma.SortOrderInput | Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + note_id?: Prisma.SortOrderInput | Prisma.SortOrder + uploaded_by?: Prisma.SortOrderInput | Prisma.SortOrder + starred?: Prisma.SortOrderInput | Prisma.SortOrder + deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.trip_filesCountOrderByAggregateInput + _avg?: Prisma.trip_filesAvgOrderByAggregateInput + _max?: Prisma.trip_filesMaxOrderByAggregateInput + _min?: Prisma.trip_filesMinOrderByAggregateInput + _sum?: Prisma.trip_filesSumOrderByAggregateInput +} + +export type trip_filesScalarWhereWithAggregatesInput = { + AND?: Prisma.trip_filesScalarWhereWithAggregatesInput | Prisma.trip_filesScalarWhereWithAggregatesInput[] + OR?: Prisma.trip_filesScalarWhereWithAggregatesInput[] + NOT?: Prisma.trip_filesScalarWhereWithAggregatesInput | Prisma.trip_filesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trip_files"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"trip_files"> | number + place_id?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + reservation_id?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + filename?: Prisma.StringWithAggregatesFilter<"trip_files"> | string + original_name?: Prisma.StringWithAggregatesFilter<"trip_files"> | string + file_size?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + mime_type?: Prisma.StringNullableWithAggregatesFilter<"trip_files"> | string | null + description?: Prisma.StringNullableWithAggregatesFilter<"trip_files"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trip_files"> | Date | string | null + note_id?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + uploaded_by?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + starred?: Prisma.IntNullableWithAggregatesFilter<"trip_files"> | number | null + deleted_at?: Prisma.StringNullableWithAggregatesFilter<"trip_files"> | string | null +} + +export type trip_filesCreateInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesUpdateInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesCreateManyInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateManyMutationInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Trip_filesListRelationFilter = { + every?: Prisma.trip_filesWhereInput + some?: Prisma.trip_filesWhereInput + none?: Prisma.trip_filesWhereInput +} + +export type trip_filesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type Trip_filesScalarRelationFilter = { + is?: Prisma.trip_filesWhereInput + isNot?: Prisma.trip_filesWhereInput +} + +export type trip_filesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + description?: Prisma.SortOrder + created_at?: Prisma.SortOrder + note_id?: Prisma.SortOrder + uploaded_by?: Prisma.SortOrder + starred?: Prisma.SortOrder + deleted_at?: Prisma.SortOrder +} + +export type trip_filesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + file_size?: Prisma.SortOrder + note_id?: Prisma.SortOrder + uploaded_by?: Prisma.SortOrder + starred?: Prisma.SortOrder +} + +export type trip_filesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + description?: Prisma.SortOrder + created_at?: Prisma.SortOrder + note_id?: Prisma.SortOrder + uploaded_by?: Prisma.SortOrder + starred?: Prisma.SortOrder + deleted_at?: Prisma.SortOrder +} + +export type trip_filesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + filename?: Prisma.SortOrder + original_name?: Prisma.SortOrder + file_size?: Prisma.SortOrder + mime_type?: Prisma.SortOrder + description?: Prisma.SortOrder + created_at?: Prisma.SortOrder + note_id?: Prisma.SortOrder + uploaded_by?: Prisma.SortOrder + starred?: Prisma.SortOrder + deleted_at?: Prisma.SortOrder +} + +export type trip_filesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + place_id?: Prisma.SortOrder + reservation_id?: Prisma.SortOrder + file_size?: Prisma.SortOrder + note_id?: Prisma.SortOrder + uploaded_by?: Prisma.SortOrder + starred?: Prisma.SortOrder +} + +export type trip_filesCreateNestedManyWithoutCollab_notesInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutCollab_notesInput[] | Prisma.trip_filesUncheckedCreateWithoutCollab_notesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput | Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput[] + createMany?: Prisma.trip_filesCreateManyCollab_notesInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUncheckedCreateNestedManyWithoutCollab_notesInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutCollab_notesInput[] | Prisma.trip_filesUncheckedCreateWithoutCollab_notesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput | Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput[] + createMany?: Prisma.trip_filesCreateManyCollab_notesInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUpdateManyWithoutCollab_notesNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutCollab_notesInput[] | Prisma.trip_filesUncheckedCreateWithoutCollab_notesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput | Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutCollab_notesInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutCollab_notesInput[] + createMany?: Prisma.trip_filesCreateManyCollab_notesInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutCollab_notesInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutCollab_notesInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutCollab_notesInput | Prisma.trip_filesUpdateManyWithWhereWithoutCollab_notesInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesUncheckedUpdateManyWithoutCollab_notesNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutCollab_notesInput[] | Prisma.trip_filesUncheckedCreateWithoutCollab_notesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput | Prisma.trip_filesCreateOrConnectWithoutCollab_notesInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutCollab_notesInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutCollab_notesInput[] + createMany?: Prisma.trip_filesCreateManyCollab_notesInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutCollab_notesInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutCollab_notesInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutCollab_notesInput | Prisma.trip_filesUpdateManyWithWhereWithoutCollab_notesInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesCreateNestedOneWithoutFile_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutFile_linksInput + connect?: Prisma.trip_filesWhereUniqueInput +} + +export type trip_filesUpdateOneRequiredWithoutFile_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutFile_linksInput + upsert?: Prisma.trip_filesUpsertWithoutFile_linksInput + connect?: Prisma.trip_filesWhereUniqueInput + update?: Prisma.XOR, Prisma.trip_filesUncheckedUpdateWithoutFile_linksInput> +} + +export type trip_filesCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutPlacesInput[] | Prisma.trip_filesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutPlacesInput | Prisma.trip_filesCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.trip_filesCreateManyPlacesInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUncheckedCreateNestedManyWithoutPlacesInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutPlacesInput[] | Prisma.trip_filesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutPlacesInput | Prisma.trip_filesCreateOrConnectWithoutPlacesInput[] + createMany?: Prisma.trip_filesCreateManyPlacesInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutPlacesInput[] | Prisma.trip_filesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutPlacesInput | Prisma.trip_filesCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutPlacesInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.trip_filesCreateManyPlacesInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutPlacesInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutPlacesInput | Prisma.trip_filesUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesUncheckedUpdateManyWithoutPlacesNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutPlacesInput[] | Prisma.trip_filesUncheckedCreateWithoutPlacesInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutPlacesInput | Prisma.trip_filesCreateOrConnectWithoutPlacesInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutPlacesInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutPlacesInput[] + createMany?: Prisma.trip_filesCreateManyPlacesInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutPlacesInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutPlacesInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutPlacesInput | Prisma.trip_filesUpdateManyWithWhereWithoutPlacesInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutReservationsInput[] | Prisma.trip_filesUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutReservationsInput | Prisma.trip_filesCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.trip_filesCreateManyReservationsInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUncheckedCreateNestedManyWithoutReservationsInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutReservationsInput[] | Prisma.trip_filesUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutReservationsInput | Prisma.trip_filesCreateOrConnectWithoutReservationsInput[] + createMany?: Prisma.trip_filesCreateManyReservationsInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutReservationsInput[] | Prisma.trip_filesUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutReservationsInput | Prisma.trip_filesCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutReservationsInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.trip_filesCreateManyReservationsInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutReservationsInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutReservationsInput | Prisma.trip_filesUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesUncheckedUpdateManyWithoutReservationsNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutReservationsInput[] | Prisma.trip_filesUncheckedCreateWithoutReservationsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutReservationsInput | Prisma.trip_filesCreateOrConnectWithoutReservationsInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutReservationsInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutReservationsInput[] + createMany?: Prisma.trip_filesCreateManyReservationsInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutReservationsInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutReservationsInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutReservationsInput | Prisma.trip_filesUpdateManyWithWhereWithoutReservationsInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutTripsInput[] | Prisma.trip_filesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutTripsInput | Prisma.trip_filesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_filesCreateManyTripsInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutTripsInput[] | Prisma.trip_filesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutTripsInput | Prisma.trip_filesCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_filesCreateManyTripsInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutTripsInput[] | Prisma.trip_filesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutTripsInput | Prisma.trip_filesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_filesCreateManyTripsInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutTripsInput | Prisma.trip_filesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutTripsInput[] | Prisma.trip_filesUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutTripsInput | Prisma.trip_filesCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_filesCreateManyTripsInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutTripsInput | Prisma.trip_filesUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutUsersInput[] | Prisma.trip_filesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutUsersInput | Prisma.trip_filesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_filesCreateManyUsersInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutUsersInput[] | Prisma.trip_filesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutUsersInput | Prisma.trip_filesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_filesCreateManyUsersInputEnvelope + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] +} + +export type trip_filesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutUsersInput[] | Prisma.trip_filesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutUsersInput | Prisma.trip_filesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_filesCreateManyUsersInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutUsersInput | Prisma.trip_filesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_filesCreateWithoutUsersInput[] | Prisma.trip_filesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_filesCreateOrConnectWithoutUsersInput | Prisma.trip_filesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_filesUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_filesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_filesCreateManyUsersInputEnvelope + set?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + disconnect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + delete?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + connect?: Prisma.trip_filesWhereUniqueInput | Prisma.trip_filesWhereUniqueInput[] + update?: Prisma.trip_filesUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_filesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_filesUpdateManyWithWhereWithoutUsersInput | Prisma.trip_filesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] +} + +export type trip_filesCreateWithoutCollab_notesInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutCollab_notesInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesCreateOrConnectWithoutCollab_notesInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesCreateManyCollab_notesInputEnvelope = { + data: Prisma.trip_filesCreateManyCollab_notesInput | Prisma.trip_filesCreateManyCollab_notesInput[] +} + +export type trip_filesUpsertWithWhereUniqueWithoutCollab_notesInput = { + where: Prisma.trip_filesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_filesUpdateWithWhereUniqueWithoutCollab_notesInput = { + where: Prisma.trip_filesWhereUniqueInput + data: Prisma.XOR +} + +export type trip_filesUpdateManyWithWhereWithoutCollab_notesInput = { + where: Prisma.trip_filesScalarWhereInput + data: Prisma.XOR +} + +export type trip_filesScalarWhereInput = { + AND?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] + OR?: Prisma.trip_filesScalarWhereInput[] + NOT?: Prisma.trip_filesScalarWhereInput | Prisma.trip_filesScalarWhereInput[] + id?: Prisma.IntFilter<"trip_files"> | number + trip_id?: Prisma.IntFilter<"trip_files"> | number + place_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + reservation_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + filename?: Prisma.StringFilter<"trip_files"> | string + original_name?: Prisma.StringFilter<"trip_files"> | string + file_size?: Prisma.IntNullableFilter<"trip_files"> | number | null + mime_type?: Prisma.StringNullableFilter<"trip_files"> | string | null + description?: Prisma.StringNullableFilter<"trip_files"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"trip_files"> | Date | string | null + note_id?: Prisma.IntNullableFilter<"trip_files"> | number | null + uploaded_by?: Prisma.IntNullableFilter<"trip_files"> | number | null + starred?: Prisma.IntNullableFilter<"trip_files"> | number | null + deleted_at?: Prisma.StringNullableFilter<"trip_files"> | string | null +} + +export type trip_filesCreateWithoutFile_linksInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutFile_linksInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesCreateOrConnectWithoutFile_linksInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesUpsertWithoutFile_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.trip_filesWhereInput +} + +export type trip_filesUpdateToOneWithWhereWithoutFile_linksInput = { + where?: Prisma.trip_filesWhereInput + data: Prisma.XOR +} + +export type trip_filesUpdateWithoutFile_linksInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutFile_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesCreateWithoutPlacesInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutPlacesInput = { + id?: number + trip_id: number + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesCreateOrConnectWithoutPlacesInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesCreateManyPlacesInputEnvelope = { + data: Prisma.trip_filesCreateManyPlacesInput | Prisma.trip_filesCreateManyPlacesInput[] +} + +export type trip_filesUpsertWithWhereUniqueWithoutPlacesInput = { + where: Prisma.trip_filesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_filesUpdateWithWhereUniqueWithoutPlacesInput = { + where: Prisma.trip_filesWhereUniqueInput + data: Prisma.XOR +} + +export type trip_filesUpdateManyWithWhereWithoutPlacesInput = { + where: Prisma.trip_filesScalarWhereInput + data: Prisma.XOR +} + +export type trip_filesCreateWithoutReservationsInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutReservationsInput = { + id?: number + trip_id: number + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesCreateOrConnectWithoutReservationsInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesCreateManyReservationsInputEnvelope = { + data: Prisma.trip_filesCreateManyReservationsInput | Prisma.trip_filesCreateManyReservationsInput[] +} + +export type trip_filesUpsertWithWhereUniqueWithoutReservationsInput = { + where: Prisma.trip_filesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_filesUpdateWithWhereUniqueWithoutReservationsInput = { + where: Prisma.trip_filesWhereUniqueInput + data: Prisma.XOR +} + +export type trip_filesUpdateManyWithWhereWithoutReservationsInput = { + where: Prisma.trip_filesScalarWhereInput + data: Prisma.XOR +} + +export type trip_filesCreateWithoutTripsInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + users?: Prisma.usersCreateNestedOneWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutTripsInput = { + id?: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesCreateOrConnectWithoutTripsInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesCreateManyTripsInputEnvelope = { + data: Prisma.trip_filesCreateManyTripsInput | Prisma.trip_filesCreateManyTripsInput[] +} + +export type trip_filesUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_filesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_filesUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_filesWhereUniqueInput + data: Prisma.XOR +} + +export type trip_filesUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.trip_filesScalarWhereInput + data: Prisma.XOR +} + +export type trip_filesCreateWithoutUsersInput = { + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksCreateNestedManyWithoutTrip_filesInput + collab_notes?: Prisma.collab_notesCreateNestedOneWithoutTrip_filesInput + reservations?: Prisma.reservationsCreateNestedOneWithoutTrip_filesInput + places?: Prisma.placesCreateNestedOneWithoutTrip_filesInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_filesInput +} + +export type trip_filesUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + starred?: number | null + deleted_at?: string | null + file_links?: Prisma.file_linksUncheckedCreateNestedManyWithoutTrip_filesInput +} + +export type trip_filesCreateOrConnectWithoutUsersInput = { + where: Prisma.trip_filesWhereUniqueInput + create: Prisma.XOR +} + +export type trip_filesCreateManyUsersInputEnvelope = { + data: Prisma.trip_filesCreateManyUsersInput | Prisma.trip_filesCreateManyUsersInput[] +} + +export type trip_filesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_filesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_filesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_filesWhereUniqueInput + data: Prisma.XOR +} + +export type trip_filesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.trip_filesScalarWhereInput + data: Prisma.XOR +} + +export type trip_filesCreateManyCollab_notesInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateWithoutCollab_notesInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutCollab_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateManyWithoutCollab_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesCreateManyPlacesInput = { + id?: number + trip_id: number + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateWithoutPlacesInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateManyWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesCreateManyReservationsInput = { + id?: number + trip_id: number + place_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateWithoutReservationsInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateManyWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesCreateManyTripsInput = { + id?: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + uploaded_by?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateWithoutTripsInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + users?: Prisma.usersUpdateOneWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + uploaded_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type trip_filesCreateManyUsersInput = { + id?: number + trip_id: number + place_id?: number | null + reservation_id?: number | null + filename: string + original_name: string + file_size?: number | null + mime_type?: string | null + description?: string | null + created_at?: Date | string | null + note_id?: number | null + starred?: number | null + deleted_at?: string | null +} + +export type trip_filesUpdateWithoutUsersInput = { + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUpdateManyWithoutTrip_filesNestedInput + collab_notes?: Prisma.collab_notesUpdateOneWithoutTrip_filesNestedInput + reservations?: Prisma.reservationsUpdateOneWithoutTrip_filesNestedInput + places?: Prisma.placesUpdateOneWithoutTrip_filesNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + file_links?: Prisma.file_linksUncheckedUpdateManyWithoutTrip_filesNestedInput +} + +export type trip_filesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + place_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reservation_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + filename?: Prisma.StringFieldUpdateOperationsInput | string + original_name?: Prisma.StringFieldUpdateOperationsInput | string + file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + note_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + starred?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + deleted_at?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + +/** + * Count Type Trip_filesCountOutputType + */ + +export type Trip_filesCountOutputType = { + file_links: number +} + +export type Trip_filesCountOutputTypeSelect = { + file_links?: boolean | Trip_filesCountOutputTypeCountFile_linksArgs +} + +/** + * Trip_filesCountOutputType without action + */ +export type Trip_filesCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Trip_filesCountOutputType + */ + select?: Prisma.Trip_filesCountOutputTypeSelect | null +} + +/** + * Trip_filesCountOutputType without action + */ +export type Trip_filesCountOutputTypeCountFile_linksArgs = { + where?: Prisma.file_linksWhereInput +} + + +export type trip_filesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + reservation_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + description?: boolean + created_at?: boolean + note_id?: boolean + uploaded_by?: boolean + starred?: boolean + deleted_at?: boolean + file_links?: boolean | Prisma.trip_files$file_linksArgs + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Trip_filesCountOutputTypeDefaultArgs +}, ExtArgs["result"]["trip_files"]> + +export type trip_filesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + reservation_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + description?: boolean + created_at?: boolean + note_id?: boolean + uploaded_by?: boolean + starred?: boolean + deleted_at?: boolean + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_files"]> + +export type trip_filesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + place_id?: boolean + reservation_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + description?: boolean + created_at?: boolean + note_id?: boolean + uploaded_by?: boolean + starred?: boolean + deleted_at?: boolean + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_files"]> + +export type trip_filesSelectScalar = { + id?: boolean + trip_id?: boolean + place_id?: boolean + reservation_id?: boolean + filename?: boolean + original_name?: boolean + file_size?: boolean + mime_type?: boolean + description?: boolean + created_at?: boolean + note_id?: boolean + uploaded_by?: boolean + starred?: boolean + deleted_at?: boolean +} + +export type trip_filesOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "place_id" | "reservation_id" | "filename" | "original_name" | "file_size" | "mime_type" | "description" | "created_at" | "note_id" | "uploaded_by" | "starred" | "deleted_at", ExtArgs["result"]["trip_files"]> +export type trip_filesInclude = { + file_links?: boolean | Prisma.trip_files$file_linksArgs + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs + _count?: boolean | Prisma.Trip_filesCountOutputTypeDefaultArgs +} +export type trip_filesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_filesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.trip_files$usersArgs + collab_notes?: boolean | Prisma.trip_files$collab_notesArgs + reservations?: boolean | Prisma.trip_files$reservationsArgs + places?: boolean | Prisma.trip_files$placesArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $trip_filesPayload = { + name: "trip_files" + objects: { + file_links: Prisma.$file_linksPayload[] + users: Prisma.$usersPayload | null + collab_notes: Prisma.$collab_notesPayload | null + reservations: Prisma.$reservationsPayload | null + places: Prisma.$placesPayload | null + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + place_id: number | null + reservation_id: number | null + filename: string + original_name: string + file_size: number | null + mime_type: string | null + description: string | null + created_at: Date | null + note_id: number | null + uploaded_by: number | null + starred: number | null + deleted_at: string | null + }, ExtArgs["result"]["trip_files"]> + composites: {} +} + +export type trip_filesGetPayload = runtime.Types.Result.GetResult + +export type trip_filesCountArgs = + Omit & { + select?: Trip_filesCountAggregateInputType | true + } + +export interface trip_filesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trip_files'], meta: { name: 'trip_files' } } + /** + * Find zero or one Trip_files that matches the filter. + * @param {trip_filesFindUniqueArgs} args - Arguments to find a Trip_files + * @example + * // Get one Trip_files + * const trip_files = await prisma.trip_files.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trip_files that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trip_filesFindUniqueOrThrowArgs} args - Arguments to find a Trip_files + * @example + * // Get one Trip_files + * const trip_files = await prisma.trip_files.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_files that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesFindFirstArgs} args - Arguments to find a Trip_files + * @example + * // Get one Trip_files + * const trip_files = await prisma.trip_files.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_files that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesFindFirstOrThrowArgs} args - Arguments to find a Trip_files + * @example + * // Get one Trip_files + * const trip_files = await prisma.trip_files.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trip_files that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trip_files + * const trip_files = await prisma.trip_files.findMany() + * + * // Get first 10 Trip_files + * const trip_files = await prisma.trip_files.findMany({ take: 10 }) + * + * // Only select the `id` + * const trip_filesWithIdOnly = await prisma.trip_files.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trip_files. + * @param {trip_filesCreateArgs} args - Arguments to create a Trip_files. + * @example + * // Create one Trip_files + * const Trip_files = await prisma.trip_files.create({ + * data: { + * // ... data to create a Trip_files + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trip_files. + * @param {trip_filesCreateManyArgs} args - Arguments to create many Trip_files. + * @example + * // Create many Trip_files + * const trip_files = await prisma.trip_files.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trip_files and returns the data saved in the database. + * @param {trip_filesCreateManyAndReturnArgs} args - Arguments to create many Trip_files. + * @example + * // Create many Trip_files + * const trip_files = await prisma.trip_files.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trip_files and only return the `id` + * const trip_filesWithIdOnly = await prisma.trip_files.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trip_files. + * @param {trip_filesDeleteArgs} args - Arguments to delete one Trip_files. + * @example + * // Delete one Trip_files + * const Trip_files = await prisma.trip_files.delete({ + * where: { + * // ... filter to delete one Trip_files + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trip_files. + * @param {trip_filesUpdateArgs} args - Arguments to update one Trip_files. + * @example + * // Update one Trip_files + * const trip_files = await prisma.trip_files.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trip_files. + * @param {trip_filesDeleteManyArgs} args - Arguments to filter Trip_files to delete. + * @example + * // Delete a few Trip_files + * const { count } = await prisma.trip_files.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_files. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trip_files + * const trip_files = await prisma.trip_files.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_files and returns the data updated in the database. + * @param {trip_filesUpdateManyAndReturnArgs} args - Arguments to update many Trip_files. + * @example + * // Update many Trip_files + * const trip_files = await prisma.trip_files.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trip_files and only return the `id` + * const trip_filesWithIdOnly = await prisma.trip_files.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trip_files. + * @param {trip_filesUpsertArgs} args - Arguments to update or create a Trip_files. + * @example + * // Update or create a Trip_files + * const trip_files = await prisma.trip_files.upsert({ + * create: { + * // ... data to create a Trip_files + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trip_files we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trip_filesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trip_files. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesCountArgs} args - Arguments to filter Trip_files to count. + * @example + * // Count the number of Trip_files + * const count = await prisma.trip_files.count({ + * where: { + * // ... the filter for the Trip_files we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trip_files. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trip_filesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trip_files. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_filesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trip_filesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trip_filesGroupByArgs['orderBy'] } + : { orderBy?: trip_filesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrip_filesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trip_files model + */ +readonly fields: trip_filesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trip_files. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trip_filesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + file_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + collab_notes = {}>(args?: Prisma.Subset>): Prisma.Prisma__collab_notesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + reservations = {}>(args?: Prisma.Subset>): Prisma.Prisma__reservationsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + places = {}>(args?: Prisma.Subset>): Prisma.Prisma__placesClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trip_files model + */ +export interface trip_filesFieldRefs { + readonly id: Prisma.FieldRef<"trip_files", 'Int'> + readonly trip_id: Prisma.FieldRef<"trip_files", 'Int'> + readonly place_id: Prisma.FieldRef<"trip_files", 'Int'> + readonly reservation_id: Prisma.FieldRef<"trip_files", 'Int'> + readonly filename: Prisma.FieldRef<"trip_files", 'String'> + readonly original_name: Prisma.FieldRef<"trip_files", 'String'> + readonly file_size: Prisma.FieldRef<"trip_files", 'Int'> + readonly mime_type: Prisma.FieldRef<"trip_files", 'String'> + readonly description: Prisma.FieldRef<"trip_files", 'String'> + readonly created_at: Prisma.FieldRef<"trip_files", 'DateTime'> + readonly note_id: Prisma.FieldRef<"trip_files", 'Int'> + readonly uploaded_by: Prisma.FieldRef<"trip_files", 'Int'> + readonly starred: Prisma.FieldRef<"trip_files", 'Int'> + readonly deleted_at: Prisma.FieldRef<"trip_files", 'String'> +} + + +// Custom InputTypes +/** + * trip_files findUnique + */ +export type trip_filesFindUniqueArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter, which trip_files to fetch. + */ + where: Prisma.trip_filesWhereUniqueInput +} + +/** + * trip_files findUniqueOrThrow + */ +export type trip_filesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter, which trip_files to fetch. + */ + where: Prisma.trip_filesWhereUniqueInput +} + +/** + * trip_files findFirst + */ +export type trip_filesFindFirstArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter, which trip_files to fetch. + */ + where?: Prisma.trip_filesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_files to fetch. + */ + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_files. + */ + cursor?: Prisma.trip_filesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_files from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_files. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_files. + */ + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * trip_files findFirstOrThrow + */ +export type trip_filesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter, which trip_files to fetch. + */ + where?: Prisma.trip_filesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_files to fetch. + */ + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_files. + */ + cursor?: Prisma.trip_filesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_files from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_files. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_files. + */ + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * trip_files findMany + */ +export type trip_filesFindManyArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter, which trip_files to fetch. + */ + where?: Prisma.trip_filesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_files to fetch. + */ + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trip_files. + */ + cursor?: Prisma.trip_filesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_files from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_files. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_files. + */ + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * trip_files create + */ +export type trip_filesCreateArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * The data needed to create a trip_files. + */ + data: Prisma.XOR +} + +/** + * trip_files createMany + */ +export type trip_filesCreateManyArgs = { + /** + * The data used to create many trip_files. + */ + data: Prisma.trip_filesCreateManyInput | Prisma.trip_filesCreateManyInput[] +} + +/** + * trip_files createManyAndReturn + */ +export type trip_filesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * The data used to create many trip_files. + */ + data: Prisma.trip_filesCreateManyInput | Prisma.trip_filesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesIncludeCreateManyAndReturn | null +} + +/** + * trip_files update + */ +export type trip_filesUpdateArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * The data needed to update a trip_files. + */ + data: Prisma.XOR + /** + * Choose, which trip_files to update. + */ + where: Prisma.trip_filesWhereUniqueInput +} + +/** + * trip_files updateMany + */ +export type trip_filesUpdateManyArgs = { + /** + * The data used to update trip_files. + */ + data: Prisma.XOR + /** + * Filter which trip_files to update + */ + where?: Prisma.trip_filesWhereInput + /** + * Limit how many trip_files to update. + */ + limit?: number +} + +/** + * trip_files updateManyAndReturn + */ +export type trip_filesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * The data used to update trip_files. + */ + data: Prisma.XOR + /** + * Filter which trip_files to update + */ + where?: Prisma.trip_filesWhereInput + /** + * Limit how many trip_files to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesIncludeUpdateManyAndReturn | null +} + +/** + * trip_files upsert + */ +export type trip_filesUpsertArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * The filter to search for the trip_files to update in case it exists. + */ + where: Prisma.trip_filesWhereUniqueInput + /** + * In case the trip_files found by the `where` argument doesn't exist, create a new trip_files with this data. + */ + create: Prisma.XOR + /** + * In case the trip_files was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trip_files delete + */ +export type trip_filesDeleteArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + /** + * Filter which trip_files to delete. + */ + where: Prisma.trip_filesWhereUniqueInput +} + +/** + * trip_files deleteMany + */ +export type trip_filesDeleteManyArgs = { + /** + * Filter which trip_files to delete + */ + where?: Prisma.trip_filesWhereInput + /** + * Limit how many trip_files to delete. + */ + limit?: number +} + +/** + * trip_files.file_links + */ +export type trip_files$file_linksArgs = { + /** + * Select specific fields to fetch from the file_links + */ + select?: Prisma.file_linksSelect | null + /** + * Omit specific fields from the file_links + */ + omit?: Prisma.file_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.file_linksInclude | null + where?: Prisma.file_linksWhereInput + orderBy?: Prisma.file_linksOrderByWithRelationInput | Prisma.file_linksOrderByWithRelationInput[] + cursor?: Prisma.file_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.File_linksScalarFieldEnum | Prisma.File_linksScalarFieldEnum[] +} + +/** + * trip_files.users + */ +export type trip_files$usersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * trip_files.collab_notes + */ +export type trip_files$collab_notesArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + where?: Prisma.collab_notesWhereInput +} + +/** + * trip_files.reservations + */ +export type trip_files$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput +} + +/** + * trip_files.places + */ +export type trip_files$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput +} + +/** + * trip_files without action + */ +export type trip_filesDefaultArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null +} diff --git a/server/src/generated/prisma/models/trip_members.ts b/server/src/generated/prisma/models/trip_members.ts new file mode 100644 index 00000000..c6a6718f --- /dev/null +++ b/server/src/generated/prisma/models/trip_members.ts @@ -0,0 +1,1658 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trip_members` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trip_members + * + */ +export type trip_membersModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrip_members = { + _count: Trip_membersCountAggregateOutputType | null + _avg: Trip_membersAvgAggregateOutputType | null + _sum: Trip_membersSumAggregateOutputType | null + _min: Trip_membersMinAggregateOutputType | null + _max: Trip_membersMaxAggregateOutputType | null +} + +export type Trip_membersAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + invited_by: number | null +} + +export type Trip_membersSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + invited_by: number | null +} + +export type Trip_membersMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + invited_by: number | null + added_at: Date | null +} + +export type Trip_membersMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + invited_by: number | null + added_at: Date | null +} + +export type Trip_membersCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + invited_by: number + added_at: number + _all: number +} + + +export type Trip_membersAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + invited_by?: true +} + +export type Trip_membersSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + invited_by?: true +} + +export type Trip_membersMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + invited_by?: true + added_at?: true +} + +export type Trip_membersMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + invited_by?: true + added_at?: true +} + +export type Trip_membersCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + invited_by?: true + added_at?: true + _all?: true +} + +export type Trip_membersAggregateArgs = { + /** + * Filter which trip_members to aggregate. + */ + where?: Prisma.trip_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_members to fetch. + */ + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trip_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trip_members + **/ + _count?: true | Trip_membersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trip_membersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trip_membersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trip_membersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trip_membersMaxAggregateInputType +} + +export type GetTrip_membersAggregateType = { + [P in keyof T & keyof AggregateTrip_members]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trip_membersGroupByArgs = { + where?: Prisma.trip_membersWhereInput + orderBy?: Prisma.trip_membersOrderByWithAggregationInput | Prisma.trip_membersOrderByWithAggregationInput[] + by: Prisma.Trip_membersScalarFieldEnum[] | Prisma.Trip_membersScalarFieldEnum + having?: Prisma.trip_membersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trip_membersCountAggregateInputType | true + _avg?: Trip_membersAvgAggregateInputType + _sum?: Trip_membersSumAggregateInputType + _min?: Trip_membersMinAggregateInputType + _max?: Trip_membersMaxAggregateInputType +} + +export type Trip_membersGroupByOutputType = { + id: number + trip_id: number + user_id: number + invited_by: number | null + added_at: Date | null + _count: Trip_membersCountAggregateOutputType | null + _avg: Trip_membersAvgAggregateOutputType | null + _sum: Trip_membersSumAggregateOutputType | null + _min: Trip_membersMinAggregateOutputType | null + _max: Trip_membersMaxAggregateOutputType | null +} + +export type GetTrip_membersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trip_membersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trip_membersWhereInput = { + AND?: Prisma.trip_membersWhereInput | Prisma.trip_membersWhereInput[] + OR?: Prisma.trip_membersWhereInput[] + NOT?: Prisma.trip_membersWhereInput | Prisma.trip_membersWhereInput[] + id?: Prisma.IntFilter<"trip_members"> | number + trip_id?: Prisma.IntFilter<"trip_members"> | number + user_id?: Prisma.IntFilter<"trip_members"> | number + invited_by?: Prisma.IntNullableFilter<"trip_members"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_members"> | Date | string | null + users_trip_members_invited_byTousers?: Prisma.XOR | null + users_trip_members_user_idTousers?: Prisma.XOR + trips?: Prisma.XOR +} + +export type trip_membersOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrderInput | Prisma.SortOrder + added_at?: Prisma.SortOrderInput | Prisma.SortOrder + users_trip_members_invited_byTousers?: Prisma.usersOrderByWithRelationInput + users_trip_members_user_idTousers?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type trip_membersWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_user_id?: Prisma.trip_membersTrip_idUser_idCompoundUniqueInput + AND?: Prisma.trip_membersWhereInput | Prisma.trip_membersWhereInput[] + OR?: Prisma.trip_membersWhereInput[] + NOT?: Prisma.trip_membersWhereInput | Prisma.trip_membersWhereInput[] + trip_id?: Prisma.IntFilter<"trip_members"> | number + user_id?: Prisma.IntFilter<"trip_members"> | number + invited_by?: Prisma.IntNullableFilter<"trip_members"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_members"> | Date | string | null + users_trip_members_invited_byTousers?: Prisma.XOR | null + users_trip_members_user_idTousers?: Prisma.XOR + trips?: Prisma.XOR +}, "id" | "trip_id_user_id"> + +export type trip_membersOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrderInput | Prisma.SortOrder + added_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.trip_membersCountOrderByAggregateInput + _avg?: Prisma.trip_membersAvgOrderByAggregateInput + _max?: Prisma.trip_membersMaxOrderByAggregateInput + _min?: Prisma.trip_membersMinOrderByAggregateInput + _sum?: Prisma.trip_membersSumOrderByAggregateInput +} + +export type trip_membersScalarWhereWithAggregatesInput = { + AND?: Prisma.trip_membersScalarWhereWithAggregatesInput | Prisma.trip_membersScalarWhereWithAggregatesInput[] + OR?: Prisma.trip_membersScalarWhereWithAggregatesInput[] + NOT?: Prisma.trip_membersScalarWhereWithAggregatesInput | Prisma.trip_membersScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trip_members"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"trip_members"> | number + user_id?: Prisma.IntWithAggregatesFilter<"trip_members"> | number + invited_by?: Prisma.IntNullableWithAggregatesFilter<"trip_members"> | number | null + added_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trip_members"> | Date | string | null +} + +export type trip_membersCreateInput = { + added_at?: Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_invited_byTousersInput + users_trip_members_user_idTousers: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_user_idTousersInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_membersInput +} + +export type trip_membersUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersUpdateInput = { + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersUpdateOneWithoutTrip_members_trip_members_invited_byTousersNestedInput + users_trip_members_user_idTousers?: Prisma.usersUpdateOneRequiredWithoutTrip_members_trip_members_user_idTousersNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_membersNestedInput +} + +export type trip_membersUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersCreateManyInput = { + id?: number + trip_id: number + user_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersUpdateManyMutationInput = { + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersTrip_idUser_idCompoundUniqueInput = { + trip_id: number + user_id: number +} + +export type trip_membersCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_membersAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrder +} + +export type trip_membersMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_membersMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_membersSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + invited_by?: Prisma.SortOrder +} + +export type Trip_membersListRelationFilter = { + every?: Prisma.trip_membersWhereInput + some?: Prisma.trip_membersWhereInput + none?: Prisma.trip_membersWhereInput +} + +export type trip_membersOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type trip_membersCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutTripsInput[] | Prisma.trip_membersUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutTripsInput | Prisma.trip_membersCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_membersCreateManyTripsInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutTripsInput[] | Prisma.trip_membersUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutTripsInput | Prisma.trip_membersCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_membersCreateManyTripsInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutTripsInput[] | Prisma.trip_membersUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutTripsInput | Prisma.trip_membersCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_membersCreateManyTripsInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutTripsInput | Prisma.trip_membersUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutTripsInput[] | Prisma.trip_membersUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutTripsInput | Prisma.trip_membersCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_membersCreateManyTripsInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutTripsInput | Prisma.trip_membersUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_invited_byTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_invited_byTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_user_idTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_user_idTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_invited_byTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_invited_byTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_user_idTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_user_idTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInputEnvelope + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] +} + +export type trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_invited_byTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_invited_byTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_invited_byTousersInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_user_idTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_user_idTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_user_idTousersInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_invited_byTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_invited_byTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_invited_byTousersInput | Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_invited_byTousersInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput = { + create?: Prisma.XOR | Prisma.trip_membersCreateWithoutUsers_trip_members_user_idTousersInput[] | Prisma.trip_membersUncheckedCreateWithoutUsers_trip_members_user_idTousersInput[] + connectOrCreate?: Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput[] + upsert?: Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput[] + createMany?: Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInputEnvelope + set?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + disconnect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + delete?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + connect?: Prisma.trip_membersWhereUniqueInput | Prisma.trip_membersWhereUniqueInput[] + update?: Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput[] + updateMany?: Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_user_idTousersInput | Prisma.trip_membersUpdateManyWithWhereWithoutUsers_trip_members_user_idTousersInput[] + deleteMany?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] +} + +export type trip_membersCreateWithoutTripsInput = { + added_at?: Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_invited_byTousersInput + users_trip_members_user_idTousers: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_user_idTousersInput +} + +export type trip_membersUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersCreateOrConnectWithoutTripsInput = { + where: Prisma.trip_membersWhereUniqueInput + create: Prisma.XOR +} + +export type trip_membersCreateManyTripsInputEnvelope = { + data: Prisma.trip_membersCreateManyTripsInput | Prisma.trip_membersCreateManyTripsInput[] +} + +export type trip_membersUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_membersUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_membersWhereUniqueInput + data: Prisma.XOR +} + +export type trip_membersUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.trip_membersScalarWhereInput + data: Prisma.XOR +} + +export type trip_membersScalarWhereInput = { + AND?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] + OR?: Prisma.trip_membersScalarWhereInput[] + NOT?: Prisma.trip_membersScalarWhereInput | Prisma.trip_membersScalarWhereInput[] + id?: Prisma.IntFilter<"trip_members"> | number + trip_id?: Prisma.IntFilter<"trip_members"> | number + user_id?: Prisma.IntFilter<"trip_members"> | number + invited_by?: Prisma.IntNullableFilter<"trip_members"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_members"> | Date | string | null +} + +export type trip_membersCreateWithoutUsers_trip_members_invited_byTousersInput = { + added_at?: Date | string | null + users_trip_members_user_idTousers: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_user_idTousersInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_membersInput +} + +export type trip_membersUncheckedCreateWithoutUsers_trip_members_invited_byTousersInput = { + id?: number + trip_id: number + user_id: number + added_at?: Date | string | null +} + +export type trip_membersCreateOrConnectWithoutUsers_trip_members_invited_byTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + create: Prisma.XOR +} + +export type trip_membersCreateManyUsers_trip_members_invited_byTousersInputEnvelope = { + data: Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInput | Prisma.trip_membersCreateManyUsers_trip_members_invited_byTousersInput[] +} + +export type trip_membersCreateWithoutUsers_trip_members_user_idTousersInput = { + added_at?: Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersCreateNestedOneWithoutTrip_members_trip_members_invited_byTousersInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_membersInput +} + +export type trip_membersUncheckedCreateWithoutUsers_trip_members_user_idTousersInput = { + id?: number + trip_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersCreateOrConnectWithoutUsers_trip_members_user_idTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + create: Prisma.XOR +} + +export type trip_membersCreateManyUsers_trip_members_user_idTousersInputEnvelope = { + data: Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInput | Prisma.trip_membersCreateManyUsers_trip_members_user_idTousersInput[] +} + +export type trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_invited_byTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + data: Prisma.XOR +} + +export type trip_membersUpdateManyWithWhereWithoutUsers_trip_members_invited_byTousersInput = { + where: Prisma.trip_membersScalarWhereInput + data: Prisma.XOR +} + +export type trip_membersUpsertWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_membersUpdateWithWhereUniqueWithoutUsers_trip_members_user_idTousersInput = { + where: Prisma.trip_membersWhereUniqueInput + data: Prisma.XOR +} + +export type trip_membersUpdateManyWithWhereWithoutUsers_trip_members_user_idTousersInput = { + where: Prisma.trip_membersScalarWhereInput + data: Prisma.XOR +} + +export type trip_membersCreateManyTripsInput = { + id?: number + user_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersUpdateWithoutTripsInput = { + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersUpdateOneWithoutTrip_members_trip_members_invited_byTousersNestedInput + users_trip_members_user_idTousers?: Prisma.usersUpdateOneRequiredWithoutTrip_members_trip_members_user_idTousersNestedInput +} + +export type trip_membersUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersCreateManyUsers_trip_members_invited_byTousersInput = { + id?: number + trip_id: number + user_id: number + added_at?: Date | string | null +} + +export type trip_membersCreateManyUsers_trip_members_user_idTousersInput = { + id?: number + trip_id: number + invited_by?: number | null + added_at?: Date | string | null +} + +export type trip_membersUpdateWithoutUsers_trip_members_invited_byTousersInput = { + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_trip_members_user_idTousers?: Prisma.usersUpdateOneRequiredWithoutTrip_members_trip_members_user_idTousersNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_membersNestedInput +} + +export type trip_membersUncheckedUpdateWithoutUsers_trip_members_invited_byTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersUpdateWithoutUsers_trip_members_user_idTousersInput = { + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users_trip_members_invited_byTousers?: Prisma.usersUpdateOneWithoutTrip_members_trip_members_invited_byTousersNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_membersNestedInput +} + +export type trip_membersUncheckedUpdateWithoutUsers_trip_members_user_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type trip_membersSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + invited_by?: boolean + added_at?: boolean + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_members"]> + +export type trip_membersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + invited_by?: boolean + added_at?: boolean + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_members"]> + +export type trip_membersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + invited_by?: boolean + added_at?: boolean + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_members"]> + +export type trip_membersSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + invited_by?: boolean + added_at?: boolean +} + +export type trip_membersOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "invited_by" | "added_at", ExtArgs["result"]["trip_members"]> +export type trip_membersInclude = { + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_membersIncludeCreateManyAndReturn = { + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_membersIncludeUpdateManyAndReturn = { + users_trip_members_invited_byTousers?: boolean | Prisma.trip_members$users_trip_members_invited_byTousersArgs + users_trip_members_user_idTousers?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $trip_membersPayload = { + name: "trip_members" + objects: { + users_trip_members_invited_byTousers: Prisma.$usersPayload | null + users_trip_members_user_idTousers: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + invited_by: number | null + added_at: Date | null + }, ExtArgs["result"]["trip_members"]> + composites: {} +} + +export type trip_membersGetPayload = runtime.Types.Result.GetResult + +export type trip_membersCountArgs = + Omit & { + select?: Trip_membersCountAggregateInputType | true + } + +export interface trip_membersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trip_members'], meta: { name: 'trip_members' } } + /** + * Find zero or one Trip_members that matches the filter. + * @param {trip_membersFindUniqueArgs} args - Arguments to find a Trip_members + * @example + * // Get one Trip_members + * const trip_members = await prisma.trip_members.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trip_members that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trip_membersFindUniqueOrThrowArgs} args - Arguments to find a Trip_members + * @example + * // Get one Trip_members + * const trip_members = await prisma.trip_members.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersFindFirstArgs} args - Arguments to find a Trip_members + * @example + * // Get one Trip_members + * const trip_members = await prisma.trip_members.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_members that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersFindFirstOrThrowArgs} args - Arguments to find a Trip_members + * @example + * // Get one Trip_members + * const trip_members = await prisma.trip_members.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trip_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trip_members + * const trip_members = await prisma.trip_members.findMany() + * + * // Get first 10 Trip_members + * const trip_members = await prisma.trip_members.findMany({ take: 10 }) + * + * // Only select the `id` + * const trip_membersWithIdOnly = await prisma.trip_members.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trip_members. + * @param {trip_membersCreateArgs} args - Arguments to create a Trip_members. + * @example + * // Create one Trip_members + * const Trip_members = await prisma.trip_members.create({ + * data: { + * // ... data to create a Trip_members + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trip_members. + * @param {trip_membersCreateManyArgs} args - Arguments to create many Trip_members. + * @example + * // Create many Trip_members + * const trip_members = await prisma.trip_members.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trip_members and returns the data saved in the database. + * @param {trip_membersCreateManyAndReturnArgs} args - Arguments to create many Trip_members. + * @example + * // Create many Trip_members + * const trip_members = await prisma.trip_members.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trip_members and only return the `id` + * const trip_membersWithIdOnly = await prisma.trip_members.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trip_members. + * @param {trip_membersDeleteArgs} args - Arguments to delete one Trip_members. + * @example + * // Delete one Trip_members + * const Trip_members = await prisma.trip_members.delete({ + * where: { + * // ... filter to delete one Trip_members + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trip_members. + * @param {trip_membersUpdateArgs} args - Arguments to update one Trip_members. + * @example + * // Update one Trip_members + * const trip_members = await prisma.trip_members.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trip_members. + * @param {trip_membersDeleteManyArgs} args - Arguments to filter Trip_members to delete. + * @example + * // Delete a few Trip_members + * const { count } = await prisma.trip_members.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trip_members + * const trip_members = await prisma.trip_members.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_members and returns the data updated in the database. + * @param {trip_membersUpdateManyAndReturnArgs} args - Arguments to update many Trip_members. + * @example + * // Update many Trip_members + * const trip_members = await prisma.trip_members.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trip_members and only return the `id` + * const trip_membersWithIdOnly = await prisma.trip_members.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trip_members. + * @param {trip_membersUpsertArgs} args - Arguments to update or create a Trip_members. + * @example + * // Update or create a Trip_members + * const trip_members = await prisma.trip_members.upsert({ + * create: { + * // ... data to create a Trip_members + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trip_members we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trip_membersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trip_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersCountArgs} args - Arguments to filter Trip_members to count. + * @example + * // Count the number of Trip_members + * const count = await prisma.trip_members.count({ + * where: { + * // ... the filter for the Trip_members we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trip_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trip_membersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trip_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_membersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trip_membersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trip_membersGroupByArgs['orderBy'] } + : { orderBy?: trip_membersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrip_membersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trip_members model + */ +readonly fields: trip_membersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trip_members. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trip_membersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users_trip_members_invited_byTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + users_trip_members_user_idTousers = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trip_members model + */ +export interface trip_membersFieldRefs { + readonly id: Prisma.FieldRef<"trip_members", 'Int'> + readonly trip_id: Prisma.FieldRef<"trip_members", 'Int'> + readonly user_id: Prisma.FieldRef<"trip_members", 'Int'> + readonly invited_by: Prisma.FieldRef<"trip_members", 'Int'> + readonly added_at: Prisma.FieldRef<"trip_members", 'DateTime'> +} + + +// Custom InputTypes +/** + * trip_members findUnique + */ +export type trip_membersFindUniqueArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter, which trip_members to fetch. + */ + where: Prisma.trip_membersWhereUniqueInput +} + +/** + * trip_members findUniqueOrThrow + */ +export type trip_membersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter, which trip_members to fetch. + */ + where: Prisma.trip_membersWhereUniqueInput +} + +/** + * trip_members findFirst + */ +export type trip_membersFindFirstArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter, which trip_members to fetch. + */ + where?: Prisma.trip_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_members to fetch. + */ + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_members. + */ + cursor?: Prisma.trip_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_members. + */ + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * trip_members findFirstOrThrow + */ +export type trip_membersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter, which trip_members to fetch. + */ + where?: Prisma.trip_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_members to fetch. + */ + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_members. + */ + cursor?: Prisma.trip_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_members. + */ + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * trip_members findMany + */ +export type trip_membersFindManyArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter, which trip_members to fetch. + */ + where?: Prisma.trip_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_members to fetch. + */ + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trip_members. + */ + cursor?: Prisma.trip_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_members. + */ + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * trip_members create + */ +export type trip_membersCreateArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * The data needed to create a trip_members. + */ + data: Prisma.XOR +} + +/** + * trip_members createMany + */ +export type trip_membersCreateManyArgs = { + /** + * The data used to create many trip_members. + */ + data: Prisma.trip_membersCreateManyInput | Prisma.trip_membersCreateManyInput[] +} + +/** + * trip_members createManyAndReturn + */ +export type trip_membersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * The data used to create many trip_members. + */ + data: Prisma.trip_membersCreateManyInput | Prisma.trip_membersCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersIncludeCreateManyAndReturn | null +} + +/** + * trip_members update + */ +export type trip_membersUpdateArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * The data needed to update a trip_members. + */ + data: Prisma.XOR + /** + * Choose, which trip_members to update. + */ + where: Prisma.trip_membersWhereUniqueInput +} + +/** + * trip_members updateMany + */ +export type trip_membersUpdateManyArgs = { + /** + * The data used to update trip_members. + */ + data: Prisma.XOR + /** + * Filter which trip_members to update + */ + where?: Prisma.trip_membersWhereInput + /** + * Limit how many trip_members to update. + */ + limit?: number +} + +/** + * trip_members updateManyAndReturn + */ +export type trip_membersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * The data used to update trip_members. + */ + data: Prisma.XOR + /** + * Filter which trip_members to update + */ + where?: Prisma.trip_membersWhereInput + /** + * Limit how many trip_members to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersIncludeUpdateManyAndReturn | null +} + +/** + * trip_members upsert + */ +export type trip_membersUpsertArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * The filter to search for the trip_members to update in case it exists. + */ + where: Prisma.trip_membersWhereUniqueInput + /** + * In case the trip_members found by the `where` argument doesn't exist, create a new trip_members with this data. + */ + create: Prisma.XOR + /** + * In case the trip_members was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trip_members delete + */ +export type trip_membersDeleteArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + /** + * Filter which trip_members to delete. + */ + where: Prisma.trip_membersWhereUniqueInput +} + +/** + * trip_members deleteMany + */ +export type trip_membersDeleteManyArgs = { + /** + * Filter which trip_members to delete + */ + where?: Prisma.trip_membersWhereInput + /** + * Limit how many trip_members to delete. + */ + limit?: number +} + +/** + * trip_members.users_trip_members_invited_byTousers + */ +export type trip_members$users_trip_members_invited_byTousersArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + where?: Prisma.usersWhereInput +} + +/** + * trip_members without action + */ +export type trip_membersDefaultArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null +} diff --git a/server/src/generated/prisma/models/trip_photos.ts b/server/src/generated/prisma/models/trip_photos.ts new file mode 100644 index 00000000..32a423b1 --- /dev/null +++ b/server/src/generated/prisma/models/trip_photos.ts @@ -0,0 +1,1894 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trip_photos` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trip_photos + * + */ +export type trip_photosModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrip_photos = { + _count: Trip_photosCountAggregateOutputType | null + _avg: Trip_photosAvgAggregateOutputType | null + _sum: Trip_photosSumAggregateOutputType | null + _min: Trip_photosMinAggregateOutputType | null + _max: Trip_photosMaxAggregateOutputType | null +} + +export type Trip_photosAvgAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + photo_id: number | null + shared: number | null + album_link_id: number | null +} + +export type Trip_photosSumAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + photo_id: number | null + shared: number | null + album_link_id: number | null +} + +export type Trip_photosMinAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + photo_id: number | null + shared: number | null + album_link_id: number | null + added_at: Date | null +} + +export type Trip_photosMaxAggregateOutputType = { + id: number | null + trip_id: number | null + user_id: number | null + photo_id: number | null + shared: number | null + album_link_id: number | null + added_at: Date | null +} + +export type Trip_photosCountAggregateOutputType = { + id: number + trip_id: number + user_id: number + photo_id: number + shared: number + album_link_id: number + added_at: number + _all: number +} + + +export type Trip_photosAvgAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + photo_id?: true + shared?: true + album_link_id?: true +} + +export type Trip_photosSumAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + photo_id?: true + shared?: true + album_link_id?: true +} + +export type Trip_photosMinAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + photo_id?: true + shared?: true + album_link_id?: true + added_at?: true +} + +export type Trip_photosMaxAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + photo_id?: true + shared?: true + album_link_id?: true + added_at?: true +} + +export type Trip_photosCountAggregateInputType = { + id?: true + trip_id?: true + user_id?: true + photo_id?: true + shared?: true + album_link_id?: true + added_at?: true + _all?: true +} + +export type Trip_photosAggregateArgs = { + /** + * Filter which trip_photos to aggregate. + */ + where?: Prisma.trip_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_photos to fetch. + */ + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.trip_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trip_photos + **/ + _count?: true | Trip_photosCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Trip_photosAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Trip_photosSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Trip_photosMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Trip_photosMaxAggregateInputType +} + +export type GetTrip_photosAggregateType = { + [P in keyof T & keyof AggregateTrip_photos]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type trip_photosGroupByArgs = { + where?: Prisma.trip_photosWhereInput + orderBy?: Prisma.trip_photosOrderByWithAggregationInput | Prisma.trip_photosOrderByWithAggregationInput[] + by: Prisma.Trip_photosScalarFieldEnum[] | Prisma.Trip_photosScalarFieldEnum + having?: Prisma.trip_photosScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Trip_photosCountAggregateInputType | true + _avg?: Trip_photosAvgAggregateInputType + _sum?: Trip_photosSumAggregateInputType + _min?: Trip_photosMinAggregateInputType + _max?: Trip_photosMaxAggregateInputType +} + +export type Trip_photosGroupByOutputType = { + id: number + trip_id: number + user_id: number + photo_id: number + shared: number + album_link_id: number | null + added_at: Date | null + _count: Trip_photosCountAggregateOutputType | null + _avg: Trip_photosAvgAggregateOutputType | null + _sum: Trip_photosSumAggregateOutputType | null + _min: Trip_photosMinAggregateOutputType | null + _max: Trip_photosMaxAggregateOutputType | null +} + +export type GetTrip_photosGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Trip_photosGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type trip_photosWhereInput = { + AND?: Prisma.trip_photosWhereInput | Prisma.trip_photosWhereInput[] + OR?: Prisma.trip_photosWhereInput[] + NOT?: Prisma.trip_photosWhereInput | Prisma.trip_photosWhereInput[] + id?: Prisma.IntFilter<"trip_photos"> | number + trip_id?: Prisma.IntFilter<"trip_photos"> | number + user_id?: Prisma.IntFilter<"trip_photos"> | number + photo_id?: Prisma.IntFilter<"trip_photos"> | number + shared?: Prisma.IntFilter<"trip_photos"> | number + album_link_id?: Prisma.IntNullableFilter<"trip_photos"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_photos"> | Date | string | null + trip_album_links?: Prisma.XOR | null + trek_photos?: Prisma.XOR + users?: Prisma.XOR + trips?: Prisma.XOR +} + +export type trip_photosOrderByWithRelationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrderInput | Prisma.SortOrder + added_at?: Prisma.SortOrderInput | Prisma.SortOrder + trip_album_links?: Prisma.trip_album_linksOrderByWithRelationInput + trek_photos?: Prisma.trek_photosOrderByWithRelationInput + users?: Prisma.usersOrderByWithRelationInput + trips?: Prisma.tripsOrderByWithRelationInput +} + +export type trip_photosWhereUniqueInput = Prisma.AtLeast<{ + id?: number + trip_id_user_id_photo_id?: Prisma.trip_photosTrip_idUser_idPhoto_idCompoundUniqueInput + AND?: Prisma.trip_photosWhereInput | Prisma.trip_photosWhereInput[] + OR?: Prisma.trip_photosWhereInput[] + NOT?: Prisma.trip_photosWhereInput | Prisma.trip_photosWhereInput[] + trip_id?: Prisma.IntFilter<"trip_photos"> | number + user_id?: Prisma.IntFilter<"trip_photos"> | number + photo_id?: Prisma.IntFilter<"trip_photos"> | number + shared?: Prisma.IntFilter<"trip_photos"> | number + album_link_id?: Prisma.IntNullableFilter<"trip_photos"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_photos"> | Date | string | null + trip_album_links?: Prisma.XOR | null + trek_photos?: Prisma.XOR + users?: Prisma.XOR + trips?: Prisma.XOR +}, "id" | "trip_id_user_id_photo_id"> + +export type trip_photosOrderByWithAggregationInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrderInput | Prisma.SortOrder + added_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.trip_photosCountOrderByAggregateInput + _avg?: Prisma.trip_photosAvgOrderByAggregateInput + _max?: Prisma.trip_photosMaxOrderByAggregateInput + _min?: Prisma.trip_photosMinOrderByAggregateInput + _sum?: Prisma.trip_photosSumOrderByAggregateInput +} + +export type trip_photosScalarWhereWithAggregatesInput = { + AND?: Prisma.trip_photosScalarWhereWithAggregatesInput | Prisma.trip_photosScalarWhereWithAggregatesInput[] + OR?: Prisma.trip_photosScalarWhereWithAggregatesInput[] + NOT?: Prisma.trip_photosScalarWhereWithAggregatesInput | Prisma.trip_photosScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trip_photos"> | number + trip_id?: Prisma.IntWithAggregatesFilter<"trip_photos"> | number + user_id?: Prisma.IntWithAggregatesFilter<"trip_photos"> | number + photo_id?: Prisma.IntWithAggregatesFilter<"trip_photos"> | number + shared?: Prisma.IntWithAggregatesFilter<"trip_photos"> | number + album_link_id?: Prisma.IntNullableWithAggregatesFilter<"trip_photos"> | number | null + added_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trip_photos"> | Date | string | null +} + +export type trip_photosCreateInput = { + shared?: number + added_at?: Date | string | null + trip_album_links?: Prisma.trip_album_linksCreateNestedOneWithoutTrip_photosInput + trek_photos: Prisma.trek_photosCreateNestedOneWithoutTrip_photosInput + users: Prisma.usersCreateNestedOneWithoutTrip_photosInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_photosInput +} + +export type trip_photosUncheckedCreateInput = { + id?: number + trip_id: number + user_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosUpdateInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trip_album_links?: Prisma.trip_album_linksUpdateOneWithoutTrip_photosNestedInput + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutTrip_photosNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTrip_photosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_photosNestedInput +} + +export type trip_photosUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosCreateManyInput = { + id?: number + trip_id: number + user_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosUpdateManyMutationInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Trip_photosListRelationFilter = { + every?: Prisma.trip_photosWhereInput + some?: Prisma.trip_photosWhereInput + none?: Prisma.trip_photosWhereInput +} + +export type trip_photosOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type trip_photosTrip_idUser_idPhoto_idCompoundUniqueInput = { + trip_id: number + user_id: number + photo_id: number +} + +export type trip_photosCountOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_photosAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrder +} + +export type trip_photosMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_photosMinOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrder + added_at?: Prisma.SortOrder +} + +export type trip_photosSumOrderByAggregateInput = { + id?: Prisma.SortOrder + trip_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + photo_id?: Prisma.SortOrder + shared?: Prisma.SortOrder + album_link_id?: Prisma.SortOrder +} + +export type trip_photosCreateNestedManyWithoutTrek_photosInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrek_photosInput[] | Prisma.trip_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput | Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput[] + createMany?: Prisma.trip_photosCreateManyTrek_photosInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUncheckedCreateNestedManyWithoutTrek_photosInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrek_photosInput[] | Prisma.trip_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput | Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput[] + createMany?: Prisma.trip_photosCreateManyTrek_photosInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUpdateManyWithoutTrek_photosNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrek_photosInput[] | Prisma.trip_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput | Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTrek_photosInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTrek_photosInput[] + createMany?: Prisma.trip_photosCreateManyTrek_photosInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTrek_photosInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTrek_photosInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTrek_photosInput | Prisma.trip_photosUpdateManyWithWhereWithoutTrek_photosInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosUncheckedUpdateManyWithoutTrek_photosNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrek_photosInput[] | Prisma.trip_photosUncheckedCreateWithoutTrek_photosInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput | Prisma.trip_photosCreateOrConnectWithoutTrek_photosInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTrek_photosInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTrek_photosInput[] + createMany?: Prisma.trip_photosCreateManyTrek_photosInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTrek_photosInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTrek_photosInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTrek_photosInput | Prisma.trip_photosUpdateManyWithWhereWithoutTrek_photosInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosCreateNestedManyWithoutTrip_album_linksInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrip_album_linksInput[] | Prisma.trip_photosUncheckedCreateWithoutTrip_album_linksInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput | Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput[] + createMany?: Prisma.trip_photosCreateManyTrip_album_linksInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUncheckedCreateNestedManyWithoutTrip_album_linksInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrip_album_linksInput[] | Prisma.trip_photosUncheckedCreateWithoutTrip_album_linksInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput | Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput[] + createMany?: Prisma.trip_photosCreateManyTrip_album_linksInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUpdateManyWithoutTrip_album_linksNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrip_album_linksInput[] | Prisma.trip_photosUncheckedCreateWithoutTrip_album_linksInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput | Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTrip_album_linksInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTrip_album_linksInput[] + createMany?: Prisma.trip_photosCreateManyTrip_album_linksInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTrip_album_linksInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTrip_album_linksInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTrip_album_linksInput | Prisma.trip_photosUpdateManyWithWhereWithoutTrip_album_linksInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosUncheckedUpdateManyWithoutTrip_album_linksNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTrip_album_linksInput[] | Prisma.trip_photosUncheckedCreateWithoutTrip_album_linksInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput | Prisma.trip_photosCreateOrConnectWithoutTrip_album_linksInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTrip_album_linksInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTrip_album_linksInput[] + createMany?: Prisma.trip_photosCreateManyTrip_album_linksInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTrip_album_linksInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTrip_album_linksInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTrip_album_linksInput | Prisma.trip_photosUpdateManyWithWhereWithoutTrip_album_linksInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTripsInput[] | Prisma.trip_photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTripsInput | Prisma.trip_photosCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_photosCreateManyTripsInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUncheckedCreateNestedManyWithoutTripsInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTripsInput[] | Prisma.trip_photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTripsInput | Prisma.trip_photosCreateOrConnectWithoutTripsInput[] + createMany?: Prisma.trip_photosCreateManyTripsInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTripsInput[] | Prisma.trip_photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTripsInput | Prisma.trip_photosCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_photosCreateManyTripsInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTripsInput | Prisma.trip_photosUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosUncheckedUpdateManyWithoutTripsNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutTripsInput[] | Prisma.trip_photosUncheckedCreateWithoutTripsInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutTripsInput | Prisma.trip_photosCreateOrConnectWithoutTripsInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutTripsInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutTripsInput[] + createMany?: Prisma.trip_photosCreateManyTripsInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutTripsInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutTripsInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutTripsInput | Prisma.trip_photosUpdateManyWithWhereWithoutTripsInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutUsersInput[] | Prisma.trip_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutUsersInput | Prisma.trip_photosCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_photosCreateManyUsersInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutUsersInput[] | Prisma.trip_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutUsersInput | Prisma.trip_photosCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.trip_photosCreateManyUsersInputEnvelope + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] +} + +export type trip_photosUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutUsersInput[] | Prisma.trip_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutUsersInput | Prisma.trip_photosCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_photosCreateManyUsersInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutUsersInput | Prisma.trip_photosUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.trip_photosCreateWithoutUsersInput[] | Prisma.trip_photosUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.trip_photosCreateOrConnectWithoutUsersInput | Prisma.trip_photosCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.trip_photosUpsertWithWhereUniqueWithoutUsersInput | Prisma.trip_photosUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.trip_photosCreateManyUsersInputEnvelope + set?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + disconnect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + delete?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + connect?: Prisma.trip_photosWhereUniqueInput | Prisma.trip_photosWhereUniqueInput[] + update?: Prisma.trip_photosUpdateWithWhereUniqueWithoutUsersInput | Prisma.trip_photosUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.trip_photosUpdateManyWithWhereWithoutUsersInput | Prisma.trip_photosUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] +} + +export type trip_photosCreateWithoutTrek_photosInput = { + shared?: number + added_at?: Date | string | null + trip_album_links?: Prisma.trip_album_linksCreateNestedOneWithoutTrip_photosInput + users: Prisma.usersCreateNestedOneWithoutTrip_photosInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_photosInput +} + +export type trip_photosUncheckedCreateWithoutTrek_photosInput = { + id?: number + trip_id: number + user_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosCreateOrConnectWithoutTrek_photosInput = { + where: Prisma.trip_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trip_photosCreateManyTrek_photosInputEnvelope = { + data: Prisma.trip_photosCreateManyTrek_photosInput | Prisma.trip_photosCreateManyTrek_photosInput[] +} + +export type trip_photosUpsertWithWhereUniqueWithoutTrek_photosInput = { + where: Prisma.trip_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_photosUpdateWithWhereUniqueWithoutTrek_photosInput = { + where: Prisma.trip_photosWhereUniqueInput + data: Prisma.XOR +} + +export type trip_photosUpdateManyWithWhereWithoutTrek_photosInput = { + where: Prisma.trip_photosScalarWhereInput + data: Prisma.XOR +} + +export type trip_photosScalarWhereInput = { + AND?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] + OR?: Prisma.trip_photosScalarWhereInput[] + NOT?: Prisma.trip_photosScalarWhereInput | Prisma.trip_photosScalarWhereInput[] + id?: Prisma.IntFilter<"trip_photos"> | number + trip_id?: Prisma.IntFilter<"trip_photos"> | number + user_id?: Prisma.IntFilter<"trip_photos"> | number + photo_id?: Prisma.IntFilter<"trip_photos"> | number + shared?: Prisma.IntFilter<"trip_photos"> | number + album_link_id?: Prisma.IntNullableFilter<"trip_photos"> | number | null + added_at?: Prisma.DateTimeNullableFilter<"trip_photos"> | Date | string | null +} + +export type trip_photosCreateWithoutTrip_album_linksInput = { + shared?: number + added_at?: Date | string | null + trek_photos: Prisma.trek_photosCreateNestedOneWithoutTrip_photosInput + users: Prisma.usersCreateNestedOneWithoutTrip_photosInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_photosInput +} + +export type trip_photosUncheckedCreateWithoutTrip_album_linksInput = { + id?: number + trip_id: number + user_id: number + photo_id: number + shared?: number + added_at?: Date | string | null +} + +export type trip_photosCreateOrConnectWithoutTrip_album_linksInput = { + where: Prisma.trip_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trip_photosCreateManyTrip_album_linksInputEnvelope = { + data: Prisma.trip_photosCreateManyTrip_album_linksInput | Prisma.trip_photosCreateManyTrip_album_linksInput[] +} + +export type trip_photosUpsertWithWhereUniqueWithoutTrip_album_linksInput = { + where: Prisma.trip_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_photosUpdateWithWhereUniqueWithoutTrip_album_linksInput = { + where: Prisma.trip_photosWhereUniqueInput + data: Prisma.XOR +} + +export type trip_photosUpdateManyWithWhereWithoutTrip_album_linksInput = { + where: Prisma.trip_photosScalarWhereInput + data: Prisma.XOR +} + +export type trip_photosCreateWithoutTripsInput = { + shared?: number + added_at?: Date | string | null + trip_album_links?: Prisma.trip_album_linksCreateNestedOneWithoutTrip_photosInput + trek_photos: Prisma.trek_photosCreateNestedOneWithoutTrip_photosInput + users: Prisma.usersCreateNestedOneWithoutTrip_photosInput +} + +export type trip_photosUncheckedCreateWithoutTripsInput = { + id?: number + user_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosCreateOrConnectWithoutTripsInput = { + where: Prisma.trip_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trip_photosCreateManyTripsInputEnvelope = { + data: Prisma.trip_photosCreateManyTripsInput | Prisma.trip_photosCreateManyTripsInput[] +} + +export type trip_photosUpsertWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_photosUpdateWithWhereUniqueWithoutTripsInput = { + where: Prisma.trip_photosWhereUniqueInput + data: Prisma.XOR +} + +export type trip_photosUpdateManyWithWhereWithoutTripsInput = { + where: Prisma.trip_photosScalarWhereInput + data: Prisma.XOR +} + +export type trip_photosCreateWithoutUsersInput = { + shared?: number + added_at?: Date | string | null + trip_album_links?: Prisma.trip_album_linksCreateNestedOneWithoutTrip_photosInput + trek_photos: Prisma.trek_photosCreateNestedOneWithoutTrip_photosInput + trips: Prisma.tripsCreateNestedOneWithoutTrip_photosInput +} + +export type trip_photosUncheckedCreateWithoutUsersInput = { + id?: number + trip_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosCreateOrConnectWithoutUsersInput = { + where: Prisma.trip_photosWhereUniqueInput + create: Prisma.XOR +} + +export type trip_photosCreateManyUsersInputEnvelope = { + data: Prisma.trip_photosCreateManyUsersInput | Prisma.trip_photosCreateManyUsersInput[] +} + +export type trip_photosUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_photosWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type trip_photosUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.trip_photosWhereUniqueInput + data: Prisma.XOR +} + +export type trip_photosUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.trip_photosScalarWhereInput + data: Prisma.XOR +} + +export type trip_photosCreateManyTrek_photosInput = { + id?: number + trip_id: number + user_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosUpdateWithoutTrek_photosInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trip_album_links?: Prisma.trip_album_linksUpdateOneWithoutTrip_photosNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTrip_photosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_photosNestedInput +} + +export type trip_photosUncheckedUpdateWithoutTrek_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosUncheckedUpdateManyWithoutTrek_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosCreateManyTrip_album_linksInput = { + id?: number + trip_id: number + user_id: number + photo_id: number + shared?: number + added_at?: Date | string | null +} + +export type trip_photosUpdateWithoutTrip_album_linksInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutTrip_photosNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTrip_photosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_photosNestedInput +} + +export type trip_photosUncheckedUpdateWithoutTrip_album_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosUncheckedUpdateManyWithoutTrip_album_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosCreateManyTripsInput = { + id?: number + user_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosUpdateWithoutTripsInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trip_album_links?: Prisma.trip_album_linksUpdateOneWithoutTrip_photosNestedInput + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutTrip_photosNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTrip_photosNestedInput +} + +export type trip_photosUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosUncheckedUpdateManyWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosCreateManyUsersInput = { + id?: number + trip_id: number + photo_id: number + shared?: number + album_link_id?: number | null + added_at?: Date | string | null +} + +export type trip_photosUpdateWithoutUsersInput = { + shared?: Prisma.IntFieldUpdateOperationsInput | number + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + trip_album_links?: Prisma.trip_album_linksUpdateOneWithoutTrip_photosNestedInput + trek_photos?: Prisma.trek_photosUpdateOneRequiredWithoutTrip_photosNestedInput + trips?: Prisma.tripsUpdateOneRequiredWithoutTrip_photosNestedInput +} + +export type trip_photosUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type trip_photosUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + trip_id?: Prisma.IntFieldUpdateOperationsInput | number + photo_id?: Prisma.IntFieldUpdateOperationsInput | number + shared?: Prisma.IntFieldUpdateOperationsInput | number + album_link_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + added_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type trip_photosSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + photo_id?: boolean + shared?: boolean + album_link_id?: boolean + added_at?: boolean + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_photos"]> + +export type trip_photosSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + photo_id?: boolean + shared?: boolean + album_link_id?: boolean + added_at?: boolean + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_photos"]> + +export type trip_photosSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + trip_id?: boolean + user_id?: boolean + photo_id?: boolean + shared?: boolean + album_link_id?: boolean + added_at?: boolean + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +}, ExtArgs["result"]["trip_photos"]> + +export type trip_photosSelectScalar = { + id?: boolean + trip_id?: boolean + user_id?: boolean + photo_id?: boolean + shared?: boolean + album_link_id?: boolean + added_at?: boolean +} + +export type trip_photosOmit = runtime.Types.Extensions.GetOmit<"id" | "trip_id" | "user_id" | "photo_id" | "shared" | "album_link_id" | "added_at", ExtArgs["result"]["trip_photos"]> +export type trip_photosInclude = { + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_photosIncludeCreateManyAndReturn = { + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} +export type trip_photosIncludeUpdateManyAndReturn = { + trip_album_links?: boolean | Prisma.trip_photos$trip_album_linksArgs + trek_photos?: boolean | Prisma.trek_photosDefaultArgs + users?: boolean | Prisma.usersDefaultArgs + trips?: boolean | Prisma.tripsDefaultArgs +} + +export type $trip_photosPayload = { + name: "trip_photos" + objects: { + trip_album_links: Prisma.$trip_album_linksPayload | null + trek_photos: Prisma.$trek_photosPayload + users: Prisma.$usersPayload + trips: Prisma.$tripsPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + trip_id: number + user_id: number + photo_id: number + shared: number + album_link_id: number | null + added_at: Date | null + }, ExtArgs["result"]["trip_photos"]> + composites: {} +} + +export type trip_photosGetPayload = runtime.Types.Result.GetResult + +export type trip_photosCountArgs = + Omit & { + select?: Trip_photosCountAggregateInputType | true + } + +export interface trip_photosDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trip_photos'], meta: { name: 'trip_photos' } } + /** + * Find zero or one Trip_photos that matches the filter. + * @param {trip_photosFindUniqueArgs} args - Arguments to find a Trip_photos + * @example + * // Get one Trip_photos + * const trip_photos = await prisma.trip_photos.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trip_photos that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {trip_photosFindUniqueOrThrowArgs} args - Arguments to find a Trip_photos + * @example + * // Get one Trip_photos + * const trip_photos = await prisma.trip_photos.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosFindFirstArgs} args - Arguments to find a Trip_photos + * @example + * // Get one Trip_photos + * const trip_photos = await prisma.trip_photos.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trip_photos that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosFindFirstOrThrowArgs} args - Arguments to find a Trip_photos + * @example + * // Get one Trip_photos + * const trip_photos = await prisma.trip_photos.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trip_photos that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trip_photos + * const trip_photos = await prisma.trip_photos.findMany() + * + * // Get first 10 Trip_photos + * const trip_photos = await prisma.trip_photos.findMany({ take: 10 }) + * + * // Only select the `id` + * const trip_photosWithIdOnly = await prisma.trip_photos.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trip_photos. + * @param {trip_photosCreateArgs} args - Arguments to create a Trip_photos. + * @example + * // Create one Trip_photos + * const Trip_photos = await prisma.trip_photos.create({ + * data: { + * // ... data to create a Trip_photos + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trip_photos. + * @param {trip_photosCreateManyArgs} args - Arguments to create many Trip_photos. + * @example + * // Create many Trip_photos + * const trip_photos = await prisma.trip_photos.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trip_photos and returns the data saved in the database. + * @param {trip_photosCreateManyAndReturnArgs} args - Arguments to create many Trip_photos. + * @example + * // Create many Trip_photos + * const trip_photos = await prisma.trip_photos.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trip_photos and only return the `id` + * const trip_photosWithIdOnly = await prisma.trip_photos.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trip_photos. + * @param {trip_photosDeleteArgs} args - Arguments to delete one Trip_photos. + * @example + * // Delete one Trip_photos + * const Trip_photos = await prisma.trip_photos.delete({ + * where: { + * // ... filter to delete one Trip_photos + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trip_photos. + * @param {trip_photosUpdateArgs} args - Arguments to update one Trip_photos. + * @example + * // Update one Trip_photos + * const trip_photos = await prisma.trip_photos.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trip_photos. + * @param {trip_photosDeleteManyArgs} args - Arguments to filter Trip_photos to delete. + * @example + * // Delete a few Trip_photos + * const { count } = await prisma.trip_photos.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trip_photos + * const trip_photos = await prisma.trip_photos.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trip_photos and returns the data updated in the database. + * @param {trip_photosUpdateManyAndReturnArgs} args - Arguments to update many Trip_photos. + * @example + * // Update many Trip_photos + * const trip_photos = await prisma.trip_photos.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trip_photos and only return the `id` + * const trip_photosWithIdOnly = await prisma.trip_photos.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trip_photos. + * @param {trip_photosUpsertArgs} args - Arguments to update or create a Trip_photos. + * @example + * // Update or create a Trip_photos + * const trip_photos = await prisma.trip_photos.upsert({ + * create: { + * // ... data to create a Trip_photos + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trip_photos we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__trip_photosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trip_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosCountArgs} args - Arguments to filter Trip_photos to count. + * @example + * // Count the number of Trip_photos + * const count = await prisma.trip_photos.count({ + * where: { + * // ... the filter for the Trip_photos we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trip_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Trip_photosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trip_photos. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {trip_photosGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends trip_photosGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: trip_photosGroupByArgs['orderBy'] } + : { orderBy?: trip_photosGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTrip_photosGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trip_photos model + */ +readonly fields: trip_photosFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trip_photos. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__trip_photosClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + trip_album_links = {}>(args?: Prisma.Subset>): Prisma.Prisma__trip_album_linksClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + trek_photos = {}>(args?: Prisma.Subset>): Prisma.Prisma__trek_photosClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + trips = {}>(args?: Prisma.Subset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trip_photos model + */ +export interface trip_photosFieldRefs { + readonly id: Prisma.FieldRef<"trip_photos", 'Int'> + readonly trip_id: Prisma.FieldRef<"trip_photos", 'Int'> + readonly user_id: Prisma.FieldRef<"trip_photos", 'Int'> + readonly photo_id: Prisma.FieldRef<"trip_photos", 'Int'> + readonly shared: Prisma.FieldRef<"trip_photos", 'Int'> + readonly album_link_id: Prisma.FieldRef<"trip_photos", 'Int'> + readonly added_at: Prisma.FieldRef<"trip_photos", 'DateTime'> +} + + +// Custom InputTypes +/** + * trip_photos findUnique + */ +export type trip_photosFindUniqueArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter, which trip_photos to fetch. + */ + where: Prisma.trip_photosWhereUniqueInput +} + +/** + * trip_photos findUniqueOrThrow + */ +export type trip_photosFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter, which trip_photos to fetch. + */ + where: Prisma.trip_photosWhereUniqueInput +} + +/** + * trip_photos findFirst + */ +export type trip_photosFindFirstArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter, which trip_photos to fetch. + */ + where?: Prisma.trip_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_photos to fetch. + */ + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_photos. + */ + cursor?: Prisma.trip_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_photos. + */ + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trip_photos findFirstOrThrow + */ +export type trip_photosFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter, which trip_photos to fetch. + */ + where?: Prisma.trip_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_photos to fetch. + */ + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trip_photos. + */ + cursor?: Prisma.trip_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_photos. + */ + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trip_photos findMany + */ +export type trip_photosFindManyArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter, which trip_photos to fetch. + */ + where?: Prisma.trip_photosWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trip_photos to fetch. + */ + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trip_photos. + */ + cursor?: Prisma.trip_photosWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trip_photos from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trip_photos. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trip_photos. + */ + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trip_photos create + */ +export type trip_photosCreateArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * The data needed to create a trip_photos. + */ + data: Prisma.XOR +} + +/** + * trip_photos createMany + */ +export type trip_photosCreateManyArgs = { + /** + * The data used to create many trip_photos. + */ + data: Prisma.trip_photosCreateManyInput | Prisma.trip_photosCreateManyInput[] +} + +/** + * trip_photos createManyAndReturn + */ +export type trip_photosCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * The data used to create many trip_photos. + */ + data: Prisma.trip_photosCreateManyInput | Prisma.trip_photosCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosIncludeCreateManyAndReturn | null +} + +/** + * trip_photos update + */ +export type trip_photosUpdateArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * The data needed to update a trip_photos. + */ + data: Prisma.XOR + /** + * Choose, which trip_photos to update. + */ + where: Prisma.trip_photosWhereUniqueInput +} + +/** + * trip_photos updateMany + */ +export type trip_photosUpdateManyArgs = { + /** + * The data used to update trip_photos. + */ + data: Prisma.XOR + /** + * Filter which trip_photos to update + */ + where?: Prisma.trip_photosWhereInput + /** + * Limit how many trip_photos to update. + */ + limit?: number +} + +/** + * trip_photos updateManyAndReturn + */ +export type trip_photosUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * The data used to update trip_photos. + */ + data: Prisma.XOR + /** + * Filter which trip_photos to update + */ + where?: Prisma.trip_photosWhereInput + /** + * Limit how many trip_photos to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosIncludeUpdateManyAndReturn | null +} + +/** + * trip_photos upsert + */ +export type trip_photosUpsertArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * The filter to search for the trip_photos to update in case it exists. + */ + where: Prisma.trip_photosWhereUniqueInput + /** + * In case the trip_photos found by the `where` argument doesn't exist, create a new trip_photos with this data. + */ + create: Prisma.XOR + /** + * In case the trip_photos was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trip_photos delete + */ +export type trip_photosDeleteArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + /** + * Filter which trip_photos to delete. + */ + where: Prisma.trip_photosWhereUniqueInput +} + +/** + * trip_photos deleteMany + */ +export type trip_photosDeleteManyArgs = { + /** + * Filter which trip_photos to delete + */ + where?: Prisma.trip_photosWhereInput + /** + * Limit how many trip_photos to delete. + */ + limit?: number +} + +/** + * trip_photos.trip_album_links + */ +export type trip_photos$trip_album_linksArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + where?: Prisma.trip_album_linksWhereInput +} + +/** + * trip_photos without action + */ +export type trip_photosDefaultArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null +} diff --git a/server/src/generated/prisma/models/trips.ts b/server/src/generated/prisma/models/trips.ts new file mode 100644 index 00000000..5e403198 --- /dev/null +++ b/server/src/generated/prisma/models/trips.ts @@ -0,0 +1,6830 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `trips` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model trips + * + */ +export type tripsModel = runtime.Types.Result.DefaultSelection + +export type AggregateTrips = { + _count: TripsCountAggregateOutputType | null + _avg: TripsAvgAggregateOutputType | null + _sum: TripsSumAggregateOutputType | null + _min: TripsMinAggregateOutputType | null + _max: TripsMaxAggregateOutputType | null +} + +export type TripsAvgAggregateOutputType = { + id: number | null + user_id: number | null + is_archived: number | null + reminder_days: number | null +} + +export type TripsSumAggregateOutputType = { + id: number | null + user_id: number | null + is_archived: number | null + reminder_days: number | null +} + +export type TripsMinAggregateOutputType = { + id: number | null + user_id: number | null + title: string | null + description: string | null + start_date: string | null + end_date: string | null + currency: string | null + cover_image: string | null + is_archived: number | null + reminder_days: number | null + created_at: Date | null + updated_at: Date | null +} + +export type TripsMaxAggregateOutputType = { + id: number | null + user_id: number | null + title: string | null + description: string | null + start_date: string | null + end_date: string | null + currency: string | null + cover_image: string | null + is_archived: number | null + reminder_days: number | null + created_at: Date | null + updated_at: Date | null +} + +export type TripsCountAggregateOutputType = { + id: number + user_id: number + title: number + description: number + start_date: number + end_date: number + currency: number + cover_image: number + is_archived: number + reminder_days: number + created_at: number + updated_at: number + _all: number +} + + +export type TripsAvgAggregateInputType = { + id?: true + user_id?: true + is_archived?: true + reminder_days?: true +} + +export type TripsSumAggregateInputType = { + id?: true + user_id?: true + is_archived?: true + reminder_days?: true +} + +export type TripsMinAggregateInputType = { + id?: true + user_id?: true + title?: true + description?: true + start_date?: true + end_date?: true + currency?: true + cover_image?: true + is_archived?: true + reminder_days?: true + created_at?: true + updated_at?: true +} + +export type TripsMaxAggregateInputType = { + id?: true + user_id?: true + title?: true + description?: true + start_date?: true + end_date?: true + currency?: true + cover_image?: true + is_archived?: true + reminder_days?: true + created_at?: true + updated_at?: true +} + +export type TripsCountAggregateInputType = { + id?: true + user_id?: true + title?: true + description?: true + start_date?: true + end_date?: true + currency?: true + cover_image?: true + is_archived?: true + reminder_days?: true + created_at?: true + updated_at?: true + _all?: true +} + +export type TripsAggregateArgs = { + /** + * Filter which trips to aggregate. + */ + where?: Prisma.tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trips to fetch. + */ + orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned trips + **/ + _count?: true | TripsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: TripsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: TripsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: TripsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: TripsMaxAggregateInputType +} + +export type GetTripsAggregateType = { + [P in keyof T & keyof AggregateTrips]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type tripsGroupByArgs = { + where?: Prisma.tripsWhereInput + orderBy?: Prisma.tripsOrderByWithAggregationInput | Prisma.tripsOrderByWithAggregationInput[] + by: Prisma.TripsScalarFieldEnum[] | Prisma.TripsScalarFieldEnum + having?: Prisma.tripsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: TripsCountAggregateInputType | true + _avg?: TripsAvgAggregateInputType + _sum?: TripsSumAggregateInputType + _min?: TripsMinAggregateInputType + _max?: TripsMaxAggregateInputType +} + +export type TripsGroupByOutputType = { + id: number + user_id: number + title: string + description: string | null + start_date: string | null + end_date: string | null + currency: string | null + cover_image: string | null + is_archived: number | null + reminder_days: number | null + created_at: Date | null + updated_at: Date | null + _count: TripsCountAggregateOutputType | null + _avg: TripsAvgAggregateOutputType | null + _sum: TripsSumAggregateOutputType | null + _min: TripsMinAggregateOutputType | null + _max: TripsMaxAggregateOutputType | null +} + +export type GetTripsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof TripsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type tripsWhereInput = { + AND?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[] + OR?: Prisma.tripsWhereInput[] + NOT?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[] + id?: Prisma.IntFilter<"trips"> | number + user_id?: Prisma.IntFilter<"trips"> | number + title?: Prisma.StringFilter<"trips"> | string + description?: Prisma.StringNullableFilter<"trips"> | string | null + start_date?: Prisma.StringNullableFilter<"trips"> | string | null + end_date?: Prisma.StringNullableFilter<"trips"> | string | null + currency?: Prisma.StringNullableFilter<"trips"> | string | null + cover_image?: Prisma.StringNullableFilter<"trips"> | string | null + is_archived?: Prisma.IntNullableFilter<"trips"> | number | null + reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null + budget_category_order?: Prisma.Budget_category_orderListRelationFilter + budget_items?: Prisma.Budget_itemsListRelationFilter + collab_messages?: Prisma.Collab_messagesListRelationFilter + collab_notes?: Prisma.Collab_notesListRelationFilter + collab_polls?: Prisma.Collab_pollsListRelationFilter + day_accommodations?: Prisma.Day_accommodationsListRelationFilter + day_notes?: Prisma.Day_notesListRelationFilter + days?: Prisma.DaysListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_trips?: Prisma.Journey_tripsListRelationFilter + packing_bags?: Prisma.Packing_bagsListRelationFilter + packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter + packing_items?: Prisma.Packing_itemsListRelationFilter + photos?: Prisma.PhotosListRelationFilter + places?: Prisma.PlacesListRelationFilter + reservations?: Prisma.ReservationsListRelationFilter + share_tokens?: Prisma.Share_tokensListRelationFilter + todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter + todo_items?: Prisma.Todo_itemsListRelationFilter + trip_album_links?: Prisma.Trip_album_linksListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter + trip_members?: Prisma.Trip_membersListRelationFilter + trip_photos?: Prisma.Trip_photosListRelationFilter + users?: Prisma.XOR +} + +export type tripsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + start_date?: Prisma.SortOrderInput | Prisma.SortOrder + end_date?: Prisma.SortOrderInput | Prisma.SortOrder + currency?: Prisma.SortOrderInput | Prisma.SortOrder + cover_image?: Prisma.SortOrderInput | Prisma.SortOrder + is_archived?: Prisma.SortOrderInput | Prisma.SortOrder + reminder_days?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + budget_category_order?: Prisma.budget_category_orderOrderByRelationAggregateInput + budget_items?: Prisma.budget_itemsOrderByRelationAggregateInput + collab_messages?: Prisma.collab_messagesOrderByRelationAggregateInput + collab_notes?: Prisma.collab_notesOrderByRelationAggregateInput + collab_polls?: Prisma.collab_pollsOrderByRelationAggregateInput + day_accommodations?: Prisma.day_accommodationsOrderByRelationAggregateInput + day_notes?: Prisma.day_notesOrderByRelationAggregateInput + days?: Prisma.daysOrderByRelationAggregateInput + journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput + journey_trips?: Prisma.journey_tripsOrderByRelationAggregateInput + packing_bags?: Prisma.packing_bagsOrderByRelationAggregateInput + packing_category_assignees?: Prisma.packing_category_assigneesOrderByRelationAggregateInput + packing_items?: Prisma.packing_itemsOrderByRelationAggregateInput + photos?: Prisma.photosOrderByRelationAggregateInput + places?: Prisma.placesOrderByRelationAggregateInput + reservations?: Prisma.reservationsOrderByRelationAggregateInput + share_tokens?: Prisma.share_tokensOrderByRelationAggregateInput + todo_category_assignees?: Prisma.todo_category_assigneesOrderByRelationAggregateInput + todo_items?: Prisma.todo_itemsOrderByRelationAggregateInput + trip_album_links?: Prisma.trip_album_linksOrderByRelationAggregateInput + trip_files?: Prisma.trip_filesOrderByRelationAggregateInput + trip_members?: Prisma.trip_membersOrderByRelationAggregateInput + trip_photos?: Prisma.trip_photosOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type tripsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[] + OR?: Prisma.tripsWhereInput[] + NOT?: Prisma.tripsWhereInput | Prisma.tripsWhereInput[] + user_id?: Prisma.IntFilter<"trips"> | number + title?: Prisma.StringFilter<"trips"> | string + description?: Prisma.StringNullableFilter<"trips"> | string | null + start_date?: Prisma.StringNullableFilter<"trips"> | string | null + end_date?: Prisma.StringNullableFilter<"trips"> | string | null + currency?: Prisma.StringNullableFilter<"trips"> | string | null + cover_image?: Prisma.StringNullableFilter<"trips"> | string | null + is_archived?: Prisma.IntNullableFilter<"trips"> | number | null + reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null + budget_category_order?: Prisma.Budget_category_orderListRelationFilter + budget_items?: Prisma.Budget_itemsListRelationFilter + collab_messages?: Prisma.Collab_messagesListRelationFilter + collab_notes?: Prisma.Collab_notesListRelationFilter + collab_polls?: Prisma.Collab_pollsListRelationFilter + day_accommodations?: Prisma.Day_accommodationsListRelationFilter + day_notes?: Prisma.Day_notesListRelationFilter + days?: Prisma.DaysListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_trips?: Prisma.Journey_tripsListRelationFilter + packing_bags?: Prisma.Packing_bagsListRelationFilter + packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter + packing_items?: Prisma.Packing_itemsListRelationFilter + photos?: Prisma.PhotosListRelationFilter + places?: Prisma.PlacesListRelationFilter + reservations?: Prisma.ReservationsListRelationFilter + share_tokens?: Prisma.Share_tokensListRelationFilter + todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter + todo_items?: Prisma.Todo_itemsListRelationFilter + trip_album_links?: Prisma.Trip_album_linksListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter + trip_members?: Prisma.Trip_membersListRelationFilter + trip_photos?: Prisma.Trip_photosListRelationFilter + users?: Prisma.XOR +}, "id"> + +export type tripsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + description?: Prisma.SortOrderInput | Prisma.SortOrder + start_date?: Prisma.SortOrderInput | Prisma.SortOrder + end_date?: Prisma.SortOrderInput | Prisma.SortOrder + currency?: Prisma.SortOrderInput | Prisma.SortOrder + cover_image?: Prisma.SortOrderInput | Prisma.SortOrder + is_archived?: Prisma.SortOrderInput | Prisma.SortOrder + reminder_days?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.tripsCountOrderByAggregateInput + _avg?: Prisma.tripsAvgOrderByAggregateInput + _max?: Prisma.tripsMaxOrderByAggregateInput + _min?: Prisma.tripsMinOrderByAggregateInput + _sum?: Prisma.tripsSumOrderByAggregateInput +} + +export type tripsScalarWhereWithAggregatesInput = { + AND?: Prisma.tripsScalarWhereWithAggregatesInput | Prisma.tripsScalarWhereWithAggregatesInput[] + OR?: Prisma.tripsScalarWhereWithAggregatesInput[] + NOT?: Prisma.tripsScalarWhereWithAggregatesInput | Prisma.tripsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"trips"> | number + user_id?: Prisma.IntWithAggregatesFilter<"trips"> | number + title?: Prisma.StringWithAggregatesFilter<"trips"> | string + description?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null + start_date?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null + end_date?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null + currency?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null + cover_image?: Prisma.StringNullableWithAggregatesFilter<"trips"> | string | null + is_archived?: Prisma.IntNullableWithAggregatesFilter<"trips"> | number | null + reminder_days?: Prisma.IntNullableWithAggregatesFilter<"trips"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trips"> | Date | string | null + updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"trips"> | Date | string | null +} + +export type tripsCreateInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsUpdateInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateManyInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null +} + +export type tripsUpdateManyMutationInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type tripsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type TripsScalarRelationFilter = { + is?: Prisma.tripsWhereInput + isNot?: Prisma.tripsWhereInput +} + +export type TripsNullableScalarRelationFilter = { + is?: Prisma.tripsWhereInput | null + isNot?: Prisma.tripsWhereInput | null +} + +export type tripsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + description?: Prisma.SortOrder + start_date?: Prisma.SortOrder + end_date?: Prisma.SortOrder + currency?: Prisma.SortOrder + cover_image?: Prisma.SortOrder + is_archived?: Prisma.SortOrder + reminder_days?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type tripsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + is_archived?: Prisma.SortOrder + reminder_days?: Prisma.SortOrder +} + +export type tripsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + description?: Prisma.SortOrder + start_date?: Prisma.SortOrder + end_date?: Prisma.SortOrder + currency?: Prisma.SortOrder + cover_image?: Prisma.SortOrder + is_archived?: Prisma.SortOrder + reminder_days?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type tripsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + title?: Prisma.SortOrder + description?: Prisma.SortOrder + start_date?: Prisma.SortOrder + end_date?: Prisma.SortOrder + currency?: Prisma.SortOrder + cover_image?: Prisma.SortOrder + is_archived?: Prisma.SortOrder + reminder_days?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder +} + +export type tripsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + is_archived?: Prisma.SortOrder + reminder_days?: Prisma.SortOrder +} + +export type TripsListRelationFilter = { + every?: Prisma.tripsWhereInput + some?: Prisma.tripsWhereInput + none?: Prisma.tripsWhereInput +} + +export type tripsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type tripsCreateNestedOneWithoutBudget_category_orderInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_category_orderInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutBudget_category_orderNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_category_orderInput + upsert?: Prisma.tripsUpsertWithoutBudget_category_orderInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutBudget_category_orderInput> +} + +export type tripsCreateNestedOneWithoutBudget_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_itemsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutBudget_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutBudget_itemsInput + upsert?: Prisma.tripsUpsertWithoutBudget_itemsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutBudget_itemsInput> +} + +export type tripsCreateNestedOneWithoutCollab_messagesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_messagesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_messagesInput + upsert?: Prisma.tripsUpsertWithoutCollab_messagesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutCollab_messagesInput> +} + +export type tripsCreateNestedOneWithoutCollab_notesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_notesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutCollab_notesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_notesInput + upsert?: Prisma.tripsUpsertWithoutCollab_notesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutCollab_notesInput> +} + +export type tripsCreateNestedOneWithoutCollab_pollsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_pollsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutCollab_pollsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutCollab_pollsInput + upsert?: Prisma.tripsUpsertWithoutCollab_pollsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutCollab_pollsInput> +} + +export type tripsCreateNestedOneWithoutDay_accommodationsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_accommodationsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutDay_accommodationsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_accommodationsInput + upsert?: Prisma.tripsUpsertWithoutDay_accommodationsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutDay_accommodationsInput> +} + +export type tripsCreateNestedOneWithoutDay_notesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_notesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutDay_notesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDay_notesInput + upsert?: Prisma.tripsUpsertWithoutDay_notesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutDay_notesInput> +} + +export type tripsCreateNestedOneWithoutDaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDaysInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutDaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutDaysInput + upsert?: Prisma.tripsUpsertWithoutDaysInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutDaysInput> +} + +export type tripsCreateNestedOneWithoutJourney_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_entriesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_entriesInput + upsert?: Prisma.tripsUpsertWithoutJourney_entriesInput + disconnect?: Prisma.tripsWhereInput | boolean + delete?: Prisma.tripsWhereInput | boolean + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutJourney_entriesInput> +} + +export type tripsCreateNestedOneWithoutJourney_tripsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_tripsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutJourney_tripsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutJourney_tripsInput + upsert?: Prisma.tripsUpsertWithoutJourney_tripsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutJourney_tripsInput> +} + +export type tripsCreateNestedOneWithoutPacking_bagsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_bagsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_bagsInput + upsert?: Prisma.tripsUpsertWithoutPacking_bagsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutPacking_bagsInput> +} + +export type tripsCreateNestedOneWithoutPacking_category_assigneesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_category_assigneesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutPacking_category_assigneesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_category_assigneesInput + upsert?: Prisma.tripsUpsertWithoutPacking_category_assigneesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutPacking_category_assigneesInput> +} + +export type tripsCreateNestedOneWithoutPacking_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_itemsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutPacking_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPacking_itemsInput + upsert?: Prisma.tripsUpsertWithoutPacking_itemsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutPacking_itemsInput> +} + +export type tripsCreateNestedOneWithoutPhotosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPhotosInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutPhotosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPhotosInput + upsert?: Prisma.tripsUpsertWithoutPhotosInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutPhotosInput> +} + +export type tripsCreateNestedOneWithoutPlacesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPlacesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutPlacesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutPlacesInput + upsert?: Prisma.tripsUpsertWithoutPlacesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutPlacesInput> +} + +export type tripsCreateNestedOneWithoutReservationsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutReservationsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutReservationsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutReservationsInput + upsert?: Prisma.tripsUpsertWithoutReservationsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutReservationsInput> +} + +export type tripsCreateNestedOneWithoutShare_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutShare_tokensInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutShare_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutShare_tokensInput + upsert?: Prisma.tripsUpsertWithoutShare_tokensInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutShare_tokensInput> +} + +export type tripsCreateNestedOneWithoutTodo_category_assigneesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_category_assigneesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTodo_category_assigneesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_category_assigneesInput + upsert?: Prisma.tripsUpsertWithoutTodo_category_assigneesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTodo_category_assigneesInput> +} + +export type tripsCreateNestedOneWithoutTodo_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_itemsInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTodo_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTodo_itemsInput + upsert?: Prisma.tripsUpsertWithoutTodo_itemsInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTodo_itemsInput> +} + +export type tripsCreateNestedOneWithoutTrip_album_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_album_linksInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTrip_album_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_album_linksInput + upsert?: Prisma.tripsUpsertWithoutTrip_album_linksInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTrip_album_linksInput> +} + +export type tripsCreateNestedOneWithoutTrip_filesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_filesInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTrip_filesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_filesInput + upsert?: Prisma.tripsUpsertWithoutTrip_filesInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTrip_filesInput> +} + +export type tripsCreateNestedOneWithoutTrip_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_membersInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTrip_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_membersInput + upsert?: Prisma.tripsUpsertWithoutTrip_membersInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTrip_membersInput> +} + +export type tripsCreateNestedOneWithoutTrip_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_photosInput + connect?: Prisma.tripsWhereUniqueInput +} + +export type tripsUpdateOneRequiredWithoutTrip_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutTrip_photosInput + upsert?: Prisma.tripsUpsertWithoutTrip_photosInput + connect?: Prisma.tripsWhereUniqueInput + update?: Prisma.XOR, Prisma.tripsUncheckedUpdateWithoutTrip_photosInput> +} + +export type tripsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.tripsCreateManyUsersInputEnvelope + connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] +} + +export type tripsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.tripsCreateManyUsersInputEnvelope + connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] +} + +export type tripsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.tripsCreateManyUsersInputEnvelope + set?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + disconnect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + delete?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + update?: Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.tripsUpdateManyWithWhereWithoutUsersInput | Prisma.tripsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[] +} + +export type tripsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.tripsCreateWithoutUsersInput[] | Prisma.tripsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.tripsCreateOrConnectWithoutUsersInput | Prisma.tripsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput | Prisma.tripsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.tripsCreateManyUsersInputEnvelope + set?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + disconnect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + delete?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + connect?: Prisma.tripsWhereUniqueInput | Prisma.tripsWhereUniqueInput[] + update?: Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput | Prisma.tripsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.tripsUpdateManyWithWhereWithoutUsersInput | Prisma.tripsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[] +} + +export type tripsCreateWithoutBudget_category_orderInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutBudget_category_orderInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutBudget_category_orderInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutBudget_category_orderInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutBudget_category_orderInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutBudget_category_orderInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutBudget_category_orderInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutBudget_itemsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutBudget_itemsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutBudget_itemsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutBudget_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutBudget_itemsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutBudget_itemsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutBudget_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutCollab_messagesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutCollab_messagesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutCollab_messagesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutCollab_messagesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutCollab_messagesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutCollab_messagesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutCollab_notesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutCollab_notesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutCollab_notesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutCollab_notesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutCollab_notesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutCollab_notesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutCollab_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutCollab_pollsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutCollab_pollsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutCollab_pollsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutCollab_pollsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutCollab_pollsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutCollab_pollsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutCollab_pollsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutDay_accommodationsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutDay_accommodationsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutDay_accommodationsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutDay_accommodationsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutDay_accommodationsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutDay_accommodationsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutDay_accommodationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutDay_notesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutDay_notesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutDay_notesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutDay_notesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutDay_notesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutDay_notesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutDay_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutDaysInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutDaysInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutDaysInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutDaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutDaysInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutDaysInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutDaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutJourney_entriesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutJourney_entriesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutJourney_entriesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutJourney_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutJourney_entriesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutJourney_entriesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutJourney_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutJourney_tripsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutJourney_tripsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutJourney_tripsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutJourney_tripsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutJourney_tripsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutJourney_tripsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutJourney_tripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutPacking_bagsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutPacking_bagsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutPacking_bagsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutPacking_bagsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutPacking_bagsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutPacking_bagsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutPacking_bagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutPacking_category_assigneesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutPacking_category_assigneesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutPacking_category_assigneesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutPacking_category_assigneesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutPacking_category_assigneesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutPacking_category_assigneesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutPacking_category_assigneesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutPacking_itemsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutPacking_itemsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutPacking_itemsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutPacking_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutPacking_itemsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutPacking_itemsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutPacking_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutPhotosInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutPhotosInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutPhotosInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutPhotosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutPhotosInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutPhotosInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutPhotosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutPlacesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutPlacesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutPlacesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutPlacesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutPlacesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutPlacesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutPlacesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutReservationsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutReservationsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutReservationsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutReservationsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutReservationsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutReservationsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutReservationsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutShare_tokensInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutShare_tokensInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutShare_tokensInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutShare_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutShare_tokensInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutShare_tokensInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutShare_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTodo_category_assigneesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTodo_category_assigneesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTodo_category_assigneesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTodo_category_assigneesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTodo_category_assigneesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTodo_category_assigneesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTodo_category_assigneesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTodo_itemsInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTodo_itemsInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTodo_itemsInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTodo_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTodo_itemsInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTodo_itemsInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTodo_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTrip_album_linksInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTrip_album_linksInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTrip_album_linksInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTrip_album_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTrip_album_linksInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTrip_album_linksInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTrip_album_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTrip_filesInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTrip_filesInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTrip_filesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTrip_filesInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTrip_filesInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTrip_membersInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTrip_membersInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTrip_membersInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTrip_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTrip_membersInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTrip_membersInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTrip_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutTrip_photosInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + users: Prisma.usersCreateNestedOneWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutTrip_photosInput = { + id?: number + user_id: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutTrip_photosInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsUpsertWithoutTrip_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.tripsWhereInput +} + +export type tripsUpdateToOneWithWhereWithoutTrip_photosInput = { + where?: Prisma.tripsWhereInput + data: Prisma.XOR +} + +export type tripsUpdateWithoutTrip_photosInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutTrip_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsCreateWithoutUsersInput = { + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesCreateNestedManyWithoutTripsInput + days?: Prisma.daysCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsCreateNestedManyWithoutTripsInput + photos?: Prisma.photosCreateNestedManyWithoutTripsInput + places?: Prisma.placesCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutTripsInput +} + +export type tripsUncheckedCreateWithoutUsersInput = { + id?: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedCreateNestedManyWithoutTripsInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutTripsInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutTripsInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutTripsInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutTripsInput + day_accommodations?: Prisma.day_accommodationsUncheckedCreateNestedManyWithoutTripsInput + day_notes?: Prisma.day_notesUncheckedCreateNestedManyWithoutTripsInput + days?: Prisma.daysUncheckedCreateNestedManyWithoutTripsInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutTripsInput + journey_trips?: Prisma.journey_tripsUncheckedCreateNestedManyWithoutTripsInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutTripsInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + packing_items?: Prisma.packing_itemsUncheckedCreateNestedManyWithoutTripsInput + photos?: Prisma.photosUncheckedCreateNestedManyWithoutTripsInput + places?: Prisma.placesUncheckedCreateNestedManyWithoutTripsInput + reservations?: Prisma.reservationsUncheckedCreateNestedManyWithoutTripsInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutTripsInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutTripsInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutTripsInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutTripsInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutTripsInput + trip_members?: Prisma.trip_membersUncheckedCreateNestedManyWithoutTripsInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutTripsInput +} + +export type tripsCreateOrConnectWithoutUsersInput = { + where: Prisma.tripsWhereUniqueInput + create: Prisma.XOR +} + +export type tripsCreateManyUsersInputEnvelope = { + data: Prisma.tripsCreateManyUsersInput | Prisma.tripsCreateManyUsersInput[] +} + +export type tripsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.tripsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type tripsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.tripsWhereUniqueInput + data: Prisma.XOR +} + +export type tripsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.tripsScalarWhereInput + data: Prisma.XOR +} + +export type tripsScalarWhereInput = { + AND?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[] + OR?: Prisma.tripsScalarWhereInput[] + NOT?: Prisma.tripsScalarWhereInput | Prisma.tripsScalarWhereInput[] + id?: Prisma.IntFilter<"trips"> | number + user_id?: Prisma.IntFilter<"trips"> | number + title?: Prisma.StringFilter<"trips"> | string + description?: Prisma.StringNullableFilter<"trips"> | string | null + start_date?: Prisma.StringNullableFilter<"trips"> | string | null + end_date?: Prisma.StringNullableFilter<"trips"> | string | null + currency?: Prisma.StringNullableFilter<"trips"> | string | null + cover_image?: Prisma.StringNullableFilter<"trips"> | string | null + is_archived?: Prisma.IntNullableFilter<"trips"> | number | null + reminder_days?: Prisma.IntNullableFilter<"trips"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"trips"> | Date | string | null +} + +export type tripsCreateManyUsersInput = { + id?: number + title: string + description?: string | null + start_date?: string | null + end_date?: string | null + currency?: string | null + cover_image?: string | null + is_archived?: number | null + reminder_days?: number | null + created_at?: Date | string | null + updated_at?: Date | string | null +} + +export type tripsUpdateWithoutUsersInput = { + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + budget_category_order?: Prisma.budget_category_orderUncheckedUpdateManyWithoutTripsNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutTripsNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutTripsNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutTripsNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutTripsNestedInput + day_accommodations?: Prisma.day_accommodationsUncheckedUpdateManyWithoutTripsNestedInput + day_notes?: Prisma.day_notesUncheckedUpdateManyWithoutTripsNestedInput + days?: Prisma.daysUncheckedUpdateManyWithoutTripsNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutTripsNestedInput + journey_trips?: Prisma.journey_tripsUncheckedUpdateManyWithoutTripsNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutTripsNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + packing_items?: Prisma.packing_itemsUncheckedUpdateManyWithoutTripsNestedInput + photos?: Prisma.photosUncheckedUpdateManyWithoutTripsNestedInput + places?: Prisma.placesUncheckedUpdateManyWithoutTripsNestedInput + reservations?: Prisma.reservationsUncheckedUpdateManyWithoutTripsNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutTripsNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutTripsNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutTripsNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutTripsNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutTripsNestedInput + trip_members?: Prisma.trip_membersUncheckedUpdateManyWithoutTripsNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutTripsNestedInput +} + +export type tripsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + title?: Prisma.StringFieldUpdateOperationsInput | string + description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + start_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + end_date?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + currency?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + cover_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + is_archived?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + reminder_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + +/** + * Count Type TripsCountOutputType + */ + +export type TripsCountOutputType = { + budget_category_order: number + budget_items: number + collab_messages: number + collab_notes: number + collab_polls: number + day_accommodations: number + day_notes: number + days: number + journey_entries: number + journey_trips: number + packing_bags: number + packing_category_assignees: number + packing_items: number + photos: number + places: number + reservations: number + share_tokens: number + todo_category_assignees: number + todo_items: number + trip_album_links: number + trip_files: number + trip_members: number + trip_photos: number +} + +export type TripsCountOutputTypeSelect = { + budget_category_order?: boolean | TripsCountOutputTypeCountBudget_category_orderArgs + budget_items?: boolean | TripsCountOutputTypeCountBudget_itemsArgs + collab_messages?: boolean | TripsCountOutputTypeCountCollab_messagesArgs + collab_notes?: boolean | TripsCountOutputTypeCountCollab_notesArgs + collab_polls?: boolean | TripsCountOutputTypeCountCollab_pollsArgs + day_accommodations?: boolean | TripsCountOutputTypeCountDay_accommodationsArgs + day_notes?: boolean | TripsCountOutputTypeCountDay_notesArgs + days?: boolean | TripsCountOutputTypeCountDaysArgs + journey_entries?: boolean | TripsCountOutputTypeCountJourney_entriesArgs + journey_trips?: boolean | TripsCountOutputTypeCountJourney_tripsArgs + packing_bags?: boolean | TripsCountOutputTypeCountPacking_bagsArgs + packing_category_assignees?: boolean | TripsCountOutputTypeCountPacking_category_assigneesArgs + packing_items?: boolean | TripsCountOutputTypeCountPacking_itemsArgs + photos?: boolean | TripsCountOutputTypeCountPhotosArgs + places?: boolean | TripsCountOutputTypeCountPlacesArgs + reservations?: boolean | TripsCountOutputTypeCountReservationsArgs + share_tokens?: boolean | TripsCountOutputTypeCountShare_tokensArgs + todo_category_assignees?: boolean | TripsCountOutputTypeCountTodo_category_assigneesArgs + todo_items?: boolean | TripsCountOutputTypeCountTodo_itemsArgs + trip_album_links?: boolean | TripsCountOutputTypeCountTrip_album_linksArgs + trip_files?: boolean | TripsCountOutputTypeCountTrip_filesArgs + trip_members?: boolean | TripsCountOutputTypeCountTrip_membersArgs + trip_photos?: boolean | TripsCountOutputTypeCountTrip_photosArgs +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the TripsCountOutputType + */ + select?: Prisma.TripsCountOutputTypeSelect | null +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountBudget_category_orderArgs = { + where?: Prisma.budget_category_orderWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountBudget_itemsArgs = { + where?: Prisma.budget_itemsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountCollab_messagesArgs = { + where?: Prisma.collab_messagesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountCollab_notesArgs = { + where?: Prisma.collab_notesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountCollab_pollsArgs = { + where?: Prisma.collab_pollsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountDay_accommodationsArgs = { + where?: Prisma.day_accommodationsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountDay_notesArgs = { + where?: Prisma.day_notesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountDaysArgs = { + where?: Prisma.daysWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountJourney_entriesArgs = { + where?: Prisma.journey_entriesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountJourney_tripsArgs = { + where?: Prisma.journey_tripsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountPacking_bagsArgs = { + where?: Prisma.packing_bagsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountPacking_category_assigneesArgs = { + where?: Prisma.packing_category_assigneesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountPacking_itemsArgs = { + where?: Prisma.packing_itemsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountPhotosArgs = { + where?: Prisma.photosWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountPlacesArgs = { + where?: Prisma.placesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountReservationsArgs = { + where?: Prisma.reservationsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountShare_tokensArgs = { + where?: Prisma.share_tokensWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTodo_category_assigneesArgs = { + where?: Prisma.todo_category_assigneesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTodo_itemsArgs = { + where?: Prisma.todo_itemsWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTrip_album_linksArgs = { + where?: Prisma.trip_album_linksWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTrip_filesArgs = { + where?: Prisma.trip_filesWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTrip_membersArgs = { + where?: Prisma.trip_membersWhereInput +} + +/** + * TripsCountOutputType without action + */ +export type TripsCountOutputTypeCountTrip_photosArgs = { + where?: Prisma.trip_photosWhereInput +} + + +export type tripsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + description?: boolean + start_date?: boolean + end_date?: boolean + currency?: boolean + cover_image?: boolean + is_archived?: boolean + reminder_days?: boolean + created_at?: boolean + updated_at?: boolean + budget_category_order?: boolean | Prisma.trips$budget_category_orderArgs + budget_items?: boolean | Prisma.trips$budget_itemsArgs + collab_messages?: boolean | Prisma.trips$collab_messagesArgs + collab_notes?: boolean | Prisma.trips$collab_notesArgs + collab_polls?: boolean | Prisma.trips$collab_pollsArgs + day_accommodations?: boolean | Prisma.trips$day_accommodationsArgs + day_notes?: boolean | Prisma.trips$day_notesArgs + days?: boolean | Prisma.trips$daysArgs + journey_entries?: boolean | Prisma.trips$journey_entriesArgs + journey_trips?: boolean | Prisma.trips$journey_tripsArgs + packing_bags?: boolean | Prisma.trips$packing_bagsArgs + packing_category_assignees?: boolean | Prisma.trips$packing_category_assigneesArgs + packing_items?: boolean | Prisma.trips$packing_itemsArgs + photos?: boolean | Prisma.trips$photosArgs + places?: boolean | Prisma.trips$placesArgs + reservations?: boolean | Prisma.trips$reservationsArgs + share_tokens?: boolean | Prisma.trips$share_tokensArgs + todo_category_assignees?: boolean | Prisma.trips$todo_category_assigneesArgs + todo_items?: boolean | Prisma.trips$todo_itemsArgs + trip_album_links?: boolean | Prisma.trips$trip_album_linksArgs + trip_files?: boolean | Prisma.trips$trip_filesArgs + trip_members?: boolean | Prisma.trips$trip_membersArgs + trip_photos?: boolean | Prisma.trips$trip_photosArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.TripsCountOutputTypeDefaultArgs +}, ExtArgs["result"]["trips"]> + +export type tripsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + description?: boolean + start_date?: boolean + end_date?: boolean + currency?: boolean + cover_image?: boolean + is_archived?: boolean + reminder_days?: boolean + created_at?: boolean + updated_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["trips"]> + +export type tripsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + title?: boolean + description?: boolean + start_date?: boolean + end_date?: boolean + currency?: boolean + cover_image?: boolean + is_archived?: boolean + reminder_days?: boolean + created_at?: boolean + updated_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["trips"]> + +export type tripsSelectScalar = { + id?: boolean + user_id?: boolean + title?: boolean + description?: boolean + start_date?: boolean + end_date?: boolean + currency?: boolean + cover_image?: boolean + is_archived?: boolean + reminder_days?: boolean + created_at?: boolean + updated_at?: boolean +} + +export type tripsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "title" | "description" | "start_date" | "end_date" | "currency" | "cover_image" | "is_archived" | "reminder_days" | "created_at" | "updated_at", ExtArgs["result"]["trips"]> +export type tripsInclude = { + budget_category_order?: boolean | Prisma.trips$budget_category_orderArgs + budget_items?: boolean | Prisma.trips$budget_itemsArgs + collab_messages?: boolean | Prisma.trips$collab_messagesArgs + collab_notes?: boolean | Prisma.trips$collab_notesArgs + collab_polls?: boolean | Prisma.trips$collab_pollsArgs + day_accommodations?: boolean | Prisma.trips$day_accommodationsArgs + day_notes?: boolean | Prisma.trips$day_notesArgs + days?: boolean | Prisma.trips$daysArgs + journey_entries?: boolean | Prisma.trips$journey_entriesArgs + journey_trips?: boolean | Prisma.trips$journey_tripsArgs + packing_bags?: boolean | Prisma.trips$packing_bagsArgs + packing_category_assignees?: boolean | Prisma.trips$packing_category_assigneesArgs + packing_items?: boolean | Prisma.trips$packing_itemsArgs + photos?: boolean | Prisma.trips$photosArgs + places?: boolean | Prisma.trips$placesArgs + reservations?: boolean | Prisma.trips$reservationsArgs + share_tokens?: boolean | Prisma.trips$share_tokensArgs + todo_category_assignees?: boolean | Prisma.trips$todo_category_assigneesArgs + todo_items?: boolean | Prisma.trips$todo_itemsArgs + trip_album_links?: boolean | Prisma.trips$trip_album_linksArgs + trip_files?: boolean | Prisma.trips$trip_filesArgs + trip_members?: boolean | Prisma.trips$trip_membersArgs + trip_photos?: boolean | Prisma.trips$trip_photosArgs + users?: boolean | Prisma.usersDefaultArgs + _count?: boolean | Prisma.TripsCountOutputTypeDefaultArgs +} +export type tripsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type tripsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $tripsPayload = { + name: "trips" + objects: { + budget_category_order: Prisma.$budget_category_orderPayload[] + budget_items: Prisma.$budget_itemsPayload[] + collab_messages: Prisma.$collab_messagesPayload[] + collab_notes: Prisma.$collab_notesPayload[] + collab_polls: Prisma.$collab_pollsPayload[] + day_accommodations: Prisma.$day_accommodationsPayload[] + day_notes: Prisma.$day_notesPayload[] + days: Prisma.$daysPayload[] + journey_entries: Prisma.$journey_entriesPayload[] + journey_trips: Prisma.$journey_tripsPayload[] + packing_bags: Prisma.$packing_bagsPayload[] + packing_category_assignees: Prisma.$packing_category_assigneesPayload[] + packing_items: Prisma.$packing_itemsPayload[] + photos: Prisma.$photosPayload[] + places: Prisma.$placesPayload[] + reservations: Prisma.$reservationsPayload[] + share_tokens: Prisma.$share_tokensPayload[] + todo_category_assignees: Prisma.$todo_category_assigneesPayload[] + todo_items: Prisma.$todo_itemsPayload[] + trip_album_links: Prisma.$trip_album_linksPayload[] + trip_files: Prisma.$trip_filesPayload[] + trip_members: Prisma.$trip_membersPayload[] + trip_photos: Prisma.$trip_photosPayload[] + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + title: string + description: string | null + start_date: string | null + end_date: string | null + currency: string | null + cover_image: string | null + is_archived: number | null + reminder_days: number | null + created_at: Date | null + updated_at: Date | null + }, ExtArgs["result"]["trips"]> + composites: {} +} + +export type tripsGetPayload = runtime.Types.Result.GetResult + +export type tripsCountArgs = + Omit & { + select?: TripsCountAggregateInputType | true + } + +export interface tripsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['trips'], meta: { name: 'trips' } } + /** + * Find zero or one Trips that matches the filter. + * @param {tripsFindUniqueArgs} args - Arguments to find a Trips + * @example + * // Get one Trips + * const trips = await prisma.trips.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Trips that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {tripsFindUniqueOrThrowArgs} args - Arguments to find a Trips + * @example + * // Get one Trips + * const trips = await prisma.trips.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trips that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsFindFirstArgs} args - Arguments to find a Trips + * @example + * // Get one Trips + * const trips = await prisma.trips.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Trips that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsFindFirstOrThrowArgs} args - Arguments to find a Trips + * @example + * // Get one Trips + * const trips = await prisma.trips.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Trips that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Trips + * const trips = await prisma.trips.findMany() + * + * // Get first 10 Trips + * const trips = await prisma.trips.findMany({ take: 10 }) + * + * // Only select the `id` + * const tripsWithIdOnly = await prisma.trips.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Trips. + * @param {tripsCreateArgs} args - Arguments to create a Trips. + * @example + * // Create one Trips + * const Trips = await prisma.trips.create({ + * data: { + * // ... data to create a Trips + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Trips. + * @param {tripsCreateManyArgs} args - Arguments to create many Trips. + * @example + * // Create many Trips + * const trips = await prisma.trips.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Trips and returns the data saved in the database. + * @param {tripsCreateManyAndReturnArgs} args - Arguments to create many Trips. + * @example + * // Create many Trips + * const trips = await prisma.trips.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Trips and only return the `id` + * const tripsWithIdOnly = await prisma.trips.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Trips. + * @param {tripsDeleteArgs} args - Arguments to delete one Trips. + * @example + * // Delete one Trips + * const Trips = await prisma.trips.delete({ + * where: { + * // ... filter to delete one Trips + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Trips. + * @param {tripsUpdateArgs} args - Arguments to update one Trips. + * @example + * // Update one Trips + * const trips = await prisma.trips.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Trips. + * @param {tripsDeleteManyArgs} args - Arguments to filter Trips to delete. + * @example + * // Delete a few Trips + * const { count } = await prisma.trips.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Trips + * const trips = await prisma.trips.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Trips and returns the data updated in the database. + * @param {tripsUpdateManyAndReturnArgs} args - Arguments to update many Trips. + * @example + * // Update many Trips + * const trips = await prisma.trips.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Trips and only return the `id` + * const tripsWithIdOnly = await prisma.trips.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Trips. + * @param {tripsUpsertArgs} args - Arguments to update or create a Trips. + * @example + * // Update or create a Trips + * const trips = await prisma.trips.upsert({ + * create: { + * // ... data to create a Trips + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Trips we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__tripsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsCountArgs} args - Arguments to filter Trips to count. + * @example + * // Count the number of Trips + * const count = await prisma.trips.count({ + * where: { + * // ... the filter for the Trips we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {TripsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Trips. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {tripsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends tripsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: tripsGroupByArgs['orderBy'] } + : { orderBy?: tripsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTripsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the trips model + */ +readonly fields: tripsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for trips. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__tripsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + budget_category_order = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + budget_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_messages = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_notes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_polls = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_accommodations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + day_notes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + days = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_trips = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_bags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_category_assignees = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + places = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + reservations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + share_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + todo_category_assignees = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + todo_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_album_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_files = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the trips model + */ +export interface tripsFieldRefs { + readonly id: Prisma.FieldRef<"trips", 'Int'> + readonly user_id: Prisma.FieldRef<"trips", 'Int'> + readonly title: Prisma.FieldRef<"trips", 'String'> + readonly description: Prisma.FieldRef<"trips", 'String'> + readonly start_date: Prisma.FieldRef<"trips", 'String'> + readonly end_date: Prisma.FieldRef<"trips", 'String'> + readonly currency: Prisma.FieldRef<"trips", 'String'> + readonly cover_image: Prisma.FieldRef<"trips", 'String'> + readonly is_archived: Prisma.FieldRef<"trips", 'Int'> + readonly reminder_days: Prisma.FieldRef<"trips", 'Int'> + readonly created_at: Prisma.FieldRef<"trips", 'DateTime'> + readonly updated_at: Prisma.FieldRef<"trips", 'DateTime'> +} + + +// Custom InputTypes +/** + * trips findUnique + */ +export type tripsFindUniqueArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter, which trips to fetch. + */ + where: Prisma.tripsWhereUniqueInput +} + +/** + * trips findUniqueOrThrow + */ +export type tripsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter, which trips to fetch. + */ + where: Prisma.tripsWhereUniqueInput +} + +/** + * trips findFirst + */ +export type tripsFindFirstArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter, which trips to fetch. + */ + where?: Prisma.tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trips to fetch. + */ + orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trips. + */ + cursor?: Prisma.tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trips. + */ + distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[] +} + +/** + * trips findFirstOrThrow + */ +export type tripsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter, which trips to fetch. + */ + where?: Prisma.tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trips to fetch. + */ + orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for trips. + */ + cursor?: Prisma.tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trips. + */ + distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[] +} + +/** + * trips findMany + */ +export type tripsFindManyArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter, which trips to fetch. + */ + where?: Prisma.tripsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of trips to fetch. + */ + orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing trips. + */ + cursor?: Prisma.tripsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` trips from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` trips. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of trips. + */ + distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[] +} + +/** + * trips create + */ +export type tripsCreateArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * The data needed to create a trips. + */ + data: Prisma.XOR +} + +/** + * trips createMany + */ +export type tripsCreateManyArgs = { + /** + * The data used to create many trips. + */ + data: Prisma.tripsCreateManyInput | Prisma.tripsCreateManyInput[] +} + +/** + * trips createManyAndReturn + */ +export type tripsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * The data used to create many trips. + */ + data: Prisma.tripsCreateManyInput | Prisma.tripsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsIncludeCreateManyAndReturn | null +} + +/** + * trips update + */ +export type tripsUpdateArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * The data needed to update a trips. + */ + data: Prisma.XOR + /** + * Choose, which trips to update. + */ + where: Prisma.tripsWhereUniqueInput +} + +/** + * trips updateMany + */ +export type tripsUpdateManyArgs = { + /** + * The data used to update trips. + */ + data: Prisma.XOR + /** + * Filter which trips to update + */ + where?: Prisma.tripsWhereInput + /** + * Limit how many trips to update. + */ + limit?: number +} + +/** + * trips updateManyAndReturn + */ +export type tripsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * The data used to update trips. + */ + data: Prisma.XOR + /** + * Filter which trips to update + */ + where?: Prisma.tripsWhereInput + /** + * Limit how many trips to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsIncludeUpdateManyAndReturn | null +} + +/** + * trips upsert + */ +export type tripsUpsertArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * The filter to search for the trips to update in case it exists. + */ + where: Prisma.tripsWhereUniqueInput + /** + * In case the trips found by the `where` argument doesn't exist, create a new trips with this data. + */ + create: Prisma.XOR + /** + * In case the trips was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * trips delete + */ +export type tripsDeleteArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + /** + * Filter which trips to delete. + */ + where: Prisma.tripsWhereUniqueInput +} + +/** + * trips deleteMany + */ +export type tripsDeleteManyArgs = { + /** + * Filter which trips to delete + */ + where?: Prisma.tripsWhereInput + /** + * Limit how many trips to delete. + */ + limit?: number +} + +/** + * trips.budget_category_order + */ +export type trips$budget_category_orderArgs = { + /** + * Select specific fields to fetch from the budget_category_order + */ + select?: Prisma.budget_category_orderSelect | null + /** + * Omit specific fields from the budget_category_order + */ + omit?: Prisma.budget_category_orderOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_category_orderInclude | null + where?: Prisma.budget_category_orderWhereInput + orderBy?: Prisma.budget_category_orderOrderByWithRelationInput | Prisma.budget_category_orderOrderByWithRelationInput[] + cursor?: Prisma.budget_category_orderWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_category_orderScalarFieldEnum | Prisma.Budget_category_orderScalarFieldEnum[] +} + +/** + * trips.budget_items + */ +export type trips$budget_itemsArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + where?: Prisma.budget_itemsWhereInput + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + cursor?: Prisma.budget_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * trips.collab_messages + */ +export type trips$collab_messagesArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + where?: Prisma.collab_messagesWhereInput + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + cursor?: Prisma.collab_messagesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * trips.collab_notes + */ +export type trips$collab_notesArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + where?: Prisma.collab_notesWhereInput + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + cursor?: Prisma.collab_notesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[] +} + +/** + * trips.collab_polls + */ +export type trips$collab_pollsArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + where?: Prisma.collab_pollsWhereInput + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + cursor?: Prisma.collab_pollsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[] +} + +/** + * trips.day_accommodations + */ +export type trips$day_accommodationsArgs = { + /** + * Select specific fields to fetch from the day_accommodations + */ + select?: Prisma.day_accommodationsSelect | null + /** + * Omit specific fields from the day_accommodations + */ + omit?: Prisma.day_accommodationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_accommodationsInclude | null + where?: Prisma.day_accommodationsWhereInput + orderBy?: Prisma.day_accommodationsOrderByWithRelationInput | Prisma.day_accommodationsOrderByWithRelationInput[] + cursor?: Prisma.day_accommodationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_accommodationsScalarFieldEnum | Prisma.Day_accommodationsScalarFieldEnum[] +} + +/** + * trips.day_notes + */ +export type trips$day_notesArgs = { + /** + * Select specific fields to fetch from the day_notes + */ + select?: Prisma.day_notesSelect | null + /** + * Omit specific fields from the day_notes + */ + omit?: Prisma.day_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.day_notesInclude | null + where?: Prisma.day_notesWhereInput + orderBy?: Prisma.day_notesOrderByWithRelationInput | Prisma.day_notesOrderByWithRelationInput[] + cursor?: Prisma.day_notesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Day_notesScalarFieldEnum | Prisma.Day_notesScalarFieldEnum[] +} + +/** + * trips.days + */ +export type trips$daysArgs = { + /** + * Select specific fields to fetch from the days + */ + select?: Prisma.daysSelect | null + /** + * Omit specific fields from the days + */ + omit?: Prisma.daysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.daysInclude | null + where?: Prisma.daysWhereInput + orderBy?: Prisma.daysOrderByWithRelationInput | Prisma.daysOrderByWithRelationInput[] + cursor?: Prisma.daysWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.DaysScalarFieldEnum | Prisma.DaysScalarFieldEnum[] +} + +/** + * trips.journey_entries + */ +export type trips$journey_entriesArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + where?: Prisma.journey_entriesWhereInput + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + cursor?: Prisma.journey_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * trips.journey_trips + */ +export type trips$journey_tripsArgs = { + /** + * Select specific fields to fetch from the journey_trips + */ + select?: Prisma.journey_tripsSelect | null + /** + * Omit specific fields from the journey_trips + */ + omit?: Prisma.journey_tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_tripsInclude | null + where?: Prisma.journey_tripsWhereInput + orderBy?: Prisma.journey_tripsOrderByWithRelationInput | Prisma.journey_tripsOrderByWithRelationInput[] + cursor?: Prisma.journey_tripsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_tripsScalarFieldEnum | Prisma.Journey_tripsScalarFieldEnum[] +} + +/** + * trips.packing_bags + */ +export type trips$packing_bagsArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + where?: Prisma.packing_bagsWhereInput + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + cursor?: Prisma.packing_bagsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[] +} + +/** + * trips.packing_category_assignees + */ +export type trips$packing_category_assigneesArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + where?: Prisma.packing_category_assigneesWhereInput + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[] +} + +/** + * trips.packing_items + */ +export type trips$packing_itemsArgs = { + /** + * Select specific fields to fetch from the packing_items + */ + select?: Prisma.packing_itemsSelect | null + /** + * Omit specific fields from the packing_items + */ + omit?: Prisma.packing_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_itemsInclude | null + where?: Prisma.packing_itemsWhereInput + orderBy?: Prisma.packing_itemsOrderByWithRelationInput | Prisma.packing_itemsOrderByWithRelationInput[] + cursor?: Prisma.packing_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_itemsScalarFieldEnum | Prisma.Packing_itemsScalarFieldEnum[] +} + +/** + * trips.photos + */ +export type trips$photosArgs = { + /** + * Select specific fields to fetch from the photos + */ + select?: Prisma.photosSelect | null + /** + * Omit specific fields from the photos + */ + omit?: Prisma.photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.photosInclude | null + where?: Prisma.photosWhereInput + orderBy?: Prisma.photosOrderByWithRelationInput | Prisma.photosOrderByWithRelationInput[] + cursor?: Prisma.photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.PhotosScalarFieldEnum | Prisma.PhotosScalarFieldEnum[] +} + +/** + * trips.places + */ +export type trips$placesArgs = { + /** + * Select specific fields to fetch from the places + */ + select?: Prisma.placesSelect | null + /** + * Omit specific fields from the places + */ + omit?: Prisma.placesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.placesInclude | null + where?: Prisma.placesWhereInput + orderBy?: Prisma.placesOrderByWithRelationInput | Prisma.placesOrderByWithRelationInput[] + cursor?: Prisma.placesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.PlacesScalarFieldEnum | Prisma.PlacesScalarFieldEnum[] +} + +/** + * trips.reservations + */ +export type trips$reservationsArgs = { + /** + * Select specific fields to fetch from the reservations + */ + select?: Prisma.reservationsSelect | null + /** + * Omit specific fields from the reservations + */ + omit?: Prisma.reservationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.reservationsInclude | null + where?: Prisma.reservationsWhereInput + orderBy?: Prisma.reservationsOrderByWithRelationInput | Prisma.reservationsOrderByWithRelationInput[] + cursor?: Prisma.reservationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.ReservationsScalarFieldEnum | Prisma.ReservationsScalarFieldEnum[] +} + +/** + * trips.share_tokens + */ +export type trips$share_tokensArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + where?: Prisma.share_tokensWhereInput + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + cursor?: Prisma.share_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[] +} + +/** + * trips.todo_category_assignees + */ +export type trips$todo_category_assigneesArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + where?: Prisma.todo_category_assigneesWhereInput + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[] +} + +/** + * trips.todo_items + */ +export type trips$todo_itemsArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + where?: Prisma.todo_itemsWhereInput + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + cursor?: Prisma.todo_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[] +} + +/** + * trips.trip_album_links + */ +export type trips$trip_album_linksArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + where?: Prisma.trip_album_linksWhereInput + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + cursor?: Prisma.trip_album_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[] +} + +/** + * trips.trip_files + */ +export type trips$trip_filesArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + cursor?: Prisma.trip_filesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * trips.trip_members + */ +export type trips$trip_membersArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + where?: Prisma.trip_membersWhereInput + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + cursor?: Prisma.trip_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * trips.trip_photos + */ +export type trips$trip_photosArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + where?: Prisma.trip_photosWhereInput + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + cursor?: Prisma.trip_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * trips without action + */ +export type tripsDefaultArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null +} diff --git a/server/src/generated/prisma/models/user_notice_dismissals.ts b/server/src/generated/prisma/models/user_notice_dismissals.ts new file mode 100644 index 00000000..c21e18bb --- /dev/null +++ b/server/src/generated/prisma/models/user_notice_dismissals.ts @@ -0,0 +1,1328 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `user_notice_dismissals` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model user_notice_dismissals + * + */ +export type user_notice_dismissalsModel = runtime.Types.Result.DefaultSelection + +export type AggregateUser_notice_dismissals = { + _count: User_notice_dismissalsCountAggregateOutputType | null + _avg: User_notice_dismissalsAvgAggregateOutputType | null + _sum: User_notice_dismissalsSumAggregateOutputType | null + _min: User_notice_dismissalsMinAggregateOutputType | null + _max: User_notice_dismissalsMaxAggregateOutputType | null +} + +export type User_notice_dismissalsAvgAggregateOutputType = { + user_id: number | null + dismissed_at: number | null +} + +export type User_notice_dismissalsSumAggregateOutputType = { + user_id: number | null + dismissed_at: number | null +} + +export type User_notice_dismissalsMinAggregateOutputType = { + user_id: number | null + notice_id: string | null + dismissed_at: number | null +} + +export type User_notice_dismissalsMaxAggregateOutputType = { + user_id: number | null + notice_id: string | null + dismissed_at: number | null +} + +export type User_notice_dismissalsCountAggregateOutputType = { + user_id: number + notice_id: number + dismissed_at: number + _all: number +} + + +export type User_notice_dismissalsAvgAggregateInputType = { + user_id?: true + dismissed_at?: true +} + +export type User_notice_dismissalsSumAggregateInputType = { + user_id?: true + dismissed_at?: true +} + +export type User_notice_dismissalsMinAggregateInputType = { + user_id?: true + notice_id?: true + dismissed_at?: true +} + +export type User_notice_dismissalsMaxAggregateInputType = { + user_id?: true + notice_id?: true + dismissed_at?: true +} + +export type User_notice_dismissalsCountAggregateInputType = { + user_id?: true + notice_id?: true + dismissed_at?: true + _all?: true +} + +export type User_notice_dismissalsAggregateArgs = { + /** + * Filter which user_notice_dismissals to aggregate. + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of user_notice_dismissals to fetch. + */ + orderBy?: Prisma.user_notice_dismissalsOrderByWithRelationInput | Prisma.user_notice_dismissalsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.user_notice_dismissalsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` user_notice_dismissals from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` user_notice_dismissals. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned user_notice_dismissals + **/ + _count?: true | User_notice_dismissalsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: User_notice_dismissalsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: User_notice_dismissalsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: User_notice_dismissalsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: User_notice_dismissalsMaxAggregateInputType +} + +export type GetUser_notice_dismissalsAggregateType = { + [P in keyof T & keyof AggregateUser_notice_dismissals]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type user_notice_dismissalsGroupByArgs = { + where?: Prisma.user_notice_dismissalsWhereInput + orderBy?: Prisma.user_notice_dismissalsOrderByWithAggregationInput | Prisma.user_notice_dismissalsOrderByWithAggregationInput[] + by: Prisma.User_notice_dismissalsScalarFieldEnum[] | Prisma.User_notice_dismissalsScalarFieldEnum + having?: Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: User_notice_dismissalsCountAggregateInputType | true + _avg?: User_notice_dismissalsAvgAggregateInputType + _sum?: User_notice_dismissalsSumAggregateInputType + _min?: User_notice_dismissalsMinAggregateInputType + _max?: User_notice_dismissalsMaxAggregateInputType +} + +export type User_notice_dismissalsGroupByOutputType = { + user_id: number + notice_id: string + dismissed_at: number + _count: User_notice_dismissalsCountAggregateOutputType | null + _avg: User_notice_dismissalsAvgAggregateOutputType | null + _sum: User_notice_dismissalsSumAggregateOutputType | null + _min: User_notice_dismissalsMinAggregateOutputType | null + _max: User_notice_dismissalsMaxAggregateOutputType | null +} + +export type GetUser_notice_dismissalsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof User_notice_dismissalsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type user_notice_dismissalsWhereInput = { + AND?: Prisma.user_notice_dismissalsWhereInput | Prisma.user_notice_dismissalsWhereInput[] + OR?: Prisma.user_notice_dismissalsWhereInput[] + NOT?: Prisma.user_notice_dismissalsWhereInput | Prisma.user_notice_dismissalsWhereInput[] + user_id?: Prisma.IntFilter<"user_notice_dismissals"> | number + notice_id?: Prisma.StringFilter<"user_notice_dismissals"> | string + dismissed_at?: Prisma.IntFilter<"user_notice_dismissals"> | number + users?: Prisma.XOR +} + +export type user_notice_dismissalsOrderByWithRelationInput = { + user_id?: Prisma.SortOrder + notice_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type user_notice_dismissalsWhereUniqueInput = Prisma.AtLeast<{ + user_id_notice_id?: Prisma.user_notice_dismissalsUser_idNotice_idCompoundUniqueInput + AND?: Prisma.user_notice_dismissalsWhereInput | Prisma.user_notice_dismissalsWhereInput[] + OR?: Prisma.user_notice_dismissalsWhereInput[] + NOT?: Prisma.user_notice_dismissalsWhereInput | Prisma.user_notice_dismissalsWhereInput[] + user_id?: Prisma.IntFilter<"user_notice_dismissals"> | number + notice_id?: Prisma.StringFilter<"user_notice_dismissals"> | string + dismissed_at?: Prisma.IntFilter<"user_notice_dismissals"> | number + users?: Prisma.XOR +}, "user_id_notice_id"> + +export type user_notice_dismissalsOrderByWithAggregationInput = { + user_id?: Prisma.SortOrder + notice_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder + _count?: Prisma.user_notice_dismissalsCountOrderByAggregateInput + _avg?: Prisma.user_notice_dismissalsAvgOrderByAggregateInput + _max?: Prisma.user_notice_dismissalsMaxOrderByAggregateInput + _min?: Prisma.user_notice_dismissalsMinOrderByAggregateInput + _sum?: Prisma.user_notice_dismissalsSumOrderByAggregateInput +} + +export type user_notice_dismissalsScalarWhereWithAggregatesInput = { + AND?: Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput | Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput[] + OR?: Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput[] + NOT?: Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput | Prisma.user_notice_dismissalsScalarWhereWithAggregatesInput[] + user_id?: Prisma.IntWithAggregatesFilter<"user_notice_dismissals"> | number + notice_id?: Prisma.StringWithAggregatesFilter<"user_notice_dismissals"> | string + dismissed_at?: Prisma.IntWithAggregatesFilter<"user_notice_dismissals"> | number +} + +export type user_notice_dismissalsCreateInput = { + notice_id: string + dismissed_at: number + users: Prisma.usersCreateNestedOneWithoutUser_notice_dismissalsInput +} + +export type user_notice_dismissalsUncheckedCreateInput = { + user_id: number + notice_id: string + dismissed_at: number +} + +export type user_notice_dismissalsUpdateInput = { + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number + users?: Prisma.usersUpdateOneRequiredWithoutUser_notice_dismissalsNestedInput +} + +export type user_notice_dismissalsUncheckedUpdateInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type user_notice_dismissalsCreateManyInput = { + user_id: number + notice_id: string + dismissed_at: number +} + +export type user_notice_dismissalsUpdateManyMutationInput = { + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type user_notice_dismissalsUncheckedUpdateManyInput = { + user_id?: Prisma.IntFieldUpdateOperationsInput | number + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type user_notice_dismissalsUser_idNotice_idCompoundUniqueInput = { + user_id: number + notice_id: string +} + +export type user_notice_dismissalsCountOrderByAggregateInput = { + user_id?: Prisma.SortOrder + notice_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder +} + +export type user_notice_dismissalsAvgOrderByAggregateInput = { + user_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder +} + +export type user_notice_dismissalsMaxOrderByAggregateInput = { + user_id?: Prisma.SortOrder + notice_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder +} + +export type user_notice_dismissalsMinOrderByAggregateInput = { + user_id?: Prisma.SortOrder + notice_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder +} + +export type user_notice_dismissalsSumOrderByAggregateInput = { + user_id?: Prisma.SortOrder + dismissed_at?: Prisma.SortOrder +} + +export type User_notice_dismissalsListRelationFilter = { + every?: Prisma.user_notice_dismissalsWhereInput + some?: Prisma.user_notice_dismissalsWhereInput + none?: Prisma.user_notice_dismissalsWhereInput +} + +export type user_notice_dismissalsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type user_notice_dismissalsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.user_notice_dismissalsCreateWithoutUsersInput[] | Prisma.user_notice_dismissalsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput | Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.user_notice_dismissalsCreateManyUsersInputEnvelope + connect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] +} + +export type user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.user_notice_dismissalsCreateWithoutUsersInput[] | Prisma.user_notice_dismissalsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput | Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.user_notice_dismissalsCreateManyUsersInputEnvelope + connect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] +} + +export type user_notice_dismissalsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.user_notice_dismissalsCreateWithoutUsersInput[] | Prisma.user_notice_dismissalsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput | Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.user_notice_dismissalsUpsertWithWhereUniqueWithoutUsersInput | Prisma.user_notice_dismissalsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.user_notice_dismissalsCreateManyUsersInputEnvelope + set?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + disconnect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + delete?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + connect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + update?: Prisma.user_notice_dismissalsUpdateWithWhereUniqueWithoutUsersInput | Prisma.user_notice_dismissalsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.user_notice_dismissalsUpdateManyWithWhereWithoutUsersInput | Prisma.user_notice_dismissalsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.user_notice_dismissalsScalarWhereInput | Prisma.user_notice_dismissalsScalarWhereInput[] +} + +export type user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.user_notice_dismissalsCreateWithoutUsersInput[] | Prisma.user_notice_dismissalsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput | Prisma.user_notice_dismissalsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.user_notice_dismissalsUpsertWithWhereUniqueWithoutUsersInput | Prisma.user_notice_dismissalsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.user_notice_dismissalsCreateManyUsersInputEnvelope + set?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + disconnect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + delete?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + connect?: Prisma.user_notice_dismissalsWhereUniqueInput | Prisma.user_notice_dismissalsWhereUniqueInput[] + update?: Prisma.user_notice_dismissalsUpdateWithWhereUniqueWithoutUsersInput | Prisma.user_notice_dismissalsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.user_notice_dismissalsUpdateManyWithWhereWithoutUsersInput | Prisma.user_notice_dismissalsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.user_notice_dismissalsScalarWhereInput | Prisma.user_notice_dismissalsScalarWhereInput[] +} + +export type user_notice_dismissalsCreateWithoutUsersInput = { + notice_id: string + dismissed_at: number +} + +export type user_notice_dismissalsUncheckedCreateWithoutUsersInput = { + notice_id: string + dismissed_at: number +} + +export type user_notice_dismissalsCreateOrConnectWithoutUsersInput = { + where: Prisma.user_notice_dismissalsWhereUniqueInput + create: Prisma.XOR +} + +export type user_notice_dismissalsCreateManyUsersInputEnvelope = { + data: Prisma.user_notice_dismissalsCreateManyUsersInput | Prisma.user_notice_dismissalsCreateManyUsersInput[] +} + +export type user_notice_dismissalsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.user_notice_dismissalsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type user_notice_dismissalsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.user_notice_dismissalsWhereUniqueInput + data: Prisma.XOR +} + +export type user_notice_dismissalsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.user_notice_dismissalsScalarWhereInput + data: Prisma.XOR +} + +export type user_notice_dismissalsScalarWhereInput = { + AND?: Prisma.user_notice_dismissalsScalarWhereInput | Prisma.user_notice_dismissalsScalarWhereInput[] + OR?: Prisma.user_notice_dismissalsScalarWhereInput[] + NOT?: Prisma.user_notice_dismissalsScalarWhereInput | Prisma.user_notice_dismissalsScalarWhereInput[] + user_id?: Prisma.IntFilter<"user_notice_dismissals"> | number + notice_id?: Prisma.StringFilter<"user_notice_dismissals"> | string + dismissed_at?: Prisma.IntFilter<"user_notice_dismissals"> | number +} + +export type user_notice_dismissalsCreateManyUsersInput = { + notice_id: string + dismissed_at: number +} + +export type user_notice_dismissalsUpdateWithoutUsersInput = { + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type user_notice_dismissalsUncheckedUpdateWithoutUsersInput = { + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type user_notice_dismissalsUncheckedUpdateManyWithoutUsersInput = { + notice_id?: Prisma.StringFieldUpdateOperationsInput | string + dismissed_at?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type user_notice_dismissalsSelect = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + notice_id?: boolean + dismissed_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["user_notice_dismissals"]> + +export type user_notice_dismissalsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + notice_id?: boolean + dismissed_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["user_notice_dismissals"]> + +export type user_notice_dismissalsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + user_id?: boolean + notice_id?: boolean + dismissed_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["user_notice_dismissals"]> + +export type user_notice_dismissalsSelectScalar = { + user_id?: boolean + notice_id?: boolean + dismissed_at?: boolean +} + +export type user_notice_dismissalsOmit = runtime.Types.Extensions.GetOmit<"user_id" | "notice_id" | "dismissed_at", ExtArgs["result"]["user_notice_dismissals"]> +export type user_notice_dismissalsInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type user_notice_dismissalsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type user_notice_dismissalsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $user_notice_dismissalsPayload = { + name: "user_notice_dismissals" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + user_id: number + notice_id: string + dismissed_at: number + }, ExtArgs["result"]["user_notice_dismissals"]> + composites: {} +} + +export type user_notice_dismissalsGetPayload = runtime.Types.Result.GetResult + +export type user_notice_dismissalsCountArgs = + Omit & { + select?: User_notice_dismissalsCountAggregateInputType | true + } + +export interface user_notice_dismissalsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['user_notice_dismissals'], meta: { name: 'user_notice_dismissals' } } + /** + * Find zero or one User_notice_dismissals that matches the filter. + * @param {user_notice_dismissalsFindUniqueArgs} args - Arguments to find a User_notice_dismissals + * @example + * // Get one User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one User_notice_dismissals that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {user_notice_dismissalsFindUniqueOrThrowArgs} args - Arguments to find a User_notice_dismissals + * @example + * // Get one User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first User_notice_dismissals that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsFindFirstArgs} args - Arguments to find a User_notice_dismissals + * @example + * // Get one User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first User_notice_dismissals that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsFindFirstOrThrowArgs} args - Arguments to find a User_notice_dismissals + * @example + * // Get one User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more User_notice_dismissals that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findMany() + * + * // Get first 10 User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.findMany({ take: 10 }) + * + * // Only select the `user_id` + * const user_notice_dismissalsWithUser_idOnly = await prisma.user_notice_dismissals.findMany({ select: { user_id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a User_notice_dismissals. + * @param {user_notice_dismissalsCreateArgs} args - Arguments to create a User_notice_dismissals. + * @example + * // Create one User_notice_dismissals + * const User_notice_dismissals = await prisma.user_notice_dismissals.create({ + * data: { + * // ... data to create a User_notice_dismissals + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many User_notice_dismissals. + * @param {user_notice_dismissalsCreateManyArgs} args - Arguments to create many User_notice_dismissals. + * @example + * // Create many User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many User_notice_dismissals and returns the data saved in the database. + * @param {user_notice_dismissalsCreateManyAndReturnArgs} args - Arguments to create many User_notice_dismissals. + * @example + * // Create many User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many User_notice_dismissals and only return the `user_id` + * const user_notice_dismissalsWithUser_idOnly = await prisma.user_notice_dismissals.createManyAndReturn({ + * select: { user_id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a User_notice_dismissals. + * @param {user_notice_dismissalsDeleteArgs} args - Arguments to delete one User_notice_dismissals. + * @example + * // Delete one User_notice_dismissals + * const User_notice_dismissals = await prisma.user_notice_dismissals.delete({ + * where: { + * // ... filter to delete one User_notice_dismissals + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one User_notice_dismissals. + * @param {user_notice_dismissalsUpdateArgs} args - Arguments to update one User_notice_dismissals. + * @example + * // Update one User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more User_notice_dismissals. + * @param {user_notice_dismissalsDeleteManyArgs} args - Arguments to filter User_notice_dismissals to delete. + * @example + * // Delete a few User_notice_dismissals + * const { count } = await prisma.user_notice_dismissals.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more User_notice_dismissals. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more User_notice_dismissals and returns the data updated in the database. + * @param {user_notice_dismissalsUpdateManyAndReturnArgs} args - Arguments to update many User_notice_dismissals. + * @example + * // Update many User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more User_notice_dismissals and only return the `user_id` + * const user_notice_dismissalsWithUser_idOnly = await prisma.user_notice_dismissals.updateManyAndReturn({ + * select: { user_id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one User_notice_dismissals. + * @param {user_notice_dismissalsUpsertArgs} args - Arguments to update or create a User_notice_dismissals. + * @example + * // Update or create a User_notice_dismissals + * const user_notice_dismissals = await prisma.user_notice_dismissals.upsert({ + * create: { + * // ... data to create a User_notice_dismissals + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the User_notice_dismissals we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__user_notice_dismissalsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of User_notice_dismissals. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsCountArgs} args - Arguments to filter User_notice_dismissals to count. + * @example + * // Count the number of User_notice_dismissals + * const count = await prisma.user_notice_dismissals.count({ + * where: { + * // ... the filter for the User_notice_dismissals we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a User_notice_dismissals. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {User_notice_dismissalsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by User_notice_dismissals. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {user_notice_dismissalsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends user_notice_dismissalsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: user_notice_dismissalsGroupByArgs['orderBy'] } + : { orderBy?: user_notice_dismissalsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUser_notice_dismissalsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the user_notice_dismissals model + */ +readonly fields: user_notice_dismissalsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for user_notice_dismissals. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__user_notice_dismissalsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the user_notice_dismissals model + */ +export interface user_notice_dismissalsFieldRefs { + readonly user_id: Prisma.FieldRef<"user_notice_dismissals", 'Int'> + readonly notice_id: Prisma.FieldRef<"user_notice_dismissals", 'String'> + readonly dismissed_at: Prisma.FieldRef<"user_notice_dismissals", 'Int'> +} + + +// Custom InputTypes +/** + * user_notice_dismissals findUnique + */ +export type user_notice_dismissalsFindUniqueArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter, which user_notice_dismissals to fetch. + */ + where: Prisma.user_notice_dismissalsWhereUniqueInput +} + +/** + * user_notice_dismissals findUniqueOrThrow + */ +export type user_notice_dismissalsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter, which user_notice_dismissals to fetch. + */ + where: Prisma.user_notice_dismissalsWhereUniqueInput +} + +/** + * user_notice_dismissals findFirst + */ +export type user_notice_dismissalsFindFirstArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter, which user_notice_dismissals to fetch. + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of user_notice_dismissals to fetch. + */ + orderBy?: Prisma.user_notice_dismissalsOrderByWithRelationInput | Prisma.user_notice_dismissalsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for user_notice_dismissals. + */ + cursor?: Prisma.user_notice_dismissalsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` user_notice_dismissals from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` user_notice_dismissals. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of user_notice_dismissals. + */ + distinct?: Prisma.User_notice_dismissalsScalarFieldEnum | Prisma.User_notice_dismissalsScalarFieldEnum[] +} + +/** + * user_notice_dismissals findFirstOrThrow + */ +export type user_notice_dismissalsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter, which user_notice_dismissals to fetch. + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of user_notice_dismissals to fetch. + */ + orderBy?: Prisma.user_notice_dismissalsOrderByWithRelationInput | Prisma.user_notice_dismissalsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for user_notice_dismissals. + */ + cursor?: Prisma.user_notice_dismissalsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` user_notice_dismissals from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` user_notice_dismissals. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of user_notice_dismissals. + */ + distinct?: Prisma.User_notice_dismissalsScalarFieldEnum | Prisma.User_notice_dismissalsScalarFieldEnum[] +} + +/** + * user_notice_dismissals findMany + */ +export type user_notice_dismissalsFindManyArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter, which user_notice_dismissals to fetch. + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of user_notice_dismissals to fetch. + */ + orderBy?: Prisma.user_notice_dismissalsOrderByWithRelationInput | Prisma.user_notice_dismissalsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing user_notice_dismissals. + */ + cursor?: Prisma.user_notice_dismissalsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` user_notice_dismissals from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` user_notice_dismissals. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of user_notice_dismissals. + */ + distinct?: Prisma.User_notice_dismissalsScalarFieldEnum | Prisma.User_notice_dismissalsScalarFieldEnum[] +} + +/** + * user_notice_dismissals create + */ +export type user_notice_dismissalsCreateArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * The data needed to create a user_notice_dismissals. + */ + data: Prisma.XOR +} + +/** + * user_notice_dismissals createMany + */ +export type user_notice_dismissalsCreateManyArgs = { + /** + * The data used to create many user_notice_dismissals. + */ + data: Prisma.user_notice_dismissalsCreateManyInput | Prisma.user_notice_dismissalsCreateManyInput[] +} + +/** + * user_notice_dismissals createManyAndReturn + */ +export type user_notice_dismissalsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * The data used to create many user_notice_dismissals. + */ + data: Prisma.user_notice_dismissalsCreateManyInput | Prisma.user_notice_dismissalsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsIncludeCreateManyAndReturn | null +} + +/** + * user_notice_dismissals update + */ +export type user_notice_dismissalsUpdateArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * The data needed to update a user_notice_dismissals. + */ + data: Prisma.XOR + /** + * Choose, which user_notice_dismissals to update. + */ + where: Prisma.user_notice_dismissalsWhereUniqueInput +} + +/** + * user_notice_dismissals updateMany + */ +export type user_notice_dismissalsUpdateManyArgs = { + /** + * The data used to update user_notice_dismissals. + */ + data: Prisma.XOR + /** + * Filter which user_notice_dismissals to update + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * Limit how many user_notice_dismissals to update. + */ + limit?: number +} + +/** + * user_notice_dismissals updateManyAndReturn + */ +export type user_notice_dismissalsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * The data used to update user_notice_dismissals. + */ + data: Prisma.XOR + /** + * Filter which user_notice_dismissals to update + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * Limit how many user_notice_dismissals to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsIncludeUpdateManyAndReturn | null +} + +/** + * user_notice_dismissals upsert + */ +export type user_notice_dismissalsUpsertArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * The filter to search for the user_notice_dismissals to update in case it exists. + */ + where: Prisma.user_notice_dismissalsWhereUniqueInput + /** + * In case the user_notice_dismissals found by the `where` argument doesn't exist, create a new user_notice_dismissals with this data. + */ + create: Prisma.XOR + /** + * In case the user_notice_dismissals was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * user_notice_dismissals delete + */ +export type user_notice_dismissalsDeleteArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + /** + * Filter which user_notice_dismissals to delete. + */ + where: Prisma.user_notice_dismissalsWhereUniqueInput +} + +/** + * user_notice_dismissals deleteMany + */ +export type user_notice_dismissalsDeleteManyArgs = { + /** + * Filter which user_notice_dismissals to delete + */ + where?: Prisma.user_notice_dismissalsWhereInput + /** + * Limit how many user_notice_dismissals to delete. + */ + limit?: number +} + +/** + * user_notice_dismissals without action + */ +export type user_notice_dismissalsDefaultArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null +} diff --git a/server/src/generated/prisma/models/users.ts b/server/src/generated/prisma/models/users.ts new file mode 100644 index 00000000..cfe3ccc1 --- /dev/null +++ b/server/src/generated/prisma/models/users.ts @@ -0,0 +1,21635 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `users` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model users + * + */ +export type usersModel = runtime.Types.Result.DefaultSelection + +export type AggregateUsers = { + _count: UsersCountAggregateOutputType | null + _avg: UsersAvgAggregateOutputType | null + _sum: UsersSumAggregateOutputType | null + _min: UsersMinAggregateOutputType | null + _max: UsersMaxAggregateOutputType | null +} + +export type UsersAvgAggregateOutputType = { + id: number | null + mfa_enabled: number | null + must_change_password: number | null + password_version: number | null + synology_skip_ssl: number | null + login_count: number | null + immich_auto_upload: number | null +} + +export type UsersSumAggregateOutputType = { + id: number | null + mfa_enabled: number | null + must_change_password: number | null + password_version: number | null + synology_skip_ssl: number | null + login_count: number | null + immich_auto_upload: number | null +} + +export type UsersMinAggregateOutputType = { + id: number | null + username: string | null + email: string | null + password_hash: string | null + role: string | null + maps_api_key: string | null + unsplash_api_key: string | null + openweather_api_key: string | null + avatar: string | null + oidc_sub: string | null + oidc_issuer: string | null + last_login: Date | null + mfa_enabled: number | null + mfa_secret: string | null + mfa_backup_codes: string | null + immich_url: string | null + immich_access_token: string | null + synology_url: string | null + synology_username: string | null + synology_password: string | null + synology_sid: string | null + must_change_password: number | null + password_version: number | null + created_at: Date | null + updated_at: Date | null + immich_api_key: string | null + synology_skip_ssl: number | null + synology_did: string | null + first_seen_version: string | null + login_count: number | null + immich_auto_upload: number | null +} + +export type UsersMaxAggregateOutputType = { + id: number | null + username: string | null + email: string | null + password_hash: string | null + role: string | null + maps_api_key: string | null + unsplash_api_key: string | null + openweather_api_key: string | null + avatar: string | null + oidc_sub: string | null + oidc_issuer: string | null + last_login: Date | null + mfa_enabled: number | null + mfa_secret: string | null + mfa_backup_codes: string | null + immich_url: string | null + immich_access_token: string | null + synology_url: string | null + synology_username: string | null + synology_password: string | null + synology_sid: string | null + must_change_password: number | null + password_version: number | null + created_at: Date | null + updated_at: Date | null + immich_api_key: string | null + synology_skip_ssl: number | null + synology_did: string | null + first_seen_version: string | null + login_count: number | null + immich_auto_upload: number | null +} + +export type UsersCountAggregateOutputType = { + id: number + username: number + email: number + password_hash: number + role: number + maps_api_key: number + unsplash_api_key: number + openweather_api_key: number + avatar: number + oidc_sub: number + oidc_issuer: number + last_login: number + mfa_enabled: number + mfa_secret: number + mfa_backup_codes: number + immich_url: number + immich_access_token: number + synology_url: number + synology_username: number + synology_password: number + synology_sid: number + must_change_password: number + password_version: number + created_at: number + updated_at: number + immich_api_key: number + synology_skip_ssl: number + synology_did: number + first_seen_version: number + login_count: number + immich_auto_upload: number + _all: number +} + + +export type UsersAvgAggregateInputType = { + id?: true + mfa_enabled?: true + must_change_password?: true + password_version?: true + synology_skip_ssl?: true + login_count?: true + immich_auto_upload?: true +} + +export type UsersSumAggregateInputType = { + id?: true + mfa_enabled?: true + must_change_password?: true + password_version?: true + synology_skip_ssl?: true + login_count?: true + immich_auto_upload?: true +} + +export type UsersMinAggregateInputType = { + id?: true + username?: true + email?: true + password_hash?: true + role?: true + maps_api_key?: true + unsplash_api_key?: true + openweather_api_key?: true + avatar?: true + oidc_sub?: true + oidc_issuer?: true + last_login?: true + mfa_enabled?: true + mfa_secret?: true + mfa_backup_codes?: true + immich_url?: true + immich_access_token?: true + synology_url?: true + synology_username?: true + synology_password?: true + synology_sid?: true + must_change_password?: true + password_version?: true + created_at?: true + updated_at?: true + immich_api_key?: true + synology_skip_ssl?: true + synology_did?: true + first_seen_version?: true + login_count?: true + immich_auto_upload?: true +} + +export type UsersMaxAggregateInputType = { + id?: true + username?: true + email?: true + password_hash?: true + role?: true + maps_api_key?: true + unsplash_api_key?: true + openweather_api_key?: true + avatar?: true + oidc_sub?: true + oidc_issuer?: true + last_login?: true + mfa_enabled?: true + mfa_secret?: true + mfa_backup_codes?: true + immich_url?: true + immich_access_token?: true + synology_url?: true + synology_username?: true + synology_password?: true + synology_sid?: true + must_change_password?: true + password_version?: true + created_at?: true + updated_at?: true + immich_api_key?: true + synology_skip_ssl?: true + synology_did?: true + first_seen_version?: true + login_count?: true + immich_auto_upload?: true +} + +export type UsersCountAggregateInputType = { + id?: true + username?: true + email?: true + password_hash?: true + role?: true + maps_api_key?: true + unsplash_api_key?: true + openweather_api_key?: true + avatar?: true + oidc_sub?: true + oidc_issuer?: true + last_login?: true + mfa_enabled?: true + mfa_secret?: true + mfa_backup_codes?: true + immich_url?: true + immich_access_token?: true + synology_url?: true + synology_username?: true + synology_password?: true + synology_sid?: true + must_change_password?: true + password_version?: true + created_at?: true + updated_at?: true + immich_api_key?: true + synology_skip_ssl?: true + synology_did?: true + first_seen_version?: true + login_count?: true + immich_auto_upload?: true + _all?: true +} + +export type UsersAggregateArgs = { + /** + * Filter which users to aggregate. + */ + where?: Prisma.usersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of users to fetch. + */ + orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.usersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned users + **/ + _count?: true | UsersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: UsersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: UsersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: UsersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: UsersMaxAggregateInputType +} + +export type GetUsersAggregateType = { + [P in keyof T & keyof AggregateUsers]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type usersGroupByArgs = { + where?: Prisma.usersWhereInput + orderBy?: Prisma.usersOrderByWithAggregationInput | Prisma.usersOrderByWithAggregationInput[] + by: Prisma.UsersScalarFieldEnum[] | Prisma.UsersScalarFieldEnum + having?: Prisma.usersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: UsersCountAggregateInputType | true + _avg?: UsersAvgAggregateInputType + _sum?: UsersSumAggregateInputType + _min?: UsersMinAggregateInputType + _max?: UsersMaxAggregateInputType +} + +export type UsersGroupByOutputType = { + id: number + username: string + email: string + password_hash: string + role: string + maps_api_key: string | null + unsplash_api_key: string | null + openweather_api_key: string | null + avatar: string | null + oidc_sub: string | null + oidc_issuer: string | null + last_login: Date | null + mfa_enabled: number | null + mfa_secret: string | null + mfa_backup_codes: string | null + immich_url: string | null + immich_access_token: string | null + synology_url: string | null + synology_username: string | null + synology_password: string | null + synology_sid: string | null + must_change_password: number | null + password_version: number + created_at: Date | null + updated_at: Date | null + immich_api_key: string | null + synology_skip_ssl: number + synology_did: string | null + first_seen_version: string + login_count: number + immich_auto_upload: number + _count: UsersCountAggregateOutputType | null + _avg: UsersAvgAggregateOutputType | null + _sum: UsersSumAggregateOutputType | null + _min: UsersMinAggregateOutputType | null + _max: UsersMaxAggregateOutputType | null +} + +export type GetUsersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof UsersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type usersWhereInput = { + AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[] + OR?: Prisma.usersWhereInput[] + NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[] + id?: Prisma.IntFilter<"users"> | number + username?: Prisma.StringFilter<"users"> | string + email?: Prisma.StringFilter<"users"> | string + password_hash?: Prisma.StringFilter<"users"> | string + role?: Prisma.StringFilter<"users"> | string + maps_api_key?: Prisma.StringNullableFilter<"users"> | string | null + unsplash_api_key?: Prisma.StringNullableFilter<"users"> | string | null + openweather_api_key?: Prisma.StringNullableFilter<"users"> | string | null + avatar?: Prisma.StringNullableFilter<"users"> | string | null + oidc_sub?: Prisma.StringNullableFilter<"users"> | string | null + oidc_issuer?: Prisma.StringNullableFilter<"users"> | string | null + last_login?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + mfa_enabled?: Prisma.IntNullableFilter<"users"> | number | null + mfa_secret?: Prisma.StringNullableFilter<"users"> | string | null + mfa_backup_codes?: Prisma.StringNullableFilter<"users"> | string | null + immich_url?: Prisma.StringNullableFilter<"users"> | string | null + immich_access_token?: Prisma.StringNullableFilter<"users"> | string | null + synology_url?: Prisma.StringNullableFilter<"users"> | string | null + synology_username?: Prisma.StringNullableFilter<"users"> | string | null + synology_password?: Prisma.StringNullableFilter<"users"> | string | null + synology_sid?: Prisma.StringNullableFilter<"users"> | string | null + must_change_password?: Prisma.IntNullableFilter<"users"> | number | null + password_version?: Prisma.IntFilter<"users"> | number + created_at?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + immich_api_key?: Prisma.StringNullableFilter<"users"> | string | null + synology_skip_ssl?: Prisma.IntFilter<"users"> | number + synology_did?: Prisma.StringNullableFilter<"users"> | string | null + first_seen_version?: Prisma.StringFilter<"users"> | string + login_count?: Prisma.IntFilter<"users"> | number + immich_auto_upload?: Prisma.IntFilter<"users"> | number + assignment_participants?: Prisma.Assignment_participantsListRelationFilter + audit_log?: Prisma.Audit_logListRelationFilter + bucket_list?: Prisma.Bucket_listListRelationFilter + budget_item_members?: Prisma.Budget_item_membersListRelationFilter + budget_items?: Prisma.Budget_itemsListRelationFilter + categories?: Prisma.CategoriesListRelationFilter + collab_message_reactions?: Prisma.Collab_message_reactionsListRelationFilter + collab_messages?: Prisma.Collab_messagesListRelationFilter + collab_notes?: Prisma.Collab_notesListRelationFilter + collab_poll_votes?: Prisma.Collab_poll_votesListRelationFilter + collab_polls?: Prisma.Collab_pollsListRelationFilter + idempotency_keys?: Prisma.Idempotency_keysListRelationFilter + invite_tokens?: Prisma.Invite_tokensListRelationFilter + journey_contributors?: Prisma.Journey_contributorsListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_share_tokens?: Prisma.Journey_share_tokensListRelationFilter + journeys?: Prisma.JourneysListRelationFilter + mcp_tokens?: Prisma.Mcp_tokensListRelationFilter + notification_channel_preferences?: Prisma.Notification_channel_preferencesListRelationFilter + notifications_notifications_recipient_idTousers?: Prisma.NotificationsListRelationFilter + notifications_notifications_sender_idTousers?: Prisma.NotificationsListRelationFilter + oauth_clients?: Prisma.Oauth_clientsListRelationFilter + oauth_consents?: Prisma.Oauth_consentsListRelationFilter + oauth_tokens?: Prisma.Oauth_tokensListRelationFilter + packing_bag_members?: Prisma.Packing_bag_membersListRelationFilter + packing_bags?: Prisma.Packing_bagsListRelationFilter + packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter + packing_templates?: Prisma.Packing_templatesListRelationFilter + password_reset_tokens?: Prisma.Password_reset_tokensListRelationFilter + settings?: Prisma.SettingsListRelationFilter + share_tokens?: Prisma.Share_tokensListRelationFilter + tags?: Prisma.TagsListRelationFilter + todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter + todo_items?: Prisma.Todo_itemsListRelationFilter + trek_photos?: Prisma.Trek_photosListRelationFilter + trip_album_links?: Prisma.Trip_album_linksListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter + trip_members_trip_members_invited_byTousers?: Prisma.Trip_membersListRelationFilter + trip_members_trip_members_user_idTousers?: Prisma.Trip_membersListRelationFilter + trip_photos?: Prisma.Trip_photosListRelationFilter + trips?: Prisma.TripsListRelationFilter + user_notice_dismissals?: Prisma.User_notice_dismissalsListRelationFilter + vacay_entries?: Prisma.Vacay_entriesListRelationFilter + vacay_plan_members?: Prisma.Vacay_plan_membersListRelationFilter + vacay_plans?: Prisma.XOR | null + vacay_user_colors?: Prisma.Vacay_user_colorsListRelationFilter + vacay_user_years?: Prisma.Vacay_user_yearsListRelationFilter + visited_countries?: Prisma.Visited_countriesListRelationFilter + visited_regions?: Prisma.Visited_regionsListRelationFilter +} + +export type usersOrderByWithRelationInput = { + id?: Prisma.SortOrder + username?: Prisma.SortOrder + email?: Prisma.SortOrder + password_hash?: Prisma.SortOrder + role?: Prisma.SortOrder + maps_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + unsplash_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + openweather_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + avatar?: Prisma.SortOrderInput | Prisma.SortOrder + oidc_sub?: Prisma.SortOrderInput | Prisma.SortOrder + oidc_issuer?: Prisma.SortOrderInput | Prisma.SortOrder + last_login?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_secret?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_backup_codes?: Prisma.SortOrderInput | Prisma.SortOrder + immich_url?: Prisma.SortOrderInput | Prisma.SortOrder + immich_access_token?: Prisma.SortOrderInput | Prisma.SortOrder + synology_url?: Prisma.SortOrderInput | Prisma.SortOrder + synology_username?: Prisma.SortOrderInput | Prisma.SortOrder + synology_password?: Prisma.SortOrderInput | Prisma.SortOrder + synology_sid?: Prisma.SortOrderInput | Prisma.SortOrder + must_change_password?: Prisma.SortOrderInput | Prisma.SortOrder + password_version?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + immich_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + synology_did?: Prisma.SortOrderInput | Prisma.SortOrder + first_seen_version?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder + assignment_participants?: Prisma.assignment_participantsOrderByRelationAggregateInput + audit_log?: Prisma.audit_logOrderByRelationAggregateInput + bucket_list?: Prisma.bucket_listOrderByRelationAggregateInput + budget_item_members?: Prisma.budget_item_membersOrderByRelationAggregateInput + budget_items?: Prisma.budget_itemsOrderByRelationAggregateInput + categories?: Prisma.categoriesOrderByRelationAggregateInput + collab_message_reactions?: Prisma.collab_message_reactionsOrderByRelationAggregateInput + collab_messages?: Prisma.collab_messagesOrderByRelationAggregateInput + collab_notes?: Prisma.collab_notesOrderByRelationAggregateInput + collab_poll_votes?: Prisma.collab_poll_votesOrderByRelationAggregateInput + collab_polls?: Prisma.collab_pollsOrderByRelationAggregateInput + idempotency_keys?: Prisma.idempotency_keysOrderByRelationAggregateInput + invite_tokens?: Prisma.invite_tokensOrderByRelationAggregateInput + journey_contributors?: Prisma.journey_contributorsOrderByRelationAggregateInput + journey_entries?: Prisma.journey_entriesOrderByRelationAggregateInput + journey_share_tokens?: Prisma.journey_share_tokensOrderByRelationAggregateInput + journeys?: Prisma.journeysOrderByRelationAggregateInput + mcp_tokens?: Prisma.mcp_tokensOrderByRelationAggregateInput + notification_channel_preferences?: Prisma.notification_channel_preferencesOrderByRelationAggregateInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsOrderByRelationAggregateInput + notifications_notifications_sender_idTousers?: Prisma.notificationsOrderByRelationAggregateInput + oauth_clients?: Prisma.oauth_clientsOrderByRelationAggregateInput + oauth_consents?: Prisma.oauth_consentsOrderByRelationAggregateInput + oauth_tokens?: Prisma.oauth_tokensOrderByRelationAggregateInput + packing_bag_members?: Prisma.packing_bag_membersOrderByRelationAggregateInput + packing_bags?: Prisma.packing_bagsOrderByRelationAggregateInput + packing_category_assignees?: Prisma.packing_category_assigneesOrderByRelationAggregateInput + packing_templates?: Prisma.packing_templatesOrderByRelationAggregateInput + password_reset_tokens?: Prisma.password_reset_tokensOrderByRelationAggregateInput + settings?: Prisma.settingsOrderByRelationAggregateInput + share_tokens?: Prisma.share_tokensOrderByRelationAggregateInput + tags?: Prisma.tagsOrderByRelationAggregateInput + todo_category_assignees?: Prisma.todo_category_assigneesOrderByRelationAggregateInput + todo_items?: Prisma.todo_itemsOrderByRelationAggregateInput + trek_photos?: Prisma.trek_photosOrderByRelationAggregateInput + trip_album_links?: Prisma.trip_album_linksOrderByRelationAggregateInput + trip_files?: Prisma.trip_filesOrderByRelationAggregateInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersOrderByRelationAggregateInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersOrderByRelationAggregateInput + trip_photos?: Prisma.trip_photosOrderByRelationAggregateInput + trips?: Prisma.tripsOrderByRelationAggregateInput + user_notice_dismissals?: Prisma.user_notice_dismissalsOrderByRelationAggregateInput + vacay_entries?: Prisma.vacay_entriesOrderByRelationAggregateInput + vacay_plan_members?: Prisma.vacay_plan_membersOrderByRelationAggregateInput + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput + vacay_user_colors?: Prisma.vacay_user_colorsOrderByRelationAggregateInput + vacay_user_years?: Prisma.vacay_user_yearsOrderByRelationAggregateInput + visited_countries?: Prisma.visited_countriesOrderByRelationAggregateInput + visited_regions?: Prisma.visited_regionsOrderByRelationAggregateInput +} + +export type usersWhereUniqueInput = Prisma.AtLeast<{ + id?: number + username?: string + email?: string + AND?: Prisma.usersWhereInput | Prisma.usersWhereInput[] + OR?: Prisma.usersWhereInput[] + NOT?: Prisma.usersWhereInput | Prisma.usersWhereInput[] + password_hash?: Prisma.StringFilter<"users"> | string + role?: Prisma.StringFilter<"users"> | string + maps_api_key?: Prisma.StringNullableFilter<"users"> | string | null + unsplash_api_key?: Prisma.StringNullableFilter<"users"> | string | null + openweather_api_key?: Prisma.StringNullableFilter<"users"> | string | null + avatar?: Prisma.StringNullableFilter<"users"> | string | null + oidc_sub?: Prisma.StringNullableFilter<"users"> | string | null + oidc_issuer?: Prisma.StringNullableFilter<"users"> | string | null + last_login?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + mfa_enabled?: Prisma.IntNullableFilter<"users"> | number | null + mfa_secret?: Prisma.StringNullableFilter<"users"> | string | null + mfa_backup_codes?: Prisma.StringNullableFilter<"users"> | string | null + immich_url?: Prisma.StringNullableFilter<"users"> | string | null + immich_access_token?: Prisma.StringNullableFilter<"users"> | string | null + synology_url?: Prisma.StringNullableFilter<"users"> | string | null + synology_username?: Prisma.StringNullableFilter<"users"> | string | null + synology_password?: Prisma.StringNullableFilter<"users"> | string | null + synology_sid?: Prisma.StringNullableFilter<"users"> | string | null + must_change_password?: Prisma.IntNullableFilter<"users"> | number | null + password_version?: Prisma.IntFilter<"users"> | number + created_at?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + updated_at?: Prisma.DateTimeNullableFilter<"users"> | Date | string | null + immich_api_key?: Prisma.StringNullableFilter<"users"> | string | null + synology_skip_ssl?: Prisma.IntFilter<"users"> | number + synology_did?: Prisma.StringNullableFilter<"users"> | string | null + first_seen_version?: Prisma.StringFilter<"users"> | string + login_count?: Prisma.IntFilter<"users"> | number + immich_auto_upload?: Prisma.IntFilter<"users"> | number + assignment_participants?: Prisma.Assignment_participantsListRelationFilter + audit_log?: Prisma.Audit_logListRelationFilter + bucket_list?: Prisma.Bucket_listListRelationFilter + budget_item_members?: Prisma.Budget_item_membersListRelationFilter + budget_items?: Prisma.Budget_itemsListRelationFilter + categories?: Prisma.CategoriesListRelationFilter + collab_message_reactions?: Prisma.Collab_message_reactionsListRelationFilter + collab_messages?: Prisma.Collab_messagesListRelationFilter + collab_notes?: Prisma.Collab_notesListRelationFilter + collab_poll_votes?: Prisma.Collab_poll_votesListRelationFilter + collab_polls?: Prisma.Collab_pollsListRelationFilter + idempotency_keys?: Prisma.Idempotency_keysListRelationFilter + invite_tokens?: Prisma.Invite_tokensListRelationFilter + journey_contributors?: Prisma.Journey_contributorsListRelationFilter + journey_entries?: Prisma.Journey_entriesListRelationFilter + journey_share_tokens?: Prisma.Journey_share_tokensListRelationFilter + journeys?: Prisma.JourneysListRelationFilter + mcp_tokens?: Prisma.Mcp_tokensListRelationFilter + notification_channel_preferences?: Prisma.Notification_channel_preferencesListRelationFilter + notifications_notifications_recipient_idTousers?: Prisma.NotificationsListRelationFilter + notifications_notifications_sender_idTousers?: Prisma.NotificationsListRelationFilter + oauth_clients?: Prisma.Oauth_clientsListRelationFilter + oauth_consents?: Prisma.Oauth_consentsListRelationFilter + oauth_tokens?: Prisma.Oauth_tokensListRelationFilter + packing_bag_members?: Prisma.Packing_bag_membersListRelationFilter + packing_bags?: Prisma.Packing_bagsListRelationFilter + packing_category_assignees?: Prisma.Packing_category_assigneesListRelationFilter + packing_templates?: Prisma.Packing_templatesListRelationFilter + password_reset_tokens?: Prisma.Password_reset_tokensListRelationFilter + settings?: Prisma.SettingsListRelationFilter + share_tokens?: Prisma.Share_tokensListRelationFilter + tags?: Prisma.TagsListRelationFilter + todo_category_assignees?: Prisma.Todo_category_assigneesListRelationFilter + todo_items?: Prisma.Todo_itemsListRelationFilter + trek_photos?: Prisma.Trek_photosListRelationFilter + trip_album_links?: Prisma.Trip_album_linksListRelationFilter + trip_files?: Prisma.Trip_filesListRelationFilter + trip_members_trip_members_invited_byTousers?: Prisma.Trip_membersListRelationFilter + trip_members_trip_members_user_idTousers?: Prisma.Trip_membersListRelationFilter + trip_photos?: Prisma.Trip_photosListRelationFilter + trips?: Prisma.TripsListRelationFilter + user_notice_dismissals?: Prisma.User_notice_dismissalsListRelationFilter + vacay_entries?: Prisma.Vacay_entriesListRelationFilter + vacay_plan_members?: Prisma.Vacay_plan_membersListRelationFilter + vacay_plans?: Prisma.XOR | null + vacay_user_colors?: Prisma.Vacay_user_colorsListRelationFilter + vacay_user_years?: Prisma.Vacay_user_yearsListRelationFilter + visited_countries?: Prisma.Visited_countriesListRelationFilter + visited_regions?: Prisma.Visited_regionsListRelationFilter +}, "id" | "username" | "email"> + +export type usersOrderByWithAggregationInput = { + id?: Prisma.SortOrder + username?: Prisma.SortOrder + email?: Prisma.SortOrder + password_hash?: Prisma.SortOrder + role?: Prisma.SortOrder + maps_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + unsplash_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + openweather_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + avatar?: Prisma.SortOrderInput | Prisma.SortOrder + oidc_sub?: Prisma.SortOrderInput | Prisma.SortOrder + oidc_issuer?: Prisma.SortOrderInput | Prisma.SortOrder + last_login?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_secret?: Prisma.SortOrderInput | Prisma.SortOrder + mfa_backup_codes?: Prisma.SortOrderInput | Prisma.SortOrder + immich_url?: Prisma.SortOrderInput | Prisma.SortOrder + immich_access_token?: Prisma.SortOrderInput | Prisma.SortOrder + synology_url?: Prisma.SortOrderInput | Prisma.SortOrder + synology_username?: Prisma.SortOrderInput | Prisma.SortOrder + synology_password?: Prisma.SortOrderInput | Prisma.SortOrder + synology_sid?: Prisma.SortOrderInput | Prisma.SortOrder + must_change_password?: Prisma.SortOrderInput | Prisma.SortOrder + password_version?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + updated_at?: Prisma.SortOrderInput | Prisma.SortOrder + immich_api_key?: Prisma.SortOrderInput | Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + synology_did?: Prisma.SortOrderInput | Prisma.SortOrder + first_seen_version?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder + _count?: Prisma.usersCountOrderByAggregateInput + _avg?: Prisma.usersAvgOrderByAggregateInput + _max?: Prisma.usersMaxOrderByAggregateInput + _min?: Prisma.usersMinOrderByAggregateInput + _sum?: Prisma.usersSumOrderByAggregateInput +} + +export type usersScalarWhereWithAggregatesInput = { + AND?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[] + OR?: Prisma.usersScalarWhereWithAggregatesInput[] + NOT?: Prisma.usersScalarWhereWithAggregatesInput | Prisma.usersScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"users"> | number + username?: Prisma.StringWithAggregatesFilter<"users"> | string + email?: Prisma.StringWithAggregatesFilter<"users"> | string + password_hash?: Prisma.StringWithAggregatesFilter<"users"> | string + role?: Prisma.StringWithAggregatesFilter<"users"> | string + maps_api_key?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + unsplash_api_key?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + openweather_api_key?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + avatar?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + oidc_sub?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + oidc_issuer?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + last_login?: Prisma.DateTimeNullableWithAggregatesFilter<"users"> | Date | string | null + mfa_enabled?: Prisma.IntNullableWithAggregatesFilter<"users"> | number | null + mfa_secret?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + mfa_backup_codes?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + immich_url?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + immich_access_token?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + synology_url?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + synology_username?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + synology_password?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + synology_sid?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + must_change_password?: Prisma.IntNullableWithAggregatesFilter<"users"> | number | null + password_version?: Prisma.IntWithAggregatesFilter<"users"> | number + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"users"> | Date | string | null + updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"users"> | Date | string | null + immich_api_key?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + synology_skip_ssl?: Prisma.IntWithAggregatesFilter<"users"> | number + synology_did?: Prisma.StringNullableWithAggregatesFilter<"users"> | string | null + first_seen_version?: Prisma.StringWithAggregatesFilter<"users"> | string + login_count?: Prisma.IntWithAggregatesFilter<"users"> | number + immich_auto_upload?: Prisma.IntWithAggregatesFilter<"users"> | number +} + +export type usersCreateInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersUpdateInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateManyInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number +} + +export type usersUpdateManyMutationInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type usersUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type UsersScalarRelationFilter = { + is?: Prisma.usersWhereInput + isNot?: Prisma.usersWhereInput +} + +export type UsersNullableScalarRelationFilter = { + is?: Prisma.usersWhereInput | null + isNot?: Prisma.usersWhereInput | null +} + +export type usersCountOrderByAggregateInput = { + id?: Prisma.SortOrder + username?: Prisma.SortOrder + email?: Prisma.SortOrder + password_hash?: Prisma.SortOrder + role?: Prisma.SortOrder + maps_api_key?: Prisma.SortOrder + unsplash_api_key?: Prisma.SortOrder + openweather_api_key?: Prisma.SortOrder + avatar?: Prisma.SortOrder + oidc_sub?: Prisma.SortOrder + oidc_issuer?: Prisma.SortOrder + last_login?: Prisma.SortOrder + mfa_enabled?: Prisma.SortOrder + mfa_secret?: Prisma.SortOrder + mfa_backup_codes?: Prisma.SortOrder + immich_url?: Prisma.SortOrder + immich_access_token?: Prisma.SortOrder + synology_url?: Prisma.SortOrder + synology_username?: Prisma.SortOrder + synology_password?: Prisma.SortOrder + synology_sid?: Prisma.SortOrder + must_change_password?: Prisma.SortOrder + password_version?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + immich_api_key?: Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + synology_did?: Prisma.SortOrder + first_seen_version?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder +} + +export type usersAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + mfa_enabled?: Prisma.SortOrder + must_change_password?: Prisma.SortOrder + password_version?: Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder +} + +export type usersMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + username?: Prisma.SortOrder + email?: Prisma.SortOrder + password_hash?: Prisma.SortOrder + role?: Prisma.SortOrder + maps_api_key?: Prisma.SortOrder + unsplash_api_key?: Prisma.SortOrder + openweather_api_key?: Prisma.SortOrder + avatar?: Prisma.SortOrder + oidc_sub?: Prisma.SortOrder + oidc_issuer?: Prisma.SortOrder + last_login?: Prisma.SortOrder + mfa_enabled?: Prisma.SortOrder + mfa_secret?: Prisma.SortOrder + mfa_backup_codes?: Prisma.SortOrder + immich_url?: Prisma.SortOrder + immich_access_token?: Prisma.SortOrder + synology_url?: Prisma.SortOrder + synology_username?: Prisma.SortOrder + synology_password?: Prisma.SortOrder + synology_sid?: Prisma.SortOrder + must_change_password?: Prisma.SortOrder + password_version?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + immich_api_key?: Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + synology_did?: Prisma.SortOrder + first_seen_version?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder +} + +export type usersMinOrderByAggregateInput = { + id?: Prisma.SortOrder + username?: Prisma.SortOrder + email?: Prisma.SortOrder + password_hash?: Prisma.SortOrder + role?: Prisma.SortOrder + maps_api_key?: Prisma.SortOrder + unsplash_api_key?: Prisma.SortOrder + openweather_api_key?: Prisma.SortOrder + avatar?: Prisma.SortOrder + oidc_sub?: Prisma.SortOrder + oidc_issuer?: Prisma.SortOrder + last_login?: Prisma.SortOrder + mfa_enabled?: Prisma.SortOrder + mfa_secret?: Prisma.SortOrder + mfa_backup_codes?: Prisma.SortOrder + immich_url?: Prisma.SortOrder + immich_access_token?: Prisma.SortOrder + synology_url?: Prisma.SortOrder + synology_username?: Prisma.SortOrder + synology_password?: Prisma.SortOrder + synology_sid?: Prisma.SortOrder + must_change_password?: Prisma.SortOrder + password_version?: Prisma.SortOrder + created_at?: Prisma.SortOrder + updated_at?: Prisma.SortOrder + immich_api_key?: Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + synology_did?: Prisma.SortOrder + first_seen_version?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder +} + +export type usersSumOrderByAggregateInput = { + id?: Prisma.SortOrder + mfa_enabled?: Prisma.SortOrder + must_change_password?: Prisma.SortOrder + password_version?: Prisma.SortOrder + synology_skip_ssl?: Prisma.SortOrder + login_count?: Prisma.SortOrder + immich_auto_upload?: Prisma.SortOrder +} + +export type usersCreateNestedOneWithoutAssignment_participantsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutAssignment_participantsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutAssignment_participantsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutAssignment_participantsInput + upsert?: Prisma.usersUpsertWithoutAssignment_participantsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutAssignment_participantsInput> +} + +export type usersCreateNestedOneWithoutAudit_logInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutAudit_logInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutAudit_logNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutAudit_logInput + upsert?: Prisma.usersUpsertWithoutAudit_logInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutAudit_logInput> +} + +export type usersCreateNestedOneWithoutBucket_listInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBucket_listInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutBucket_listNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBucket_listInput + upsert?: Prisma.usersUpsertWithoutBucket_listInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutBucket_listInput> +} + +export type usersCreateNestedOneWithoutBudget_item_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBudget_item_membersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutBudget_item_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBudget_item_membersInput + upsert?: Prisma.usersUpsertWithoutBudget_item_membersInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutBudget_item_membersInput> +} + +export type usersCreateNestedOneWithoutBudget_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBudget_itemsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutBudget_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutBudget_itemsInput + upsert?: Prisma.usersUpsertWithoutBudget_itemsInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutBudget_itemsInput> +} + +export type usersCreateNestedOneWithoutCategoriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCategoriesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutCategoriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCategoriesInput + upsert?: Prisma.usersUpsertWithoutCategoriesInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCategoriesInput> +} + +export type usersCreateNestedOneWithoutCollab_message_reactionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_message_reactionsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutCollab_message_reactionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_message_reactionsInput + upsert?: Prisma.usersUpsertWithoutCollab_message_reactionsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCollab_message_reactionsInput> +} + +export type usersCreateNestedOneWithoutCollab_messagesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_messagesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutCollab_messagesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_messagesInput + upsert?: Prisma.usersUpsertWithoutCollab_messagesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCollab_messagesInput> +} + +export type usersCreateNestedOneWithoutCollab_notesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_notesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutCollab_notesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_notesInput + upsert?: Prisma.usersUpsertWithoutCollab_notesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCollab_notesInput> +} + +export type usersCreateNestedOneWithoutCollab_poll_votesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_poll_votesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutCollab_poll_votesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_poll_votesInput + upsert?: Prisma.usersUpsertWithoutCollab_poll_votesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCollab_poll_votesInput> +} + +export type usersCreateNestedOneWithoutCollab_pollsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_pollsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutCollab_pollsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutCollab_pollsInput + upsert?: Prisma.usersUpsertWithoutCollab_pollsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutCollab_pollsInput> +} + +export type usersCreateNestedOneWithoutIdempotency_keysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutIdempotency_keysInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutIdempotency_keysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutIdempotency_keysInput + upsert?: Prisma.usersUpsertWithoutIdempotency_keysInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutIdempotency_keysInput> +} + +export type usersCreateNestedOneWithoutInvite_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutInvite_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutInvite_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutInvite_tokensInput + upsert?: Prisma.usersUpsertWithoutInvite_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutInvite_tokensInput> +} + +export type usersCreateNestedOneWithoutJourney_contributorsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_contributorsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutJourney_contributorsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_contributorsInput + upsert?: Prisma.usersUpsertWithoutJourney_contributorsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutJourney_contributorsInput> +} + +export type usersCreateNestedOneWithoutJourney_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_entriesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutJourney_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_entriesInput + upsert?: Prisma.usersUpsertWithoutJourney_entriesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutJourney_entriesInput> +} + +export type usersCreateNestedOneWithoutJourney_share_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_share_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutJourney_share_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourney_share_tokensInput + upsert?: Prisma.usersUpsertWithoutJourney_share_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutJourney_share_tokensInput> +} + +export type usersCreateNestedOneWithoutJourneysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourneysInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutJourneysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutJourneysInput + upsert?: Prisma.usersUpsertWithoutJourneysInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutJourneysInput> +} + +export type usersCreateNestedOneWithoutMcp_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutMcp_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutMcp_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutMcp_tokensInput + upsert?: Prisma.usersUpsertWithoutMcp_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutMcp_tokensInput> +} + +export type usersCreateNestedOneWithoutNotification_channel_preferencesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotification_channel_preferencesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutNotification_channel_preferencesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotification_channel_preferencesInput + upsert?: Prisma.usersUpsertWithoutNotification_channel_preferencesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutNotification_channel_preferencesInput> +} + +export type usersCreateNestedOneWithoutNotifications_notifications_recipient_idTousersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotifications_notifications_recipient_idTousersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersCreateNestedOneWithoutNotifications_notifications_sender_idTousersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotifications_notifications_sender_idTousersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutNotifications_notifications_recipient_idTousersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotifications_notifications_recipient_idTousersInput + upsert?: Prisma.usersUpsertWithoutNotifications_notifications_recipient_idTousersInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutNotifications_notifications_recipient_idTousersInput> +} + +export type usersUpdateOneWithoutNotifications_notifications_sender_idTousersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutNotifications_notifications_sender_idTousersInput + upsert?: Prisma.usersUpsertWithoutNotifications_notifications_sender_idTousersInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutNotifications_notifications_sender_idTousersInput> +} + +export type usersCreateNestedOneWithoutOauth_clientsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_clientsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutOauth_clientsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_clientsInput + upsert?: Prisma.usersUpsertWithoutOauth_clientsInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutOauth_clientsInput> +} + +export type usersCreateNestedOneWithoutOauth_consentsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_consentsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutOauth_consentsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_consentsInput + upsert?: Prisma.usersUpsertWithoutOauth_consentsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutOauth_consentsInput> +} + +export type usersCreateNestedOneWithoutOauth_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutOauth_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutOauth_tokensInput + upsert?: Prisma.usersUpsertWithoutOauth_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutOauth_tokensInput> +} + +export type usersCreateNestedOneWithoutPacking_bag_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_bag_membersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutPacking_bag_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_bag_membersInput + upsert?: Prisma.usersUpsertWithoutPacking_bag_membersInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutPacking_bag_membersInput> +} + +export type usersCreateNestedOneWithoutPacking_bagsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_bagsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutPacking_bagsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_bagsInput + upsert?: Prisma.usersUpsertWithoutPacking_bagsInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutPacking_bagsInput> +} + +export type usersCreateNestedOneWithoutPacking_category_assigneesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_category_assigneesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutPacking_category_assigneesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_category_assigneesInput + upsert?: Prisma.usersUpsertWithoutPacking_category_assigneesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutPacking_category_assigneesInput> +} + +export type usersCreateNestedOneWithoutPacking_templatesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_templatesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutPacking_templatesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPacking_templatesInput + upsert?: Prisma.usersUpsertWithoutPacking_templatesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutPacking_templatesInput> +} + +export type usersCreateNestedOneWithoutPassword_reset_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPassword_reset_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutPassword_reset_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutPassword_reset_tokensInput + upsert?: Prisma.usersUpsertWithoutPassword_reset_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutPassword_reset_tokensInput> +} + +export type usersCreateNestedOneWithoutSettingsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutSettingsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutSettingsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutSettingsInput + upsert?: Prisma.usersUpsertWithoutSettingsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutSettingsInput> +} + +export type usersCreateNestedOneWithoutShare_tokensInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutShare_tokensInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutShare_tokensNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutShare_tokensInput + upsert?: Prisma.usersUpsertWithoutShare_tokensInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutShare_tokensInput> +} + +export type usersCreateNestedOneWithoutTagsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTagsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutTagsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTagsInput + upsert?: Prisma.usersUpsertWithoutTagsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTagsInput> +} + +export type usersCreateNestedOneWithoutTodo_category_assigneesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTodo_category_assigneesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutTodo_category_assigneesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTodo_category_assigneesInput + upsert?: Prisma.usersUpsertWithoutTodo_category_assigneesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTodo_category_assigneesInput> +} + +export type usersCreateNestedOneWithoutTodo_itemsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTodo_itemsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutTodo_itemsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTodo_itemsInput + upsert?: Prisma.usersUpsertWithoutTodo_itemsInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTodo_itemsInput> +} + +export type usersCreateNestedOneWithoutTrek_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrek_photosInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutTrek_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrek_photosInput + upsert?: Prisma.usersUpsertWithoutTrek_photosInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrek_photosInput> +} + +export type usersCreateNestedOneWithoutTrip_album_linksInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_album_linksInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutTrip_album_linksNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_album_linksInput + upsert?: Prisma.usersUpsertWithoutTrip_album_linksInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrip_album_linksInput> +} + +export type usersCreateNestedOneWithoutTrip_filesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_filesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutTrip_filesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_filesInput + upsert?: Prisma.usersUpsertWithoutTrip_filesInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrip_filesInput> +} + +export type usersCreateNestedOneWithoutTrip_members_trip_members_invited_byTousersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_members_trip_members_invited_byTousersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersCreateNestedOneWithoutTrip_members_trip_members_user_idTousersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_members_trip_members_user_idTousersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneWithoutTrip_members_trip_members_invited_byTousersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_members_trip_members_invited_byTousersInput + upsert?: Prisma.usersUpsertWithoutTrip_members_trip_members_invited_byTousersInput + disconnect?: Prisma.usersWhereInput | boolean + delete?: Prisma.usersWhereInput | boolean + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrip_members_trip_members_invited_byTousersInput> +} + +export type usersUpdateOneRequiredWithoutTrip_members_trip_members_user_idTousersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_members_trip_members_user_idTousersInput + upsert?: Prisma.usersUpsertWithoutTrip_members_trip_members_user_idTousersInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrip_members_trip_members_user_idTousersInput> +} + +export type usersCreateNestedOneWithoutTrip_photosInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_photosInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutTrip_photosNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTrip_photosInput + upsert?: Prisma.usersUpsertWithoutTrip_photosInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTrip_photosInput> +} + +export type usersCreateNestedOneWithoutTripsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTripsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutTripsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutTripsInput + upsert?: Prisma.usersUpsertWithoutTripsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutTripsInput> +} + +export type usersCreateNestedOneWithoutUser_notice_dismissalsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_notice_dismissalsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutUser_notice_dismissalsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutUser_notice_dismissalsInput + upsert?: Prisma.usersUpsertWithoutUser_notice_dismissalsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutUser_notice_dismissalsInput> +} + +export type usersCreateNestedOneWithoutVacay_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_entriesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVacay_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_entriesInput + upsert?: Prisma.usersUpsertWithoutVacay_entriesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVacay_entriesInput> +} + +export type usersCreateNestedOneWithoutVacay_plan_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_plan_membersInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVacay_plan_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_plan_membersInput + upsert?: Prisma.usersUpsertWithoutVacay_plan_membersInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVacay_plan_membersInput> +} + +export type usersCreateNestedOneWithoutVacay_plansInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_plansInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVacay_plansNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_plansInput + upsert?: Prisma.usersUpsertWithoutVacay_plansInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVacay_plansInput> +} + +export type usersCreateNestedOneWithoutVacay_user_colorsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_user_colorsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVacay_user_colorsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_user_colorsInput + upsert?: Prisma.usersUpsertWithoutVacay_user_colorsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVacay_user_colorsInput> +} + +export type usersCreateNestedOneWithoutVacay_user_yearsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_user_yearsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVacay_user_yearsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVacay_user_yearsInput + upsert?: Prisma.usersUpsertWithoutVacay_user_yearsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVacay_user_yearsInput> +} + +export type usersCreateNestedOneWithoutVisited_countriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVisited_countriesInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVisited_countriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVisited_countriesInput + upsert?: Prisma.usersUpsertWithoutVisited_countriesInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVisited_countriesInput> +} + +export type usersCreateNestedOneWithoutVisited_regionsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVisited_regionsInput + connect?: Prisma.usersWhereUniqueInput +} + +export type usersUpdateOneRequiredWithoutVisited_regionsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.usersCreateOrConnectWithoutVisited_regionsInput + upsert?: Prisma.usersUpsertWithoutVisited_regionsInput + connect?: Prisma.usersWhereUniqueInput + update?: Prisma.XOR, Prisma.usersUncheckedUpdateWithoutVisited_regionsInput> +} + +export type usersCreateWithoutAssignment_participantsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutAssignment_participantsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutAssignment_participantsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutAssignment_participantsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutAssignment_participantsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutAssignment_participantsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutAssignment_participantsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutAudit_logInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutAudit_logInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutAudit_logInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutAudit_logInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutAudit_logInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutAudit_logInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutAudit_logInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutBucket_listInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutBucket_listInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutBucket_listInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutBucket_listInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutBucket_listInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutBucket_listInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutBucket_listInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutBudget_item_membersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutBudget_item_membersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutBudget_item_membersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutBudget_item_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutBudget_item_membersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutBudget_item_membersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutBudget_item_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutBudget_itemsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutBudget_itemsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutBudget_itemsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutBudget_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutBudget_itemsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutBudget_itemsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutBudget_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCategoriesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCategoriesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCategoriesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCategoriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCategoriesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCategoriesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCategoriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCollab_message_reactionsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCollab_message_reactionsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCollab_message_reactionsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCollab_message_reactionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCollab_message_reactionsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCollab_message_reactionsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCollab_message_reactionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCollab_messagesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCollab_messagesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCollab_messagesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCollab_messagesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCollab_messagesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCollab_messagesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCollab_messagesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCollab_notesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCollab_notesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCollab_notesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCollab_notesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCollab_notesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCollab_notesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCollab_notesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCollab_poll_votesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCollab_poll_votesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCollab_poll_votesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCollab_poll_votesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCollab_poll_votesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCollab_poll_votesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCollab_poll_votesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutCollab_pollsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutCollab_pollsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutCollab_pollsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutCollab_pollsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutCollab_pollsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutCollab_pollsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutCollab_pollsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutIdempotency_keysInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutIdempotency_keysInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutIdempotency_keysInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutIdempotency_keysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutIdempotency_keysInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutIdempotency_keysInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutIdempotency_keysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutInvite_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutInvite_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutInvite_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutInvite_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutInvite_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutInvite_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutInvite_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutJourney_contributorsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutJourney_contributorsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutJourney_contributorsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutJourney_contributorsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutJourney_contributorsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutJourney_contributorsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutJourney_contributorsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutJourney_entriesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutJourney_entriesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutJourney_entriesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutJourney_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutJourney_entriesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutJourney_entriesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutJourney_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutJourney_share_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutJourney_share_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutJourney_share_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutJourney_share_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutJourney_share_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutJourney_share_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutJourney_share_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutJourneysInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutJourneysInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutJourneysInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutJourneysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutJourneysInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutJourneysInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutJourneysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutMcp_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutMcp_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutMcp_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutMcp_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutMcp_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutMcp_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutMcp_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutNotification_channel_preferencesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutNotification_channel_preferencesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutNotification_channel_preferencesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutNotification_channel_preferencesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutNotification_channel_preferencesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutNotification_channel_preferencesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutNotification_channel_preferencesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutNotifications_notifications_recipient_idTousersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutNotifications_notifications_recipient_idTousersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutNotifications_notifications_recipient_idTousersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersCreateWithoutNotifications_notifications_sender_idTousersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutNotifications_notifications_sender_idTousersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutNotifications_notifications_sender_idTousersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutNotifications_notifications_recipient_idTousersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutNotifications_notifications_recipient_idTousersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutNotifications_notifications_recipient_idTousersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutNotifications_notifications_recipient_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersUpsertWithoutNotifications_notifications_sender_idTousersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutNotifications_notifications_sender_idTousersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutNotifications_notifications_sender_idTousersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutNotifications_notifications_sender_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutOauth_clientsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutOauth_clientsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutOauth_clientsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutOauth_clientsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutOauth_clientsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutOauth_clientsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutOauth_clientsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutOauth_consentsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutOauth_consentsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutOauth_consentsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutOauth_consentsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutOauth_consentsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutOauth_consentsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutOauth_consentsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutOauth_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutOauth_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutOauth_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutOauth_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutOauth_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutOauth_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutOauth_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutPacking_bag_membersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutPacking_bag_membersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutPacking_bag_membersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutPacking_bag_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutPacking_bag_membersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutPacking_bag_membersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutPacking_bag_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutPacking_bagsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutPacking_bagsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutPacking_bagsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutPacking_bagsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutPacking_bagsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutPacking_bagsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutPacking_bagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutPacking_category_assigneesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutPacking_category_assigneesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutPacking_category_assigneesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutPacking_category_assigneesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutPacking_category_assigneesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutPacking_category_assigneesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutPacking_category_assigneesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutPacking_templatesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutPacking_templatesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutPacking_templatesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutPacking_templatesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutPacking_templatesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutPacking_templatesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutPacking_templatesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutPassword_reset_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutPassword_reset_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutPassword_reset_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutPassword_reset_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutPassword_reset_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutPassword_reset_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutPassword_reset_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutSettingsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutSettingsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutSettingsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutSettingsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutSettingsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutSettingsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutSettingsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutShare_tokensInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutShare_tokensInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutShare_tokensInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutShare_tokensInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutShare_tokensInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutShare_tokensInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutShare_tokensInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTagsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTagsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTagsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTagsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTagsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTagsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTagsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTodo_category_assigneesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTodo_category_assigneesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTodo_category_assigneesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTodo_category_assigneesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTodo_category_assigneesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTodo_category_assigneesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTodo_category_assigneesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTodo_itemsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTodo_itemsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTodo_itemsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTodo_itemsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTodo_itemsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTodo_itemsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTodo_itemsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTrek_photosInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrek_photosInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrek_photosInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTrek_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrek_photosInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrek_photosInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrek_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTrip_album_linksInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrip_album_linksInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrip_album_linksInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTrip_album_linksInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrip_album_linksInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrip_album_linksInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrip_album_linksInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTrip_filesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrip_filesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrip_filesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTrip_filesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrip_filesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrip_filesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrip_filesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTrip_members_trip_members_invited_byTousersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrip_members_trip_members_invited_byTousersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrip_members_trip_members_invited_byTousersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersCreateWithoutTrip_members_trip_members_user_idTousersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrip_members_trip_members_user_idTousersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrip_members_trip_members_user_idTousersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTrip_members_trip_members_invited_byTousersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrip_members_trip_members_invited_byTousersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrip_members_trip_members_invited_byTousersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrip_members_trip_members_invited_byTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersUpsertWithoutTrip_members_trip_members_user_idTousersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrip_members_trip_members_user_idTousersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrip_members_trip_members_user_idTousersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrip_members_trip_members_user_idTousersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTrip_photosInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTrip_photosInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTrip_photosInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTrip_photosInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTrip_photosInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTrip_photosInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTrip_photosInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutTripsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutTripsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutTripsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutTripsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutTripsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutTripsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutTripsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutUser_notice_dismissalsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutUser_notice_dismissalsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutUser_notice_dismissalsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutUser_notice_dismissalsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutUser_notice_dismissalsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutUser_notice_dismissalsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutUser_notice_dismissalsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVacay_entriesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVacay_entriesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVacay_entriesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVacay_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVacay_entriesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVacay_entriesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVacay_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVacay_plan_membersInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVacay_plan_membersInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVacay_plan_membersInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVacay_plan_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVacay_plan_membersInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVacay_plan_membersInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVacay_plan_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVacay_plansInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVacay_plansInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVacay_plansInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVacay_plansInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVacay_plansInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVacay_user_colorsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVacay_user_colorsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVacay_user_colorsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVacay_user_colorsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVacay_user_colorsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVacay_user_colorsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVacay_user_colorsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVacay_user_yearsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVacay_user_yearsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVacay_user_yearsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVacay_user_yearsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVacay_user_yearsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVacay_user_yearsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVacay_user_yearsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVisited_countriesInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVisited_countriesInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_regions?: Prisma.visited_regionsUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVisited_countriesInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVisited_countriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVisited_countriesInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVisited_countriesInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVisited_countriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_regions?: Prisma.visited_regionsUncheckedUpdateManyWithoutUsersNestedInput +} + +export type usersCreateWithoutVisited_regionsInput = { + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesCreateNestedManyWithoutUsersInput +} + +export type usersUncheckedCreateWithoutVisited_regionsInput = { + id?: number + username: string + email: string + password_hash: string + role?: string + maps_api_key?: string | null + unsplash_api_key?: string | null + openweather_api_key?: string | null + avatar?: string | null + oidc_sub?: string | null + oidc_issuer?: string | null + last_login?: Date | string | null + mfa_enabled?: number | null + mfa_secret?: string | null + mfa_backup_codes?: string | null + immich_url?: string | null + immich_access_token?: string | null + synology_url?: string | null + synology_username?: string | null + synology_password?: string | null + synology_sid?: string | null + must_change_password?: number | null + password_version?: number + created_at?: Date | string | null + updated_at?: Date | string | null + immich_api_key?: string | null + synology_skip_ssl?: number + synology_did?: string | null + first_seen_version?: string + login_count?: number + immich_auto_upload?: number + assignment_participants?: Prisma.assignment_participantsUncheckedCreateNestedManyWithoutUsersInput + audit_log?: Prisma.audit_logUncheckedCreateNestedManyWithoutUsersInput + bucket_list?: Prisma.bucket_listUncheckedCreateNestedManyWithoutUsersInput + budget_item_members?: Prisma.budget_item_membersUncheckedCreateNestedManyWithoutUsersInput + budget_items?: Prisma.budget_itemsUncheckedCreateNestedManyWithoutUsersInput + categories?: Prisma.categoriesUncheckedCreateNestedManyWithoutUsersInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput + collab_messages?: Prisma.collab_messagesUncheckedCreateNestedManyWithoutUsersInput + collab_notes?: Prisma.collab_notesUncheckedCreateNestedManyWithoutUsersInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedCreateNestedManyWithoutUsersInput + collab_polls?: Prisma.collab_pollsUncheckedCreateNestedManyWithoutUsersInput + idempotency_keys?: Prisma.idempotency_keysUncheckedCreateNestedManyWithoutUsersInput + invite_tokens?: Prisma.invite_tokensUncheckedCreateNestedManyWithoutUsersInput + journey_contributors?: Prisma.journey_contributorsUncheckedCreateNestedManyWithoutUsersInput + journey_entries?: Prisma.journey_entriesUncheckedCreateNestedManyWithoutUsersInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedCreateNestedManyWithoutUsersInput + journeys?: Prisma.journeysUncheckedCreateNestedManyWithoutUsersInput + mcp_tokens?: Prisma.mcp_tokensUncheckedCreateNestedManyWithoutUsersInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedCreateNestedManyWithoutUsersInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_recipient_idTousersInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedCreateNestedManyWithoutUsers_notifications_sender_idTousersInput + oauth_clients?: Prisma.oauth_clientsUncheckedCreateNestedManyWithoutUsersInput + oauth_consents?: Prisma.oauth_consentsUncheckedCreateNestedManyWithoutUsersInput + oauth_tokens?: Prisma.oauth_tokensUncheckedCreateNestedManyWithoutUsersInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedCreateNestedManyWithoutUsersInput + packing_bags?: Prisma.packing_bagsUncheckedCreateNestedManyWithoutUsersInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + packing_templates?: Prisma.packing_templatesUncheckedCreateNestedManyWithoutUsersInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedCreateNestedManyWithoutUsersInput + settings?: Prisma.settingsUncheckedCreateNestedManyWithoutUsersInput + share_tokens?: Prisma.share_tokensUncheckedCreateNestedManyWithoutUsersInput + tags?: Prisma.tagsUncheckedCreateNestedManyWithoutUsersInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedCreateNestedManyWithoutUsersInput + todo_items?: Prisma.todo_itemsUncheckedCreateNestedManyWithoutUsersInput + trek_photos?: Prisma.trek_photosUncheckedCreateNestedManyWithoutUsersInput + trip_album_links?: Prisma.trip_album_linksUncheckedCreateNestedManyWithoutUsersInput + trip_files?: Prisma.trip_filesUncheckedCreateNestedManyWithoutUsersInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_invited_byTousersInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedCreateNestedManyWithoutUsers_trip_members_user_idTousersInput + trip_photos?: Prisma.trip_photosUncheckedCreateNestedManyWithoutUsersInput + trips?: Prisma.tripsUncheckedCreateNestedManyWithoutUsersInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedCreateNestedManyWithoutUsersInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutUsersInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput + vacay_plans?: Prisma.vacay_plansUncheckedCreateNestedOneWithoutUsersInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput + visited_countries?: Prisma.visited_countriesUncheckedCreateNestedManyWithoutUsersInput +} + +export type usersCreateOrConnectWithoutVisited_regionsInput = { + where: Prisma.usersWhereUniqueInput + create: Prisma.XOR +} + +export type usersUpsertWithoutVisited_regionsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.usersWhereInput +} + +export type usersUpdateToOneWithWhereWithoutVisited_regionsInput = { + where?: Prisma.usersWhereInput + data: Prisma.XOR +} + +export type usersUpdateWithoutVisited_regionsInput = { + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUpdateManyWithoutUsersNestedInput +} + +export type usersUncheckedUpdateWithoutVisited_regionsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + username?: Prisma.StringFieldUpdateOperationsInput | string + email?: Prisma.StringFieldUpdateOperationsInput | string + password_hash?: Prisma.StringFieldUpdateOperationsInput | string + role?: Prisma.StringFieldUpdateOperationsInput | string + maps_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + unsplash_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + openweather_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_sub?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + oidc_issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + last_login?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + mfa_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + mfa_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + mfa_backup_codes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + immich_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_username?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_sid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + must_change_password?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + password_version?: Prisma.IntFieldUpdateOperationsInput | number + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + immich_api_key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + synology_skip_ssl?: Prisma.IntFieldUpdateOperationsInput | number + synology_did?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + first_seen_version?: Prisma.StringFieldUpdateOperationsInput | string + login_count?: Prisma.IntFieldUpdateOperationsInput | number + immich_auto_upload?: Prisma.IntFieldUpdateOperationsInput | number + assignment_participants?: Prisma.assignment_participantsUncheckedUpdateManyWithoutUsersNestedInput + audit_log?: Prisma.audit_logUncheckedUpdateManyWithoutUsersNestedInput + bucket_list?: Prisma.bucket_listUncheckedUpdateManyWithoutUsersNestedInput + budget_item_members?: Prisma.budget_item_membersUncheckedUpdateManyWithoutUsersNestedInput + budget_items?: Prisma.budget_itemsUncheckedUpdateManyWithoutUsersNestedInput + categories?: Prisma.categoriesUncheckedUpdateManyWithoutUsersNestedInput + collab_message_reactions?: Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput + collab_messages?: Prisma.collab_messagesUncheckedUpdateManyWithoutUsersNestedInput + collab_notes?: Prisma.collab_notesUncheckedUpdateManyWithoutUsersNestedInput + collab_poll_votes?: Prisma.collab_poll_votesUncheckedUpdateManyWithoutUsersNestedInput + collab_polls?: Prisma.collab_pollsUncheckedUpdateManyWithoutUsersNestedInput + idempotency_keys?: Prisma.idempotency_keysUncheckedUpdateManyWithoutUsersNestedInput + invite_tokens?: Prisma.invite_tokensUncheckedUpdateManyWithoutUsersNestedInput + journey_contributors?: Prisma.journey_contributorsUncheckedUpdateManyWithoutUsersNestedInput + journey_entries?: Prisma.journey_entriesUncheckedUpdateManyWithoutUsersNestedInput + journey_share_tokens?: Prisma.journey_share_tokensUncheckedUpdateManyWithoutUsersNestedInput + journeys?: Prisma.journeysUncheckedUpdateManyWithoutUsersNestedInput + mcp_tokens?: Prisma.mcp_tokensUncheckedUpdateManyWithoutUsersNestedInput + notification_channel_preferences?: Prisma.notification_channel_preferencesUncheckedUpdateManyWithoutUsersNestedInput + notifications_notifications_recipient_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_recipient_idTousersNestedInput + notifications_notifications_sender_idTousers?: Prisma.notificationsUncheckedUpdateManyWithoutUsers_notifications_sender_idTousersNestedInput + oauth_clients?: Prisma.oauth_clientsUncheckedUpdateManyWithoutUsersNestedInput + oauth_consents?: Prisma.oauth_consentsUncheckedUpdateManyWithoutUsersNestedInput + oauth_tokens?: Prisma.oauth_tokensUncheckedUpdateManyWithoutUsersNestedInput + packing_bag_members?: Prisma.packing_bag_membersUncheckedUpdateManyWithoutUsersNestedInput + packing_bags?: Prisma.packing_bagsUncheckedUpdateManyWithoutUsersNestedInput + packing_category_assignees?: Prisma.packing_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + packing_templates?: Prisma.packing_templatesUncheckedUpdateManyWithoutUsersNestedInput + password_reset_tokens?: Prisma.password_reset_tokensUncheckedUpdateManyWithoutUsersNestedInput + settings?: Prisma.settingsUncheckedUpdateManyWithoutUsersNestedInput + share_tokens?: Prisma.share_tokensUncheckedUpdateManyWithoutUsersNestedInput + tags?: Prisma.tagsUncheckedUpdateManyWithoutUsersNestedInput + todo_category_assignees?: Prisma.todo_category_assigneesUncheckedUpdateManyWithoutUsersNestedInput + todo_items?: Prisma.todo_itemsUncheckedUpdateManyWithoutUsersNestedInput + trek_photos?: Prisma.trek_photosUncheckedUpdateManyWithoutUsersNestedInput + trip_album_links?: Prisma.trip_album_linksUncheckedUpdateManyWithoutUsersNestedInput + trip_files?: Prisma.trip_filesUncheckedUpdateManyWithoutUsersNestedInput + trip_members_trip_members_invited_byTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_invited_byTousersNestedInput + trip_members_trip_members_user_idTousers?: Prisma.trip_membersUncheckedUpdateManyWithoutUsers_trip_members_user_idTousersNestedInput + trip_photos?: Prisma.trip_photosUncheckedUpdateManyWithoutUsersNestedInput + trips?: Prisma.tripsUncheckedUpdateManyWithoutUsersNestedInput + user_notice_dismissals?: Prisma.user_notice_dismissalsUncheckedUpdateManyWithoutUsersNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput + vacay_plans?: Prisma.vacay_plansUncheckedUpdateOneWithoutUsersNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput + visited_countries?: Prisma.visited_countriesUncheckedUpdateManyWithoutUsersNestedInput +} + + +/** + * Count Type UsersCountOutputType + */ + +export type UsersCountOutputType = { + assignment_participants: number + audit_log: number + bucket_list: number + budget_item_members: number + budget_items: number + categories: number + collab_message_reactions: number + collab_messages: number + collab_notes: number + collab_poll_votes: number + collab_polls: number + idempotency_keys: number + invite_tokens: number + journey_contributors: number + journey_entries: number + journey_share_tokens: number + journeys: number + mcp_tokens: number + notification_channel_preferences: number + notifications_notifications_recipient_idTousers: number + notifications_notifications_sender_idTousers: number + oauth_clients: number + oauth_consents: number + oauth_tokens: number + packing_bag_members: number + packing_bags: number + packing_category_assignees: number + packing_templates: number + password_reset_tokens: number + settings: number + share_tokens: number + tags: number + todo_category_assignees: number + todo_items: number + trek_photos: number + trip_album_links: number + trip_files: number + trip_members_trip_members_invited_byTousers: number + trip_members_trip_members_user_idTousers: number + trip_photos: number + trips: number + user_notice_dismissals: number + vacay_entries: number + vacay_plan_members: number + vacay_user_colors: number + vacay_user_years: number + visited_countries: number + visited_regions: number +} + +export type UsersCountOutputTypeSelect = { + assignment_participants?: boolean | UsersCountOutputTypeCountAssignment_participantsArgs + audit_log?: boolean | UsersCountOutputTypeCountAudit_logArgs + bucket_list?: boolean | UsersCountOutputTypeCountBucket_listArgs + budget_item_members?: boolean | UsersCountOutputTypeCountBudget_item_membersArgs + budget_items?: boolean | UsersCountOutputTypeCountBudget_itemsArgs + categories?: boolean | UsersCountOutputTypeCountCategoriesArgs + collab_message_reactions?: boolean | UsersCountOutputTypeCountCollab_message_reactionsArgs + collab_messages?: boolean | UsersCountOutputTypeCountCollab_messagesArgs + collab_notes?: boolean | UsersCountOutputTypeCountCollab_notesArgs + collab_poll_votes?: boolean | UsersCountOutputTypeCountCollab_poll_votesArgs + collab_polls?: boolean | UsersCountOutputTypeCountCollab_pollsArgs + idempotency_keys?: boolean | UsersCountOutputTypeCountIdempotency_keysArgs + invite_tokens?: boolean | UsersCountOutputTypeCountInvite_tokensArgs + journey_contributors?: boolean | UsersCountOutputTypeCountJourney_contributorsArgs + journey_entries?: boolean | UsersCountOutputTypeCountJourney_entriesArgs + journey_share_tokens?: boolean | UsersCountOutputTypeCountJourney_share_tokensArgs + journeys?: boolean | UsersCountOutputTypeCountJourneysArgs + mcp_tokens?: boolean | UsersCountOutputTypeCountMcp_tokensArgs + notification_channel_preferences?: boolean | UsersCountOutputTypeCountNotification_channel_preferencesArgs + notifications_notifications_recipient_idTousers?: boolean | UsersCountOutputTypeCountNotifications_notifications_recipient_idTousersArgs + notifications_notifications_sender_idTousers?: boolean | UsersCountOutputTypeCountNotifications_notifications_sender_idTousersArgs + oauth_clients?: boolean | UsersCountOutputTypeCountOauth_clientsArgs + oauth_consents?: boolean | UsersCountOutputTypeCountOauth_consentsArgs + oauth_tokens?: boolean | UsersCountOutputTypeCountOauth_tokensArgs + packing_bag_members?: boolean | UsersCountOutputTypeCountPacking_bag_membersArgs + packing_bags?: boolean | UsersCountOutputTypeCountPacking_bagsArgs + packing_category_assignees?: boolean | UsersCountOutputTypeCountPacking_category_assigneesArgs + packing_templates?: boolean | UsersCountOutputTypeCountPacking_templatesArgs + password_reset_tokens?: boolean | UsersCountOutputTypeCountPassword_reset_tokensArgs + settings?: boolean | UsersCountOutputTypeCountSettingsArgs + share_tokens?: boolean | UsersCountOutputTypeCountShare_tokensArgs + tags?: boolean | UsersCountOutputTypeCountTagsArgs + todo_category_assignees?: boolean | UsersCountOutputTypeCountTodo_category_assigneesArgs + todo_items?: boolean | UsersCountOutputTypeCountTodo_itemsArgs + trek_photos?: boolean | UsersCountOutputTypeCountTrek_photosArgs + trip_album_links?: boolean | UsersCountOutputTypeCountTrip_album_linksArgs + trip_files?: boolean | UsersCountOutputTypeCountTrip_filesArgs + trip_members_trip_members_invited_byTousers?: boolean | UsersCountOutputTypeCountTrip_members_trip_members_invited_byTousersArgs + trip_members_trip_members_user_idTousers?: boolean | UsersCountOutputTypeCountTrip_members_trip_members_user_idTousersArgs + trip_photos?: boolean | UsersCountOutputTypeCountTrip_photosArgs + trips?: boolean | UsersCountOutputTypeCountTripsArgs + user_notice_dismissals?: boolean | UsersCountOutputTypeCountUser_notice_dismissalsArgs + vacay_entries?: boolean | UsersCountOutputTypeCountVacay_entriesArgs + vacay_plan_members?: boolean | UsersCountOutputTypeCountVacay_plan_membersArgs + vacay_user_colors?: boolean | UsersCountOutputTypeCountVacay_user_colorsArgs + vacay_user_years?: boolean | UsersCountOutputTypeCountVacay_user_yearsArgs + visited_countries?: boolean | UsersCountOutputTypeCountVisited_countriesArgs + visited_regions?: boolean | UsersCountOutputTypeCountVisited_regionsArgs +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the UsersCountOutputType + */ + select?: Prisma.UsersCountOutputTypeSelect | null +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountAssignment_participantsArgs = { + where?: Prisma.assignment_participantsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountAudit_logArgs = { + where?: Prisma.audit_logWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountBucket_listArgs = { + where?: Prisma.bucket_listWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountBudget_item_membersArgs = { + where?: Prisma.budget_item_membersWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountBudget_itemsArgs = { + where?: Prisma.budget_itemsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCategoriesArgs = { + where?: Prisma.categoriesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCollab_message_reactionsArgs = { + where?: Prisma.collab_message_reactionsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCollab_messagesArgs = { + where?: Prisma.collab_messagesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCollab_notesArgs = { + where?: Prisma.collab_notesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCollab_poll_votesArgs = { + where?: Prisma.collab_poll_votesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountCollab_pollsArgs = { + where?: Prisma.collab_pollsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountIdempotency_keysArgs = { + where?: Prisma.idempotency_keysWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountInvite_tokensArgs = { + where?: Prisma.invite_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountJourney_contributorsArgs = { + where?: Prisma.journey_contributorsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountJourney_entriesArgs = { + where?: Prisma.journey_entriesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountJourney_share_tokensArgs = { + where?: Prisma.journey_share_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountJourneysArgs = { + where?: Prisma.journeysWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountMcp_tokensArgs = { + where?: Prisma.mcp_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountNotification_channel_preferencesArgs = { + where?: Prisma.notification_channel_preferencesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountNotifications_notifications_recipient_idTousersArgs = { + where?: Prisma.notificationsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountNotifications_notifications_sender_idTousersArgs = { + where?: Prisma.notificationsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountOauth_clientsArgs = { + where?: Prisma.oauth_clientsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountOauth_consentsArgs = { + where?: Prisma.oauth_consentsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountOauth_tokensArgs = { + where?: Prisma.oauth_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountPacking_bag_membersArgs = { + where?: Prisma.packing_bag_membersWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountPacking_bagsArgs = { + where?: Prisma.packing_bagsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountPacking_category_assigneesArgs = { + where?: Prisma.packing_category_assigneesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountPacking_templatesArgs = { + where?: Prisma.packing_templatesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountPassword_reset_tokensArgs = { + where?: Prisma.password_reset_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountSettingsArgs = { + where?: Prisma.settingsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountShare_tokensArgs = { + where?: Prisma.share_tokensWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTagsArgs = { + where?: Prisma.tagsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTodo_category_assigneesArgs = { + where?: Prisma.todo_category_assigneesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTodo_itemsArgs = { + where?: Prisma.todo_itemsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrek_photosArgs = { + where?: Prisma.trek_photosWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrip_album_linksArgs = { + where?: Prisma.trip_album_linksWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrip_filesArgs = { + where?: Prisma.trip_filesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrip_members_trip_members_invited_byTousersArgs = { + where?: Prisma.trip_membersWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrip_members_trip_members_user_idTousersArgs = { + where?: Prisma.trip_membersWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTrip_photosArgs = { + where?: Prisma.trip_photosWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountTripsArgs = { + where?: Prisma.tripsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountUser_notice_dismissalsArgs = { + where?: Prisma.user_notice_dismissalsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVacay_entriesArgs = { + where?: Prisma.vacay_entriesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVacay_plan_membersArgs = { + where?: Prisma.vacay_plan_membersWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVacay_user_colorsArgs = { + where?: Prisma.vacay_user_colorsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVacay_user_yearsArgs = { + where?: Prisma.vacay_user_yearsWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVisited_countriesArgs = { + where?: Prisma.visited_countriesWhereInput +} + +/** + * UsersCountOutputType without action + */ +export type UsersCountOutputTypeCountVisited_regionsArgs = { + where?: Prisma.visited_regionsWhereInput +} + + +export type usersSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + username?: boolean + email?: boolean + password_hash?: boolean + role?: boolean + maps_api_key?: boolean + unsplash_api_key?: boolean + openweather_api_key?: boolean + avatar?: boolean + oidc_sub?: boolean + oidc_issuer?: boolean + last_login?: boolean + mfa_enabled?: boolean + mfa_secret?: boolean + mfa_backup_codes?: boolean + immich_url?: boolean + immich_access_token?: boolean + synology_url?: boolean + synology_username?: boolean + synology_password?: boolean + synology_sid?: boolean + must_change_password?: boolean + password_version?: boolean + created_at?: boolean + updated_at?: boolean + immich_api_key?: boolean + synology_skip_ssl?: boolean + synology_did?: boolean + first_seen_version?: boolean + login_count?: boolean + immich_auto_upload?: boolean + assignment_participants?: boolean | Prisma.users$assignment_participantsArgs + audit_log?: boolean | Prisma.users$audit_logArgs + bucket_list?: boolean | Prisma.users$bucket_listArgs + budget_item_members?: boolean | Prisma.users$budget_item_membersArgs + budget_items?: boolean | Prisma.users$budget_itemsArgs + categories?: boolean | Prisma.users$categoriesArgs + collab_message_reactions?: boolean | Prisma.users$collab_message_reactionsArgs + collab_messages?: boolean | Prisma.users$collab_messagesArgs + collab_notes?: boolean | Prisma.users$collab_notesArgs + collab_poll_votes?: boolean | Prisma.users$collab_poll_votesArgs + collab_polls?: boolean | Prisma.users$collab_pollsArgs + idempotency_keys?: boolean | Prisma.users$idempotency_keysArgs + invite_tokens?: boolean | Prisma.users$invite_tokensArgs + journey_contributors?: boolean | Prisma.users$journey_contributorsArgs + journey_entries?: boolean | Prisma.users$journey_entriesArgs + journey_share_tokens?: boolean | Prisma.users$journey_share_tokensArgs + journeys?: boolean | Prisma.users$journeysArgs + mcp_tokens?: boolean | Prisma.users$mcp_tokensArgs + notification_channel_preferences?: boolean | Prisma.users$notification_channel_preferencesArgs + notifications_notifications_recipient_idTousers?: boolean | Prisma.users$notifications_notifications_recipient_idTousersArgs + notifications_notifications_sender_idTousers?: boolean | Prisma.users$notifications_notifications_sender_idTousersArgs + oauth_clients?: boolean | Prisma.users$oauth_clientsArgs + oauth_consents?: boolean | Prisma.users$oauth_consentsArgs + oauth_tokens?: boolean | Prisma.users$oauth_tokensArgs + packing_bag_members?: boolean | Prisma.users$packing_bag_membersArgs + packing_bags?: boolean | Prisma.users$packing_bagsArgs + packing_category_assignees?: boolean | Prisma.users$packing_category_assigneesArgs + packing_templates?: boolean | Prisma.users$packing_templatesArgs + password_reset_tokens?: boolean | Prisma.users$password_reset_tokensArgs + settings?: boolean | Prisma.users$settingsArgs + share_tokens?: boolean | Prisma.users$share_tokensArgs + tags?: boolean | Prisma.users$tagsArgs + todo_category_assignees?: boolean | Prisma.users$todo_category_assigneesArgs + todo_items?: boolean | Prisma.users$todo_itemsArgs + trek_photos?: boolean | Prisma.users$trek_photosArgs + trip_album_links?: boolean | Prisma.users$trip_album_linksArgs + trip_files?: boolean | Prisma.users$trip_filesArgs + trip_members_trip_members_invited_byTousers?: boolean | Prisma.users$trip_members_trip_members_invited_byTousersArgs + trip_members_trip_members_user_idTousers?: boolean | Prisma.users$trip_members_trip_members_user_idTousersArgs + trip_photos?: boolean | Prisma.users$trip_photosArgs + trips?: boolean | Prisma.users$tripsArgs + user_notice_dismissals?: boolean | Prisma.users$user_notice_dismissalsArgs + vacay_entries?: boolean | Prisma.users$vacay_entriesArgs + vacay_plan_members?: boolean | Prisma.users$vacay_plan_membersArgs + vacay_plans?: boolean | Prisma.users$vacay_plansArgs + vacay_user_colors?: boolean | Prisma.users$vacay_user_colorsArgs + vacay_user_years?: boolean | Prisma.users$vacay_user_yearsArgs + visited_countries?: boolean | Prisma.users$visited_countriesArgs + visited_regions?: boolean | Prisma.users$visited_regionsArgs + _count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs +}, ExtArgs["result"]["users"]> + +export type usersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + username?: boolean + email?: boolean + password_hash?: boolean + role?: boolean + maps_api_key?: boolean + unsplash_api_key?: boolean + openweather_api_key?: boolean + avatar?: boolean + oidc_sub?: boolean + oidc_issuer?: boolean + last_login?: boolean + mfa_enabled?: boolean + mfa_secret?: boolean + mfa_backup_codes?: boolean + immich_url?: boolean + immich_access_token?: boolean + synology_url?: boolean + synology_username?: boolean + synology_password?: boolean + synology_sid?: boolean + must_change_password?: boolean + password_version?: boolean + created_at?: boolean + updated_at?: boolean + immich_api_key?: boolean + synology_skip_ssl?: boolean + synology_did?: boolean + first_seen_version?: boolean + login_count?: boolean + immich_auto_upload?: boolean +}, ExtArgs["result"]["users"]> + +export type usersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + username?: boolean + email?: boolean + password_hash?: boolean + role?: boolean + maps_api_key?: boolean + unsplash_api_key?: boolean + openweather_api_key?: boolean + avatar?: boolean + oidc_sub?: boolean + oidc_issuer?: boolean + last_login?: boolean + mfa_enabled?: boolean + mfa_secret?: boolean + mfa_backup_codes?: boolean + immich_url?: boolean + immich_access_token?: boolean + synology_url?: boolean + synology_username?: boolean + synology_password?: boolean + synology_sid?: boolean + must_change_password?: boolean + password_version?: boolean + created_at?: boolean + updated_at?: boolean + immich_api_key?: boolean + synology_skip_ssl?: boolean + synology_did?: boolean + first_seen_version?: boolean + login_count?: boolean + immich_auto_upload?: boolean +}, ExtArgs["result"]["users"]> + +export type usersSelectScalar = { + id?: boolean + username?: boolean + email?: boolean + password_hash?: boolean + role?: boolean + maps_api_key?: boolean + unsplash_api_key?: boolean + openweather_api_key?: boolean + avatar?: boolean + oidc_sub?: boolean + oidc_issuer?: boolean + last_login?: boolean + mfa_enabled?: boolean + mfa_secret?: boolean + mfa_backup_codes?: boolean + immich_url?: boolean + immich_access_token?: boolean + synology_url?: boolean + synology_username?: boolean + synology_password?: boolean + synology_sid?: boolean + must_change_password?: boolean + password_version?: boolean + created_at?: boolean + updated_at?: boolean + immich_api_key?: boolean + synology_skip_ssl?: boolean + synology_did?: boolean + first_seen_version?: boolean + login_count?: boolean + immich_auto_upload?: boolean +} + +export type usersOmit = runtime.Types.Extensions.GetOmit<"id" | "username" | "email" | "password_hash" | "role" | "maps_api_key" | "unsplash_api_key" | "openweather_api_key" | "avatar" | "oidc_sub" | "oidc_issuer" | "last_login" | "mfa_enabled" | "mfa_secret" | "mfa_backup_codes" | "immich_url" | "immich_access_token" | "synology_url" | "synology_username" | "synology_password" | "synology_sid" | "must_change_password" | "password_version" | "created_at" | "updated_at" | "immich_api_key" | "synology_skip_ssl" | "synology_did" | "first_seen_version" | "login_count" | "immich_auto_upload", ExtArgs["result"]["users"]> +export type usersInclude = { + assignment_participants?: boolean | Prisma.users$assignment_participantsArgs + audit_log?: boolean | Prisma.users$audit_logArgs + bucket_list?: boolean | Prisma.users$bucket_listArgs + budget_item_members?: boolean | Prisma.users$budget_item_membersArgs + budget_items?: boolean | Prisma.users$budget_itemsArgs + categories?: boolean | Prisma.users$categoriesArgs + collab_message_reactions?: boolean | Prisma.users$collab_message_reactionsArgs + collab_messages?: boolean | Prisma.users$collab_messagesArgs + collab_notes?: boolean | Prisma.users$collab_notesArgs + collab_poll_votes?: boolean | Prisma.users$collab_poll_votesArgs + collab_polls?: boolean | Prisma.users$collab_pollsArgs + idempotency_keys?: boolean | Prisma.users$idempotency_keysArgs + invite_tokens?: boolean | Prisma.users$invite_tokensArgs + journey_contributors?: boolean | Prisma.users$journey_contributorsArgs + journey_entries?: boolean | Prisma.users$journey_entriesArgs + journey_share_tokens?: boolean | Prisma.users$journey_share_tokensArgs + journeys?: boolean | Prisma.users$journeysArgs + mcp_tokens?: boolean | Prisma.users$mcp_tokensArgs + notification_channel_preferences?: boolean | Prisma.users$notification_channel_preferencesArgs + notifications_notifications_recipient_idTousers?: boolean | Prisma.users$notifications_notifications_recipient_idTousersArgs + notifications_notifications_sender_idTousers?: boolean | Prisma.users$notifications_notifications_sender_idTousersArgs + oauth_clients?: boolean | Prisma.users$oauth_clientsArgs + oauth_consents?: boolean | Prisma.users$oauth_consentsArgs + oauth_tokens?: boolean | Prisma.users$oauth_tokensArgs + packing_bag_members?: boolean | Prisma.users$packing_bag_membersArgs + packing_bags?: boolean | Prisma.users$packing_bagsArgs + packing_category_assignees?: boolean | Prisma.users$packing_category_assigneesArgs + packing_templates?: boolean | Prisma.users$packing_templatesArgs + password_reset_tokens?: boolean | Prisma.users$password_reset_tokensArgs + settings?: boolean | Prisma.users$settingsArgs + share_tokens?: boolean | Prisma.users$share_tokensArgs + tags?: boolean | Prisma.users$tagsArgs + todo_category_assignees?: boolean | Prisma.users$todo_category_assigneesArgs + todo_items?: boolean | Prisma.users$todo_itemsArgs + trek_photos?: boolean | Prisma.users$trek_photosArgs + trip_album_links?: boolean | Prisma.users$trip_album_linksArgs + trip_files?: boolean | Prisma.users$trip_filesArgs + trip_members_trip_members_invited_byTousers?: boolean | Prisma.users$trip_members_trip_members_invited_byTousersArgs + trip_members_trip_members_user_idTousers?: boolean | Prisma.users$trip_members_trip_members_user_idTousersArgs + trip_photos?: boolean | Prisma.users$trip_photosArgs + trips?: boolean | Prisma.users$tripsArgs + user_notice_dismissals?: boolean | Prisma.users$user_notice_dismissalsArgs + vacay_entries?: boolean | Prisma.users$vacay_entriesArgs + vacay_plan_members?: boolean | Prisma.users$vacay_plan_membersArgs + vacay_plans?: boolean | Prisma.users$vacay_plansArgs + vacay_user_colors?: boolean | Prisma.users$vacay_user_colorsArgs + vacay_user_years?: boolean | Prisma.users$vacay_user_yearsArgs + visited_countries?: boolean | Prisma.users$visited_countriesArgs + visited_regions?: boolean | Prisma.users$visited_regionsArgs + _count?: boolean | Prisma.UsersCountOutputTypeDefaultArgs +} +export type usersIncludeCreateManyAndReturn = {} +export type usersIncludeUpdateManyAndReturn = {} + +export type $usersPayload = { + name: "users" + objects: { + assignment_participants: Prisma.$assignment_participantsPayload[] + audit_log: Prisma.$audit_logPayload[] + bucket_list: Prisma.$bucket_listPayload[] + budget_item_members: Prisma.$budget_item_membersPayload[] + budget_items: Prisma.$budget_itemsPayload[] + categories: Prisma.$categoriesPayload[] + collab_message_reactions: Prisma.$collab_message_reactionsPayload[] + collab_messages: Prisma.$collab_messagesPayload[] + collab_notes: Prisma.$collab_notesPayload[] + collab_poll_votes: Prisma.$collab_poll_votesPayload[] + collab_polls: Prisma.$collab_pollsPayload[] + idempotency_keys: Prisma.$idempotency_keysPayload[] + invite_tokens: Prisma.$invite_tokensPayload[] + journey_contributors: Prisma.$journey_contributorsPayload[] + journey_entries: Prisma.$journey_entriesPayload[] + journey_share_tokens: Prisma.$journey_share_tokensPayload[] + journeys: Prisma.$journeysPayload[] + mcp_tokens: Prisma.$mcp_tokensPayload[] + notification_channel_preferences: Prisma.$notification_channel_preferencesPayload[] + notifications_notifications_recipient_idTousers: Prisma.$notificationsPayload[] + notifications_notifications_sender_idTousers: Prisma.$notificationsPayload[] + oauth_clients: Prisma.$oauth_clientsPayload[] + oauth_consents: Prisma.$oauth_consentsPayload[] + oauth_tokens: Prisma.$oauth_tokensPayload[] + packing_bag_members: Prisma.$packing_bag_membersPayload[] + packing_bags: Prisma.$packing_bagsPayload[] + packing_category_assignees: Prisma.$packing_category_assigneesPayload[] + packing_templates: Prisma.$packing_templatesPayload[] + password_reset_tokens: Prisma.$password_reset_tokensPayload[] + settings: Prisma.$settingsPayload[] + share_tokens: Prisma.$share_tokensPayload[] + tags: Prisma.$tagsPayload[] + todo_category_assignees: Prisma.$todo_category_assigneesPayload[] + todo_items: Prisma.$todo_itemsPayload[] + trek_photos: Prisma.$trek_photosPayload[] + trip_album_links: Prisma.$trip_album_linksPayload[] + trip_files: Prisma.$trip_filesPayload[] + trip_members_trip_members_invited_byTousers: Prisma.$trip_membersPayload[] + trip_members_trip_members_user_idTousers: Prisma.$trip_membersPayload[] + trip_photos: Prisma.$trip_photosPayload[] + trips: Prisma.$tripsPayload[] + user_notice_dismissals: Prisma.$user_notice_dismissalsPayload[] + vacay_entries: Prisma.$vacay_entriesPayload[] + vacay_plan_members: Prisma.$vacay_plan_membersPayload[] + vacay_plans: Prisma.$vacay_plansPayload | null + vacay_user_colors: Prisma.$vacay_user_colorsPayload[] + vacay_user_years: Prisma.$vacay_user_yearsPayload[] + visited_countries: Prisma.$visited_countriesPayload[] + visited_regions: Prisma.$visited_regionsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + username: string + email: string + password_hash: string + role: string + maps_api_key: string | null + unsplash_api_key: string | null + openweather_api_key: string | null + avatar: string | null + oidc_sub: string | null + oidc_issuer: string | null + last_login: Date | null + mfa_enabled: number | null + mfa_secret: string | null + mfa_backup_codes: string | null + immich_url: string | null + immich_access_token: string | null + synology_url: string | null + synology_username: string | null + synology_password: string | null + synology_sid: string | null + must_change_password: number | null + password_version: number + created_at: Date | null + updated_at: Date | null + immich_api_key: string | null + synology_skip_ssl: number + synology_did: string | null + first_seen_version: string + login_count: number + immich_auto_upload: number + }, ExtArgs["result"]["users"]> + composites: {} +} + +export type usersGetPayload = runtime.Types.Result.GetResult + +export type usersCountArgs = + Omit & { + select?: UsersCountAggregateInputType | true + } + +export interface usersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['users'], meta: { name: 'users' } } + /** + * Find zero or one Users that matches the filter. + * @param {usersFindUniqueArgs} args - Arguments to find a Users + * @example + * // Get one Users + * const users = await prisma.users.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Users that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {usersFindUniqueOrThrowArgs} args - Arguments to find a Users + * @example + * // Get one Users + * const users = await prisma.users.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Users that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersFindFirstArgs} args - Arguments to find a Users + * @example + * // Get one Users + * const users = await prisma.users.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Users that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersFindFirstOrThrowArgs} args - Arguments to find a Users + * @example + * // Get one Users + * const users = await prisma.users.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Users that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Users + * const users = await prisma.users.findMany() + * + * // Get first 10 Users + * const users = await prisma.users.findMany({ take: 10 }) + * + * // Only select the `id` + * const usersWithIdOnly = await prisma.users.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Users. + * @param {usersCreateArgs} args - Arguments to create a Users. + * @example + * // Create one Users + * const Users = await prisma.users.create({ + * data: { + * // ... data to create a Users + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Users. + * @param {usersCreateManyArgs} args - Arguments to create many Users. + * @example + * // Create many Users + * const users = await prisma.users.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Users and returns the data saved in the database. + * @param {usersCreateManyAndReturnArgs} args - Arguments to create many Users. + * @example + * // Create many Users + * const users = await prisma.users.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Users and only return the `id` + * const usersWithIdOnly = await prisma.users.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Users. + * @param {usersDeleteArgs} args - Arguments to delete one Users. + * @example + * // Delete one Users + * const Users = await prisma.users.delete({ + * where: { + * // ... filter to delete one Users + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Users. + * @param {usersUpdateArgs} args - Arguments to update one Users. + * @example + * // Update one Users + * const users = await prisma.users.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Users. + * @param {usersDeleteManyArgs} args - Arguments to filter Users to delete. + * @example + * // Delete a few Users + * const { count } = await prisma.users.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Users + * const users = await prisma.users.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Users and returns the data updated in the database. + * @param {usersUpdateManyAndReturnArgs} args - Arguments to update many Users. + * @example + * // Update many Users + * const users = await prisma.users.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Users and only return the `id` + * const usersWithIdOnly = await prisma.users.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Users. + * @param {usersUpsertArgs} args - Arguments to update or create a Users. + * @example + * // Update or create a Users + * const users = await prisma.users.upsert({ + * create: { + * // ... data to create a Users + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Users we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__usersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersCountArgs} args - Arguments to filter Users to count. + * @example + * // Count the number of Users + * const count = await prisma.users.count({ + * where: { + * // ... the filter for the Users we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UsersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Users. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {usersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends usersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: usersGroupByArgs['orderBy'] } + : { orderBy?: usersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUsersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the users model + */ +readonly fields: usersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for users. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__usersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + assignment_participants = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + audit_log = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + bucket_list = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + budget_item_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + budget_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + categories = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_message_reactions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_messages = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_notes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_poll_votes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + collab_polls = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + idempotency_keys = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + invite_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_contributors = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journey_share_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + journeys = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + mcp_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + notification_channel_preferences = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + notifications_notifications_recipient_idTousers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + notifications_notifications_sender_idTousers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + oauth_clients = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + oauth_consents = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + oauth_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_bag_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_bags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_category_assignees = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + packing_templates = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + password_reset_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + settings = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + share_tokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + tags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + todo_category_assignees = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + todo_items = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trek_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_album_links = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_files = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_members_trip_members_invited_byTousers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_members_trip_members_user_idTousers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trip_photos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + trips = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + user_notice_dismissals = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_plan_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + vacay_user_colors = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_user_years = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + visited_countries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + visited_regions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the users model + */ +export interface usersFieldRefs { + readonly id: Prisma.FieldRef<"users", 'Int'> + readonly username: Prisma.FieldRef<"users", 'String'> + readonly email: Prisma.FieldRef<"users", 'String'> + readonly password_hash: Prisma.FieldRef<"users", 'String'> + readonly role: Prisma.FieldRef<"users", 'String'> + readonly maps_api_key: Prisma.FieldRef<"users", 'String'> + readonly unsplash_api_key: Prisma.FieldRef<"users", 'String'> + readonly openweather_api_key: Prisma.FieldRef<"users", 'String'> + readonly avatar: Prisma.FieldRef<"users", 'String'> + readonly oidc_sub: Prisma.FieldRef<"users", 'String'> + readonly oidc_issuer: Prisma.FieldRef<"users", 'String'> + readonly last_login: Prisma.FieldRef<"users", 'DateTime'> + readonly mfa_enabled: Prisma.FieldRef<"users", 'Int'> + readonly mfa_secret: Prisma.FieldRef<"users", 'String'> + readonly mfa_backup_codes: Prisma.FieldRef<"users", 'String'> + readonly immich_url: Prisma.FieldRef<"users", 'String'> + readonly immich_access_token: Prisma.FieldRef<"users", 'String'> + readonly synology_url: Prisma.FieldRef<"users", 'String'> + readonly synology_username: Prisma.FieldRef<"users", 'String'> + readonly synology_password: Prisma.FieldRef<"users", 'String'> + readonly synology_sid: Prisma.FieldRef<"users", 'String'> + readonly must_change_password: Prisma.FieldRef<"users", 'Int'> + readonly password_version: Prisma.FieldRef<"users", 'Int'> + readonly created_at: Prisma.FieldRef<"users", 'DateTime'> + readonly updated_at: Prisma.FieldRef<"users", 'DateTime'> + readonly immich_api_key: Prisma.FieldRef<"users", 'String'> + readonly synology_skip_ssl: Prisma.FieldRef<"users", 'Int'> + readonly synology_did: Prisma.FieldRef<"users", 'String'> + readonly first_seen_version: Prisma.FieldRef<"users", 'String'> + readonly login_count: Prisma.FieldRef<"users", 'Int'> + readonly immich_auto_upload: Prisma.FieldRef<"users", 'Int'> +} + + +// Custom InputTypes +/** + * users findUnique + */ +export type usersFindUniqueArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter, which users to fetch. + */ + where: Prisma.usersWhereUniqueInput +} + +/** + * users findUniqueOrThrow + */ +export type usersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter, which users to fetch. + */ + where: Prisma.usersWhereUniqueInput +} + +/** + * users findFirst + */ +export type usersFindFirstArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter, which users to fetch. + */ + where?: Prisma.usersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of users to fetch. + */ + orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for users. + */ + cursor?: Prisma.usersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of users. + */ + distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[] +} + +/** + * users findFirstOrThrow + */ +export type usersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter, which users to fetch. + */ + where?: Prisma.usersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of users to fetch. + */ + orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for users. + */ + cursor?: Prisma.usersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of users. + */ + distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[] +} + +/** + * users findMany + */ +export type usersFindManyArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter, which users to fetch. + */ + where?: Prisma.usersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of users to fetch. + */ + orderBy?: Prisma.usersOrderByWithRelationInput | Prisma.usersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing users. + */ + cursor?: Prisma.usersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of users. + */ + distinct?: Prisma.UsersScalarFieldEnum | Prisma.UsersScalarFieldEnum[] +} + +/** + * users create + */ +export type usersCreateArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * The data needed to create a users. + */ + data: Prisma.XOR +} + +/** + * users createMany + */ +export type usersCreateManyArgs = { + /** + * The data used to create many users. + */ + data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[] +} + +/** + * users createManyAndReturn + */ +export type usersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * The data used to create many users. + */ + data: Prisma.usersCreateManyInput | Prisma.usersCreateManyInput[] +} + +/** + * users update + */ +export type usersUpdateArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * The data needed to update a users. + */ + data: Prisma.XOR + /** + * Choose, which users to update. + */ + where: Prisma.usersWhereUniqueInput +} + +/** + * users updateMany + */ +export type usersUpdateManyArgs = { + /** + * The data used to update users. + */ + data: Prisma.XOR + /** + * Filter which users to update + */ + where?: Prisma.usersWhereInput + /** + * Limit how many users to update. + */ + limit?: number +} + +/** + * users updateManyAndReturn + */ +export type usersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * The data used to update users. + */ + data: Prisma.XOR + /** + * Filter which users to update + */ + where?: Prisma.usersWhereInput + /** + * Limit how many users to update. + */ + limit?: number +} + +/** + * users upsert + */ +export type usersUpsertArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * The filter to search for the users to update in case it exists. + */ + where: Prisma.usersWhereUniqueInput + /** + * In case the users found by the `where` argument doesn't exist, create a new users with this data. + */ + create: Prisma.XOR + /** + * In case the users was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * users delete + */ +export type usersDeleteArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null + /** + * Filter which users to delete. + */ + where: Prisma.usersWhereUniqueInput +} + +/** + * users deleteMany + */ +export type usersDeleteManyArgs = { + /** + * Filter which users to delete + */ + where?: Prisma.usersWhereInput + /** + * Limit how many users to delete. + */ + limit?: number +} + +/** + * users.assignment_participants + */ +export type users$assignment_participantsArgs = { + /** + * Select specific fields to fetch from the assignment_participants + */ + select?: Prisma.assignment_participantsSelect | null + /** + * Omit specific fields from the assignment_participants + */ + omit?: Prisma.assignment_participantsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.assignment_participantsInclude | null + where?: Prisma.assignment_participantsWhereInput + orderBy?: Prisma.assignment_participantsOrderByWithRelationInput | Prisma.assignment_participantsOrderByWithRelationInput[] + cursor?: Prisma.assignment_participantsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Assignment_participantsScalarFieldEnum | Prisma.Assignment_participantsScalarFieldEnum[] +} + +/** + * users.audit_log + */ +export type users$audit_logArgs = { + /** + * Select specific fields to fetch from the audit_log + */ + select?: Prisma.audit_logSelect | null + /** + * Omit specific fields from the audit_log + */ + omit?: Prisma.audit_logOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.audit_logInclude | null + where?: Prisma.audit_logWhereInput + orderBy?: Prisma.audit_logOrderByWithRelationInput | Prisma.audit_logOrderByWithRelationInput[] + cursor?: Prisma.audit_logWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Audit_logScalarFieldEnum | Prisma.Audit_logScalarFieldEnum[] +} + +/** + * users.bucket_list + */ +export type users$bucket_listArgs = { + /** + * Select specific fields to fetch from the bucket_list + */ + select?: Prisma.bucket_listSelect | null + /** + * Omit specific fields from the bucket_list + */ + omit?: Prisma.bucket_listOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.bucket_listInclude | null + where?: Prisma.bucket_listWhereInput + orderBy?: Prisma.bucket_listOrderByWithRelationInput | Prisma.bucket_listOrderByWithRelationInput[] + cursor?: Prisma.bucket_listWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Bucket_listScalarFieldEnum | Prisma.Bucket_listScalarFieldEnum[] +} + +/** + * users.budget_item_members + */ +export type users$budget_item_membersArgs = { + /** + * Select specific fields to fetch from the budget_item_members + */ + select?: Prisma.budget_item_membersSelect | null + /** + * Omit specific fields from the budget_item_members + */ + omit?: Prisma.budget_item_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_item_membersInclude | null + where?: Prisma.budget_item_membersWhereInput + orderBy?: Prisma.budget_item_membersOrderByWithRelationInput | Prisma.budget_item_membersOrderByWithRelationInput[] + cursor?: Prisma.budget_item_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_item_membersScalarFieldEnum | Prisma.Budget_item_membersScalarFieldEnum[] +} + +/** + * users.budget_items + */ +export type users$budget_itemsArgs = { + /** + * Select specific fields to fetch from the budget_items + */ + select?: Prisma.budget_itemsSelect | null + /** + * Omit specific fields from the budget_items + */ + omit?: Prisma.budget_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.budget_itemsInclude | null + where?: Prisma.budget_itemsWhereInput + orderBy?: Prisma.budget_itemsOrderByWithRelationInput | Prisma.budget_itemsOrderByWithRelationInput[] + cursor?: Prisma.budget_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Budget_itemsScalarFieldEnum | Prisma.Budget_itemsScalarFieldEnum[] +} + +/** + * users.categories + */ +export type users$categoriesArgs = { + /** + * Select specific fields to fetch from the categories + */ + select?: Prisma.categoriesSelect | null + /** + * Omit specific fields from the categories + */ + omit?: Prisma.categoriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.categoriesInclude | null + where?: Prisma.categoriesWhereInput + orderBy?: Prisma.categoriesOrderByWithRelationInput | Prisma.categoriesOrderByWithRelationInput[] + cursor?: Prisma.categoriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.CategoriesScalarFieldEnum | Prisma.CategoriesScalarFieldEnum[] +} + +/** + * users.collab_message_reactions + */ +export type users$collab_message_reactionsArgs = { + /** + * Select specific fields to fetch from the collab_message_reactions + */ + select?: Prisma.collab_message_reactionsSelect | null + /** + * Omit specific fields from the collab_message_reactions + */ + omit?: Prisma.collab_message_reactionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_message_reactionsInclude | null + where?: Prisma.collab_message_reactionsWhereInput + orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] + cursor?: Prisma.collab_message_reactionsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] +} + +/** + * users.collab_messages + */ +export type users$collab_messagesArgs = { + /** + * Select specific fields to fetch from the collab_messages + */ + select?: Prisma.collab_messagesSelect | null + /** + * Omit specific fields from the collab_messages + */ + omit?: Prisma.collab_messagesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_messagesInclude | null + where?: Prisma.collab_messagesWhereInput + orderBy?: Prisma.collab_messagesOrderByWithRelationInput | Prisma.collab_messagesOrderByWithRelationInput[] + cursor?: Prisma.collab_messagesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_messagesScalarFieldEnum | Prisma.Collab_messagesScalarFieldEnum[] +} + +/** + * users.collab_notes + */ +export type users$collab_notesArgs = { + /** + * Select specific fields to fetch from the collab_notes + */ + select?: Prisma.collab_notesSelect | null + /** + * Omit specific fields from the collab_notes + */ + omit?: Prisma.collab_notesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_notesInclude | null + where?: Prisma.collab_notesWhereInput + orderBy?: Prisma.collab_notesOrderByWithRelationInput | Prisma.collab_notesOrderByWithRelationInput[] + cursor?: Prisma.collab_notesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_notesScalarFieldEnum | Prisma.Collab_notesScalarFieldEnum[] +} + +/** + * users.collab_poll_votes + */ +export type users$collab_poll_votesArgs = { + /** + * Select specific fields to fetch from the collab_poll_votes + */ + select?: Prisma.collab_poll_votesSelect | null + /** + * Omit specific fields from the collab_poll_votes + */ + omit?: Prisma.collab_poll_votesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_poll_votesInclude | null + where?: Prisma.collab_poll_votesWhereInput + orderBy?: Prisma.collab_poll_votesOrderByWithRelationInput | Prisma.collab_poll_votesOrderByWithRelationInput[] + cursor?: Prisma.collab_poll_votesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_poll_votesScalarFieldEnum | Prisma.Collab_poll_votesScalarFieldEnum[] +} + +/** + * users.collab_polls + */ +export type users$collab_pollsArgs = { + /** + * Select specific fields to fetch from the collab_polls + */ + select?: Prisma.collab_pollsSelect | null + /** + * Omit specific fields from the collab_polls + */ + omit?: Prisma.collab_pollsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.collab_pollsInclude | null + where?: Prisma.collab_pollsWhereInput + orderBy?: Prisma.collab_pollsOrderByWithRelationInput | Prisma.collab_pollsOrderByWithRelationInput[] + cursor?: Prisma.collab_pollsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Collab_pollsScalarFieldEnum | Prisma.Collab_pollsScalarFieldEnum[] +} + +/** + * users.idempotency_keys + */ +export type users$idempotency_keysArgs = { + /** + * Select specific fields to fetch from the idempotency_keys + */ + select?: Prisma.idempotency_keysSelect | null + /** + * Omit specific fields from the idempotency_keys + */ + omit?: Prisma.idempotency_keysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.idempotency_keysInclude | null + where?: Prisma.idempotency_keysWhereInput + orderBy?: Prisma.idempotency_keysOrderByWithRelationInput | Prisma.idempotency_keysOrderByWithRelationInput[] + cursor?: Prisma.idempotency_keysWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Idempotency_keysScalarFieldEnum | Prisma.Idempotency_keysScalarFieldEnum[] +} + +/** + * users.invite_tokens + */ +export type users$invite_tokensArgs = { + /** + * Select specific fields to fetch from the invite_tokens + */ + select?: Prisma.invite_tokensSelect | null + /** + * Omit specific fields from the invite_tokens + */ + omit?: Prisma.invite_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.invite_tokensInclude | null + where?: Prisma.invite_tokensWhereInput + orderBy?: Prisma.invite_tokensOrderByWithRelationInput | Prisma.invite_tokensOrderByWithRelationInput[] + cursor?: Prisma.invite_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Invite_tokensScalarFieldEnum | Prisma.Invite_tokensScalarFieldEnum[] +} + +/** + * users.journey_contributors + */ +export type users$journey_contributorsArgs = { + /** + * Select specific fields to fetch from the journey_contributors + */ + select?: Prisma.journey_contributorsSelect | null + /** + * Omit specific fields from the journey_contributors + */ + omit?: Prisma.journey_contributorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_contributorsInclude | null + where?: Prisma.journey_contributorsWhereInput + orderBy?: Prisma.journey_contributorsOrderByWithRelationInput | Prisma.journey_contributorsOrderByWithRelationInput[] + cursor?: Prisma.journey_contributorsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_contributorsScalarFieldEnum | Prisma.Journey_contributorsScalarFieldEnum[] +} + +/** + * users.journey_entries + */ +export type users$journey_entriesArgs = { + /** + * Select specific fields to fetch from the journey_entries + */ + select?: Prisma.journey_entriesSelect | null + /** + * Omit specific fields from the journey_entries + */ + omit?: Prisma.journey_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_entriesInclude | null + where?: Prisma.journey_entriesWhereInput + orderBy?: Prisma.journey_entriesOrderByWithRelationInput | Prisma.journey_entriesOrderByWithRelationInput[] + cursor?: Prisma.journey_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_entriesScalarFieldEnum | Prisma.Journey_entriesScalarFieldEnum[] +} + +/** + * users.journey_share_tokens + */ +export type users$journey_share_tokensArgs = { + /** + * Select specific fields to fetch from the journey_share_tokens + */ + select?: Prisma.journey_share_tokensSelect | null + /** + * Omit specific fields from the journey_share_tokens + */ + omit?: Prisma.journey_share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journey_share_tokensInclude | null + where?: Prisma.journey_share_tokensWhereInput + orderBy?: Prisma.journey_share_tokensOrderByWithRelationInput | Prisma.journey_share_tokensOrderByWithRelationInput[] + cursor?: Prisma.journey_share_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Journey_share_tokensScalarFieldEnum | Prisma.Journey_share_tokensScalarFieldEnum[] +} + +/** + * users.journeys + */ +export type users$journeysArgs = { + /** + * Select specific fields to fetch from the journeys + */ + select?: Prisma.journeysSelect | null + /** + * Omit specific fields from the journeys + */ + omit?: Prisma.journeysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.journeysInclude | null + where?: Prisma.journeysWhereInput + orderBy?: Prisma.journeysOrderByWithRelationInput | Prisma.journeysOrderByWithRelationInput[] + cursor?: Prisma.journeysWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.JourneysScalarFieldEnum | Prisma.JourneysScalarFieldEnum[] +} + +/** + * users.mcp_tokens + */ +export type users$mcp_tokensArgs = { + /** + * Select specific fields to fetch from the mcp_tokens + */ + select?: Prisma.mcp_tokensSelect | null + /** + * Omit specific fields from the mcp_tokens + */ + omit?: Prisma.mcp_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.mcp_tokensInclude | null + where?: Prisma.mcp_tokensWhereInput + orderBy?: Prisma.mcp_tokensOrderByWithRelationInput | Prisma.mcp_tokensOrderByWithRelationInput[] + cursor?: Prisma.mcp_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Mcp_tokensScalarFieldEnum | Prisma.Mcp_tokensScalarFieldEnum[] +} + +/** + * users.notification_channel_preferences + */ +export type users$notification_channel_preferencesArgs = { + /** + * Select specific fields to fetch from the notification_channel_preferences + */ + select?: Prisma.notification_channel_preferencesSelect | null + /** + * Omit specific fields from the notification_channel_preferences + */ + omit?: Prisma.notification_channel_preferencesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notification_channel_preferencesInclude | null + where?: Prisma.notification_channel_preferencesWhereInput + orderBy?: Prisma.notification_channel_preferencesOrderByWithRelationInput | Prisma.notification_channel_preferencesOrderByWithRelationInput[] + cursor?: Prisma.notification_channel_preferencesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Notification_channel_preferencesScalarFieldEnum | Prisma.Notification_channel_preferencesScalarFieldEnum[] +} + +/** + * users.notifications_notifications_recipient_idTousers + */ +export type users$notifications_notifications_recipient_idTousersArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + where?: Prisma.notificationsWhereInput + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + cursor?: Prisma.notificationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] +} + +/** + * users.notifications_notifications_sender_idTousers + */ +export type users$notifications_notifications_sender_idTousersArgs = { + /** + * Select specific fields to fetch from the notifications + */ + select?: Prisma.notificationsSelect | null + /** + * Omit specific fields from the notifications + */ + omit?: Prisma.notificationsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.notificationsInclude | null + where?: Prisma.notificationsWhereInput + orderBy?: Prisma.notificationsOrderByWithRelationInput | Prisma.notificationsOrderByWithRelationInput[] + cursor?: Prisma.notificationsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.NotificationsScalarFieldEnum | Prisma.NotificationsScalarFieldEnum[] +} + +/** + * users.oauth_clients + */ +export type users$oauth_clientsArgs = { + /** + * Select specific fields to fetch from the oauth_clients + */ + select?: Prisma.oauth_clientsSelect | null + /** + * Omit specific fields from the oauth_clients + */ + omit?: Prisma.oauth_clientsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_clientsInclude | null + where?: Prisma.oauth_clientsWhereInput + orderBy?: Prisma.oauth_clientsOrderByWithRelationInput | Prisma.oauth_clientsOrderByWithRelationInput[] + cursor?: Prisma.oauth_clientsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_clientsScalarFieldEnum | Prisma.Oauth_clientsScalarFieldEnum[] +} + +/** + * users.oauth_consents + */ +export type users$oauth_consentsArgs = { + /** + * Select specific fields to fetch from the oauth_consents + */ + select?: Prisma.oauth_consentsSelect | null + /** + * Omit specific fields from the oauth_consents + */ + omit?: Prisma.oauth_consentsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_consentsInclude | null + where?: Prisma.oauth_consentsWhereInput + orderBy?: Prisma.oauth_consentsOrderByWithRelationInput | Prisma.oauth_consentsOrderByWithRelationInput[] + cursor?: Prisma.oauth_consentsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_consentsScalarFieldEnum | Prisma.Oauth_consentsScalarFieldEnum[] +} + +/** + * users.oauth_tokens + */ +export type users$oauth_tokensArgs = { + /** + * Select specific fields to fetch from the oauth_tokens + */ + select?: Prisma.oauth_tokensSelect | null + /** + * Omit specific fields from the oauth_tokens + */ + omit?: Prisma.oauth_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.oauth_tokensInclude | null + where?: Prisma.oauth_tokensWhereInput + orderBy?: Prisma.oauth_tokensOrderByWithRelationInput | Prisma.oauth_tokensOrderByWithRelationInput[] + cursor?: Prisma.oauth_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Oauth_tokensScalarFieldEnum | Prisma.Oauth_tokensScalarFieldEnum[] +} + +/** + * users.packing_bag_members + */ +export type users$packing_bag_membersArgs = { + /** + * Select specific fields to fetch from the packing_bag_members + */ + select?: Prisma.packing_bag_membersSelect | null + /** + * Omit specific fields from the packing_bag_members + */ + omit?: Prisma.packing_bag_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bag_membersInclude | null + where?: Prisma.packing_bag_membersWhereInput + orderBy?: Prisma.packing_bag_membersOrderByWithRelationInput | Prisma.packing_bag_membersOrderByWithRelationInput[] + cursor?: Prisma.packing_bag_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_bag_membersScalarFieldEnum | Prisma.Packing_bag_membersScalarFieldEnum[] +} + +/** + * users.packing_bags + */ +export type users$packing_bagsArgs = { + /** + * Select specific fields to fetch from the packing_bags + */ + select?: Prisma.packing_bagsSelect | null + /** + * Omit specific fields from the packing_bags + */ + omit?: Prisma.packing_bagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_bagsInclude | null + where?: Prisma.packing_bagsWhereInput + orderBy?: Prisma.packing_bagsOrderByWithRelationInput | Prisma.packing_bagsOrderByWithRelationInput[] + cursor?: Prisma.packing_bagsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_bagsScalarFieldEnum | Prisma.Packing_bagsScalarFieldEnum[] +} + +/** + * users.packing_category_assignees + */ +export type users$packing_category_assigneesArgs = { + /** + * Select specific fields to fetch from the packing_category_assignees + */ + select?: Prisma.packing_category_assigneesSelect | null + /** + * Omit specific fields from the packing_category_assignees + */ + omit?: Prisma.packing_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_category_assigneesInclude | null + where?: Prisma.packing_category_assigneesWhereInput + orderBy?: Prisma.packing_category_assigneesOrderByWithRelationInput | Prisma.packing_category_assigneesOrderByWithRelationInput[] + cursor?: Prisma.packing_category_assigneesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_category_assigneesScalarFieldEnum | Prisma.Packing_category_assigneesScalarFieldEnum[] +} + +/** + * users.packing_templates + */ +export type users$packing_templatesArgs = { + /** + * Select specific fields to fetch from the packing_templates + */ + select?: Prisma.packing_templatesSelect | null + /** + * Omit specific fields from the packing_templates + */ + omit?: Prisma.packing_templatesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.packing_templatesInclude | null + where?: Prisma.packing_templatesWhereInput + orderBy?: Prisma.packing_templatesOrderByWithRelationInput | Prisma.packing_templatesOrderByWithRelationInput[] + cursor?: Prisma.packing_templatesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Packing_templatesScalarFieldEnum | Prisma.Packing_templatesScalarFieldEnum[] +} + +/** + * users.password_reset_tokens + */ +export type users$password_reset_tokensArgs = { + /** + * Select specific fields to fetch from the password_reset_tokens + */ + select?: Prisma.password_reset_tokensSelect | null + /** + * Omit specific fields from the password_reset_tokens + */ + omit?: Prisma.password_reset_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.password_reset_tokensInclude | null + where?: Prisma.password_reset_tokensWhereInput + orderBy?: Prisma.password_reset_tokensOrderByWithRelationInput | Prisma.password_reset_tokensOrderByWithRelationInput[] + cursor?: Prisma.password_reset_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Password_reset_tokensScalarFieldEnum | Prisma.Password_reset_tokensScalarFieldEnum[] +} + +/** + * users.settings + */ +export type users$settingsArgs = { + /** + * Select specific fields to fetch from the settings + */ + select?: Prisma.settingsSelect | null + /** + * Omit specific fields from the settings + */ + omit?: Prisma.settingsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.settingsInclude | null + where?: Prisma.settingsWhereInput + orderBy?: Prisma.settingsOrderByWithRelationInput | Prisma.settingsOrderByWithRelationInput[] + cursor?: Prisma.settingsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[] +} + +/** + * users.share_tokens + */ +export type users$share_tokensArgs = { + /** + * Select specific fields to fetch from the share_tokens + */ + select?: Prisma.share_tokensSelect | null + /** + * Omit specific fields from the share_tokens + */ + omit?: Prisma.share_tokensOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.share_tokensInclude | null + where?: Prisma.share_tokensWhereInput + orderBy?: Prisma.share_tokensOrderByWithRelationInput | Prisma.share_tokensOrderByWithRelationInput[] + cursor?: Prisma.share_tokensWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Share_tokensScalarFieldEnum | Prisma.Share_tokensScalarFieldEnum[] +} + +/** + * users.tags + */ +export type users$tagsArgs = { + /** + * Select specific fields to fetch from the tags + */ + select?: Prisma.tagsSelect | null + /** + * Omit specific fields from the tags + */ + omit?: Prisma.tagsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tagsInclude | null + where?: Prisma.tagsWhereInput + orderBy?: Prisma.tagsOrderByWithRelationInput | Prisma.tagsOrderByWithRelationInput[] + cursor?: Prisma.tagsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.TagsScalarFieldEnum | Prisma.TagsScalarFieldEnum[] +} + +/** + * users.todo_category_assignees + */ +export type users$todo_category_assigneesArgs = { + /** + * Select specific fields to fetch from the todo_category_assignees + */ + select?: Prisma.todo_category_assigneesSelect | null + /** + * Omit specific fields from the todo_category_assignees + */ + omit?: Prisma.todo_category_assigneesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_category_assigneesInclude | null + where?: Prisma.todo_category_assigneesWhereInput + orderBy?: Prisma.todo_category_assigneesOrderByWithRelationInput | Prisma.todo_category_assigneesOrderByWithRelationInput[] + cursor?: Prisma.todo_category_assigneesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Todo_category_assigneesScalarFieldEnum | Prisma.Todo_category_assigneesScalarFieldEnum[] +} + +/** + * users.todo_items + */ +export type users$todo_itemsArgs = { + /** + * Select specific fields to fetch from the todo_items + */ + select?: Prisma.todo_itemsSelect | null + /** + * Omit specific fields from the todo_items + */ + omit?: Prisma.todo_itemsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.todo_itemsInclude | null + where?: Prisma.todo_itemsWhereInput + orderBy?: Prisma.todo_itemsOrderByWithRelationInput | Prisma.todo_itemsOrderByWithRelationInput[] + cursor?: Prisma.todo_itemsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Todo_itemsScalarFieldEnum | Prisma.Todo_itemsScalarFieldEnum[] +} + +/** + * users.trek_photos + */ +export type users$trek_photosArgs = { + /** + * Select specific fields to fetch from the trek_photos + */ + select?: Prisma.trek_photosSelect | null + /** + * Omit specific fields from the trek_photos + */ + omit?: Prisma.trek_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trek_photosInclude | null + where?: Prisma.trek_photosWhereInput + orderBy?: Prisma.trek_photosOrderByWithRelationInput | Prisma.trek_photosOrderByWithRelationInput[] + cursor?: Prisma.trek_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trek_photosScalarFieldEnum | Prisma.Trek_photosScalarFieldEnum[] +} + +/** + * users.trip_album_links + */ +export type users$trip_album_linksArgs = { + /** + * Select specific fields to fetch from the trip_album_links + */ + select?: Prisma.trip_album_linksSelect | null + /** + * Omit specific fields from the trip_album_links + */ + omit?: Prisma.trip_album_linksOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_album_linksInclude | null + where?: Prisma.trip_album_linksWhereInput + orderBy?: Prisma.trip_album_linksOrderByWithRelationInput | Prisma.trip_album_linksOrderByWithRelationInput[] + cursor?: Prisma.trip_album_linksWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_album_linksScalarFieldEnum | Prisma.Trip_album_linksScalarFieldEnum[] +} + +/** + * users.trip_files + */ +export type users$trip_filesArgs = { + /** + * Select specific fields to fetch from the trip_files + */ + select?: Prisma.trip_filesSelect | null + /** + * Omit specific fields from the trip_files + */ + omit?: Prisma.trip_filesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_filesInclude | null + where?: Prisma.trip_filesWhereInput + orderBy?: Prisma.trip_filesOrderByWithRelationInput | Prisma.trip_filesOrderByWithRelationInput[] + cursor?: Prisma.trip_filesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_filesScalarFieldEnum | Prisma.Trip_filesScalarFieldEnum[] +} + +/** + * users.trip_members_trip_members_invited_byTousers + */ +export type users$trip_members_trip_members_invited_byTousersArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + where?: Prisma.trip_membersWhereInput + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + cursor?: Prisma.trip_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * users.trip_members_trip_members_user_idTousers + */ +export type users$trip_members_trip_members_user_idTousersArgs = { + /** + * Select specific fields to fetch from the trip_members + */ + select?: Prisma.trip_membersSelect | null + /** + * Omit specific fields from the trip_members + */ + omit?: Prisma.trip_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_membersInclude | null + where?: Prisma.trip_membersWhereInput + orderBy?: Prisma.trip_membersOrderByWithRelationInput | Prisma.trip_membersOrderByWithRelationInput[] + cursor?: Prisma.trip_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_membersScalarFieldEnum | Prisma.Trip_membersScalarFieldEnum[] +} + +/** + * users.trip_photos + */ +export type users$trip_photosArgs = { + /** + * Select specific fields to fetch from the trip_photos + */ + select?: Prisma.trip_photosSelect | null + /** + * Omit specific fields from the trip_photos + */ + omit?: Prisma.trip_photosOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.trip_photosInclude | null + where?: Prisma.trip_photosWhereInput + orderBy?: Prisma.trip_photosOrderByWithRelationInput | Prisma.trip_photosOrderByWithRelationInput[] + cursor?: Prisma.trip_photosWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Trip_photosScalarFieldEnum | Prisma.Trip_photosScalarFieldEnum[] +} + +/** + * users.trips + */ +export type users$tripsArgs = { + /** + * Select specific fields to fetch from the trips + */ + select?: Prisma.tripsSelect | null + /** + * Omit specific fields from the trips + */ + omit?: Prisma.tripsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.tripsInclude | null + where?: Prisma.tripsWhereInput + orderBy?: Prisma.tripsOrderByWithRelationInput | Prisma.tripsOrderByWithRelationInput[] + cursor?: Prisma.tripsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.TripsScalarFieldEnum | Prisma.TripsScalarFieldEnum[] +} + +/** + * users.user_notice_dismissals + */ +export type users$user_notice_dismissalsArgs = { + /** + * Select specific fields to fetch from the user_notice_dismissals + */ + select?: Prisma.user_notice_dismissalsSelect | null + /** + * Omit specific fields from the user_notice_dismissals + */ + omit?: Prisma.user_notice_dismissalsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.user_notice_dismissalsInclude | null + where?: Prisma.user_notice_dismissalsWhereInput + orderBy?: Prisma.user_notice_dismissalsOrderByWithRelationInput | Prisma.user_notice_dismissalsOrderByWithRelationInput[] + cursor?: Prisma.user_notice_dismissalsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.User_notice_dismissalsScalarFieldEnum | Prisma.User_notice_dismissalsScalarFieldEnum[] +} + +/** + * users.vacay_entries + */ +export type users$vacay_entriesArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + where?: Prisma.vacay_entriesWhereInput + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + cursor?: Prisma.vacay_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_entriesScalarFieldEnum | Prisma.Vacay_entriesScalarFieldEnum[] +} + +/** + * users.vacay_plan_members + */ +export type users$vacay_plan_membersArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + where?: Prisma.vacay_plan_membersWhereInput + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_plan_membersScalarFieldEnum | Prisma.Vacay_plan_membersScalarFieldEnum[] +} + +/** + * users.vacay_plans + */ +export type users$vacay_plansArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + where?: Prisma.vacay_plansWhereInput +} + +/** + * users.vacay_user_colors + */ +export type users$vacay_user_colorsArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + where?: Prisma.vacay_user_colorsWhereInput + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_user_colorsScalarFieldEnum | Prisma.Vacay_user_colorsScalarFieldEnum[] +} + +/** + * users.vacay_user_years + */ +export type users$vacay_user_yearsArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + where?: Prisma.vacay_user_yearsWhereInput + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_user_yearsScalarFieldEnum | Prisma.Vacay_user_yearsScalarFieldEnum[] +} + +/** + * users.visited_countries + */ +export type users$visited_countriesArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + where?: Prisma.visited_countriesWhereInput + orderBy?: Prisma.visited_countriesOrderByWithRelationInput | Prisma.visited_countriesOrderByWithRelationInput[] + cursor?: Prisma.visited_countriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Visited_countriesScalarFieldEnum | Prisma.Visited_countriesScalarFieldEnum[] +} + +/** + * users.visited_regions + */ +export type users$visited_regionsArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + where?: Prisma.visited_regionsWhereInput + orderBy?: Prisma.visited_regionsOrderByWithRelationInput | Prisma.visited_regionsOrderByWithRelationInput[] + cursor?: Prisma.visited_regionsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Visited_regionsScalarFieldEnum | Prisma.Visited_regionsScalarFieldEnum[] +} + +/** + * users without action + */ +export type usersDefaultArgs = { + /** + * Select specific fields to fetch from the users + */ + select?: Prisma.usersSelect | null + /** + * Omit specific fields from the users + */ + omit?: Prisma.usersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.usersInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_company_holidays.ts b/server/src/generated/prisma/models/vacay_company_holidays.ts new file mode 100644 index 00000000..ef3143a1 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_company_holidays.ts @@ -0,0 +1,1358 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_company_holidays` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_company_holidays + * + */ +export type vacay_company_holidaysModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_company_holidays = { + _count: Vacay_company_holidaysCountAggregateOutputType | null + _avg: Vacay_company_holidaysAvgAggregateOutputType | null + _sum: Vacay_company_holidaysSumAggregateOutputType | null + _min: Vacay_company_holidaysMinAggregateOutputType | null + _max: Vacay_company_holidaysMaxAggregateOutputType | null +} + +export type Vacay_company_holidaysAvgAggregateOutputType = { + id: number | null + plan_id: number | null +} + +export type Vacay_company_holidaysSumAggregateOutputType = { + id: number | null + plan_id: number | null +} + +export type Vacay_company_holidaysMinAggregateOutputType = { + id: number | null + plan_id: number | null + date: string | null + note: string | null +} + +export type Vacay_company_holidaysMaxAggregateOutputType = { + id: number | null + plan_id: number | null + date: string | null + note: string | null +} + +export type Vacay_company_holidaysCountAggregateOutputType = { + id: number + plan_id: number + date: number + note: number + _all: number +} + + +export type Vacay_company_holidaysAvgAggregateInputType = { + id?: true + plan_id?: true +} + +export type Vacay_company_holidaysSumAggregateInputType = { + id?: true + plan_id?: true +} + +export type Vacay_company_holidaysMinAggregateInputType = { + id?: true + plan_id?: true + date?: true + note?: true +} + +export type Vacay_company_holidaysMaxAggregateInputType = { + id?: true + plan_id?: true + date?: true + note?: true +} + +export type Vacay_company_holidaysCountAggregateInputType = { + id?: true + plan_id?: true + date?: true + note?: true + _all?: true +} + +export type Vacay_company_holidaysAggregateArgs = { + /** + * Filter which vacay_company_holidays to aggregate. + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_company_holidays to fetch. + */ + orderBy?: Prisma.vacay_company_holidaysOrderByWithRelationInput | Prisma.vacay_company_holidaysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_company_holidaysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_company_holidays from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_company_holidays. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_company_holidays + **/ + _count?: true | Vacay_company_holidaysCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_company_holidaysAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_company_holidaysSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_company_holidaysMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_company_holidaysMaxAggregateInputType +} + +export type GetVacay_company_holidaysAggregateType = { + [P in keyof T & keyof AggregateVacay_company_holidays]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_company_holidaysGroupByArgs = { + where?: Prisma.vacay_company_holidaysWhereInput + orderBy?: Prisma.vacay_company_holidaysOrderByWithAggregationInput | Prisma.vacay_company_holidaysOrderByWithAggregationInput[] + by: Prisma.Vacay_company_holidaysScalarFieldEnum[] | Prisma.Vacay_company_holidaysScalarFieldEnum + having?: Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_company_holidaysCountAggregateInputType | true + _avg?: Vacay_company_holidaysAvgAggregateInputType + _sum?: Vacay_company_holidaysSumAggregateInputType + _min?: Vacay_company_holidaysMinAggregateInputType + _max?: Vacay_company_holidaysMaxAggregateInputType +} + +export type Vacay_company_holidaysGroupByOutputType = { + id: number + plan_id: number + date: string + note: string | null + _count: Vacay_company_holidaysCountAggregateOutputType | null + _avg: Vacay_company_holidaysAvgAggregateOutputType | null + _sum: Vacay_company_holidaysSumAggregateOutputType | null + _min: Vacay_company_holidaysMinAggregateOutputType | null + _max: Vacay_company_holidaysMaxAggregateOutputType | null +} + +export type GetVacay_company_holidaysGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_company_holidaysGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_company_holidaysWhereInput = { + AND?: Prisma.vacay_company_holidaysWhereInput | Prisma.vacay_company_holidaysWhereInput[] + OR?: Prisma.vacay_company_holidaysWhereInput[] + NOT?: Prisma.vacay_company_holidaysWhereInput | Prisma.vacay_company_holidaysWhereInput[] + id?: Prisma.IntFilter<"vacay_company_holidays"> | number + plan_id?: Prisma.IntFilter<"vacay_company_holidays"> | number + date?: Prisma.StringFilter<"vacay_company_holidays"> | string + note?: Prisma.StringNullableFilter<"vacay_company_holidays"> | string | null + vacay_plans?: Prisma.XOR +} + +export type vacay_company_holidaysOrderByWithRelationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput +} + +export type vacay_company_holidaysWhereUniqueInput = Prisma.AtLeast<{ + id?: number + plan_id_date?: Prisma.vacay_company_holidaysPlan_idDateCompoundUniqueInput + AND?: Prisma.vacay_company_holidaysWhereInput | Prisma.vacay_company_holidaysWhereInput[] + OR?: Prisma.vacay_company_holidaysWhereInput[] + NOT?: Prisma.vacay_company_holidaysWhereInput | Prisma.vacay_company_holidaysWhereInput[] + plan_id?: Prisma.IntFilter<"vacay_company_holidays"> | number + date?: Prisma.StringFilter<"vacay_company_holidays"> | string + note?: Prisma.StringNullableFilter<"vacay_company_holidays"> | string | null + vacay_plans?: Prisma.XOR +}, "id" | "plan_id_date"> + +export type vacay_company_holidaysOrderByWithAggregationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.vacay_company_holidaysCountOrderByAggregateInput + _avg?: Prisma.vacay_company_holidaysAvgOrderByAggregateInput + _max?: Prisma.vacay_company_holidaysMaxOrderByAggregateInput + _min?: Prisma.vacay_company_holidaysMinOrderByAggregateInput + _sum?: Prisma.vacay_company_holidaysSumOrderByAggregateInput +} + +export type vacay_company_holidaysScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput | Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput | Prisma.vacay_company_holidaysScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_company_holidays"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_company_holidays"> | number + date?: Prisma.StringWithAggregatesFilter<"vacay_company_holidays"> | string + note?: Prisma.StringNullableWithAggregatesFilter<"vacay_company_holidays"> | string | null +} + +export type vacay_company_holidaysCreateInput = { + date: string + note?: string | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_company_holidaysInput +} + +export type vacay_company_holidaysUncheckedCreateInput = { + id?: number + plan_id: number + date: string + note?: string | null +} + +export type vacay_company_holidaysUpdateInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_company_holidaysNestedInput +} + +export type vacay_company_holidaysUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_company_holidaysCreateManyInput = { + id?: number + plan_id: number + date: string + note?: string | null +} + +export type vacay_company_holidaysUpdateManyMutationInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_company_holidaysUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_company_holidaysPlan_idDateCompoundUniqueInput = { + plan_id: number + date: string +} + +export type vacay_company_holidaysCountOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_company_holidaysAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder +} + +export type vacay_company_holidaysMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_company_holidaysMinOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_company_holidaysSumOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder +} + +export type Vacay_company_holidaysListRelationFilter = { + every?: Prisma.vacay_company_holidaysWhereInput + some?: Prisma.vacay_company_holidaysWhereInput + none?: Prisma.vacay_company_holidaysWhereInput +} + +export type vacay_company_holidaysOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_company_holidaysCreateWithoutVacay_plansInput[] | Prisma.vacay_company_holidaysUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_company_holidaysCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] +} + +export type vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_company_holidaysCreateWithoutVacay_plansInput[] | Prisma.vacay_company_holidaysUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_company_holidaysCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] +} + +export type vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_company_holidaysCreateWithoutVacay_plansInput[] | Prisma.vacay_company_holidaysUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_company_holidaysUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_company_holidaysCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + disconnect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + delete?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + connect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + update?: Prisma.vacay_company_holidaysUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_company_holidaysUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_company_holidaysScalarWhereInput | Prisma.vacay_company_holidaysScalarWhereInput[] +} + +export type vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_company_holidaysCreateWithoutVacay_plansInput[] | Prisma.vacay_company_holidaysUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_company_holidaysUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_company_holidaysCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + disconnect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + delete?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + connect?: Prisma.vacay_company_holidaysWhereUniqueInput | Prisma.vacay_company_holidaysWhereUniqueInput[] + update?: Prisma.vacay_company_holidaysUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_company_holidaysUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_company_holidaysUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_company_holidaysScalarWhereInput | Prisma.vacay_company_holidaysScalarWhereInput[] +} + +export type vacay_company_holidaysCreateWithoutVacay_plansInput = { + date: string + note?: string | null +} + +export type vacay_company_holidaysUncheckedCreateWithoutVacay_plansInput = { + id?: number + date: string + note?: string | null +} + +export type vacay_company_holidaysCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_company_holidaysWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_company_holidaysCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_company_holidaysCreateManyVacay_plansInput | Prisma.vacay_company_holidaysCreateManyVacay_plansInput[] +} + +export type vacay_company_holidaysUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_company_holidaysWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_company_holidaysUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_company_holidaysWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_company_holidaysUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_company_holidaysScalarWhereInput + data: Prisma.XOR +} + +export type vacay_company_holidaysScalarWhereInput = { + AND?: Prisma.vacay_company_holidaysScalarWhereInput | Prisma.vacay_company_holidaysScalarWhereInput[] + OR?: Prisma.vacay_company_holidaysScalarWhereInput[] + NOT?: Prisma.vacay_company_holidaysScalarWhereInput | Prisma.vacay_company_holidaysScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_company_holidays"> | number + plan_id?: Prisma.IntFilter<"vacay_company_holidays"> | number + date?: Prisma.StringFilter<"vacay_company_holidays"> | string + note?: Prisma.StringNullableFilter<"vacay_company_holidays"> | string | null +} + +export type vacay_company_holidaysCreateManyVacay_plansInput = { + id?: number + date: string + note?: string | null +} + +export type vacay_company_holidaysUpdateWithoutVacay_plansInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_company_holidaysUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type vacay_company_holidaysSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + date?: boolean + note?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_company_holidays"]> + +export type vacay_company_holidaysSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + date?: boolean + note?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_company_holidays"]> + +export type vacay_company_holidaysSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + date?: boolean + note?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_company_holidays"]> + +export type vacay_company_holidaysSelectScalar = { + id?: boolean + plan_id?: boolean + date?: boolean + note?: boolean +} + +export type vacay_company_holidaysOmit = runtime.Types.Extensions.GetOmit<"id" | "plan_id" | "date" | "note", ExtArgs["result"]["vacay_company_holidays"]> +export type vacay_company_holidaysInclude = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_company_holidaysIncludeCreateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_company_holidaysIncludeUpdateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} + +export type $vacay_company_holidaysPayload = { + name: "vacay_company_holidays" + objects: { + vacay_plans: Prisma.$vacay_plansPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + plan_id: number + date: string + note: string | null + }, ExtArgs["result"]["vacay_company_holidays"]> + composites: {} +} + +export type vacay_company_holidaysGetPayload = runtime.Types.Result.GetResult + +export type vacay_company_holidaysCountArgs = + Omit & { + select?: Vacay_company_holidaysCountAggregateInputType | true + } + +export interface vacay_company_holidaysDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_company_holidays'], meta: { name: 'vacay_company_holidays' } } + /** + * Find zero or one Vacay_company_holidays that matches the filter. + * @param {vacay_company_holidaysFindUniqueArgs} args - Arguments to find a Vacay_company_holidays + * @example + * // Get one Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_company_holidays that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_company_holidaysFindUniqueOrThrowArgs} args - Arguments to find a Vacay_company_holidays + * @example + * // Get one Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_company_holidays that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysFindFirstArgs} args - Arguments to find a Vacay_company_holidays + * @example + * // Get one Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_company_holidays that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysFindFirstOrThrowArgs} args - Arguments to find a Vacay_company_holidays + * @example + * // Get one Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_company_holidays that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findMany() + * + * // Get first 10 Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_company_holidaysWithIdOnly = await prisma.vacay_company_holidays.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_company_holidays. + * @param {vacay_company_holidaysCreateArgs} args - Arguments to create a Vacay_company_holidays. + * @example + * // Create one Vacay_company_holidays + * const Vacay_company_holidays = await prisma.vacay_company_holidays.create({ + * data: { + * // ... data to create a Vacay_company_holidays + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_company_holidays. + * @param {vacay_company_holidaysCreateManyArgs} args - Arguments to create many Vacay_company_holidays. + * @example + * // Create many Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_company_holidays and returns the data saved in the database. + * @param {vacay_company_holidaysCreateManyAndReturnArgs} args - Arguments to create many Vacay_company_holidays. + * @example + * // Create many Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_company_holidays and only return the `id` + * const vacay_company_holidaysWithIdOnly = await prisma.vacay_company_holidays.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_company_holidays. + * @param {vacay_company_holidaysDeleteArgs} args - Arguments to delete one Vacay_company_holidays. + * @example + * // Delete one Vacay_company_holidays + * const Vacay_company_holidays = await prisma.vacay_company_holidays.delete({ + * where: { + * // ... filter to delete one Vacay_company_holidays + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_company_holidays. + * @param {vacay_company_holidaysUpdateArgs} args - Arguments to update one Vacay_company_holidays. + * @example + * // Update one Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_company_holidays. + * @param {vacay_company_holidaysDeleteManyArgs} args - Arguments to filter Vacay_company_holidays to delete. + * @example + * // Delete a few Vacay_company_holidays + * const { count } = await prisma.vacay_company_holidays.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_company_holidays. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_company_holidays and returns the data updated in the database. + * @param {vacay_company_holidaysUpdateManyAndReturnArgs} args - Arguments to update many Vacay_company_holidays. + * @example + * // Update many Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_company_holidays and only return the `id` + * const vacay_company_holidaysWithIdOnly = await prisma.vacay_company_holidays.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_company_holidays. + * @param {vacay_company_holidaysUpsertArgs} args - Arguments to update or create a Vacay_company_holidays. + * @example + * // Update or create a Vacay_company_holidays + * const vacay_company_holidays = await prisma.vacay_company_holidays.upsert({ + * create: { + * // ... data to create a Vacay_company_holidays + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_company_holidays we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_company_holidaysClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_company_holidays. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysCountArgs} args - Arguments to filter Vacay_company_holidays to count. + * @example + * // Count the number of Vacay_company_holidays + * const count = await prisma.vacay_company_holidays.count({ + * where: { + * // ... the filter for the Vacay_company_holidays we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_company_holidays. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_company_holidaysAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_company_holidays. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_company_holidaysGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_company_holidaysGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_company_holidaysGroupByArgs['orderBy'] } + : { orderBy?: vacay_company_holidaysGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_company_holidaysGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_company_holidays model + */ +readonly fields: vacay_company_holidaysFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_company_holidays. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_company_holidaysClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_company_holidays model + */ +export interface vacay_company_holidaysFieldRefs { + readonly id: Prisma.FieldRef<"vacay_company_holidays", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_company_holidays", 'Int'> + readonly date: Prisma.FieldRef<"vacay_company_holidays", 'String'> + readonly note: Prisma.FieldRef<"vacay_company_holidays", 'String'> +} + + +// Custom InputTypes +/** + * vacay_company_holidays findUnique + */ +export type vacay_company_holidaysFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter, which vacay_company_holidays to fetch. + */ + where: Prisma.vacay_company_holidaysWhereUniqueInput +} + +/** + * vacay_company_holidays findUniqueOrThrow + */ +export type vacay_company_holidaysFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter, which vacay_company_holidays to fetch. + */ + where: Prisma.vacay_company_holidaysWhereUniqueInput +} + +/** + * vacay_company_holidays findFirst + */ +export type vacay_company_holidaysFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter, which vacay_company_holidays to fetch. + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_company_holidays to fetch. + */ + orderBy?: Prisma.vacay_company_holidaysOrderByWithRelationInput | Prisma.vacay_company_holidaysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_company_holidays. + */ + cursor?: Prisma.vacay_company_holidaysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_company_holidays from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_company_holidays. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_company_holidays. + */ + distinct?: Prisma.Vacay_company_holidaysScalarFieldEnum | Prisma.Vacay_company_holidaysScalarFieldEnum[] +} + +/** + * vacay_company_holidays findFirstOrThrow + */ +export type vacay_company_holidaysFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter, which vacay_company_holidays to fetch. + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_company_holidays to fetch. + */ + orderBy?: Prisma.vacay_company_holidaysOrderByWithRelationInput | Prisma.vacay_company_holidaysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_company_holidays. + */ + cursor?: Prisma.vacay_company_holidaysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_company_holidays from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_company_holidays. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_company_holidays. + */ + distinct?: Prisma.Vacay_company_holidaysScalarFieldEnum | Prisma.Vacay_company_holidaysScalarFieldEnum[] +} + +/** + * vacay_company_holidays findMany + */ +export type vacay_company_holidaysFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter, which vacay_company_holidays to fetch. + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_company_holidays to fetch. + */ + orderBy?: Prisma.vacay_company_holidaysOrderByWithRelationInput | Prisma.vacay_company_holidaysOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_company_holidays. + */ + cursor?: Prisma.vacay_company_holidaysWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_company_holidays from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_company_holidays. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_company_holidays. + */ + distinct?: Prisma.Vacay_company_holidaysScalarFieldEnum | Prisma.Vacay_company_holidaysScalarFieldEnum[] +} + +/** + * vacay_company_holidays create + */ +export type vacay_company_holidaysCreateArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * The data needed to create a vacay_company_holidays. + */ + data: Prisma.XOR +} + +/** + * vacay_company_holidays createMany + */ +export type vacay_company_holidaysCreateManyArgs = { + /** + * The data used to create many vacay_company_holidays. + */ + data: Prisma.vacay_company_holidaysCreateManyInput | Prisma.vacay_company_holidaysCreateManyInput[] +} + +/** + * vacay_company_holidays createManyAndReturn + */ +export type vacay_company_holidaysCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * The data used to create many vacay_company_holidays. + */ + data: Prisma.vacay_company_holidaysCreateManyInput | Prisma.vacay_company_holidaysCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysIncludeCreateManyAndReturn | null +} + +/** + * vacay_company_holidays update + */ +export type vacay_company_holidaysUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * The data needed to update a vacay_company_holidays. + */ + data: Prisma.XOR + /** + * Choose, which vacay_company_holidays to update. + */ + where: Prisma.vacay_company_holidaysWhereUniqueInput +} + +/** + * vacay_company_holidays updateMany + */ +export type vacay_company_holidaysUpdateManyArgs = { + /** + * The data used to update vacay_company_holidays. + */ + data: Prisma.XOR + /** + * Filter which vacay_company_holidays to update + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * Limit how many vacay_company_holidays to update. + */ + limit?: number +} + +/** + * vacay_company_holidays updateManyAndReturn + */ +export type vacay_company_holidaysUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * The data used to update vacay_company_holidays. + */ + data: Prisma.XOR + /** + * Filter which vacay_company_holidays to update + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * Limit how many vacay_company_holidays to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysIncludeUpdateManyAndReturn | null +} + +/** + * vacay_company_holidays upsert + */ +export type vacay_company_holidaysUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * The filter to search for the vacay_company_holidays to update in case it exists. + */ + where: Prisma.vacay_company_holidaysWhereUniqueInput + /** + * In case the vacay_company_holidays found by the `where` argument doesn't exist, create a new vacay_company_holidays with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_company_holidays was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_company_holidays delete + */ +export type vacay_company_holidaysDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + /** + * Filter which vacay_company_holidays to delete. + */ + where: Prisma.vacay_company_holidaysWhereUniqueInput +} + +/** + * vacay_company_holidays deleteMany + */ +export type vacay_company_holidaysDeleteManyArgs = { + /** + * Filter which vacay_company_holidays to delete + */ + where?: Prisma.vacay_company_holidaysWhereInput + /** + * Limit how many vacay_company_holidays to delete. + */ + limit?: number +} + +/** + * vacay_company_holidays without action + */ +export type vacay_company_holidaysDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_entries.ts b/server/src/generated/prisma/models/vacay_entries.ts new file mode 100644 index 00000000..83064b5e --- /dev/null +++ b/server/src/generated/prisma/models/vacay_entries.ts @@ -0,0 +1,1517 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_entries` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_entries + * + */ +export type vacay_entriesModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_entries = { + _count: Vacay_entriesCountAggregateOutputType | null + _avg: Vacay_entriesAvgAggregateOutputType | null + _sum: Vacay_entriesSumAggregateOutputType | null + _min: Vacay_entriesMinAggregateOutputType | null + _max: Vacay_entriesMaxAggregateOutputType | null +} + +export type Vacay_entriesAvgAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null +} + +export type Vacay_entriesSumAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null +} + +export type Vacay_entriesMinAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null + date: string | null + note: string | null +} + +export type Vacay_entriesMaxAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null + date: string | null + note: string | null +} + +export type Vacay_entriesCountAggregateOutputType = { + id: number + plan_id: number + user_id: number + date: number + note: number + _all: number +} + + +export type Vacay_entriesAvgAggregateInputType = { + id?: true + plan_id?: true + user_id?: true +} + +export type Vacay_entriesSumAggregateInputType = { + id?: true + plan_id?: true + user_id?: true +} + +export type Vacay_entriesMinAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + date?: true + note?: true +} + +export type Vacay_entriesMaxAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + date?: true + note?: true +} + +export type Vacay_entriesCountAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + date?: true + note?: true + _all?: true +} + +export type Vacay_entriesAggregateArgs = { + /** + * Filter which vacay_entries to aggregate. + */ + where?: Prisma.vacay_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_entries to fetch. + */ + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_entries + **/ + _count?: true | Vacay_entriesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_entriesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_entriesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_entriesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_entriesMaxAggregateInputType +} + +export type GetVacay_entriesAggregateType = { + [P in keyof T & keyof AggregateVacay_entries]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_entriesGroupByArgs = { + where?: Prisma.vacay_entriesWhereInput + orderBy?: Prisma.vacay_entriesOrderByWithAggregationInput | Prisma.vacay_entriesOrderByWithAggregationInput[] + by: Prisma.Vacay_entriesScalarFieldEnum[] | Prisma.Vacay_entriesScalarFieldEnum + having?: Prisma.vacay_entriesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_entriesCountAggregateInputType | true + _avg?: Vacay_entriesAvgAggregateInputType + _sum?: Vacay_entriesSumAggregateInputType + _min?: Vacay_entriesMinAggregateInputType + _max?: Vacay_entriesMaxAggregateInputType +} + +export type Vacay_entriesGroupByOutputType = { + id: number + plan_id: number + user_id: number + date: string + note: string | null + _count: Vacay_entriesCountAggregateOutputType | null + _avg: Vacay_entriesAvgAggregateOutputType | null + _sum: Vacay_entriesSumAggregateOutputType | null + _min: Vacay_entriesMinAggregateOutputType | null + _max: Vacay_entriesMaxAggregateOutputType | null +} + +export type GetVacay_entriesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_entriesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_entriesWhereInput = { + AND?: Prisma.vacay_entriesWhereInput | Prisma.vacay_entriesWhereInput[] + OR?: Prisma.vacay_entriesWhereInput[] + NOT?: Prisma.vacay_entriesWhereInput | Prisma.vacay_entriesWhereInput[] + id?: Prisma.IntFilter<"vacay_entries"> | number + plan_id?: Prisma.IntFilter<"vacay_entries"> | number + user_id?: Prisma.IntFilter<"vacay_entries"> | number + date?: Prisma.StringFilter<"vacay_entries"> | string + note?: Prisma.StringNullableFilter<"vacay_entries"> | string | null + users?: Prisma.XOR + vacay_plans?: Prisma.XOR +} + +export type vacay_entriesOrderByWithRelationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput +} + +export type vacay_entriesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_plan_id_date?: Prisma.vacay_entriesUser_idPlan_idDateCompoundUniqueInput + AND?: Prisma.vacay_entriesWhereInput | Prisma.vacay_entriesWhereInput[] + OR?: Prisma.vacay_entriesWhereInput[] + NOT?: Prisma.vacay_entriesWhereInput | Prisma.vacay_entriesWhereInput[] + plan_id?: Prisma.IntFilter<"vacay_entries"> | number + user_id?: Prisma.IntFilter<"vacay_entries"> | number + date?: Prisma.StringFilter<"vacay_entries"> | string + note?: Prisma.StringNullableFilter<"vacay_entries"> | string | null + users?: Prisma.XOR + vacay_plans?: Prisma.XOR +}, "id" | "user_id_plan_id_date"> + +export type vacay_entriesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.vacay_entriesCountOrderByAggregateInput + _avg?: Prisma.vacay_entriesAvgOrderByAggregateInput + _max?: Prisma.vacay_entriesMaxOrderByAggregateInput + _min?: Prisma.vacay_entriesMinOrderByAggregateInput + _sum?: Prisma.vacay_entriesSumOrderByAggregateInput +} + +export type vacay_entriesScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_entriesScalarWhereWithAggregatesInput | Prisma.vacay_entriesScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_entriesScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_entriesScalarWhereWithAggregatesInput | Prisma.vacay_entriesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_entries"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_entries"> | number + user_id?: Prisma.IntWithAggregatesFilter<"vacay_entries"> | number + date?: Prisma.StringWithAggregatesFilter<"vacay_entries"> | string + note?: Prisma.StringNullableWithAggregatesFilter<"vacay_entries"> | string | null +} + +export type vacay_entriesCreateInput = { + date: string + note?: string | null + users: Prisma.usersCreateNestedOneWithoutVacay_entriesInput + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_entriesInput +} + +export type vacay_entriesUncheckedCreateInput = { + id?: number + plan_id: number + user_id: number + date: string + note?: string | null +} + +export type vacay_entriesUpdateInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_entriesNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_entriesNestedInput +} + +export type vacay_entriesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_entriesCreateManyInput = { + id?: number + plan_id: number + user_id: number + date: string + note?: string | null +} + +export type vacay_entriesUpdateManyMutationInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_entriesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Vacay_entriesListRelationFilter = { + every?: Prisma.vacay_entriesWhereInput + some?: Prisma.vacay_entriesWhereInput + none?: Prisma.vacay_entriesWhereInput +} + +export type vacay_entriesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_entriesUser_idPlan_idDateCompoundUniqueInput = { + user_id: number + plan_id: number + date: string +} + +export type vacay_entriesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_entriesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type vacay_entriesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_entriesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + date?: Prisma.SortOrder + note?: Prisma.SortOrder +} + +export type vacay_entriesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type vacay_entriesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutUsersInput[] | Prisma.vacay_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutUsersInput | Prisma.vacay_entriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_entriesCreateManyUsersInputEnvelope + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] +} + +export type vacay_entriesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutUsersInput[] | Prisma.vacay_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutUsersInput | Prisma.vacay_entriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_entriesCreateManyUsersInputEnvelope + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] +} + +export type vacay_entriesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutUsersInput[] | Prisma.vacay_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutUsersInput | Prisma.vacay_entriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_entriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_entriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_entriesCreateManyUsersInputEnvelope + set?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + disconnect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + delete?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + update?: Prisma.vacay_entriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_entriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_entriesUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_entriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] +} + +export type vacay_entriesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutUsersInput[] | Prisma.vacay_entriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutUsersInput | Prisma.vacay_entriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_entriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_entriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_entriesCreateManyUsersInputEnvelope + set?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + disconnect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + delete?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + update?: Prisma.vacay_entriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_entriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_entriesUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_entriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] +} + +export type vacay_entriesCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutVacay_plansInput[] | Prisma.vacay_entriesUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_entriesCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] +} + +export type vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutVacay_plansInput[] | Prisma.vacay_entriesUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_entriesCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] +} + +export type vacay_entriesUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutVacay_plansInput[] | Prisma.vacay_entriesUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_entriesUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_entriesUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_entriesCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + disconnect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + delete?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + update?: Prisma.vacay_entriesUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_entriesUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_entriesUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_entriesUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] +} + +export type vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_entriesCreateWithoutVacay_plansInput[] | Prisma.vacay_entriesUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_entriesCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_entriesUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_entriesUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_entriesCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + disconnect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + delete?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + connect?: Prisma.vacay_entriesWhereUniqueInput | Prisma.vacay_entriesWhereUniqueInput[] + update?: Prisma.vacay_entriesUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_entriesUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_entriesUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_entriesUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] +} + +export type vacay_entriesCreateWithoutUsersInput = { + date: string + note?: string | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_entriesInput +} + +export type vacay_entriesUncheckedCreateWithoutUsersInput = { + id?: number + plan_id: number + date: string + note?: string | null +} + +export type vacay_entriesCreateOrConnectWithoutUsersInput = { + where: Prisma.vacay_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_entriesCreateManyUsersInputEnvelope = { + data: Prisma.vacay_entriesCreateManyUsersInput | Prisma.vacay_entriesCreateManyUsersInput[] +} + +export type vacay_entriesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_entriesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_entriesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.vacay_entriesScalarWhereInput + data: Prisma.XOR +} + +export type vacay_entriesScalarWhereInput = { + AND?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] + OR?: Prisma.vacay_entriesScalarWhereInput[] + NOT?: Prisma.vacay_entriesScalarWhereInput | Prisma.vacay_entriesScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_entries"> | number + plan_id?: Prisma.IntFilter<"vacay_entries"> | number + user_id?: Prisma.IntFilter<"vacay_entries"> | number + date?: Prisma.StringFilter<"vacay_entries"> | string + note?: Prisma.StringNullableFilter<"vacay_entries"> | string | null +} + +export type vacay_entriesCreateWithoutVacay_plansInput = { + date: string + note?: string | null + users: Prisma.usersCreateNestedOneWithoutVacay_entriesInput +} + +export type vacay_entriesUncheckedCreateWithoutVacay_plansInput = { + id?: number + user_id: number + date: string + note?: string | null +} + +export type vacay_entriesCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_entriesWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_entriesCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_entriesCreateManyVacay_plansInput | Prisma.vacay_entriesCreateManyVacay_plansInput[] +} + +export type vacay_entriesUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_entriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_entriesUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_entriesWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_entriesUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_entriesScalarWhereInput + data: Prisma.XOR +} + +export type vacay_entriesCreateManyUsersInput = { + id?: number + plan_id: number + date: string + note?: string | null +} + +export type vacay_entriesUpdateWithoutUsersInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_entriesNestedInput +} + +export type vacay_entriesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_entriesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_entriesCreateManyVacay_plansInput = { + id?: number + user_id: number + date: string + note?: string | null +} + +export type vacay_entriesUpdateWithoutVacay_plansInput = { + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_entriesNestedInput +} + +export type vacay_entriesUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_entriesUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + date?: Prisma.StringFieldUpdateOperationsInput | string + note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type vacay_entriesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + date?: boolean + note?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_entries"]> + +export type vacay_entriesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + date?: boolean + note?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_entries"]> + +export type vacay_entriesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + date?: boolean + note?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_entries"]> + +export type vacay_entriesSelectScalar = { + id?: boolean + plan_id?: boolean + user_id?: boolean + date?: boolean + note?: boolean +} + +export type vacay_entriesOmit = runtime.Types.Extensions.GetOmit<"id" | "plan_id" | "user_id" | "date" | "note", ExtArgs["result"]["vacay_entries"]> +export type vacay_entriesInclude = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_entriesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_entriesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} + +export type $vacay_entriesPayload = { + name: "vacay_entries" + objects: { + users: Prisma.$usersPayload + vacay_plans: Prisma.$vacay_plansPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + plan_id: number + user_id: number + date: string + note: string | null + }, ExtArgs["result"]["vacay_entries"]> + composites: {} +} + +export type vacay_entriesGetPayload = runtime.Types.Result.GetResult + +export type vacay_entriesCountArgs = + Omit & { + select?: Vacay_entriesCountAggregateInputType | true + } + +export interface vacay_entriesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_entries'], meta: { name: 'vacay_entries' } } + /** + * Find zero or one Vacay_entries that matches the filter. + * @param {vacay_entriesFindUniqueArgs} args - Arguments to find a Vacay_entries + * @example + * // Get one Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_entries that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_entriesFindUniqueOrThrowArgs} args - Arguments to find a Vacay_entries + * @example + * // Get one Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_entries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesFindFirstArgs} args - Arguments to find a Vacay_entries + * @example + * // Get one Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_entries that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesFindFirstOrThrowArgs} args - Arguments to find a Vacay_entries + * @example + * // Get one Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_entries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findMany() + * + * // Get first 10 Vacay_entries + * const vacay_entries = await prisma.vacay_entries.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_entriesWithIdOnly = await prisma.vacay_entries.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_entries. + * @param {vacay_entriesCreateArgs} args - Arguments to create a Vacay_entries. + * @example + * // Create one Vacay_entries + * const Vacay_entries = await prisma.vacay_entries.create({ + * data: { + * // ... data to create a Vacay_entries + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_entries. + * @param {vacay_entriesCreateManyArgs} args - Arguments to create many Vacay_entries. + * @example + * // Create many Vacay_entries + * const vacay_entries = await prisma.vacay_entries.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_entries and returns the data saved in the database. + * @param {vacay_entriesCreateManyAndReturnArgs} args - Arguments to create many Vacay_entries. + * @example + * // Create many Vacay_entries + * const vacay_entries = await prisma.vacay_entries.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_entries and only return the `id` + * const vacay_entriesWithIdOnly = await prisma.vacay_entries.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_entries. + * @param {vacay_entriesDeleteArgs} args - Arguments to delete one Vacay_entries. + * @example + * // Delete one Vacay_entries + * const Vacay_entries = await prisma.vacay_entries.delete({ + * where: { + * // ... filter to delete one Vacay_entries + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_entries. + * @param {vacay_entriesUpdateArgs} args - Arguments to update one Vacay_entries. + * @example + * // Update one Vacay_entries + * const vacay_entries = await prisma.vacay_entries.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_entries. + * @param {vacay_entriesDeleteManyArgs} args - Arguments to filter Vacay_entries to delete. + * @example + * // Delete a few Vacay_entries + * const { count } = await prisma.vacay_entries.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_entries + * const vacay_entries = await prisma.vacay_entries.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_entries and returns the data updated in the database. + * @param {vacay_entriesUpdateManyAndReturnArgs} args - Arguments to update many Vacay_entries. + * @example + * // Update many Vacay_entries + * const vacay_entries = await prisma.vacay_entries.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_entries and only return the `id` + * const vacay_entriesWithIdOnly = await prisma.vacay_entries.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_entries. + * @param {vacay_entriesUpsertArgs} args - Arguments to update or create a Vacay_entries. + * @example + * // Update or create a Vacay_entries + * const vacay_entries = await prisma.vacay_entries.upsert({ + * create: { + * // ... data to create a Vacay_entries + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_entries we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_entriesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesCountArgs} args - Arguments to filter Vacay_entries to count. + * @example + * // Count the number of Vacay_entries + * const count = await prisma.vacay_entries.count({ + * where: { + * // ... the filter for the Vacay_entries we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_entriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_entries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_entriesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_entriesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_entriesGroupByArgs['orderBy'] } + : { orderBy?: vacay_entriesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_entriesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_entries model + */ +readonly fields: vacay_entriesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_entries. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_entriesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_entries model + */ +export interface vacay_entriesFieldRefs { + readonly id: Prisma.FieldRef<"vacay_entries", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_entries", 'Int'> + readonly user_id: Prisma.FieldRef<"vacay_entries", 'Int'> + readonly date: Prisma.FieldRef<"vacay_entries", 'String'> + readonly note: Prisma.FieldRef<"vacay_entries", 'String'> +} + + +// Custom InputTypes +/** + * vacay_entries findUnique + */ +export type vacay_entriesFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter, which vacay_entries to fetch. + */ + where: Prisma.vacay_entriesWhereUniqueInput +} + +/** + * vacay_entries findUniqueOrThrow + */ +export type vacay_entriesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter, which vacay_entries to fetch. + */ + where: Prisma.vacay_entriesWhereUniqueInput +} + +/** + * vacay_entries findFirst + */ +export type vacay_entriesFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter, which vacay_entries to fetch. + */ + where?: Prisma.vacay_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_entries to fetch. + */ + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_entries. + */ + cursor?: Prisma.vacay_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_entries. + */ + distinct?: Prisma.Vacay_entriesScalarFieldEnum | Prisma.Vacay_entriesScalarFieldEnum[] +} + +/** + * vacay_entries findFirstOrThrow + */ +export type vacay_entriesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter, which vacay_entries to fetch. + */ + where?: Prisma.vacay_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_entries to fetch. + */ + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_entries. + */ + cursor?: Prisma.vacay_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_entries. + */ + distinct?: Prisma.Vacay_entriesScalarFieldEnum | Prisma.Vacay_entriesScalarFieldEnum[] +} + +/** + * vacay_entries findMany + */ +export type vacay_entriesFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter, which vacay_entries to fetch. + */ + where?: Prisma.vacay_entriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_entries to fetch. + */ + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_entries. + */ + cursor?: Prisma.vacay_entriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_entries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_entries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_entries. + */ + distinct?: Prisma.Vacay_entriesScalarFieldEnum | Prisma.Vacay_entriesScalarFieldEnum[] +} + +/** + * vacay_entries create + */ +export type vacay_entriesCreateArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * The data needed to create a vacay_entries. + */ + data: Prisma.XOR +} + +/** + * vacay_entries createMany + */ +export type vacay_entriesCreateManyArgs = { + /** + * The data used to create many vacay_entries. + */ + data: Prisma.vacay_entriesCreateManyInput | Prisma.vacay_entriesCreateManyInput[] +} + +/** + * vacay_entries createManyAndReturn + */ +export type vacay_entriesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * The data used to create many vacay_entries. + */ + data: Prisma.vacay_entriesCreateManyInput | Prisma.vacay_entriesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesIncludeCreateManyAndReturn | null +} + +/** + * vacay_entries update + */ +export type vacay_entriesUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * The data needed to update a vacay_entries. + */ + data: Prisma.XOR + /** + * Choose, which vacay_entries to update. + */ + where: Prisma.vacay_entriesWhereUniqueInput +} + +/** + * vacay_entries updateMany + */ +export type vacay_entriesUpdateManyArgs = { + /** + * The data used to update vacay_entries. + */ + data: Prisma.XOR + /** + * Filter which vacay_entries to update + */ + where?: Prisma.vacay_entriesWhereInput + /** + * Limit how many vacay_entries to update. + */ + limit?: number +} + +/** + * vacay_entries updateManyAndReturn + */ +export type vacay_entriesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * The data used to update vacay_entries. + */ + data: Prisma.XOR + /** + * Filter which vacay_entries to update + */ + where?: Prisma.vacay_entriesWhereInput + /** + * Limit how many vacay_entries to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesIncludeUpdateManyAndReturn | null +} + +/** + * vacay_entries upsert + */ +export type vacay_entriesUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * The filter to search for the vacay_entries to update in case it exists. + */ + where: Prisma.vacay_entriesWhereUniqueInput + /** + * In case the vacay_entries found by the `where` argument doesn't exist, create a new vacay_entries with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_entries was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_entries delete + */ +export type vacay_entriesDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + /** + * Filter which vacay_entries to delete. + */ + where: Prisma.vacay_entriesWhereUniqueInput +} + +/** + * vacay_entries deleteMany + */ +export type vacay_entriesDeleteManyArgs = { + /** + * Filter which vacay_entries to delete + */ + where?: Prisma.vacay_entriesWhereInput + /** + * Limit how many vacay_entries to delete. + */ + limit?: number +} + +/** + * vacay_entries without action + */ +export type vacay_entriesDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_holiday_calendars.ts b/server/src/generated/prisma/models/vacay_holiday_calendars.ts new file mode 100644 index 00000000..985e5758 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_holiday_calendars.ts @@ -0,0 +1,1428 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_holiday_calendars` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_holiday_calendars + * + */ +export type vacay_holiday_calendarsModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_holiday_calendars = { + _count: Vacay_holiday_calendarsCountAggregateOutputType | null + _avg: Vacay_holiday_calendarsAvgAggregateOutputType | null + _sum: Vacay_holiday_calendarsSumAggregateOutputType | null + _min: Vacay_holiday_calendarsMinAggregateOutputType | null + _max: Vacay_holiday_calendarsMaxAggregateOutputType | null +} + +export type Vacay_holiday_calendarsAvgAggregateOutputType = { + id: number | null + plan_id: number | null + sort_order: number | null +} + +export type Vacay_holiday_calendarsSumAggregateOutputType = { + id: number | null + plan_id: number | null + sort_order: number | null +} + +export type Vacay_holiday_calendarsMinAggregateOutputType = { + id: number | null + plan_id: number | null + region: string | null + label: string | null + color: string | null + sort_order: number | null +} + +export type Vacay_holiday_calendarsMaxAggregateOutputType = { + id: number | null + plan_id: number | null + region: string | null + label: string | null + color: string | null + sort_order: number | null +} + +export type Vacay_holiday_calendarsCountAggregateOutputType = { + id: number + plan_id: number + region: number + label: number + color: number + sort_order: number + _all: number +} + + +export type Vacay_holiday_calendarsAvgAggregateInputType = { + id?: true + plan_id?: true + sort_order?: true +} + +export type Vacay_holiday_calendarsSumAggregateInputType = { + id?: true + plan_id?: true + sort_order?: true +} + +export type Vacay_holiday_calendarsMinAggregateInputType = { + id?: true + plan_id?: true + region?: true + label?: true + color?: true + sort_order?: true +} + +export type Vacay_holiday_calendarsMaxAggregateInputType = { + id?: true + plan_id?: true + region?: true + label?: true + color?: true + sort_order?: true +} + +export type Vacay_holiday_calendarsCountAggregateInputType = { + id?: true + plan_id?: true + region?: true + label?: true + color?: true + sort_order?: true + _all?: true +} + +export type Vacay_holiday_calendarsAggregateArgs = { + /** + * Filter which vacay_holiday_calendars to aggregate. + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_holiday_calendars to fetch. + */ + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithRelationInput | Prisma.vacay_holiday_calendarsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_holiday_calendarsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_holiday_calendars from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_holiday_calendars. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_holiday_calendars + **/ + _count?: true | Vacay_holiday_calendarsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_holiday_calendarsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_holiday_calendarsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_holiday_calendarsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_holiday_calendarsMaxAggregateInputType +} + +export type GetVacay_holiday_calendarsAggregateType = { + [P in keyof T & keyof AggregateVacay_holiday_calendars]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_holiday_calendarsGroupByArgs = { + where?: Prisma.vacay_holiday_calendarsWhereInput + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithAggregationInput | Prisma.vacay_holiday_calendarsOrderByWithAggregationInput[] + by: Prisma.Vacay_holiday_calendarsScalarFieldEnum[] | Prisma.Vacay_holiday_calendarsScalarFieldEnum + having?: Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_holiday_calendarsCountAggregateInputType | true + _avg?: Vacay_holiday_calendarsAvgAggregateInputType + _sum?: Vacay_holiday_calendarsSumAggregateInputType + _min?: Vacay_holiday_calendarsMinAggregateInputType + _max?: Vacay_holiday_calendarsMaxAggregateInputType +} + +export type Vacay_holiday_calendarsGroupByOutputType = { + id: number + plan_id: number + region: string + label: string | null + color: string + sort_order: number + _count: Vacay_holiday_calendarsCountAggregateOutputType | null + _avg: Vacay_holiday_calendarsAvgAggregateOutputType | null + _sum: Vacay_holiday_calendarsSumAggregateOutputType | null + _min: Vacay_holiday_calendarsMinAggregateOutputType | null + _max: Vacay_holiday_calendarsMaxAggregateOutputType | null +} + +export type GetVacay_holiday_calendarsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_holiday_calendarsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_holiday_calendarsWhereInput = { + AND?: Prisma.vacay_holiday_calendarsWhereInput | Prisma.vacay_holiday_calendarsWhereInput[] + OR?: Prisma.vacay_holiday_calendarsWhereInput[] + NOT?: Prisma.vacay_holiday_calendarsWhereInput | Prisma.vacay_holiday_calendarsWhereInput[] + id?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + plan_id?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + region?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + label?: Prisma.StringNullableFilter<"vacay_holiday_calendars"> | string | null + color?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + sort_order?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + vacay_plans?: Prisma.XOR +} + +export type vacay_holiday_calendarsOrderByWithRelationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + region?: Prisma.SortOrder + label?: Prisma.SortOrderInput | Prisma.SortOrder + color?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput +} + +export type vacay_holiday_calendarsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + AND?: Prisma.vacay_holiday_calendarsWhereInput | Prisma.vacay_holiday_calendarsWhereInput[] + OR?: Prisma.vacay_holiday_calendarsWhereInput[] + NOT?: Prisma.vacay_holiday_calendarsWhereInput | Prisma.vacay_holiday_calendarsWhereInput[] + plan_id?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + region?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + label?: Prisma.StringNullableFilter<"vacay_holiday_calendars"> | string | null + color?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + sort_order?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + vacay_plans?: Prisma.XOR +}, "id"> + +export type vacay_holiday_calendarsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + region?: Prisma.SortOrder + label?: Prisma.SortOrderInput | Prisma.SortOrder + color?: Prisma.SortOrder + sort_order?: Prisma.SortOrder + _count?: Prisma.vacay_holiday_calendarsCountOrderByAggregateInput + _avg?: Prisma.vacay_holiday_calendarsAvgOrderByAggregateInput + _max?: Prisma.vacay_holiday_calendarsMaxOrderByAggregateInput + _min?: Prisma.vacay_holiday_calendarsMinOrderByAggregateInput + _sum?: Prisma.vacay_holiday_calendarsSumOrderByAggregateInput +} + +export type vacay_holiday_calendarsScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput | Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput | Prisma.vacay_holiday_calendarsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_holiday_calendars"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_holiday_calendars"> | number + region?: Prisma.StringWithAggregatesFilter<"vacay_holiday_calendars"> | string + label?: Prisma.StringNullableWithAggregatesFilter<"vacay_holiday_calendars"> | string | null + color?: Prisma.StringWithAggregatesFilter<"vacay_holiday_calendars"> | string + sort_order?: Prisma.IntWithAggregatesFilter<"vacay_holiday_calendars"> | number +} + +export type vacay_holiday_calendarsCreateInput = { + region: string + label?: string | null + color?: string + sort_order?: number + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_holiday_calendarsInput +} + +export type vacay_holiday_calendarsUncheckedCreateInput = { + id?: number + plan_id: number + region: string + label?: string | null + color?: string + sort_order?: number +} + +export type vacay_holiday_calendarsUpdateInput = { + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_holiday_calendarsNestedInput +} + +export type vacay_holiday_calendarsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_holiday_calendarsCreateManyInput = { + id?: number + plan_id: number + region: string + label?: string | null + color?: string + sort_order?: number +} + +export type vacay_holiday_calendarsUpdateManyMutationInput = { + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_holiday_calendarsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_holiday_calendarsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + region?: Prisma.SortOrder + label?: Prisma.SortOrder + color?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type vacay_holiday_calendarsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type vacay_holiday_calendarsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + region?: Prisma.SortOrder + label?: Prisma.SortOrder + color?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type vacay_holiday_calendarsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + region?: Prisma.SortOrder + label?: Prisma.SortOrder + color?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type vacay_holiday_calendarsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + sort_order?: Prisma.SortOrder +} + +export type Vacay_holiday_calendarsListRelationFilter = { + every?: Prisma.vacay_holiday_calendarsWhereInput + some?: Prisma.vacay_holiday_calendarsWhereInput + none?: Prisma.vacay_holiday_calendarsWhereInput +} + +export type vacay_holiday_calendarsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_holiday_calendarsCreateWithoutVacay_plansInput[] | Prisma.vacay_holiday_calendarsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_holiday_calendarsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] +} + +export type vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_holiday_calendarsCreateWithoutVacay_plansInput[] | Prisma.vacay_holiday_calendarsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_holiday_calendarsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] +} + +export type vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_holiday_calendarsCreateWithoutVacay_plansInput[] | Prisma.vacay_holiday_calendarsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_holiday_calendarsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_holiday_calendarsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + disconnect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + delete?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + connect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + update?: Prisma.vacay_holiday_calendarsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_holiday_calendarsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_holiday_calendarsScalarWhereInput | Prisma.vacay_holiday_calendarsScalarWhereInput[] +} + +export type vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_holiday_calendarsCreateWithoutVacay_plansInput[] | Prisma.vacay_holiday_calendarsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_holiday_calendarsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_holiday_calendarsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + disconnect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + delete?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + connect?: Prisma.vacay_holiday_calendarsWhereUniqueInput | Prisma.vacay_holiday_calendarsWhereUniqueInput[] + update?: Prisma.vacay_holiday_calendarsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_holiday_calendarsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_holiday_calendarsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_holiday_calendarsScalarWhereInput | Prisma.vacay_holiday_calendarsScalarWhereInput[] +} + +export type vacay_holiday_calendarsCreateWithoutVacay_plansInput = { + region: string + label?: string | null + color?: string + sort_order?: number +} + +export type vacay_holiday_calendarsUncheckedCreateWithoutVacay_plansInput = { + id?: number + region: string + label?: string | null + color?: string + sort_order?: number +} + +export type vacay_holiday_calendarsCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_holiday_calendarsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_holiday_calendarsCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_holiday_calendarsCreateManyVacay_plansInput | Prisma.vacay_holiday_calendarsCreateManyVacay_plansInput[] +} + +export type vacay_holiday_calendarsUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_holiday_calendarsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_holiday_calendarsUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_holiday_calendarsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_holiday_calendarsUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_holiday_calendarsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_holiday_calendarsScalarWhereInput = { + AND?: Prisma.vacay_holiday_calendarsScalarWhereInput | Prisma.vacay_holiday_calendarsScalarWhereInput[] + OR?: Prisma.vacay_holiday_calendarsScalarWhereInput[] + NOT?: Prisma.vacay_holiday_calendarsScalarWhereInput | Prisma.vacay_holiday_calendarsScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + plan_id?: Prisma.IntFilter<"vacay_holiday_calendars"> | number + region?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + label?: Prisma.StringNullableFilter<"vacay_holiday_calendars"> | string | null + color?: Prisma.StringFilter<"vacay_holiday_calendars"> | string + sort_order?: Prisma.IntFilter<"vacay_holiday_calendars"> | number +} + +export type vacay_holiday_calendarsCreateManyVacay_plansInput = { + id?: number + region: string + label?: string | null + color?: string + sort_order?: number +} + +export type vacay_holiday_calendarsUpdateWithoutVacay_plansInput = { + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_holiday_calendarsUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + region?: Prisma.StringFieldUpdateOperationsInput | string + label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + color?: Prisma.StringFieldUpdateOperationsInput | string + sort_order?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type vacay_holiday_calendarsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + region?: boolean + label?: boolean + color?: boolean + sort_order?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_holiday_calendars"]> + +export type vacay_holiday_calendarsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + region?: boolean + label?: boolean + color?: boolean + sort_order?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_holiday_calendars"]> + +export type vacay_holiday_calendarsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + region?: boolean + label?: boolean + color?: boolean + sort_order?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_holiday_calendars"]> + +export type vacay_holiday_calendarsSelectScalar = { + id?: boolean + plan_id?: boolean + region?: boolean + label?: boolean + color?: boolean + sort_order?: boolean +} + +export type vacay_holiday_calendarsOmit = runtime.Types.Extensions.GetOmit<"id" | "plan_id" | "region" | "label" | "color" | "sort_order", ExtArgs["result"]["vacay_holiday_calendars"]> +export type vacay_holiday_calendarsInclude = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_holiday_calendarsIncludeCreateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_holiday_calendarsIncludeUpdateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} + +export type $vacay_holiday_calendarsPayload = { + name: "vacay_holiday_calendars" + objects: { + vacay_plans: Prisma.$vacay_plansPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + plan_id: number + region: string + label: string | null + color: string + sort_order: number + }, ExtArgs["result"]["vacay_holiday_calendars"]> + composites: {} +} + +export type vacay_holiday_calendarsGetPayload = runtime.Types.Result.GetResult + +export type vacay_holiday_calendarsCountArgs = + Omit & { + select?: Vacay_holiday_calendarsCountAggregateInputType | true + } + +export interface vacay_holiday_calendarsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_holiday_calendars'], meta: { name: 'vacay_holiday_calendars' } } + /** + * Find zero or one Vacay_holiday_calendars that matches the filter. + * @param {vacay_holiday_calendarsFindUniqueArgs} args - Arguments to find a Vacay_holiday_calendars + * @example + * // Get one Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_holiday_calendars that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_holiday_calendarsFindUniqueOrThrowArgs} args - Arguments to find a Vacay_holiday_calendars + * @example + * // Get one Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_holiday_calendars that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsFindFirstArgs} args - Arguments to find a Vacay_holiday_calendars + * @example + * // Get one Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_holiday_calendars that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsFindFirstOrThrowArgs} args - Arguments to find a Vacay_holiday_calendars + * @example + * // Get one Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_holiday_calendars that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findMany() + * + * // Get first 10 Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_holiday_calendarsWithIdOnly = await prisma.vacay_holiday_calendars.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsCreateArgs} args - Arguments to create a Vacay_holiday_calendars. + * @example + * // Create one Vacay_holiday_calendars + * const Vacay_holiday_calendars = await prisma.vacay_holiday_calendars.create({ + * data: { + * // ... data to create a Vacay_holiday_calendars + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsCreateManyArgs} args - Arguments to create many Vacay_holiday_calendars. + * @example + * // Create many Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_holiday_calendars and returns the data saved in the database. + * @param {vacay_holiday_calendarsCreateManyAndReturnArgs} args - Arguments to create many Vacay_holiday_calendars. + * @example + * // Create many Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_holiday_calendars and only return the `id` + * const vacay_holiday_calendarsWithIdOnly = await prisma.vacay_holiday_calendars.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsDeleteArgs} args - Arguments to delete one Vacay_holiday_calendars. + * @example + * // Delete one Vacay_holiday_calendars + * const Vacay_holiday_calendars = await prisma.vacay_holiday_calendars.delete({ + * where: { + * // ... filter to delete one Vacay_holiday_calendars + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsUpdateArgs} args - Arguments to update one Vacay_holiday_calendars. + * @example + * // Update one Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsDeleteManyArgs} args - Arguments to filter Vacay_holiday_calendars to delete. + * @example + * // Delete a few Vacay_holiday_calendars + * const { count } = await prisma.vacay_holiday_calendars.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_holiday_calendars. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_holiday_calendars and returns the data updated in the database. + * @param {vacay_holiday_calendarsUpdateManyAndReturnArgs} args - Arguments to update many Vacay_holiday_calendars. + * @example + * // Update many Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_holiday_calendars and only return the `id` + * const vacay_holiday_calendarsWithIdOnly = await prisma.vacay_holiday_calendars.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_holiday_calendars. + * @param {vacay_holiday_calendarsUpsertArgs} args - Arguments to update or create a Vacay_holiday_calendars. + * @example + * // Update or create a Vacay_holiday_calendars + * const vacay_holiday_calendars = await prisma.vacay_holiday_calendars.upsert({ + * create: { + * // ... data to create a Vacay_holiday_calendars + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_holiday_calendars we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_holiday_calendarsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_holiday_calendars. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsCountArgs} args - Arguments to filter Vacay_holiday_calendars to count. + * @example + * // Count the number of Vacay_holiday_calendars + * const count = await prisma.vacay_holiday_calendars.count({ + * where: { + * // ... the filter for the Vacay_holiday_calendars we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_holiday_calendars. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_holiday_calendarsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_holiday_calendars. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_holiday_calendarsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_holiday_calendarsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_holiday_calendarsGroupByArgs['orderBy'] } + : { orderBy?: vacay_holiday_calendarsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_holiday_calendarsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_holiday_calendars model + */ +readonly fields: vacay_holiday_calendarsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_holiday_calendars. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_holiday_calendarsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_holiday_calendars model + */ +export interface vacay_holiday_calendarsFieldRefs { + readonly id: Prisma.FieldRef<"vacay_holiday_calendars", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_holiday_calendars", 'Int'> + readonly region: Prisma.FieldRef<"vacay_holiday_calendars", 'String'> + readonly label: Prisma.FieldRef<"vacay_holiday_calendars", 'String'> + readonly color: Prisma.FieldRef<"vacay_holiday_calendars", 'String'> + readonly sort_order: Prisma.FieldRef<"vacay_holiday_calendars", 'Int'> +} + + +// Custom InputTypes +/** + * vacay_holiday_calendars findUnique + */ +export type vacay_holiday_calendarsFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter, which vacay_holiday_calendars to fetch. + */ + where: Prisma.vacay_holiday_calendarsWhereUniqueInput +} + +/** + * vacay_holiday_calendars findUniqueOrThrow + */ +export type vacay_holiday_calendarsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter, which vacay_holiday_calendars to fetch. + */ + where: Prisma.vacay_holiday_calendarsWhereUniqueInput +} + +/** + * vacay_holiday_calendars findFirst + */ +export type vacay_holiday_calendarsFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter, which vacay_holiday_calendars to fetch. + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_holiday_calendars to fetch. + */ + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithRelationInput | Prisma.vacay_holiday_calendarsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_holiday_calendars. + */ + cursor?: Prisma.vacay_holiday_calendarsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_holiday_calendars from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_holiday_calendars. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_holiday_calendars. + */ + distinct?: Prisma.Vacay_holiday_calendarsScalarFieldEnum | Prisma.Vacay_holiday_calendarsScalarFieldEnum[] +} + +/** + * vacay_holiday_calendars findFirstOrThrow + */ +export type vacay_holiday_calendarsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter, which vacay_holiday_calendars to fetch. + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_holiday_calendars to fetch. + */ + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithRelationInput | Prisma.vacay_holiday_calendarsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_holiday_calendars. + */ + cursor?: Prisma.vacay_holiday_calendarsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_holiday_calendars from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_holiday_calendars. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_holiday_calendars. + */ + distinct?: Prisma.Vacay_holiday_calendarsScalarFieldEnum | Prisma.Vacay_holiday_calendarsScalarFieldEnum[] +} + +/** + * vacay_holiday_calendars findMany + */ +export type vacay_holiday_calendarsFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter, which vacay_holiday_calendars to fetch. + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_holiday_calendars to fetch. + */ + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithRelationInput | Prisma.vacay_holiday_calendarsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_holiday_calendars. + */ + cursor?: Prisma.vacay_holiday_calendarsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_holiday_calendars from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_holiday_calendars. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_holiday_calendars. + */ + distinct?: Prisma.Vacay_holiday_calendarsScalarFieldEnum | Prisma.Vacay_holiday_calendarsScalarFieldEnum[] +} + +/** + * vacay_holiday_calendars create + */ +export type vacay_holiday_calendarsCreateArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * The data needed to create a vacay_holiday_calendars. + */ + data: Prisma.XOR +} + +/** + * vacay_holiday_calendars createMany + */ +export type vacay_holiday_calendarsCreateManyArgs = { + /** + * The data used to create many vacay_holiday_calendars. + */ + data: Prisma.vacay_holiday_calendarsCreateManyInput | Prisma.vacay_holiday_calendarsCreateManyInput[] +} + +/** + * vacay_holiday_calendars createManyAndReturn + */ +export type vacay_holiday_calendarsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * The data used to create many vacay_holiday_calendars. + */ + data: Prisma.vacay_holiday_calendarsCreateManyInput | Prisma.vacay_holiday_calendarsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsIncludeCreateManyAndReturn | null +} + +/** + * vacay_holiday_calendars update + */ +export type vacay_holiday_calendarsUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * The data needed to update a vacay_holiday_calendars. + */ + data: Prisma.XOR + /** + * Choose, which vacay_holiday_calendars to update. + */ + where: Prisma.vacay_holiday_calendarsWhereUniqueInput +} + +/** + * vacay_holiday_calendars updateMany + */ +export type vacay_holiday_calendarsUpdateManyArgs = { + /** + * The data used to update vacay_holiday_calendars. + */ + data: Prisma.XOR + /** + * Filter which vacay_holiday_calendars to update + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * Limit how many vacay_holiday_calendars to update. + */ + limit?: number +} + +/** + * vacay_holiday_calendars updateManyAndReturn + */ +export type vacay_holiday_calendarsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * The data used to update vacay_holiday_calendars. + */ + data: Prisma.XOR + /** + * Filter which vacay_holiday_calendars to update + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * Limit how many vacay_holiday_calendars to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsIncludeUpdateManyAndReturn | null +} + +/** + * vacay_holiday_calendars upsert + */ +export type vacay_holiday_calendarsUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * The filter to search for the vacay_holiday_calendars to update in case it exists. + */ + where: Prisma.vacay_holiday_calendarsWhereUniqueInput + /** + * In case the vacay_holiday_calendars found by the `where` argument doesn't exist, create a new vacay_holiday_calendars with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_holiday_calendars was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_holiday_calendars delete + */ +export type vacay_holiday_calendarsDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + /** + * Filter which vacay_holiday_calendars to delete. + */ + where: Prisma.vacay_holiday_calendarsWhereUniqueInput +} + +/** + * vacay_holiday_calendars deleteMany + */ +export type vacay_holiday_calendarsDeleteManyArgs = { + /** + * Filter which vacay_holiday_calendars to delete + */ + where?: Prisma.vacay_holiday_calendarsWhereInput + /** + * Limit how many vacay_holiday_calendars to delete. + */ + limit?: number +} + +/** + * vacay_holiday_calendars without action + */ +export type vacay_holiday_calendarsDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_plan_members.ts b/server/src/generated/prisma/models/vacay_plan_members.ts new file mode 100644 index 00000000..c832b1b7 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_plan_members.ts @@ -0,0 +1,1516 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_plan_members` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_plan_members + * + */ +export type vacay_plan_membersModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_plan_members = { + _count: Vacay_plan_membersCountAggregateOutputType | null + _avg: Vacay_plan_membersAvgAggregateOutputType | null + _sum: Vacay_plan_membersSumAggregateOutputType | null + _min: Vacay_plan_membersMinAggregateOutputType | null + _max: Vacay_plan_membersMaxAggregateOutputType | null +} + +export type Vacay_plan_membersAvgAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null +} + +export type Vacay_plan_membersSumAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null +} + +export type Vacay_plan_membersMinAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null + status: string | null + created_at: Date | null +} + +export type Vacay_plan_membersMaxAggregateOutputType = { + id: number | null + plan_id: number | null + user_id: number | null + status: string | null + created_at: Date | null +} + +export type Vacay_plan_membersCountAggregateOutputType = { + id: number + plan_id: number + user_id: number + status: number + created_at: number + _all: number +} + + +export type Vacay_plan_membersAvgAggregateInputType = { + id?: true + plan_id?: true + user_id?: true +} + +export type Vacay_plan_membersSumAggregateInputType = { + id?: true + plan_id?: true + user_id?: true +} + +export type Vacay_plan_membersMinAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + status?: true + created_at?: true +} + +export type Vacay_plan_membersMaxAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + status?: true + created_at?: true +} + +export type Vacay_plan_membersCountAggregateInputType = { + id?: true + plan_id?: true + user_id?: true + status?: true + created_at?: true + _all?: true +} + +export type Vacay_plan_membersAggregateArgs = { + /** + * Filter which vacay_plan_members to aggregate. + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plan_members to fetch. + */ + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plan_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plan_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_plan_members + **/ + _count?: true | Vacay_plan_membersCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_plan_membersAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_plan_membersSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_plan_membersMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_plan_membersMaxAggregateInputType +} + +export type GetVacay_plan_membersAggregateType = { + [P in keyof T & keyof AggregateVacay_plan_members]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_plan_membersGroupByArgs = { + where?: Prisma.vacay_plan_membersWhereInput + orderBy?: Prisma.vacay_plan_membersOrderByWithAggregationInput | Prisma.vacay_plan_membersOrderByWithAggregationInput[] + by: Prisma.Vacay_plan_membersScalarFieldEnum[] | Prisma.Vacay_plan_membersScalarFieldEnum + having?: Prisma.vacay_plan_membersScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_plan_membersCountAggregateInputType | true + _avg?: Vacay_plan_membersAvgAggregateInputType + _sum?: Vacay_plan_membersSumAggregateInputType + _min?: Vacay_plan_membersMinAggregateInputType + _max?: Vacay_plan_membersMaxAggregateInputType +} + +export type Vacay_plan_membersGroupByOutputType = { + id: number + plan_id: number + user_id: number + status: string | null + created_at: Date | null + _count: Vacay_plan_membersCountAggregateOutputType | null + _avg: Vacay_plan_membersAvgAggregateOutputType | null + _sum: Vacay_plan_membersSumAggregateOutputType | null + _min: Vacay_plan_membersMinAggregateOutputType | null + _max: Vacay_plan_membersMaxAggregateOutputType | null +} + +export type GetVacay_plan_membersGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_plan_membersGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_plan_membersWhereInput = { + AND?: Prisma.vacay_plan_membersWhereInput | Prisma.vacay_plan_membersWhereInput[] + OR?: Prisma.vacay_plan_membersWhereInput[] + NOT?: Prisma.vacay_plan_membersWhereInput | Prisma.vacay_plan_membersWhereInput[] + id?: Prisma.IntFilter<"vacay_plan_members"> | number + plan_id?: Prisma.IntFilter<"vacay_plan_members"> | number + user_id?: Prisma.IntFilter<"vacay_plan_members"> | number + status?: Prisma.StringNullableFilter<"vacay_plan_members"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"vacay_plan_members"> | Date | string | null + users?: Prisma.XOR + vacay_plans?: Prisma.XOR +} + +export type vacay_plan_membersOrderByWithRelationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput +} + +export type vacay_plan_membersWhereUniqueInput = Prisma.AtLeast<{ + id?: number + plan_id_user_id?: Prisma.vacay_plan_membersPlan_idUser_idCompoundUniqueInput + AND?: Prisma.vacay_plan_membersWhereInput | Prisma.vacay_plan_membersWhereInput[] + OR?: Prisma.vacay_plan_membersWhereInput[] + NOT?: Prisma.vacay_plan_membersWhereInput | Prisma.vacay_plan_membersWhereInput[] + plan_id?: Prisma.IntFilter<"vacay_plan_members"> | number + user_id?: Prisma.IntFilter<"vacay_plan_members"> | number + status?: Prisma.StringNullableFilter<"vacay_plan_members"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"vacay_plan_members"> | Date | string | null + users?: Prisma.XOR + vacay_plans?: Prisma.XOR +}, "id" | "plan_id_user_id"> + +export type vacay_plan_membersOrderByWithAggregationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + status?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.vacay_plan_membersCountOrderByAggregateInput + _avg?: Prisma.vacay_plan_membersAvgOrderByAggregateInput + _max?: Prisma.vacay_plan_membersMaxOrderByAggregateInput + _min?: Prisma.vacay_plan_membersMinOrderByAggregateInput + _sum?: Prisma.vacay_plan_membersSumOrderByAggregateInput +} + +export type vacay_plan_membersScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_plan_membersScalarWhereWithAggregatesInput | Prisma.vacay_plan_membersScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_plan_membersScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_plan_membersScalarWhereWithAggregatesInput | Prisma.vacay_plan_membersScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_plan_members"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_plan_members"> | number + user_id?: Prisma.IntWithAggregatesFilter<"vacay_plan_members"> | number + status?: Prisma.StringNullableWithAggregatesFilter<"vacay_plan_members"> | string | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"vacay_plan_members"> | Date | string | null +} + +export type vacay_plan_membersCreateInput = { + status?: string | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutVacay_plan_membersInput + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_plan_membersInput +} + +export type vacay_plan_membersUncheckedCreateInput = { + id?: number + plan_id: number + user_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersUpdateInput = { + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plan_membersNestedInput + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_plan_membersNestedInput +} + +export type vacay_plan_membersUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type vacay_plan_membersCreateManyInput = { + id?: number + plan_id: number + user_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersUpdateManyMutationInput = { + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type vacay_plan_membersUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Vacay_plan_membersListRelationFilter = { + every?: Prisma.vacay_plan_membersWhereInput + some?: Prisma.vacay_plan_membersWhereInput + none?: Prisma.vacay_plan_membersWhereInput +} + +export type vacay_plan_membersOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_plan_membersPlan_idUser_idCompoundUniqueInput = { + plan_id: number + user_id: number +} + +export type vacay_plan_membersCountOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type vacay_plan_membersAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type vacay_plan_membersMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type vacay_plan_membersMinOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + status?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type vacay_plan_membersSumOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type vacay_plan_membersCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutUsersInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput | Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_plan_membersCreateManyUsersInputEnvelope + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] +} + +export type vacay_plan_membersUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutUsersInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput | Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_plan_membersCreateManyUsersInputEnvelope + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] +} + +export type vacay_plan_membersUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutUsersInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput | Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_plan_membersCreateManyUsersInputEnvelope + set?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + disconnect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + delete?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + update?: Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_plan_membersUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_plan_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] +} + +export type vacay_plan_membersUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutUsersInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput | Prisma.vacay_plan_membersCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_plan_membersCreateManyUsersInputEnvelope + set?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + disconnect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + delete?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + update?: Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_plan_membersUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_plan_membersUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] +} + +export type vacay_plan_membersCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutVacay_plansInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_plan_membersCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] +} + +export type vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutVacay_plansInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_plan_membersCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] +} + +export type vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutVacay_plansInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_plan_membersCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + disconnect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + delete?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + update?: Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_plan_membersUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_plan_membersUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] +} + +export type vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_plan_membersCreateWithoutVacay_plansInput[] | Prisma.vacay_plan_membersUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_plan_membersCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_plan_membersUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_plan_membersCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + disconnect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + delete?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + connect?: Prisma.vacay_plan_membersWhereUniqueInput | Prisma.vacay_plan_membersWhereUniqueInput[] + update?: Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_plan_membersUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_plan_membersUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_plan_membersUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] +} + +export type vacay_plan_membersCreateWithoutUsersInput = { + status?: string | null + created_at?: Date | string | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_plan_membersInput +} + +export type vacay_plan_membersUncheckedCreateWithoutUsersInput = { + id?: number + plan_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersCreateOrConnectWithoutUsersInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plan_membersCreateManyUsersInputEnvelope = { + data: Prisma.vacay_plan_membersCreateManyUsersInput | Prisma.vacay_plan_membersCreateManyUsersInput[] +} + +export type vacay_plan_membersUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_plan_membersUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_plan_membersUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.vacay_plan_membersScalarWhereInput + data: Prisma.XOR +} + +export type vacay_plan_membersScalarWhereInput = { + AND?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] + OR?: Prisma.vacay_plan_membersScalarWhereInput[] + NOT?: Prisma.vacay_plan_membersScalarWhereInput | Prisma.vacay_plan_membersScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_plan_members"> | number + plan_id?: Prisma.IntFilter<"vacay_plan_members"> | number + user_id?: Prisma.IntFilter<"vacay_plan_members"> | number + status?: Prisma.StringNullableFilter<"vacay_plan_members"> | string | null + created_at?: Prisma.DateTimeNullableFilter<"vacay_plan_members"> | Date | string | null +} + +export type vacay_plan_membersCreateWithoutVacay_plansInput = { + status?: string | null + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutVacay_plan_membersInput +} + +export type vacay_plan_membersUncheckedCreateWithoutVacay_plansInput = { + id?: number + user_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plan_membersCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_plan_membersCreateManyVacay_plansInput | Prisma.vacay_plan_membersCreateManyVacay_plansInput[] +} + +export type vacay_plan_membersUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_plan_membersUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_plan_membersWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_plan_membersUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_plan_membersScalarWhereInput + data: Prisma.XOR +} + +export type vacay_plan_membersCreateManyUsersInput = { + id?: number + plan_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersUpdateWithoutUsersInput = { + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_plan_membersNestedInput +} + +export type vacay_plan_membersUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type vacay_plan_membersUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type vacay_plan_membersCreateManyVacay_plansInput = { + id?: number + user_id: number + status?: string | null + created_at?: Date | string | null +} + +export type vacay_plan_membersUpdateWithoutVacay_plansInput = { + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plan_membersNestedInput +} + +export type vacay_plan_membersUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type vacay_plan_membersSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + status?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_plan_members"]> + +export type vacay_plan_membersSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + status?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_plan_members"]> + +export type vacay_plan_membersSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + user_id?: boolean + status?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_plan_members"]> + +export type vacay_plan_membersSelectScalar = { + id?: boolean + plan_id?: boolean + user_id?: boolean + status?: boolean + created_at?: boolean +} + +export type vacay_plan_membersOmit = runtime.Types.Extensions.GetOmit<"id" | "plan_id" | "user_id" | "status" | "created_at", ExtArgs["result"]["vacay_plan_members"]> +export type vacay_plan_membersInclude = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_plan_membersIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_plan_membersIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} + +export type $vacay_plan_membersPayload = { + name: "vacay_plan_members" + objects: { + users: Prisma.$usersPayload + vacay_plans: Prisma.$vacay_plansPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + plan_id: number + user_id: number + status: string | null + created_at: Date | null + }, ExtArgs["result"]["vacay_plan_members"]> + composites: {} +} + +export type vacay_plan_membersGetPayload = runtime.Types.Result.GetResult + +export type vacay_plan_membersCountArgs = + Omit & { + select?: Vacay_plan_membersCountAggregateInputType | true + } + +export interface vacay_plan_membersDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_plan_members'], meta: { name: 'vacay_plan_members' } } + /** + * Find zero or one Vacay_plan_members that matches the filter. + * @param {vacay_plan_membersFindUniqueArgs} args - Arguments to find a Vacay_plan_members + * @example + * // Get one Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_plan_members that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_plan_membersFindUniqueOrThrowArgs} args - Arguments to find a Vacay_plan_members + * @example + * // Get one Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_plan_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersFindFirstArgs} args - Arguments to find a Vacay_plan_members + * @example + * // Get one Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_plan_members that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersFindFirstOrThrowArgs} args - Arguments to find a Vacay_plan_members + * @example + * // Get one Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_plan_members that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findMany() + * + * // Get first 10 Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_plan_membersWithIdOnly = await prisma.vacay_plan_members.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_plan_members. + * @param {vacay_plan_membersCreateArgs} args - Arguments to create a Vacay_plan_members. + * @example + * // Create one Vacay_plan_members + * const Vacay_plan_members = await prisma.vacay_plan_members.create({ + * data: { + * // ... data to create a Vacay_plan_members + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_plan_members. + * @param {vacay_plan_membersCreateManyArgs} args - Arguments to create many Vacay_plan_members. + * @example + * // Create many Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_plan_members and returns the data saved in the database. + * @param {vacay_plan_membersCreateManyAndReturnArgs} args - Arguments to create many Vacay_plan_members. + * @example + * // Create many Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_plan_members and only return the `id` + * const vacay_plan_membersWithIdOnly = await prisma.vacay_plan_members.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_plan_members. + * @param {vacay_plan_membersDeleteArgs} args - Arguments to delete one Vacay_plan_members. + * @example + * // Delete one Vacay_plan_members + * const Vacay_plan_members = await prisma.vacay_plan_members.delete({ + * where: { + * // ... filter to delete one Vacay_plan_members + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_plan_members. + * @param {vacay_plan_membersUpdateArgs} args - Arguments to update one Vacay_plan_members. + * @example + * // Update one Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_plan_members. + * @param {vacay_plan_membersDeleteManyArgs} args - Arguments to filter Vacay_plan_members to delete. + * @example + * // Delete a few Vacay_plan_members + * const { count } = await prisma.vacay_plan_members.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_plan_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_plan_members and returns the data updated in the database. + * @param {vacay_plan_membersUpdateManyAndReturnArgs} args - Arguments to update many Vacay_plan_members. + * @example + * // Update many Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_plan_members and only return the `id` + * const vacay_plan_membersWithIdOnly = await prisma.vacay_plan_members.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_plan_members. + * @param {vacay_plan_membersUpsertArgs} args - Arguments to update or create a Vacay_plan_members. + * @example + * // Update or create a Vacay_plan_members + * const vacay_plan_members = await prisma.vacay_plan_members.upsert({ + * create: { + * // ... data to create a Vacay_plan_members + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_plan_members we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plan_membersClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_plan_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersCountArgs} args - Arguments to filter Vacay_plan_members to count. + * @example + * // Count the number of Vacay_plan_members + * const count = await prisma.vacay_plan_members.count({ + * where: { + * // ... the filter for the Vacay_plan_members we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_plan_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_plan_membersAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_plan_members. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plan_membersGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_plan_membersGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_plan_membersGroupByArgs['orderBy'] } + : { orderBy?: vacay_plan_membersGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_plan_membersGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_plan_members model + */ +readonly fields: vacay_plan_membersFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_plan_members. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_plan_membersClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_plan_members model + */ +export interface vacay_plan_membersFieldRefs { + readonly id: Prisma.FieldRef<"vacay_plan_members", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_plan_members", 'Int'> + readonly user_id: Prisma.FieldRef<"vacay_plan_members", 'Int'> + readonly status: Prisma.FieldRef<"vacay_plan_members", 'String'> + readonly created_at: Prisma.FieldRef<"vacay_plan_members", 'DateTime'> +} + + +// Custom InputTypes +/** + * vacay_plan_members findUnique + */ +export type vacay_plan_membersFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter, which vacay_plan_members to fetch. + */ + where: Prisma.vacay_plan_membersWhereUniqueInput +} + +/** + * vacay_plan_members findUniqueOrThrow + */ +export type vacay_plan_membersFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter, which vacay_plan_members to fetch. + */ + where: Prisma.vacay_plan_membersWhereUniqueInput +} + +/** + * vacay_plan_members findFirst + */ +export type vacay_plan_membersFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter, which vacay_plan_members to fetch. + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plan_members to fetch. + */ + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_plan_members. + */ + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plan_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plan_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plan_members. + */ + distinct?: Prisma.Vacay_plan_membersScalarFieldEnum | Prisma.Vacay_plan_membersScalarFieldEnum[] +} + +/** + * vacay_plan_members findFirstOrThrow + */ +export type vacay_plan_membersFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter, which vacay_plan_members to fetch. + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plan_members to fetch. + */ + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_plan_members. + */ + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plan_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plan_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plan_members. + */ + distinct?: Prisma.Vacay_plan_membersScalarFieldEnum | Prisma.Vacay_plan_membersScalarFieldEnum[] +} + +/** + * vacay_plan_members findMany + */ +export type vacay_plan_membersFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter, which vacay_plan_members to fetch. + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plan_members to fetch. + */ + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_plan_members. + */ + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plan_members from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plan_members. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plan_members. + */ + distinct?: Prisma.Vacay_plan_membersScalarFieldEnum | Prisma.Vacay_plan_membersScalarFieldEnum[] +} + +/** + * vacay_plan_members create + */ +export type vacay_plan_membersCreateArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * The data needed to create a vacay_plan_members. + */ + data: Prisma.XOR +} + +/** + * vacay_plan_members createMany + */ +export type vacay_plan_membersCreateManyArgs = { + /** + * The data used to create many vacay_plan_members. + */ + data: Prisma.vacay_plan_membersCreateManyInput | Prisma.vacay_plan_membersCreateManyInput[] +} + +/** + * vacay_plan_members createManyAndReturn + */ +export type vacay_plan_membersCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * The data used to create many vacay_plan_members. + */ + data: Prisma.vacay_plan_membersCreateManyInput | Prisma.vacay_plan_membersCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersIncludeCreateManyAndReturn | null +} + +/** + * vacay_plan_members update + */ +export type vacay_plan_membersUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * The data needed to update a vacay_plan_members. + */ + data: Prisma.XOR + /** + * Choose, which vacay_plan_members to update. + */ + where: Prisma.vacay_plan_membersWhereUniqueInput +} + +/** + * vacay_plan_members updateMany + */ +export type vacay_plan_membersUpdateManyArgs = { + /** + * The data used to update vacay_plan_members. + */ + data: Prisma.XOR + /** + * Filter which vacay_plan_members to update + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * Limit how many vacay_plan_members to update. + */ + limit?: number +} + +/** + * vacay_plan_members updateManyAndReturn + */ +export type vacay_plan_membersUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * The data used to update vacay_plan_members. + */ + data: Prisma.XOR + /** + * Filter which vacay_plan_members to update + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * Limit how many vacay_plan_members to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersIncludeUpdateManyAndReturn | null +} + +/** + * vacay_plan_members upsert + */ +export type vacay_plan_membersUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * The filter to search for the vacay_plan_members to update in case it exists. + */ + where: Prisma.vacay_plan_membersWhereUniqueInput + /** + * In case the vacay_plan_members found by the `where` argument doesn't exist, create a new vacay_plan_members with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_plan_members was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_plan_members delete + */ +export type vacay_plan_membersDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + /** + * Filter which vacay_plan_members to delete. + */ + where: Prisma.vacay_plan_membersWhereUniqueInput +} + +/** + * vacay_plan_members deleteMany + */ +export type vacay_plan_membersDeleteManyArgs = { + /** + * Filter which vacay_plan_members to delete + */ + where?: Prisma.vacay_plan_membersWhereInput + /** + * Limit how many vacay_plan_members to delete. + */ + limit?: number +} + +/** + * vacay_plan_members without action + */ +export type vacay_plan_membersDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_plans.ts b/server/src/generated/prisma/models/vacay_plans.ts new file mode 100644 index 00000000..b59cc128 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_plans.ts @@ -0,0 +1,2619 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_plans` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_plans + * + */ +export type vacay_plansModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_plans = { + _count: Vacay_plansCountAggregateOutputType | null + _avg: Vacay_plansAvgAggregateOutputType | null + _sum: Vacay_plansSumAggregateOutputType | null + _min: Vacay_plansMinAggregateOutputType | null + _max: Vacay_plansMaxAggregateOutputType | null +} + +export type Vacay_plansAvgAggregateOutputType = { + id: number | null + owner_id: number | null + block_weekends: number | null + holidays_enabled: number | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + week_start: number | null +} + +export type Vacay_plansSumAggregateOutputType = { + id: number | null + owner_id: number | null + block_weekends: number | null + holidays_enabled: number | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + week_start: number | null +} + +export type Vacay_plansMinAggregateOutputType = { + id: number | null + owner_id: number | null + block_weekends: number | null + holidays_enabled: number | null + holidays_region: string | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + created_at: Date | null + weekend_days: string | null + week_start: number | null +} + +export type Vacay_plansMaxAggregateOutputType = { + id: number | null + owner_id: number | null + block_weekends: number | null + holidays_enabled: number | null + holidays_region: string | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + created_at: Date | null + weekend_days: string | null + week_start: number | null +} + +export type Vacay_plansCountAggregateOutputType = { + id: number + owner_id: number + block_weekends: number + holidays_enabled: number + holidays_region: number + company_holidays_enabled: number + carry_over_enabled: number + created_at: number + weekend_days: number + week_start: number + _all: number +} + + +export type Vacay_plansAvgAggregateInputType = { + id?: true + owner_id?: true + block_weekends?: true + holidays_enabled?: true + company_holidays_enabled?: true + carry_over_enabled?: true + week_start?: true +} + +export type Vacay_plansSumAggregateInputType = { + id?: true + owner_id?: true + block_weekends?: true + holidays_enabled?: true + company_holidays_enabled?: true + carry_over_enabled?: true + week_start?: true +} + +export type Vacay_plansMinAggregateInputType = { + id?: true + owner_id?: true + block_weekends?: true + holidays_enabled?: true + holidays_region?: true + company_holidays_enabled?: true + carry_over_enabled?: true + created_at?: true + weekend_days?: true + week_start?: true +} + +export type Vacay_plansMaxAggregateInputType = { + id?: true + owner_id?: true + block_weekends?: true + holidays_enabled?: true + holidays_region?: true + company_holidays_enabled?: true + carry_over_enabled?: true + created_at?: true + weekend_days?: true + week_start?: true +} + +export type Vacay_plansCountAggregateInputType = { + id?: true + owner_id?: true + block_weekends?: true + holidays_enabled?: true + holidays_region?: true + company_holidays_enabled?: true + carry_over_enabled?: true + created_at?: true + weekend_days?: true + week_start?: true + _all?: true +} + +export type Vacay_plansAggregateArgs = { + /** + * Filter which vacay_plans to aggregate. + */ + where?: Prisma.vacay_plansWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plans to fetch. + */ + orderBy?: Prisma.vacay_plansOrderByWithRelationInput | Prisma.vacay_plansOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_plansWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plans from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plans. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_plans + **/ + _count?: true | Vacay_plansCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_plansAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_plansSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_plansMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_plansMaxAggregateInputType +} + +export type GetVacay_plansAggregateType = { + [P in keyof T & keyof AggregateVacay_plans]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_plansGroupByArgs = { + where?: Prisma.vacay_plansWhereInput + orderBy?: Prisma.vacay_plansOrderByWithAggregationInput | Prisma.vacay_plansOrderByWithAggregationInput[] + by: Prisma.Vacay_plansScalarFieldEnum[] | Prisma.Vacay_plansScalarFieldEnum + having?: Prisma.vacay_plansScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_plansCountAggregateInputType | true + _avg?: Vacay_plansAvgAggregateInputType + _sum?: Vacay_plansSumAggregateInputType + _min?: Vacay_plansMinAggregateInputType + _max?: Vacay_plansMaxAggregateInputType +} + +export type Vacay_plansGroupByOutputType = { + id: number + owner_id: number + block_weekends: number | null + holidays_enabled: number | null + holidays_region: string | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + created_at: Date | null + weekend_days: string | null + week_start: number + _count: Vacay_plansCountAggregateOutputType | null + _avg: Vacay_plansAvgAggregateOutputType | null + _sum: Vacay_plansSumAggregateOutputType | null + _min: Vacay_plansMinAggregateOutputType | null + _max: Vacay_plansMaxAggregateOutputType | null +} + +export type GetVacay_plansGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_plansGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_plansWhereInput = { + AND?: Prisma.vacay_plansWhereInput | Prisma.vacay_plansWhereInput[] + OR?: Prisma.vacay_plansWhereInput[] + NOT?: Prisma.vacay_plansWhereInput | Prisma.vacay_plansWhereInput[] + id?: Prisma.IntFilter<"vacay_plans"> | number + owner_id?: Prisma.IntFilter<"vacay_plans"> | number + block_weekends?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + holidays_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + holidays_region?: Prisma.StringNullableFilter<"vacay_plans"> | string | null + company_holidays_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + carry_over_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"vacay_plans"> | Date | string | null + weekend_days?: Prisma.StringNullableFilter<"vacay_plans"> | string | null + week_start?: Prisma.IntFilter<"vacay_plans"> | number + vacay_company_holidays?: Prisma.Vacay_company_holidaysListRelationFilter + vacay_entries?: Prisma.Vacay_entriesListRelationFilter + vacay_holiday_calendars?: Prisma.Vacay_holiday_calendarsListRelationFilter + vacay_plan_members?: Prisma.Vacay_plan_membersListRelationFilter + users?: Prisma.XOR + vacay_user_colors?: Prisma.Vacay_user_colorsListRelationFilter + vacay_user_years?: Prisma.Vacay_user_yearsListRelationFilter + vacay_years?: Prisma.Vacay_yearsListRelationFilter +} + +export type vacay_plansOrderByWithRelationInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrderInput | Prisma.SortOrder + holidays_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + holidays_region?: Prisma.SortOrderInput | Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + weekend_days?: Prisma.SortOrderInput | Prisma.SortOrder + week_start?: Prisma.SortOrder + vacay_company_holidays?: Prisma.vacay_company_holidaysOrderByRelationAggregateInput + vacay_entries?: Prisma.vacay_entriesOrderByRelationAggregateInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsOrderByRelationAggregateInput + vacay_plan_members?: Prisma.vacay_plan_membersOrderByRelationAggregateInput + users?: Prisma.usersOrderByWithRelationInput + vacay_user_colors?: Prisma.vacay_user_colorsOrderByRelationAggregateInput + vacay_user_years?: Prisma.vacay_user_yearsOrderByRelationAggregateInput + vacay_years?: Prisma.vacay_yearsOrderByRelationAggregateInput +} + +export type vacay_plansWhereUniqueInput = Prisma.AtLeast<{ + id?: number + owner_id?: number + AND?: Prisma.vacay_plansWhereInput | Prisma.vacay_plansWhereInput[] + OR?: Prisma.vacay_plansWhereInput[] + NOT?: Prisma.vacay_plansWhereInput | Prisma.vacay_plansWhereInput[] + block_weekends?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + holidays_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + holidays_region?: Prisma.StringNullableFilter<"vacay_plans"> | string | null + company_holidays_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + carry_over_enabled?: Prisma.IntNullableFilter<"vacay_plans"> | number | null + created_at?: Prisma.DateTimeNullableFilter<"vacay_plans"> | Date | string | null + weekend_days?: Prisma.StringNullableFilter<"vacay_plans"> | string | null + week_start?: Prisma.IntFilter<"vacay_plans"> | number + vacay_company_holidays?: Prisma.Vacay_company_holidaysListRelationFilter + vacay_entries?: Prisma.Vacay_entriesListRelationFilter + vacay_holiday_calendars?: Prisma.Vacay_holiday_calendarsListRelationFilter + vacay_plan_members?: Prisma.Vacay_plan_membersListRelationFilter + users?: Prisma.XOR + vacay_user_colors?: Prisma.Vacay_user_colorsListRelationFilter + vacay_user_years?: Prisma.Vacay_user_yearsListRelationFilter + vacay_years?: Prisma.Vacay_yearsListRelationFilter +}, "id" | "owner_id"> + +export type vacay_plansOrderByWithAggregationInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrderInput | Prisma.SortOrder + holidays_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + holidays_region?: Prisma.SortOrderInput | Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrderInput | Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + weekend_days?: Prisma.SortOrderInput | Prisma.SortOrder + week_start?: Prisma.SortOrder + _count?: Prisma.vacay_plansCountOrderByAggregateInput + _avg?: Prisma.vacay_plansAvgOrderByAggregateInput + _max?: Prisma.vacay_plansMaxOrderByAggregateInput + _min?: Prisma.vacay_plansMinOrderByAggregateInput + _sum?: Prisma.vacay_plansSumOrderByAggregateInput +} + +export type vacay_plansScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_plansScalarWhereWithAggregatesInput | Prisma.vacay_plansScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_plansScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_plansScalarWhereWithAggregatesInput | Prisma.vacay_plansScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_plans"> | number + owner_id?: Prisma.IntWithAggregatesFilter<"vacay_plans"> | number + block_weekends?: Prisma.IntNullableWithAggregatesFilter<"vacay_plans"> | number | null + holidays_enabled?: Prisma.IntNullableWithAggregatesFilter<"vacay_plans"> | number | null + holidays_region?: Prisma.StringNullableWithAggregatesFilter<"vacay_plans"> | string | null + company_holidays_enabled?: Prisma.IntNullableWithAggregatesFilter<"vacay_plans"> | number | null + carry_over_enabled?: Prisma.IntNullableWithAggregatesFilter<"vacay_plans"> | number | null + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"vacay_plans"> | Date | string | null + weekend_days?: Prisma.StringNullableWithAggregatesFilter<"vacay_plans"> | string | null + week_start?: Prisma.IntWithAggregatesFilter<"vacay_plans"> | number +} + +export type vacay_plansCreateInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUpdateInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateManyInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number +} + +export type vacay_plansUpdateManyMutationInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_plansUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Vacay_plansNullableScalarRelationFilter = { + is?: Prisma.vacay_plansWhereInput | null + isNot?: Prisma.vacay_plansWhereInput | null +} + +export type Vacay_plansScalarRelationFilter = { + is?: Prisma.vacay_plansWhereInput + isNot?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansCountOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrder + holidays_enabled?: Prisma.SortOrder + holidays_region?: Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weekend_days?: Prisma.SortOrder + week_start?: Prisma.SortOrder +} + +export type vacay_plansAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrder + holidays_enabled?: Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrder + week_start?: Prisma.SortOrder +} + +export type vacay_plansMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrder + holidays_enabled?: Prisma.SortOrder + holidays_region?: Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weekend_days?: Prisma.SortOrder + week_start?: Prisma.SortOrder +} + +export type vacay_plansMinOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrder + holidays_enabled?: Prisma.SortOrder + holidays_region?: Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrder + created_at?: Prisma.SortOrder + weekend_days?: Prisma.SortOrder + week_start?: Prisma.SortOrder +} + +export type vacay_plansSumOrderByAggregateInput = { + id?: Prisma.SortOrder + owner_id?: Prisma.SortOrder + block_weekends?: Prisma.SortOrder + holidays_enabled?: Prisma.SortOrder + company_holidays_enabled?: Prisma.SortOrder + carry_over_enabled?: Prisma.SortOrder + week_start?: Prisma.SortOrder +} + +export type vacay_plansCreateNestedOneWithoutUsersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutUsersInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUncheckedCreateNestedOneWithoutUsersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutUsersInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneWithoutUsersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutUsersInput + upsert?: Prisma.vacay_plansUpsertWithoutUsersInput + disconnect?: Prisma.vacay_plansWhereInput | boolean + delete?: Prisma.vacay_plansWhereInput | boolean + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutUsersInput> +} + +export type vacay_plansUncheckedUpdateOneWithoutUsersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutUsersInput + upsert?: Prisma.vacay_plansUpsertWithoutUsersInput + disconnect?: Prisma.vacay_plansWhereInput | boolean + delete?: Prisma.vacay_plansWhereInput | boolean + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutUsersInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_company_holidaysInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_company_holidaysInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_company_holidaysNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_company_holidaysInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_company_holidaysInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_company_holidaysInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_entriesInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_entriesInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_entriesNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_entriesInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_entriesInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_entriesInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_holiday_calendarsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_holiday_calendarsInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_holiday_calendarsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_holiday_calendarsInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_holiday_calendarsInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_holiday_calendarsInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_plan_membersInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_plan_membersInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_plan_membersNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_plan_membersInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_plan_membersInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_plan_membersInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_user_colorsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_user_colorsInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_user_colorsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_user_colorsInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_user_colorsInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_user_colorsInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_user_yearsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_user_yearsInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_user_yearsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_user_yearsInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_user_yearsInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_user_yearsInput> +} + +export type vacay_plansCreateNestedOneWithoutVacay_yearsInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_yearsInput + connect?: Prisma.vacay_plansWhereUniqueInput +} + +export type vacay_plansUpdateOneRequiredWithoutVacay_yearsNestedInput = { + create?: Prisma.XOR + connectOrCreate?: Prisma.vacay_plansCreateOrConnectWithoutVacay_yearsInput + upsert?: Prisma.vacay_plansUpsertWithoutVacay_yearsInput + connect?: Prisma.vacay_plansWhereUniqueInput + update?: Prisma.XOR, Prisma.vacay_plansUncheckedUpdateWithoutVacay_yearsInput> +} + +export type vacay_plansCreateWithoutUsersInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutUsersInput = { + id?: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutUsersInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutUsersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutUsersInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutUsersInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_company_holidaysInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_company_holidaysInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_company_holidaysInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_company_holidaysInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_company_holidaysInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_company_holidaysInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_company_holidaysInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_entriesInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_entriesInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_entriesInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_entriesInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_entriesInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_entriesInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_entriesInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_holiday_calendarsInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_holiday_calendarsInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_holiday_calendarsInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_holiday_calendarsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_holiday_calendarsInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_holiday_calendarsInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_holiday_calendarsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_plan_membersInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_plan_membersInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_plan_membersInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_plan_membersInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_plan_membersInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_plan_membersInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_plan_membersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_user_colorsInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_user_colorsInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_user_colorsInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_user_colorsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_user_colorsInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_user_colorsInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_user_colorsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_user_yearsInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_user_yearsInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_years?: Prisma.vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_user_yearsInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_user_yearsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_user_yearsInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_user_yearsInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_user_yearsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_years?: Prisma.vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansCreateWithoutVacay_yearsInput = { + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersCreateNestedManyWithoutVacay_plansInput + users: Prisma.usersCreateNestedOneWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansUncheckedCreateWithoutVacay_yearsInput = { + id?: number + owner_id: number + block_weekends?: number | null + holidays_enabled?: number | null + holidays_region?: string | null + company_holidays_enabled?: number | null + carry_over_enabled?: number | null + created_at?: Date | string | null + weekend_days?: string | null + week_start?: number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_entries?: Prisma.vacay_entriesUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput +} + +export type vacay_plansCreateOrConnectWithoutVacay_yearsInput = { + where: Prisma.vacay_plansWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_plansUpsertWithoutVacay_yearsInput = { + update: Prisma.XOR + create: Prisma.XOR + where?: Prisma.vacay_plansWhereInput +} + +export type vacay_plansUpdateToOneWithWhereWithoutVacay_yearsInput = { + where?: Prisma.vacay_plansWhereInput + data: Prisma.XOR +} + +export type vacay_plansUpdateWithoutVacay_yearsInput = { + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUpdateManyWithoutVacay_plansNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput +} + +export type vacay_plansUncheckedUpdateWithoutVacay_yearsInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + owner_id?: Prisma.IntFieldUpdateOperationsInput | number + block_weekends?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + holidays_region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + company_holidays_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carry_over_enabled?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + weekend_days?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + week_start?: Prisma.IntFieldUpdateOperationsInput | number + vacay_company_holidays?: Prisma.vacay_company_holidaysUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_entries?: Prisma.vacay_entriesUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_holiday_calendars?: Prisma.vacay_holiday_calendarsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_plan_members?: Prisma.vacay_plan_membersUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_colors?: Prisma.vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput + vacay_user_years?: Prisma.vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput +} + + +/** + * Count Type Vacay_plansCountOutputType + */ + +export type Vacay_plansCountOutputType = { + vacay_company_holidays: number + vacay_entries: number + vacay_holiday_calendars: number + vacay_plan_members: number + vacay_user_colors: number + vacay_user_years: number + vacay_years: number +} + +export type Vacay_plansCountOutputTypeSelect = { + vacay_company_holidays?: boolean | Vacay_plansCountOutputTypeCountVacay_company_holidaysArgs + vacay_entries?: boolean | Vacay_plansCountOutputTypeCountVacay_entriesArgs + vacay_holiday_calendars?: boolean | Vacay_plansCountOutputTypeCountVacay_holiday_calendarsArgs + vacay_plan_members?: boolean | Vacay_plansCountOutputTypeCountVacay_plan_membersArgs + vacay_user_colors?: boolean | Vacay_plansCountOutputTypeCountVacay_user_colorsArgs + vacay_user_years?: boolean | Vacay_plansCountOutputTypeCountVacay_user_yearsArgs + vacay_years?: boolean | Vacay_plansCountOutputTypeCountVacay_yearsArgs +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the Vacay_plansCountOutputType + */ + select?: Prisma.Vacay_plansCountOutputTypeSelect | null +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_company_holidaysArgs = { + where?: Prisma.vacay_company_holidaysWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_entriesArgs = { + where?: Prisma.vacay_entriesWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_holiday_calendarsArgs = { + where?: Prisma.vacay_holiday_calendarsWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_plan_membersArgs = { + where?: Prisma.vacay_plan_membersWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_user_colorsArgs = { + where?: Prisma.vacay_user_colorsWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_user_yearsArgs = { + where?: Prisma.vacay_user_yearsWhereInput +} + +/** + * Vacay_plansCountOutputType without action + */ +export type Vacay_plansCountOutputTypeCountVacay_yearsArgs = { + where?: Prisma.vacay_yearsWhereInput +} + + +export type vacay_plansSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + owner_id?: boolean + block_weekends?: boolean + holidays_enabled?: boolean + holidays_region?: boolean + company_holidays_enabled?: boolean + carry_over_enabled?: boolean + created_at?: boolean + weekend_days?: boolean + week_start?: boolean + vacay_company_holidays?: boolean | Prisma.vacay_plans$vacay_company_holidaysArgs + vacay_entries?: boolean | Prisma.vacay_plans$vacay_entriesArgs + vacay_holiday_calendars?: boolean | Prisma.vacay_plans$vacay_holiday_calendarsArgs + vacay_plan_members?: boolean | Prisma.vacay_plans$vacay_plan_membersArgs + users?: boolean | Prisma.usersDefaultArgs + vacay_user_colors?: boolean | Prisma.vacay_plans$vacay_user_colorsArgs + vacay_user_years?: boolean | Prisma.vacay_plans$vacay_user_yearsArgs + vacay_years?: boolean | Prisma.vacay_plans$vacay_yearsArgs + _count?: boolean | Prisma.Vacay_plansCountOutputTypeDefaultArgs +}, ExtArgs["result"]["vacay_plans"]> + +export type vacay_plansSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + owner_id?: boolean + block_weekends?: boolean + holidays_enabled?: boolean + holidays_region?: boolean + company_holidays_enabled?: boolean + carry_over_enabled?: boolean + created_at?: boolean + weekend_days?: boolean + week_start?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_plans"]> + +export type vacay_plansSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + owner_id?: boolean + block_weekends?: boolean + holidays_enabled?: boolean + holidays_region?: boolean + company_holidays_enabled?: boolean + carry_over_enabled?: boolean + created_at?: boolean + weekend_days?: boolean + week_start?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_plans"]> + +export type vacay_plansSelectScalar = { + id?: boolean + owner_id?: boolean + block_weekends?: boolean + holidays_enabled?: boolean + holidays_region?: boolean + company_holidays_enabled?: boolean + carry_over_enabled?: boolean + created_at?: boolean + weekend_days?: boolean + week_start?: boolean +} + +export type vacay_plansOmit = runtime.Types.Extensions.GetOmit<"id" | "owner_id" | "block_weekends" | "holidays_enabled" | "holidays_region" | "company_holidays_enabled" | "carry_over_enabled" | "created_at" | "weekend_days" | "week_start", ExtArgs["result"]["vacay_plans"]> +export type vacay_plansInclude = { + vacay_company_holidays?: boolean | Prisma.vacay_plans$vacay_company_holidaysArgs + vacay_entries?: boolean | Prisma.vacay_plans$vacay_entriesArgs + vacay_holiday_calendars?: boolean | Prisma.vacay_plans$vacay_holiday_calendarsArgs + vacay_plan_members?: boolean | Prisma.vacay_plans$vacay_plan_membersArgs + users?: boolean | Prisma.usersDefaultArgs + vacay_user_colors?: boolean | Prisma.vacay_plans$vacay_user_colorsArgs + vacay_user_years?: boolean | Prisma.vacay_plans$vacay_user_yearsArgs + vacay_years?: boolean | Prisma.vacay_plans$vacay_yearsArgs + _count?: boolean | Prisma.Vacay_plansCountOutputTypeDefaultArgs +} +export type vacay_plansIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type vacay_plansIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $vacay_plansPayload = { + name: "vacay_plans" + objects: { + vacay_company_holidays: Prisma.$vacay_company_holidaysPayload[] + vacay_entries: Prisma.$vacay_entriesPayload[] + vacay_holiday_calendars: Prisma.$vacay_holiday_calendarsPayload[] + vacay_plan_members: Prisma.$vacay_plan_membersPayload[] + users: Prisma.$usersPayload + vacay_user_colors: Prisma.$vacay_user_colorsPayload[] + vacay_user_years: Prisma.$vacay_user_yearsPayload[] + vacay_years: Prisma.$vacay_yearsPayload[] + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + owner_id: number + block_weekends: number | null + holidays_enabled: number | null + holidays_region: string | null + company_holidays_enabled: number | null + carry_over_enabled: number | null + created_at: Date | null + weekend_days: string | null + week_start: number + }, ExtArgs["result"]["vacay_plans"]> + composites: {} +} + +export type vacay_plansGetPayload = runtime.Types.Result.GetResult + +export type vacay_plansCountArgs = + Omit & { + select?: Vacay_plansCountAggregateInputType | true + } + +export interface vacay_plansDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_plans'], meta: { name: 'vacay_plans' } } + /** + * Find zero or one Vacay_plans that matches the filter. + * @param {vacay_plansFindUniqueArgs} args - Arguments to find a Vacay_plans + * @example + * // Get one Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_plans that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_plansFindUniqueOrThrowArgs} args - Arguments to find a Vacay_plans + * @example + * // Get one Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_plans that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansFindFirstArgs} args - Arguments to find a Vacay_plans + * @example + * // Get one Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_plans that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansFindFirstOrThrowArgs} args - Arguments to find a Vacay_plans + * @example + * // Get one Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_plans that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findMany() + * + * // Get first 10 Vacay_plans + * const vacay_plans = await prisma.vacay_plans.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_plansWithIdOnly = await prisma.vacay_plans.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_plans. + * @param {vacay_plansCreateArgs} args - Arguments to create a Vacay_plans. + * @example + * // Create one Vacay_plans + * const Vacay_plans = await prisma.vacay_plans.create({ + * data: { + * // ... data to create a Vacay_plans + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_plans. + * @param {vacay_plansCreateManyArgs} args - Arguments to create many Vacay_plans. + * @example + * // Create many Vacay_plans + * const vacay_plans = await prisma.vacay_plans.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_plans and returns the data saved in the database. + * @param {vacay_plansCreateManyAndReturnArgs} args - Arguments to create many Vacay_plans. + * @example + * // Create many Vacay_plans + * const vacay_plans = await prisma.vacay_plans.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_plans and only return the `id` + * const vacay_plansWithIdOnly = await prisma.vacay_plans.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_plans. + * @param {vacay_plansDeleteArgs} args - Arguments to delete one Vacay_plans. + * @example + * // Delete one Vacay_plans + * const Vacay_plans = await prisma.vacay_plans.delete({ + * where: { + * // ... filter to delete one Vacay_plans + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_plans. + * @param {vacay_plansUpdateArgs} args - Arguments to update one Vacay_plans. + * @example + * // Update one Vacay_plans + * const vacay_plans = await prisma.vacay_plans.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_plans. + * @param {vacay_plansDeleteManyArgs} args - Arguments to filter Vacay_plans to delete. + * @example + * // Delete a few Vacay_plans + * const { count } = await prisma.vacay_plans.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_plans. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_plans + * const vacay_plans = await prisma.vacay_plans.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_plans and returns the data updated in the database. + * @param {vacay_plansUpdateManyAndReturnArgs} args - Arguments to update many Vacay_plans. + * @example + * // Update many Vacay_plans + * const vacay_plans = await prisma.vacay_plans.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_plans and only return the `id` + * const vacay_plansWithIdOnly = await prisma.vacay_plans.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_plans. + * @param {vacay_plansUpsertArgs} args - Arguments to update or create a Vacay_plans. + * @example + * // Update or create a Vacay_plans + * const vacay_plans = await prisma.vacay_plans.upsert({ + * create: { + * // ... data to create a Vacay_plans + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_plans we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_plansClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_plans. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansCountArgs} args - Arguments to filter Vacay_plans to count. + * @example + * // Count the number of Vacay_plans + * const count = await prisma.vacay_plans.count({ + * where: { + * // ... the filter for the Vacay_plans we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_plans. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_plansAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_plans. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_plansGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_plansGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_plansGroupByArgs['orderBy'] } + : { orderBy?: vacay_plansGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_plansGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_plans model + */ +readonly fields: vacay_plansFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_plans. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_plansClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_company_holidays = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_holiday_calendars = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_plan_members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + vacay_user_colors = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_user_years = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + vacay_years = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_plans model + */ +export interface vacay_plansFieldRefs { + readonly id: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly owner_id: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly block_weekends: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly holidays_enabled: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly holidays_region: Prisma.FieldRef<"vacay_plans", 'String'> + readonly company_holidays_enabled: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly carry_over_enabled: Prisma.FieldRef<"vacay_plans", 'Int'> + readonly created_at: Prisma.FieldRef<"vacay_plans", 'DateTime'> + readonly weekend_days: Prisma.FieldRef<"vacay_plans", 'String'> + readonly week_start: Prisma.FieldRef<"vacay_plans", 'Int'> +} + + +// Custom InputTypes +/** + * vacay_plans findUnique + */ +export type vacay_plansFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter, which vacay_plans to fetch. + */ + where: Prisma.vacay_plansWhereUniqueInput +} + +/** + * vacay_plans findUniqueOrThrow + */ +export type vacay_plansFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter, which vacay_plans to fetch. + */ + where: Prisma.vacay_plansWhereUniqueInput +} + +/** + * vacay_plans findFirst + */ +export type vacay_plansFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter, which vacay_plans to fetch. + */ + where?: Prisma.vacay_plansWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plans to fetch. + */ + orderBy?: Prisma.vacay_plansOrderByWithRelationInput | Prisma.vacay_plansOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_plans. + */ + cursor?: Prisma.vacay_plansWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plans from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plans. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plans. + */ + distinct?: Prisma.Vacay_plansScalarFieldEnum | Prisma.Vacay_plansScalarFieldEnum[] +} + +/** + * vacay_plans findFirstOrThrow + */ +export type vacay_plansFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter, which vacay_plans to fetch. + */ + where?: Prisma.vacay_plansWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plans to fetch. + */ + orderBy?: Prisma.vacay_plansOrderByWithRelationInput | Prisma.vacay_plansOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_plans. + */ + cursor?: Prisma.vacay_plansWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plans from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plans. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plans. + */ + distinct?: Prisma.Vacay_plansScalarFieldEnum | Prisma.Vacay_plansScalarFieldEnum[] +} + +/** + * vacay_plans findMany + */ +export type vacay_plansFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter, which vacay_plans to fetch. + */ + where?: Prisma.vacay_plansWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_plans to fetch. + */ + orderBy?: Prisma.vacay_plansOrderByWithRelationInput | Prisma.vacay_plansOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_plans. + */ + cursor?: Prisma.vacay_plansWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_plans from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_plans. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_plans. + */ + distinct?: Prisma.Vacay_plansScalarFieldEnum | Prisma.Vacay_plansScalarFieldEnum[] +} + +/** + * vacay_plans create + */ +export type vacay_plansCreateArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * The data needed to create a vacay_plans. + */ + data: Prisma.XOR +} + +/** + * vacay_plans createMany + */ +export type vacay_plansCreateManyArgs = { + /** + * The data used to create many vacay_plans. + */ + data: Prisma.vacay_plansCreateManyInput | Prisma.vacay_plansCreateManyInput[] +} + +/** + * vacay_plans createManyAndReturn + */ +export type vacay_plansCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * The data used to create many vacay_plans. + */ + data: Prisma.vacay_plansCreateManyInput | Prisma.vacay_plansCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansIncludeCreateManyAndReturn | null +} + +/** + * vacay_plans update + */ +export type vacay_plansUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * The data needed to update a vacay_plans. + */ + data: Prisma.XOR + /** + * Choose, which vacay_plans to update. + */ + where: Prisma.vacay_plansWhereUniqueInput +} + +/** + * vacay_plans updateMany + */ +export type vacay_plansUpdateManyArgs = { + /** + * The data used to update vacay_plans. + */ + data: Prisma.XOR + /** + * Filter which vacay_plans to update + */ + where?: Prisma.vacay_plansWhereInput + /** + * Limit how many vacay_plans to update. + */ + limit?: number +} + +/** + * vacay_plans updateManyAndReturn + */ +export type vacay_plansUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * The data used to update vacay_plans. + */ + data: Prisma.XOR + /** + * Filter which vacay_plans to update + */ + where?: Prisma.vacay_plansWhereInput + /** + * Limit how many vacay_plans to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansIncludeUpdateManyAndReturn | null +} + +/** + * vacay_plans upsert + */ +export type vacay_plansUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * The filter to search for the vacay_plans to update in case it exists. + */ + where: Prisma.vacay_plansWhereUniqueInput + /** + * In case the vacay_plans found by the `where` argument doesn't exist, create a new vacay_plans with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_plans was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_plans delete + */ +export type vacay_plansDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null + /** + * Filter which vacay_plans to delete. + */ + where: Prisma.vacay_plansWhereUniqueInput +} + +/** + * vacay_plans deleteMany + */ +export type vacay_plansDeleteManyArgs = { + /** + * Filter which vacay_plans to delete + */ + where?: Prisma.vacay_plansWhereInput + /** + * Limit how many vacay_plans to delete. + */ + limit?: number +} + +/** + * vacay_plans.vacay_company_holidays + */ +export type vacay_plans$vacay_company_holidaysArgs = { + /** + * Select specific fields to fetch from the vacay_company_holidays + */ + select?: Prisma.vacay_company_holidaysSelect | null + /** + * Omit specific fields from the vacay_company_holidays + */ + omit?: Prisma.vacay_company_holidaysOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_company_holidaysInclude | null + where?: Prisma.vacay_company_holidaysWhereInput + orderBy?: Prisma.vacay_company_holidaysOrderByWithRelationInput | Prisma.vacay_company_holidaysOrderByWithRelationInput[] + cursor?: Prisma.vacay_company_holidaysWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_company_holidaysScalarFieldEnum | Prisma.Vacay_company_holidaysScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_entries + */ +export type vacay_plans$vacay_entriesArgs = { + /** + * Select specific fields to fetch from the vacay_entries + */ + select?: Prisma.vacay_entriesSelect | null + /** + * Omit specific fields from the vacay_entries + */ + omit?: Prisma.vacay_entriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_entriesInclude | null + where?: Prisma.vacay_entriesWhereInput + orderBy?: Prisma.vacay_entriesOrderByWithRelationInput | Prisma.vacay_entriesOrderByWithRelationInput[] + cursor?: Prisma.vacay_entriesWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_entriesScalarFieldEnum | Prisma.Vacay_entriesScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_holiday_calendars + */ +export type vacay_plans$vacay_holiday_calendarsArgs = { + /** + * Select specific fields to fetch from the vacay_holiday_calendars + */ + select?: Prisma.vacay_holiday_calendarsSelect | null + /** + * Omit specific fields from the vacay_holiday_calendars + */ + omit?: Prisma.vacay_holiday_calendarsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_holiday_calendarsInclude | null + where?: Prisma.vacay_holiday_calendarsWhereInput + orderBy?: Prisma.vacay_holiday_calendarsOrderByWithRelationInput | Prisma.vacay_holiday_calendarsOrderByWithRelationInput[] + cursor?: Prisma.vacay_holiday_calendarsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_holiday_calendarsScalarFieldEnum | Prisma.Vacay_holiday_calendarsScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_plan_members + */ +export type vacay_plans$vacay_plan_membersArgs = { + /** + * Select specific fields to fetch from the vacay_plan_members + */ + select?: Prisma.vacay_plan_membersSelect | null + /** + * Omit specific fields from the vacay_plan_members + */ + omit?: Prisma.vacay_plan_membersOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plan_membersInclude | null + where?: Prisma.vacay_plan_membersWhereInput + orderBy?: Prisma.vacay_plan_membersOrderByWithRelationInput | Prisma.vacay_plan_membersOrderByWithRelationInput[] + cursor?: Prisma.vacay_plan_membersWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_plan_membersScalarFieldEnum | Prisma.Vacay_plan_membersScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_user_colors + */ +export type vacay_plans$vacay_user_colorsArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + where?: Prisma.vacay_user_colorsWhereInput + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_user_colorsScalarFieldEnum | Prisma.Vacay_user_colorsScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_user_years + */ +export type vacay_plans$vacay_user_yearsArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + where?: Prisma.vacay_user_yearsWhereInput + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_user_yearsScalarFieldEnum | Prisma.Vacay_user_yearsScalarFieldEnum[] +} + +/** + * vacay_plans.vacay_years + */ +export type vacay_plans$vacay_yearsArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + where?: Prisma.vacay_yearsWhereInput + orderBy?: Prisma.vacay_yearsOrderByWithRelationInput | Prisma.vacay_yearsOrderByWithRelationInput[] + cursor?: Prisma.vacay_yearsWhereUniqueInput + take?: number + skip?: number + distinct?: Prisma.Vacay_yearsScalarFieldEnum | Prisma.Vacay_yearsScalarFieldEnum[] +} + +/** + * vacay_plans without action + */ +export type vacay_plansDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_plans + */ + select?: Prisma.vacay_plansSelect | null + /** + * Omit specific fields from the vacay_plans + */ + omit?: Prisma.vacay_plansOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_plansInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_user_colors.ts b/server/src/generated/prisma/models/vacay_user_colors.ts new file mode 100644 index 00000000..19bc8177 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_user_colors.ts @@ -0,0 +1,1475 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_user_colors` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_user_colors + * + */ +export type vacay_user_colorsModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_user_colors = { + _count: Vacay_user_colorsCountAggregateOutputType | null + _avg: Vacay_user_colorsAvgAggregateOutputType | null + _sum: Vacay_user_colorsSumAggregateOutputType | null + _min: Vacay_user_colorsMinAggregateOutputType | null + _max: Vacay_user_colorsMaxAggregateOutputType | null +} + +export type Vacay_user_colorsAvgAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null +} + +export type Vacay_user_colorsSumAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null +} + +export type Vacay_user_colorsMinAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + color: string | null +} + +export type Vacay_user_colorsMaxAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + color: string | null +} + +export type Vacay_user_colorsCountAggregateOutputType = { + id: number + user_id: number + plan_id: number + color: number + _all: number +} + + +export type Vacay_user_colorsAvgAggregateInputType = { + id?: true + user_id?: true + plan_id?: true +} + +export type Vacay_user_colorsSumAggregateInputType = { + id?: true + user_id?: true + plan_id?: true +} + +export type Vacay_user_colorsMinAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + color?: true +} + +export type Vacay_user_colorsMaxAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + color?: true +} + +export type Vacay_user_colorsCountAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + color?: true + _all?: true +} + +export type Vacay_user_colorsAggregateArgs = { + /** + * Filter which vacay_user_colors to aggregate. + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_colors to fetch. + */ + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_colors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_colors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_user_colors + **/ + _count?: true | Vacay_user_colorsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_user_colorsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_user_colorsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_user_colorsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_user_colorsMaxAggregateInputType +} + +export type GetVacay_user_colorsAggregateType = { + [P in keyof T & keyof AggregateVacay_user_colors]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_user_colorsGroupByArgs = { + where?: Prisma.vacay_user_colorsWhereInput + orderBy?: Prisma.vacay_user_colorsOrderByWithAggregationInput | Prisma.vacay_user_colorsOrderByWithAggregationInput[] + by: Prisma.Vacay_user_colorsScalarFieldEnum[] | Prisma.Vacay_user_colorsScalarFieldEnum + having?: Prisma.vacay_user_colorsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_user_colorsCountAggregateInputType | true + _avg?: Vacay_user_colorsAvgAggregateInputType + _sum?: Vacay_user_colorsSumAggregateInputType + _min?: Vacay_user_colorsMinAggregateInputType + _max?: Vacay_user_colorsMaxAggregateInputType +} + +export type Vacay_user_colorsGroupByOutputType = { + id: number + user_id: number + plan_id: number + color: string | null + _count: Vacay_user_colorsCountAggregateOutputType | null + _avg: Vacay_user_colorsAvgAggregateOutputType | null + _sum: Vacay_user_colorsSumAggregateOutputType | null + _min: Vacay_user_colorsMinAggregateOutputType | null + _max: Vacay_user_colorsMaxAggregateOutputType | null +} + +export type GetVacay_user_colorsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_user_colorsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_user_colorsWhereInput = { + AND?: Prisma.vacay_user_colorsWhereInput | Prisma.vacay_user_colorsWhereInput[] + OR?: Prisma.vacay_user_colorsWhereInput[] + NOT?: Prisma.vacay_user_colorsWhereInput | Prisma.vacay_user_colorsWhereInput[] + id?: Prisma.IntFilter<"vacay_user_colors"> | number + user_id?: Prisma.IntFilter<"vacay_user_colors"> | number + plan_id?: Prisma.IntFilter<"vacay_user_colors"> | number + color?: Prisma.StringNullableFilter<"vacay_user_colors"> | string | null + vacay_plans?: Prisma.XOR + users?: Prisma.XOR +} + +export type vacay_user_colorsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type vacay_user_colorsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_plan_id?: Prisma.vacay_user_colorsUser_idPlan_idCompoundUniqueInput + AND?: Prisma.vacay_user_colorsWhereInput | Prisma.vacay_user_colorsWhereInput[] + OR?: Prisma.vacay_user_colorsWhereInput[] + NOT?: Prisma.vacay_user_colorsWhereInput | Prisma.vacay_user_colorsWhereInput[] + user_id?: Prisma.IntFilter<"vacay_user_colors"> | number + plan_id?: Prisma.IntFilter<"vacay_user_colors"> | number + color?: Prisma.StringNullableFilter<"vacay_user_colors"> | string | null + vacay_plans?: Prisma.XOR + users?: Prisma.XOR +}, "id" | "user_id_plan_id"> + +export type vacay_user_colorsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + color?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.vacay_user_colorsCountOrderByAggregateInput + _avg?: Prisma.vacay_user_colorsAvgOrderByAggregateInput + _max?: Prisma.vacay_user_colorsMaxOrderByAggregateInput + _min?: Prisma.vacay_user_colorsMinOrderByAggregateInput + _sum?: Prisma.vacay_user_colorsSumOrderByAggregateInput +} + +export type vacay_user_colorsScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_user_colorsScalarWhereWithAggregatesInput | Prisma.vacay_user_colorsScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_user_colorsScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_user_colorsScalarWhereWithAggregatesInput | Prisma.vacay_user_colorsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_user_colors"> | number + user_id?: Prisma.IntWithAggregatesFilter<"vacay_user_colors"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_user_colors"> | number + color?: Prisma.StringNullableWithAggregatesFilter<"vacay_user_colors"> | string | null +} + +export type vacay_user_colorsCreateInput = { + color?: string | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_user_colorsInput + users: Prisma.usersCreateNestedOneWithoutVacay_user_colorsInput +} + +export type vacay_user_colorsUncheckedCreateInput = { + id?: number + user_id: number + plan_id: number + color?: string | null +} + +export type vacay_user_colorsUpdateInput = { + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_user_colorsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_user_colorsNestedInput +} + +export type vacay_user_colorsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_user_colorsCreateManyInput = { + id?: number + user_id: number + plan_id: number + color?: string | null +} + +export type vacay_user_colorsUpdateManyMutationInput = { + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_user_colorsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type Vacay_user_colorsListRelationFilter = { + every?: Prisma.vacay_user_colorsWhereInput + some?: Prisma.vacay_user_colorsWhereInput + none?: Prisma.vacay_user_colorsWhereInput +} + +export type vacay_user_colorsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_user_colorsUser_idPlan_idCompoundUniqueInput = { + user_id: number + plan_id: number +} + +export type vacay_user_colorsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + color?: Prisma.SortOrder +} + +export type vacay_user_colorsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder +} + +export type vacay_user_colorsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + color?: Prisma.SortOrder +} + +export type vacay_user_colorsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + color?: Prisma.SortOrder +} + +export type vacay_user_colorsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder +} + +export type vacay_user_colorsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutUsersInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_user_colorsCreateManyUsersInputEnvelope + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] +} + +export type vacay_user_colorsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutUsersInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_user_colorsCreateManyUsersInputEnvelope + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] +} + +export type vacay_user_colorsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutUsersInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_user_colorsCreateManyUsersInputEnvelope + set?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + delete?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + update?: Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_user_colorsUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_user_colorsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] +} + +export type vacay_user_colorsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutUsersInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_colorsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_user_colorsCreateManyUsersInputEnvelope + set?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + delete?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + update?: Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_user_colorsUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_user_colorsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] +} + +export type vacay_user_colorsCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_colorsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] +} + +export type vacay_user_colorsUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_colorsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] +} + +export type vacay_user_colorsUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_colorsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + delete?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + update?: Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_user_colorsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_user_colorsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] +} + +export type vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_colorsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_colorsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_colorsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_colorsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_colorsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + delete?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + connect?: Prisma.vacay_user_colorsWhereUniqueInput | Prisma.vacay_user_colorsWhereUniqueInput[] + update?: Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_colorsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_user_colorsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_user_colorsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] +} + +export type vacay_user_colorsCreateWithoutUsersInput = { + color?: string | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_user_colorsInput +} + +export type vacay_user_colorsUncheckedCreateWithoutUsersInput = { + id?: number + plan_id: number + color?: string | null +} + +export type vacay_user_colorsCreateOrConnectWithoutUsersInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_user_colorsCreateManyUsersInputEnvelope = { + data: Prisma.vacay_user_colorsCreateManyUsersInput | Prisma.vacay_user_colorsCreateManyUsersInput[] +} + +export type vacay_user_colorsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_user_colorsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_user_colorsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.vacay_user_colorsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_user_colorsScalarWhereInput = { + AND?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] + OR?: Prisma.vacay_user_colorsScalarWhereInput[] + NOT?: Prisma.vacay_user_colorsScalarWhereInput | Prisma.vacay_user_colorsScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_user_colors"> | number + user_id?: Prisma.IntFilter<"vacay_user_colors"> | number + plan_id?: Prisma.IntFilter<"vacay_user_colors"> | number + color?: Prisma.StringNullableFilter<"vacay_user_colors"> | string | null +} + +export type vacay_user_colorsCreateWithoutVacay_plansInput = { + color?: string | null + users: Prisma.usersCreateNestedOneWithoutVacay_user_colorsInput +} + +export type vacay_user_colorsUncheckedCreateWithoutVacay_plansInput = { + id?: number + user_id: number + color?: string | null +} + +export type vacay_user_colorsCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_user_colorsCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_user_colorsCreateManyVacay_plansInput | Prisma.vacay_user_colorsCreateManyVacay_plansInput[] +} + +export type vacay_user_colorsUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_user_colorsUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_user_colorsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_user_colorsUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_user_colorsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_user_colorsCreateManyUsersInput = { + id?: number + plan_id: number + color?: string | null +} + +export type vacay_user_colorsUpdateWithoutUsersInput = { + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_user_colorsNestedInput +} + +export type vacay_user_colorsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_user_colorsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_user_colorsCreateManyVacay_plansInput = { + id?: number + user_id: number + color?: string | null +} + +export type vacay_user_colorsUpdateWithoutVacay_plansInput = { + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_user_colorsNestedInput +} + +export type vacay_user_colorsUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + +export type vacay_user_colorsUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + color?: Prisma.NullableStringFieldUpdateOperationsInput | string | null +} + + + +export type vacay_user_colorsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + color?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_colors"]> + +export type vacay_user_colorsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + color?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_colors"]> + +export type vacay_user_colorsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + color?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_colors"]> + +export type vacay_user_colorsSelectScalar = { + id?: boolean + user_id?: boolean + plan_id?: boolean + color?: boolean +} + +export type vacay_user_colorsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "plan_id" | "color", ExtArgs["result"]["vacay_user_colors"]> +export type vacay_user_colorsInclude = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} +export type vacay_user_colorsIncludeCreateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} +export type vacay_user_colorsIncludeUpdateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} + +export type $vacay_user_colorsPayload = { + name: "vacay_user_colors" + objects: { + vacay_plans: Prisma.$vacay_plansPayload + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + plan_id: number + color: string | null + }, ExtArgs["result"]["vacay_user_colors"]> + composites: {} +} + +export type vacay_user_colorsGetPayload = runtime.Types.Result.GetResult + +export type vacay_user_colorsCountArgs = + Omit & { + select?: Vacay_user_colorsCountAggregateInputType | true + } + +export interface vacay_user_colorsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_user_colors'], meta: { name: 'vacay_user_colors' } } + /** + * Find zero or one Vacay_user_colors that matches the filter. + * @param {vacay_user_colorsFindUniqueArgs} args - Arguments to find a Vacay_user_colors + * @example + * // Get one Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_user_colors that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_user_colorsFindUniqueOrThrowArgs} args - Arguments to find a Vacay_user_colors + * @example + * // Get one Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_user_colors that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsFindFirstArgs} args - Arguments to find a Vacay_user_colors + * @example + * // Get one Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_user_colors that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsFindFirstOrThrowArgs} args - Arguments to find a Vacay_user_colors + * @example + * // Get one Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_user_colors that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findMany() + * + * // Get first 10 Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_user_colorsWithIdOnly = await prisma.vacay_user_colors.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_user_colors. + * @param {vacay_user_colorsCreateArgs} args - Arguments to create a Vacay_user_colors. + * @example + * // Create one Vacay_user_colors + * const Vacay_user_colors = await prisma.vacay_user_colors.create({ + * data: { + * // ... data to create a Vacay_user_colors + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_user_colors. + * @param {vacay_user_colorsCreateManyArgs} args - Arguments to create many Vacay_user_colors. + * @example + * // Create many Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_user_colors and returns the data saved in the database. + * @param {vacay_user_colorsCreateManyAndReturnArgs} args - Arguments to create many Vacay_user_colors. + * @example + * // Create many Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_user_colors and only return the `id` + * const vacay_user_colorsWithIdOnly = await prisma.vacay_user_colors.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_user_colors. + * @param {vacay_user_colorsDeleteArgs} args - Arguments to delete one Vacay_user_colors. + * @example + * // Delete one Vacay_user_colors + * const Vacay_user_colors = await prisma.vacay_user_colors.delete({ + * where: { + * // ... filter to delete one Vacay_user_colors + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_user_colors. + * @param {vacay_user_colorsUpdateArgs} args - Arguments to update one Vacay_user_colors. + * @example + * // Update one Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_user_colors. + * @param {vacay_user_colorsDeleteManyArgs} args - Arguments to filter Vacay_user_colors to delete. + * @example + * // Delete a few Vacay_user_colors + * const { count } = await prisma.vacay_user_colors.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_user_colors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_user_colors and returns the data updated in the database. + * @param {vacay_user_colorsUpdateManyAndReturnArgs} args - Arguments to update many Vacay_user_colors. + * @example + * // Update many Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_user_colors and only return the `id` + * const vacay_user_colorsWithIdOnly = await prisma.vacay_user_colors.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_user_colors. + * @param {vacay_user_colorsUpsertArgs} args - Arguments to update or create a Vacay_user_colors. + * @example + * // Update or create a Vacay_user_colors + * const vacay_user_colors = await prisma.vacay_user_colors.upsert({ + * create: { + * // ... data to create a Vacay_user_colors + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_user_colors we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_colorsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_user_colors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsCountArgs} args - Arguments to filter Vacay_user_colors to count. + * @example + * // Count the number of Vacay_user_colors + * const count = await prisma.vacay_user_colors.count({ + * where: { + * // ... the filter for the Vacay_user_colors we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_user_colors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_user_colorsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_user_colors. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_colorsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_user_colorsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_user_colorsGroupByArgs['orderBy'] } + : { orderBy?: vacay_user_colorsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_user_colorsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_user_colors model + */ +readonly fields: vacay_user_colorsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_user_colors. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_user_colorsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_user_colors model + */ +export interface vacay_user_colorsFieldRefs { + readonly id: Prisma.FieldRef<"vacay_user_colors", 'Int'> + readonly user_id: Prisma.FieldRef<"vacay_user_colors", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_user_colors", 'Int'> + readonly color: Prisma.FieldRef<"vacay_user_colors", 'String'> +} + + +// Custom InputTypes +/** + * vacay_user_colors findUnique + */ +export type vacay_user_colorsFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter, which vacay_user_colors to fetch. + */ + where: Prisma.vacay_user_colorsWhereUniqueInput +} + +/** + * vacay_user_colors findUniqueOrThrow + */ +export type vacay_user_colorsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter, which vacay_user_colors to fetch. + */ + where: Prisma.vacay_user_colorsWhereUniqueInput +} + +/** + * vacay_user_colors findFirst + */ +export type vacay_user_colorsFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter, which vacay_user_colors to fetch. + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_colors to fetch. + */ + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_user_colors. + */ + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_colors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_colors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_colors. + */ + distinct?: Prisma.Vacay_user_colorsScalarFieldEnum | Prisma.Vacay_user_colorsScalarFieldEnum[] +} + +/** + * vacay_user_colors findFirstOrThrow + */ +export type vacay_user_colorsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter, which vacay_user_colors to fetch. + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_colors to fetch. + */ + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_user_colors. + */ + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_colors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_colors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_colors. + */ + distinct?: Prisma.Vacay_user_colorsScalarFieldEnum | Prisma.Vacay_user_colorsScalarFieldEnum[] +} + +/** + * vacay_user_colors findMany + */ +export type vacay_user_colorsFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter, which vacay_user_colors to fetch. + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_colors to fetch. + */ + orderBy?: Prisma.vacay_user_colorsOrderByWithRelationInput | Prisma.vacay_user_colorsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_user_colors. + */ + cursor?: Prisma.vacay_user_colorsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_colors from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_colors. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_colors. + */ + distinct?: Prisma.Vacay_user_colorsScalarFieldEnum | Prisma.Vacay_user_colorsScalarFieldEnum[] +} + +/** + * vacay_user_colors create + */ +export type vacay_user_colorsCreateArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * The data needed to create a vacay_user_colors. + */ + data: Prisma.XOR +} + +/** + * vacay_user_colors createMany + */ +export type vacay_user_colorsCreateManyArgs = { + /** + * The data used to create many vacay_user_colors. + */ + data: Prisma.vacay_user_colorsCreateManyInput | Prisma.vacay_user_colorsCreateManyInput[] +} + +/** + * vacay_user_colors createManyAndReturn + */ +export type vacay_user_colorsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * The data used to create many vacay_user_colors. + */ + data: Prisma.vacay_user_colorsCreateManyInput | Prisma.vacay_user_colorsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsIncludeCreateManyAndReturn | null +} + +/** + * vacay_user_colors update + */ +export type vacay_user_colorsUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * The data needed to update a vacay_user_colors. + */ + data: Prisma.XOR + /** + * Choose, which vacay_user_colors to update. + */ + where: Prisma.vacay_user_colorsWhereUniqueInput +} + +/** + * vacay_user_colors updateMany + */ +export type vacay_user_colorsUpdateManyArgs = { + /** + * The data used to update vacay_user_colors. + */ + data: Prisma.XOR + /** + * Filter which vacay_user_colors to update + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * Limit how many vacay_user_colors to update. + */ + limit?: number +} + +/** + * vacay_user_colors updateManyAndReturn + */ +export type vacay_user_colorsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * The data used to update vacay_user_colors. + */ + data: Prisma.XOR + /** + * Filter which vacay_user_colors to update + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * Limit how many vacay_user_colors to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsIncludeUpdateManyAndReturn | null +} + +/** + * vacay_user_colors upsert + */ +export type vacay_user_colorsUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * The filter to search for the vacay_user_colors to update in case it exists. + */ + where: Prisma.vacay_user_colorsWhereUniqueInput + /** + * In case the vacay_user_colors found by the `where` argument doesn't exist, create a new vacay_user_colors with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_user_colors was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_user_colors delete + */ +export type vacay_user_colorsDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null + /** + * Filter which vacay_user_colors to delete. + */ + where: Prisma.vacay_user_colorsWhereUniqueInput +} + +/** + * vacay_user_colors deleteMany + */ +export type vacay_user_colorsDeleteManyArgs = { + /** + * Filter which vacay_user_colors to delete + */ + where?: Prisma.vacay_user_colorsWhereInput + /** + * Limit how many vacay_user_colors to delete. + */ + limit?: number +} + +/** + * vacay_user_colors without action + */ +export type vacay_user_colorsDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_user_colors + */ + select?: Prisma.vacay_user_colorsSelect | null + /** + * Omit specific fields from the vacay_user_colors + */ + omit?: Prisma.vacay_user_colorsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_colorsInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_user_years.ts b/server/src/generated/prisma/models/vacay_user_years.ts new file mode 100644 index 00000000..bce7161d --- /dev/null +++ b/server/src/generated/prisma/models/vacay_user_years.ts @@ -0,0 +1,1576 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_user_years` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_user_years + * + */ +export type vacay_user_yearsModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_user_years = { + _count: Vacay_user_yearsCountAggregateOutputType | null + _avg: Vacay_user_yearsAvgAggregateOutputType | null + _sum: Vacay_user_yearsSumAggregateOutputType | null + _min: Vacay_user_yearsMinAggregateOutputType | null + _max: Vacay_user_yearsMaxAggregateOutputType | null +} + +export type Vacay_user_yearsAvgAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + year: number | null + vacation_days: number | null + carried_over: number | null +} + +export type Vacay_user_yearsSumAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + year: number | null + vacation_days: number | null + carried_over: number | null +} + +export type Vacay_user_yearsMinAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + year: number | null + vacation_days: number | null + carried_over: number | null +} + +export type Vacay_user_yearsMaxAggregateOutputType = { + id: number | null + user_id: number | null + plan_id: number | null + year: number | null + vacation_days: number | null + carried_over: number | null +} + +export type Vacay_user_yearsCountAggregateOutputType = { + id: number + user_id: number + plan_id: number + year: number + vacation_days: number + carried_over: number + _all: number +} + + +export type Vacay_user_yearsAvgAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + year?: true + vacation_days?: true + carried_over?: true +} + +export type Vacay_user_yearsSumAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + year?: true + vacation_days?: true + carried_over?: true +} + +export type Vacay_user_yearsMinAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + year?: true + vacation_days?: true + carried_over?: true +} + +export type Vacay_user_yearsMaxAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + year?: true + vacation_days?: true + carried_over?: true +} + +export type Vacay_user_yearsCountAggregateInputType = { + id?: true + user_id?: true + plan_id?: true + year?: true + vacation_days?: true + carried_over?: true + _all?: true +} + +export type Vacay_user_yearsAggregateArgs = { + /** + * Filter which vacay_user_years to aggregate. + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_years to fetch. + */ + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_user_years + **/ + _count?: true | Vacay_user_yearsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_user_yearsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_user_yearsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_user_yearsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_user_yearsMaxAggregateInputType +} + +export type GetVacay_user_yearsAggregateType = { + [P in keyof T & keyof AggregateVacay_user_years]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_user_yearsGroupByArgs = { + where?: Prisma.vacay_user_yearsWhereInput + orderBy?: Prisma.vacay_user_yearsOrderByWithAggregationInput | Prisma.vacay_user_yearsOrderByWithAggregationInput[] + by: Prisma.Vacay_user_yearsScalarFieldEnum[] | Prisma.Vacay_user_yearsScalarFieldEnum + having?: Prisma.vacay_user_yearsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_user_yearsCountAggregateInputType | true + _avg?: Vacay_user_yearsAvgAggregateInputType + _sum?: Vacay_user_yearsSumAggregateInputType + _min?: Vacay_user_yearsMinAggregateInputType + _max?: Vacay_user_yearsMaxAggregateInputType +} + +export type Vacay_user_yearsGroupByOutputType = { + id: number + user_id: number + plan_id: number + year: number + vacation_days: number | null + carried_over: number | null + _count: Vacay_user_yearsCountAggregateOutputType | null + _avg: Vacay_user_yearsAvgAggregateOutputType | null + _sum: Vacay_user_yearsSumAggregateOutputType | null + _min: Vacay_user_yearsMinAggregateOutputType | null + _max: Vacay_user_yearsMaxAggregateOutputType | null +} + +export type GetVacay_user_yearsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_user_yearsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_user_yearsWhereInput = { + AND?: Prisma.vacay_user_yearsWhereInput | Prisma.vacay_user_yearsWhereInput[] + OR?: Prisma.vacay_user_yearsWhereInput[] + NOT?: Prisma.vacay_user_yearsWhereInput | Prisma.vacay_user_yearsWhereInput[] + id?: Prisma.IntFilter<"vacay_user_years"> | number + user_id?: Prisma.IntFilter<"vacay_user_years"> | number + plan_id?: Prisma.IntFilter<"vacay_user_years"> | number + year?: Prisma.IntFilter<"vacay_user_years"> | number + vacation_days?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null + carried_over?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null + vacay_plans?: Prisma.XOR + users?: Prisma.XOR +} + +export type vacay_user_yearsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrderInput | Prisma.SortOrder + carried_over?: Prisma.SortOrderInput | Prisma.SortOrder + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput + users?: Prisma.usersOrderByWithRelationInput +} + +export type vacay_user_yearsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_plan_id_year?: Prisma.vacay_user_yearsUser_idPlan_idYearCompoundUniqueInput + AND?: Prisma.vacay_user_yearsWhereInput | Prisma.vacay_user_yearsWhereInput[] + OR?: Prisma.vacay_user_yearsWhereInput[] + NOT?: Prisma.vacay_user_yearsWhereInput | Prisma.vacay_user_yearsWhereInput[] + user_id?: Prisma.IntFilter<"vacay_user_years"> | number + plan_id?: Prisma.IntFilter<"vacay_user_years"> | number + year?: Prisma.IntFilter<"vacay_user_years"> | number + vacation_days?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null + carried_over?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null + vacay_plans?: Prisma.XOR + users?: Prisma.XOR +}, "id" | "user_id_plan_id_year"> + +export type vacay_user_yearsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrderInput | Prisma.SortOrder + carried_over?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.vacay_user_yearsCountOrderByAggregateInput + _avg?: Prisma.vacay_user_yearsAvgOrderByAggregateInput + _max?: Prisma.vacay_user_yearsMaxOrderByAggregateInput + _min?: Prisma.vacay_user_yearsMinOrderByAggregateInput + _sum?: Prisma.vacay_user_yearsSumOrderByAggregateInput +} + +export type vacay_user_yearsScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_user_yearsScalarWhereWithAggregatesInput | Prisma.vacay_user_yearsScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_user_yearsScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_user_yearsScalarWhereWithAggregatesInput | Prisma.vacay_user_yearsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_user_years"> | number + user_id?: Prisma.IntWithAggregatesFilter<"vacay_user_years"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_user_years"> | number + year?: Prisma.IntWithAggregatesFilter<"vacay_user_years"> | number + vacation_days?: Prisma.IntNullableWithAggregatesFilter<"vacay_user_years"> | number | null + carried_over?: Prisma.IntNullableWithAggregatesFilter<"vacay_user_years"> | number | null +} + +export type vacay_user_yearsCreateInput = { + year: number + vacation_days?: number | null + carried_over?: number | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_user_yearsInput + users: Prisma.usersCreateNestedOneWithoutVacay_user_yearsInput +} + +export type vacay_user_yearsUncheckedCreateInput = { + id?: number + user_id: number + plan_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsUpdateInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_user_yearsNestedInput + users?: Prisma.usersUpdateOneRequiredWithoutVacay_user_yearsNestedInput +} + +export type vacay_user_yearsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type vacay_user_yearsCreateManyInput = { + id?: number + user_id: number + plan_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsUpdateManyMutationInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type vacay_user_yearsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type Vacay_user_yearsListRelationFilter = { + every?: Prisma.vacay_user_yearsWhereInput + some?: Prisma.vacay_user_yearsWhereInput + none?: Prisma.vacay_user_yearsWhereInput +} + +export type vacay_user_yearsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_user_yearsUser_idPlan_idYearCompoundUniqueInput = { + user_id: number + plan_id: number + year: number +} + +export type vacay_user_yearsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrder + carried_over?: Prisma.SortOrder +} + +export type vacay_user_yearsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrder + carried_over?: Prisma.SortOrder +} + +export type vacay_user_yearsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrder + carried_over?: Prisma.SortOrder +} + +export type vacay_user_yearsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrder + carried_over?: Prisma.SortOrder +} + +export type vacay_user_yearsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacation_days?: Prisma.SortOrder + carried_over?: Prisma.SortOrder +} + +export type vacay_user_yearsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutUsersInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_user_yearsCreateManyUsersInputEnvelope + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] +} + +export type vacay_user_yearsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutUsersInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.vacay_user_yearsCreateManyUsersInputEnvelope + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] +} + +export type vacay_user_yearsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutUsersInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_user_yearsCreateManyUsersInputEnvelope + set?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + delete?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + update?: Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_user_yearsUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_user_yearsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] +} + +export type vacay_user_yearsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutUsersInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput | Prisma.vacay_user_yearsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.vacay_user_yearsCreateManyUsersInputEnvelope + set?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + delete?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + update?: Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutUsersInput | Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.vacay_user_yearsUpdateManyWithWhereWithoutUsersInput | Prisma.vacay_user_yearsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] +} + +export type vacay_user_yearsCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_yearsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] +} + +export type vacay_user_yearsUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_yearsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] +} + +export type vacay_user_yearsUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_yearsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + delete?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + update?: Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_user_yearsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_user_yearsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] +} + +export type vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_user_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_user_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_user_yearsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_yearsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_user_yearsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + delete?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + connect?: Prisma.vacay_user_yearsWhereUniqueInput | Prisma.vacay_user_yearsWhereUniqueInput[] + update?: Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_user_yearsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_user_yearsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_user_yearsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] +} + +export type vacay_user_yearsCreateWithoutUsersInput = { + year: number + vacation_days?: number | null + carried_over?: number | null + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_user_yearsInput +} + +export type vacay_user_yearsUncheckedCreateWithoutUsersInput = { + id?: number + plan_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsCreateOrConnectWithoutUsersInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_user_yearsCreateManyUsersInputEnvelope = { + data: Prisma.vacay_user_yearsCreateManyUsersInput | Prisma.vacay_user_yearsCreateManyUsersInput[] +} + +export type vacay_user_yearsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_user_yearsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_user_yearsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.vacay_user_yearsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_user_yearsScalarWhereInput = { + AND?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] + OR?: Prisma.vacay_user_yearsScalarWhereInput[] + NOT?: Prisma.vacay_user_yearsScalarWhereInput | Prisma.vacay_user_yearsScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_user_years"> | number + user_id?: Prisma.IntFilter<"vacay_user_years"> | number + plan_id?: Prisma.IntFilter<"vacay_user_years"> | number + year?: Prisma.IntFilter<"vacay_user_years"> | number + vacation_days?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null + carried_over?: Prisma.IntNullableFilter<"vacay_user_years"> | number | null +} + +export type vacay_user_yearsCreateWithoutVacay_plansInput = { + year: number + vacation_days?: number | null + carried_over?: number | null + users: Prisma.usersCreateNestedOneWithoutVacay_user_yearsInput +} + +export type vacay_user_yearsUncheckedCreateWithoutVacay_plansInput = { + id?: number + user_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_user_yearsCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_user_yearsCreateManyVacay_plansInput | Prisma.vacay_user_yearsCreateManyVacay_plansInput[] +} + +export type vacay_user_yearsUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_user_yearsUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_user_yearsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_user_yearsUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_user_yearsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_user_yearsCreateManyUsersInput = { + id?: number + plan_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsUpdateWithoutUsersInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_user_yearsNestedInput +} + +export type vacay_user_yearsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type vacay_user_yearsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type vacay_user_yearsCreateManyVacay_plansInput = { + id?: number + user_id: number + year: number + vacation_days?: number | null + carried_over?: number | null +} + +export type vacay_user_yearsUpdateWithoutVacay_plansInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + users?: Prisma.usersUpdateOneRequiredWithoutVacay_user_yearsNestedInput +} + +export type vacay_user_yearsUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + +export type vacay_user_yearsUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number + vacation_days?: Prisma.NullableIntFieldUpdateOperationsInput | number | null + carried_over?: Prisma.NullableIntFieldUpdateOperationsInput | number | null +} + + + +export type vacay_user_yearsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + year?: boolean + vacation_days?: boolean + carried_over?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_years"]> + +export type vacay_user_yearsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + year?: boolean + vacation_days?: boolean + carried_over?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_years"]> + +export type vacay_user_yearsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + plan_id?: boolean + year?: boolean + vacation_days?: boolean + carried_over?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["vacay_user_years"]> + +export type vacay_user_yearsSelectScalar = { + id?: boolean + user_id?: boolean + plan_id?: boolean + year?: boolean + vacation_days?: boolean + carried_over?: boolean +} + +export type vacay_user_yearsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "plan_id" | "year" | "vacation_days" | "carried_over", ExtArgs["result"]["vacay_user_years"]> +export type vacay_user_yearsInclude = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} +export type vacay_user_yearsIncludeCreateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} +export type vacay_user_yearsIncludeUpdateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs + users?: boolean | Prisma.usersDefaultArgs +} + +export type $vacay_user_yearsPayload = { + name: "vacay_user_years" + objects: { + vacay_plans: Prisma.$vacay_plansPayload + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + plan_id: number + year: number + vacation_days: number | null + carried_over: number | null + }, ExtArgs["result"]["vacay_user_years"]> + composites: {} +} + +export type vacay_user_yearsGetPayload = runtime.Types.Result.GetResult + +export type vacay_user_yearsCountArgs = + Omit & { + select?: Vacay_user_yearsCountAggregateInputType | true + } + +export interface vacay_user_yearsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_user_years'], meta: { name: 'vacay_user_years' } } + /** + * Find zero or one Vacay_user_years that matches the filter. + * @param {vacay_user_yearsFindUniqueArgs} args - Arguments to find a Vacay_user_years + * @example + * // Get one Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_user_years that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_user_yearsFindUniqueOrThrowArgs} args - Arguments to find a Vacay_user_years + * @example + * // Get one Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_user_years that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsFindFirstArgs} args - Arguments to find a Vacay_user_years + * @example + * // Get one Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_user_years that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsFindFirstOrThrowArgs} args - Arguments to find a Vacay_user_years + * @example + * // Get one Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_user_years that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findMany() + * + * // Get first 10 Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_user_yearsWithIdOnly = await prisma.vacay_user_years.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_user_years. + * @param {vacay_user_yearsCreateArgs} args - Arguments to create a Vacay_user_years. + * @example + * // Create one Vacay_user_years + * const Vacay_user_years = await prisma.vacay_user_years.create({ + * data: { + * // ... data to create a Vacay_user_years + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_user_years. + * @param {vacay_user_yearsCreateManyArgs} args - Arguments to create many Vacay_user_years. + * @example + * // Create many Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_user_years and returns the data saved in the database. + * @param {vacay_user_yearsCreateManyAndReturnArgs} args - Arguments to create many Vacay_user_years. + * @example + * // Create many Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_user_years and only return the `id` + * const vacay_user_yearsWithIdOnly = await prisma.vacay_user_years.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_user_years. + * @param {vacay_user_yearsDeleteArgs} args - Arguments to delete one Vacay_user_years. + * @example + * // Delete one Vacay_user_years + * const Vacay_user_years = await prisma.vacay_user_years.delete({ + * where: { + * // ... filter to delete one Vacay_user_years + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_user_years. + * @param {vacay_user_yearsUpdateArgs} args - Arguments to update one Vacay_user_years. + * @example + * // Update one Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_user_years. + * @param {vacay_user_yearsDeleteManyArgs} args - Arguments to filter Vacay_user_years to delete. + * @example + * // Delete a few Vacay_user_years + * const { count } = await prisma.vacay_user_years.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_user_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_user_years and returns the data updated in the database. + * @param {vacay_user_yearsUpdateManyAndReturnArgs} args - Arguments to update many Vacay_user_years. + * @example + * // Update many Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_user_years and only return the `id` + * const vacay_user_yearsWithIdOnly = await prisma.vacay_user_years.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_user_years. + * @param {vacay_user_yearsUpsertArgs} args - Arguments to update or create a Vacay_user_years. + * @example + * // Update or create a Vacay_user_years + * const vacay_user_years = await prisma.vacay_user_years.upsert({ + * create: { + * // ... data to create a Vacay_user_years + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_user_years we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_user_yearsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_user_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsCountArgs} args - Arguments to filter Vacay_user_years to count. + * @example + * // Count the number of Vacay_user_years + * const count = await prisma.vacay_user_years.count({ + * where: { + * // ... the filter for the Vacay_user_years we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_user_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_user_yearsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_user_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_user_yearsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_user_yearsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_user_yearsGroupByArgs['orderBy'] } + : { orderBy?: vacay_user_yearsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_user_yearsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_user_years model + */ +readonly fields: vacay_user_yearsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_user_years. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_user_yearsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_user_years model + */ +export interface vacay_user_yearsFieldRefs { + readonly id: Prisma.FieldRef<"vacay_user_years", 'Int'> + readonly user_id: Prisma.FieldRef<"vacay_user_years", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_user_years", 'Int'> + readonly year: Prisma.FieldRef<"vacay_user_years", 'Int'> + readonly vacation_days: Prisma.FieldRef<"vacay_user_years", 'Int'> + readonly carried_over: Prisma.FieldRef<"vacay_user_years", 'Int'> +} + + +// Custom InputTypes +/** + * vacay_user_years findUnique + */ +export type vacay_user_yearsFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter, which vacay_user_years to fetch. + */ + where: Prisma.vacay_user_yearsWhereUniqueInput +} + +/** + * vacay_user_years findUniqueOrThrow + */ +export type vacay_user_yearsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter, which vacay_user_years to fetch. + */ + where: Prisma.vacay_user_yearsWhereUniqueInput +} + +/** + * vacay_user_years findFirst + */ +export type vacay_user_yearsFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter, which vacay_user_years to fetch. + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_years to fetch. + */ + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_user_years. + */ + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_years. + */ + distinct?: Prisma.Vacay_user_yearsScalarFieldEnum | Prisma.Vacay_user_yearsScalarFieldEnum[] +} + +/** + * vacay_user_years findFirstOrThrow + */ +export type vacay_user_yearsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter, which vacay_user_years to fetch. + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_years to fetch. + */ + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_user_years. + */ + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_years. + */ + distinct?: Prisma.Vacay_user_yearsScalarFieldEnum | Prisma.Vacay_user_yearsScalarFieldEnum[] +} + +/** + * vacay_user_years findMany + */ +export type vacay_user_yearsFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter, which vacay_user_years to fetch. + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_user_years to fetch. + */ + orderBy?: Prisma.vacay_user_yearsOrderByWithRelationInput | Prisma.vacay_user_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_user_years. + */ + cursor?: Prisma.vacay_user_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_user_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_user_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_user_years. + */ + distinct?: Prisma.Vacay_user_yearsScalarFieldEnum | Prisma.Vacay_user_yearsScalarFieldEnum[] +} + +/** + * vacay_user_years create + */ +export type vacay_user_yearsCreateArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * The data needed to create a vacay_user_years. + */ + data: Prisma.XOR +} + +/** + * vacay_user_years createMany + */ +export type vacay_user_yearsCreateManyArgs = { + /** + * The data used to create many vacay_user_years. + */ + data: Prisma.vacay_user_yearsCreateManyInput | Prisma.vacay_user_yearsCreateManyInput[] +} + +/** + * vacay_user_years createManyAndReturn + */ +export type vacay_user_yearsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * The data used to create many vacay_user_years. + */ + data: Prisma.vacay_user_yearsCreateManyInput | Prisma.vacay_user_yearsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsIncludeCreateManyAndReturn | null +} + +/** + * vacay_user_years update + */ +export type vacay_user_yearsUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * The data needed to update a vacay_user_years. + */ + data: Prisma.XOR + /** + * Choose, which vacay_user_years to update. + */ + where: Prisma.vacay_user_yearsWhereUniqueInput +} + +/** + * vacay_user_years updateMany + */ +export type vacay_user_yearsUpdateManyArgs = { + /** + * The data used to update vacay_user_years. + */ + data: Prisma.XOR + /** + * Filter which vacay_user_years to update + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * Limit how many vacay_user_years to update. + */ + limit?: number +} + +/** + * vacay_user_years updateManyAndReturn + */ +export type vacay_user_yearsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * The data used to update vacay_user_years. + */ + data: Prisma.XOR + /** + * Filter which vacay_user_years to update + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * Limit how many vacay_user_years to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsIncludeUpdateManyAndReturn | null +} + +/** + * vacay_user_years upsert + */ +export type vacay_user_yearsUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * The filter to search for the vacay_user_years to update in case it exists. + */ + where: Prisma.vacay_user_yearsWhereUniqueInput + /** + * In case the vacay_user_years found by the `where` argument doesn't exist, create a new vacay_user_years with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_user_years was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_user_years delete + */ +export type vacay_user_yearsDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null + /** + * Filter which vacay_user_years to delete. + */ + where: Prisma.vacay_user_yearsWhereUniqueInput +} + +/** + * vacay_user_years deleteMany + */ +export type vacay_user_yearsDeleteManyArgs = { + /** + * Filter which vacay_user_years to delete + */ + where?: Prisma.vacay_user_yearsWhereInput + /** + * Limit how many vacay_user_years to delete. + */ + limit?: number +} + +/** + * vacay_user_years without action + */ +export type vacay_user_yearsDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_user_years + */ + select?: Prisma.vacay_user_yearsSelect | null + /** + * Omit specific fields from the vacay_user_years + */ + omit?: Prisma.vacay_user_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_user_yearsInclude | null +} diff --git a/server/src/generated/prisma/models/vacay_years.ts b/server/src/generated/prisma/models/vacay_years.ts new file mode 100644 index 00000000..767d6046 --- /dev/null +++ b/server/src/generated/prisma/models/vacay_years.ts @@ -0,0 +1,1329 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `vacay_years` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model vacay_years + * + */ +export type vacay_yearsModel = runtime.Types.Result.DefaultSelection + +export type AggregateVacay_years = { + _count: Vacay_yearsCountAggregateOutputType | null + _avg: Vacay_yearsAvgAggregateOutputType | null + _sum: Vacay_yearsSumAggregateOutputType | null + _min: Vacay_yearsMinAggregateOutputType | null + _max: Vacay_yearsMaxAggregateOutputType | null +} + +export type Vacay_yearsAvgAggregateOutputType = { + id: number | null + plan_id: number | null + year: number | null +} + +export type Vacay_yearsSumAggregateOutputType = { + id: number | null + plan_id: number | null + year: number | null +} + +export type Vacay_yearsMinAggregateOutputType = { + id: number | null + plan_id: number | null + year: number | null +} + +export type Vacay_yearsMaxAggregateOutputType = { + id: number | null + plan_id: number | null + year: number | null +} + +export type Vacay_yearsCountAggregateOutputType = { + id: number + plan_id: number + year: number + _all: number +} + + +export type Vacay_yearsAvgAggregateInputType = { + id?: true + plan_id?: true + year?: true +} + +export type Vacay_yearsSumAggregateInputType = { + id?: true + plan_id?: true + year?: true +} + +export type Vacay_yearsMinAggregateInputType = { + id?: true + plan_id?: true + year?: true +} + +export type Vacay_yearsMaxAggregateInputType = { + id?: true + plan_id?: true + year?: true +} + +export type Vacay_yearsCountAggregateInputType = { + id?: true + plan_id?: true + year?: true + _all?: true +} + +export type Vacay_yearsAggregateArgs = { + /** + * Filter which vacay_years to aggregate. + */ + where?: Prisma.vacay_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_years to fetch. + */ + orderBy?: Prisma.vacay_yearsOrderByWithRelationInput | Prisma.vacay_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.vacay_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned vacay_years + **/ + _count?: true | Vacay_yearsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Vacay_yearsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Vacay_yearsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Vacay_yearsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Vacay_yearsMaxAggregateInputType +} + +export type GetVacay_yearsAggregateType = { + [P in keyof T & keyof AggregateVacay_years]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type vacay_yearsGroupByArgs = { + where?: Prisma.vacay_yearsWhereInput + orderBy?: Prisma.vacay_yearsOrderByWithAggregationInput | Prisma.vacay_yearsOrderByWithAggregationInput[] + by: Prisma.Vacay_yearsScalarFieldEnum[] | Prisma.Vacay_yearsScalarFieldEnum + having?: Prisma.vacay_yearsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Vacay_yearsCountAggregateInputType | true + _avg?: Vacay_yearsAvgAggregateInputType + _sum?: Vacay_yearsSumAggregateInputType + _min?: Vacay_yearsMinAggregateInputType + _max?: Vacay_yearsMaxAggregateInputType +} + +export type Vacay_yearsGroupByOutputType = { + id: number + plan_id: number + year: number + _count: Vacay_yearsCountAggregateOutputType | null + _avg: Vacay_yearsAvgAggregateOutputType | null + _sum: Vacay_yearsSumAggregateOutputType | null + _min: Vacay_yearsMinAggregateOutputType | null + _max: Vacay_yearsMaxAggregateOutputType | null +} + +export type GetVacay_yearsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Vacay_yearsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type vacay_yearsWhereInput = { + AND?: Prisma.vacay_yearsWhereInput | Prisma.vacay_yearsWhereInput[] + OR?: Prisma.vacay_yearsWhereInput[] + NOT?: Prisma.vacay_yearsWhereInput | Prisma.vacay_yearsWhereInput[] + id?: Prisma.IntFilter<"vacay_years"> | number + plan_id?: Prisma.IntFilter<"vacay_years"> | number + year?: Prisma.IntFilter<"vacay_years"> | number + vacay_plans?: Prisma.XOR +} + +export type vacay_yearsOrderByWithRelationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + vacay_plans?: Prisma.vacay_plansOrderByWithRelationInput +} + +export type vacay_yearsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + plan_id_year?: Prisma.vacay_yearsPlan_idYearCompoundUniqueInput + AND?: Prisma.vacay_yearsWhereInput | Prisma.vacay_yearsWhereInput[] + OR?: Prisma.vacay_yearsWhereInput[] + NOT?: Prisma.vacay_yearsWhereInput | Prisma.vacay_yearsWhereInput[] + plan_id?: Prisma.IntFilter<"vacay_years"> | number + year?: Prisma.IntFilter<"vacay_years"> | number + vacay_plans?: Prisma.XOR +}, "id" | "plan_id_year"> + +export type vacay_yearsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder + _count?: Prisma.vacay_yearsCountOrderByAggregateInput + _avg?: Prisma.vacay_yearsAvgOrderByAggregateInput + _max?: Prisma.vacay_yearsMaxOrderByAggregateInput + _min?: Prisma.vacay_yearsMinOrderByAggregateInput + _sum?: Prisma.vacay_yearsSumOrderByAggregateInput +} + +export type vacay_yearsScalarWhereWithAggregatesInput = { + AND?: Prisma.vacay_yearsScalarWhereWithAggregatesInput | Prisma.vacay_yearsScalarWhereWithAggregatesInput[] + OR?: Prisma.vacay_yearsScalarWhereWithAggregatesInput[] + NOT?: Prisma.vacay_yearsScalarWhereWithAggregatesInput | Prisma.vacay_yearsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"vacay_years"> | number + plan_id?: Prisma.IntWithAggregatesFilter<"vacay_years"> | number + year?: Prisma.IntWithAggregatesFilter<"vacay_years"> | number +} + +export type vacay_yearsCreateInput = { + year: number + vacay_plans: Prisma.vacay_plansCreateNestedOneWithoutVacay_yearsInput +} + +export type vacay_yearsUncheckedCreateInput = { + id?: number + plan_id: number + year: number +} + +export type vacay_yearsUpdateInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number + vacay_plans?: Prisma.vacay_plansUpdateOneRequiredWithoutVacay_yearsNestedInput +} + +export type vacay_yearsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_yearsCreateManyInput = { + id?: number + plan_id: number + year: number +} + +export type vacay_yearsUpdateManyMutationInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_yearsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + plan_id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type Vacay_yearsListRelationFilter = { + every?: Prisma.vacay_yearsWhereInput + some?: Prisma.vacay_yearsWhereInput + none?: Prisma.vacay_yearsWhereInput +} + +export type vacay_yearsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type vacay_yearsPlan_idYearCompoundUniqueInput = { + plan_id: number + year: number +} + +export type vacay_yearsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder +} + +export type vacay_yearsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder +} + +export type vacay_yearsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder +} + +export type vacay_yearsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder +} + +export type vacay_yearsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + plan_id?: Prisma.SortOrder + year?: Prisma.SortOrder +} + +export type vacay_yearsCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_yearsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] +} + +export type vacay_yearsUncheckedCreateNestedManyWithoutVacay_plansInput = { + create?: Prisma.XOR | Prisma.vacay_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput[] + createMany?: Prisma.vacay_yearsCreateManyVacay_plansInputEnvelope + connect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] +} + +export type vacay_yearsUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_yearsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_yearsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_yearsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + delete?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + connect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + update?: Prisma.vacay_yearsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_yearsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_yearsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_yearsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_yearsScalarWhereInput | Prisma.vacay_yearsScalarWhereInput[] +} + +export type vacay_yearsUncheckedUpdateManyWithoutVacay_plansNestedInput = { + create?: Prisma.XOR | Prisma.vacay_yearsCreateWithoutVacay_plansInput[] | Prisma.vacay_yearsUncheckedCreateWithoutVacay_plansInput[] + connectOrCreate?: Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput | Prisma.vacay_yearsCreateOrConnectWithoutVacay_plansInput[] + upsert?: Prisma.vacay_yearsUpsertWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_yearsUpsertWithWhereUniqueWithoutVacay_plansInput[] + createMany?: Prisma.vacay_yearsCreateManyVacay_plansInputEnvelope + set?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + disconnect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + delete?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + connect?: Prisma.vacay_yearsWhereUniqueInput | Prisma.vacay_yearsWhereUniqueInput[] + update?: Prisma.vacay_yearsUpdateWithWhereUniqueWithoutVacay_plansInput | Prisma.vacay_yearsUpdateWithWhereUniqueWithoutVacay_plansInput[] + updateMany?: Prisma.vacay_yearsUpdateManyWithWhereWithoutVacay_plansInput | Prisma.vacay_yearsUpdateManyWithWhereWithoutVacay_plansInput[] + deleteMany?: Prisma.vacay_yearsScalarWhereInput | Prisma.vacay_yearsScalarWhereInput[] +} + +export type vacay_yearsCreateWithoutVacay_plansInput = { + year: number +} + +export type vacay_yearsUncheckedCreateWithoutVacay_plansInput = { + id?: number + year: number +} + +export type vacay_yearsCreateOrConnectWithoutVacay_plansInput = { + where: Prisma.vacay_yearsWhereUniqueInput + create: Prisma.XOR +} + +export type vacay_yearsCreateManyVacay_plansInputEnvelope = { + data: Prisma.vacay_yearsCreateManyVacay_plansInput | Prisma.vacay_yearsCreateManyVacay_plansInput[] +} + +export type vacay_yearsUpsertWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_yearsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type vacay_yearsUpdateWithWhereUniqueWithoutVacay_plansInput = { + where: Prisma.vacay_yearsWhereUniqueInput + data: Prisma.XOR +} + +export type vacay_yearsUpdateManyWithWhereWithoutVacay_plansInput = { + where: Prisma.vacay_yearsScalarWhereInput + data: Prisma.XOR +} + +export type vacay_yearsScalarWhereInput = { + AND?: Prisma.vacay_yearsScalarWhereInput | Prisma.vacay_yearsScalarWhereInput[] + OR?: Prisma.vacay_yearsScalarWhereInput[] + NOT?: Prisma.vacay_yearsScalarWhereInput | Prisma.vacay_yearsScalarWhereInput[] + id?: Prisma.IntFilter<"vacay_years"> | number + plan_id?: Prisma.IntFilter<"vacay_years"> | number + year?: Prisma.IntFilter<"vacay_years"> | number +} + +export type vacay_yearsCreateManyVacay_plansInput = { + id?: number + year: number +} + +export type vacay_yearsUpdateWithoutVacay_plansInput = { + year?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_yearsUncheckedUpdateWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number +} + +export type vacay_yearsUncheckedUpdateManyWithoutVacay_plansInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + year?: Prisma.IntFieldUpdateOperationsInput | number +} + + + +export type vacay_yearsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + year?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_years"]> + +export type vacay_yearsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + year?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_years"]> + +export type vacay_yearsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + plan_id?: boolean + year?: boolean + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +}, ExtArgs["result"]["vacay_years"]> + +export type vacay_yearsSelectScalar = { + id?: boolean + plan_id?: boolean + year?: boolean +} + +export type vacay_yearsOmit = runtime.Types.Extensions.GetOmit<"id" | "plan_id" | "year", ExtArgs["result"]["vacay_years"]> +export type vacay_yearsInclude = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_yearsIncludeCreateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} +export type vacay_yearsIncludeUpdateManyAndReturn = { + vacay_plans?: boolean | Prisma.vacay_plansDefaultArgs +} + +export type $vacay_yearsPayload = { + name: "vacay_years" + objects: { + vacay_plans: Prisma.$vacay_plansPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + plan_id: number + year: number + }, ExtArgs["result"]["vacay_years"]> + composites: {} +} + +export type vacay_yearsGetPayload = runtime.Types.Result.GetResult + +export type vacay_yearsCountArgs = + Omit & { + select?: Vacay_yearsCountAggregateInputType | true + } + +export interface vacay_yearsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['vacay_years'], meta: { name: 'vacay_years' } } + /** + * Find zero or one Vacay_years that matches the filter. + * @param {vacay_yearsFindUniqueArgs} args - Arguments to find a Vacay_years + * @example + * // Get one Vacay_years + * const vacay_years = await prisma.vacay_years.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Vacay_years that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {vacay_yearsFindUniqueOrThrowArgs} args - Arguments to find a Vacay_years + * @example + * // Get one Vacay_years + * const vacay_years = await prisma.vacay_years.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_years that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsFindFirstArgs} args - Arguments to find a Vacay_years + * @example + * // Get one Vacay_years + * const vacay_years = await prisma.vacay_years.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Vacay_years that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsFindFirstOrThrowArgs} args - Arguments to find a Vacay_years + * @example + * // Get one Vacay_years + * const vacay_years = await prisma.vacay_years.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Vacay_years that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Vacay_years + * const vacay_years = await prisma.vacay_years.findMany() + * + * // Get first 10 Vacay_years + * const vacay_years = await prisma.vacay_years.findMany({ take: 10 }) + * + * // Only select the `id` + * const vacay_yearsWithIdOnly = await prisma.vacay_years.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Vacay_years. + * @param {vacay_yearsCreateArgs} args - Arguments to create a Vacay_years. + * @example + * // Create one Vacay_years + * const Vacay_years = await prisma.vacay_years.create({ + * data: { + * // ... data to create a Vacay_years + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Vacay_years. + * @param {vacay_yearsCreateManyArgs} args - Arguments to create many Vacay_years. + * @example + * // Create many Vacay_years + * const vacay_years = await prisma.vacay_years.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Vacay_years and returns the data saved in the database. + * @param {vacay_yearsCreateManyAndReturnArgs} args - Arguments to create many Vacay_years. + * @example + * // Create many Vacay_years + * const vacay_years = await prisma.vacay_years.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Vacay_years and only return the `id` + * const vacay_yearsWithIdOnly = await prisma.vacay_years.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Vacay_years. + * @param {vacay_yearsDeleteArgs} args - Arguments to delete one Vacay_years. + * @example + * // Delete one Vacay_years + * const Vacay_years = await prisma.vacay_years.delete({ + * where: { + * // ... filter to delete one Vacay_years + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Vacay_years. + * @param {vacay_yearsUpdateArgs} args - Arguments to update one Vacay_years. + * @example + * // Update one Vacay_years + * const vacay_years = await prisma.vacay_years.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Vacay_years. + * @param {vacay_yearsDeleteManyArgs} args - Arguments to filter Vacay_years to delete. + * @example + * // Delete a few Vacay_years + * const { count } = await prisma.vacay_years.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Vacay_years + * const vacay_years = await prisma.vacay_years.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Vacay_years and returns the data updated in the database. + * @param {vacay_yearsUpdateManyAndReturnArgs} args - Arguments to update many Vacay_years. + * @example + * // Update many Vacay_years + * const vacay_years = await prisma.vacay_years.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Vacay_years and only return the `id` + * const vacay_yearsWithIdOnly = await prisma.vacay_years.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Vacay_years. + * @param {vacay_yearsUpsertArgs} args - Arguments to update or create a Vacay_years. + * @example + * // Update or create a Vacay_years + * const vacay_years = await prisma.vacay_years.upsert({ + * create: { + * // ... data to create a Vacay_years + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Vacay_years we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__vacay_yearsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Vacay_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsCountArgs} args - Arguments to filter Vacay_years to count. + * @example + * // Count the number of Vacay_years + * const count = await prisma.vacay_years.count({ + * where: { + * // ... the filter for the Vacay_years we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Vacay_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Vacay_yearsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Vacay_years. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {vacay_yearsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends vacay_yearsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: vacay_yearsGroupByArgs['orderBy'] } + : { orderBy?: vacay_yearsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVacay_yearsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the vacay_years model + */ +readonly fields: vacay_yearsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for vacay_years. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__vacay_yearsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + vacay_plans = {}>(args?: Prisma.Subset>): Prisma.Prisma__vacay_plansClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the vacay_years model + */ +export interface vacay_yearsFieldRefs { + readonly id: Prisma.FieldRef<"vacay_years", 'Int'> + readonly plan_id: Prisma.FieldRef<"vacay_years", 'Int'> + readonly year: Prisma.FieldRef<"vacay_years", 'Int'> +} + + +// Custom InputTypes +/** + * vacay_years findUnique + */ +export type vacay_yearsFindUniqueArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter, which vacay_years to fetch. + */ + where: Prisma.vacay_yearsWhereUniqueInput +} + +/** + * vacay_years findUniqueOrThrow + */ +export type vacay_yearsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter, which vacay_years to fetch. + */ + where: Prisma.vacay_yearsWhereUniqueInput +} + +/** + * vacay_years findFirst + */ +export type vacay_yearsFindFirstArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter, which vacay_years to fetch. + */ + where?: Prisma.vacay_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_years to fetch. + */ + orderBy?: Prisma.vacay_yearsOrderByWithRelationInput | Prisma.vacay_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_years. + */ + cursor?: Prisma.vacay_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_years. + */ + distinct?: Prisma.Vacay_yearsScalarFieldEnum | Prisma.Vacay_yearsScalarFieldEnum[] +} + +/** + * vacay_years findFirstOrThrow + */ +export type vacay_yearsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter, which vacay_years to fetch. + */ + where?: Prisma.vacay_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_years to fetch. + */ + orderBy?: Prisma.vacay_yearsOrderByWithRelationInput | Prisma.vacay_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for vacay_years. + */ + cursor?: Prisma.vacay_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_years. + */ + distinct?: Prisma.Vacay_yearsScalarFieldEnum | Prisma.Vacay_yearsScalarFieldEnum[] +} + +/** + * vacay_years findMany + */ +export type vacay_yearsFindManyArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter, which vacay_years to fetch. + */ + where?: Prisma.vacay_yearsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of vacay_years to fetch. + */ + orderBy?: Prisma.vacay_yearsOrderByWithRelationInput | Prisma.vacay_yearsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing vacay_years. + */ + cursor?: Prisma.vacay_yearsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` vacay_years from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` vacay_years. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of vacay_years. + */ + distinct?: Prisma.Vacay_yearsScalarFieldEnum | Prisma.Vacay_yearsScalarFieldEnum[] +} + +/** + * vacay_years create + */ +export type vacay_yearsCreateArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * The data needed to create a vacay_years. + */ + data: Prisma.XOR +} + +/** + * vacay_years createMany + */ +export type vacay_yearsCreateManyArgs = { + /** + * The data used to create many vacay_years. + */ + data: Prisma.vacay_yearsCreateManyInput | Prisma.vacay_yearsCreateManyInput[] +} + +/** + * vacay_years createManyAndReturn + */ +export type vacay_yearsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * The data used to create many vacay_years. + */ + data: Prisma.vacay_yearsCreateManyInput | Prisma.vacay_yearsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsIncludeCreateManyAndReturn | null +} + +/** + * vacay_years update + */ +export type vacay_yearsUpdateArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * The data needed to update a vacay_years. + */ + data: Prisma.XOR + /** + * Choose, which vacay_years to update. + */ + where: Prisma.vacay_yearsWhereUniqueInput +} + +/** + * vacay_years updateMany + */ +export type vacay_yearsUpdateManyArgs = { + /** + * The data used to update vacay_years. + */ + data: Prisma.XOR + /** + * Filter which vacay_years to update + */ + where?: Prisma.vacay_yearsWhereInput + /** + * Limit how many vacay_years to update. + */ + limit?: number +} + +/** + * vacay_years updateManyAndReturn + */ +export type vacay_yearsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * The data used to update vacay_years. + */ + data: Prisma.XOR + /** + * Filter which vacay_years to update + */ + where?: Prisma.vacay_yearsWhereInput + /** + * Limit how many vacay_years to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsIncludeUpdateManyAndReturn | null +} + +/** + * vacay_years upsert + */ +export type vacay_yearsUpsertArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * The filter to search for the vacay_years to update in case it exists. + */ + where: Prisma.vacay_yearsWhereUniqueInput + /** + * In case the vacay_years found by the `where` argument doesn't exist, create a new vacay_years with this data. + */ + create: Prisma.XOR + /** + * In case the vacay_years was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * vacay_years delete + */ +export type vacay_yearsDeleteArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null + /** + * Filter which vacay_years to delete. + */ + where: Prisma.vacay_yearsWhereUniqueInput +} + +/** + * vacay_years deleteMany + */ +export type vacay_yearsDeleteManyArgs = { + /** + * Filter which vacay_years to delete + */ + where?: Prisma.vacay_yearsWhereInput + /** + * Limit how many vacay_years to delete. + */ + limit?: number +} + +/** + * vacay_years without action + */ +export type vacay_yearsDefaultArgs = { + /** + * Select specific fields to fetch from the vacay_years + */ + select?: Prisma.vacay_yearsSelect | null + /** + * Omit specific fields from the vacay_years + */ + omit?: Prisma.vacay_yearsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.vacay_yearsInclude | null +} diff --git a/server/src/generated/prisma/models/visited_countries.ts b/server/src/generated/prisma/models/visited_countries.ts new file mode 100644 index 00000000..aacfe196 --- /dev/null +++ b/server/src/generated/prisma/models/visited_countries.ts @@ -0,0 +1,1358 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `visited_countries` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model visited_countries + * + */ +export type visited_countriesModel = runtime.Types.Result.DefaultSelection + +export type AggregateVisited_countries = { + _count: Visited_countriesCountAggregateOutputType | null + _avg: Visited_countriesAvgAggregateOutputType | null + _sum: Visited_countriesSumAggregateOutputType | null + _min: Visited_countriesMinAggregateOutputType | null + _max: Visited_countriesMaxAggregateOutputType | null +} + +export type Visited_countriesAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Visited_countriesSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Visited_countriesMinAggregateOutputType = { + id: number | null + user_id: number | null + country_code: string | null + created_at: Date | null +} + +export type Visited_countriesMaxAggregateOutputType = { + id: number | null + user_id: number | null + country_code: string | null + created_at: Date | null +} + +export type Visited_countriesCountAggregateOutputType = { + id: number + user_id: number + country_code: number + created_at: number + _all: number +} + + +export type Visited_countriesAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Visited_countriesSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Visited_countriesMinAggregateInputType = { + id?: true + user_id?: true + country_code?: true + created_at?: true +} + +export type Visited_countriesMaxAggregateInputType = { + id?: true + user_id?: true + country_code?: true + created_at?: true +} + +export type Visited_countriesCountAggregateInputType = { + id?: true + user_id?: true + country_code?: true + created_at?: true + _all?: true +} + +export type Visited_countriesAggregateArgs = { + /** + * Filter which visited_countries to aggregate. + */ + where?: Prisma.visited_countriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_countries to fetch. + */ + orderBy?: Prisma.visited_countriesOrderByWithRelationInput | Prisma.visited_countriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.visited_countriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_countries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_countries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned visited_countries + **/ + _count?: true | Visited_countriesCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Visited_countriesAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Visited_countriesSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Visited_countriesMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Visited_countriesMaxAggregateInputType +} + +export type GetVisited_countriesAggregateType = { + [P in keyof T & keyof AggregateVisited_countries]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type visited_countriesGroupByArgs = { + where?: Prisma.visited_countriesWhereInput + orderBy?: Prisma.visited_countriesOrderByWithAggregationInput | Prisma.visited_countriesOrderByWithAggregationInput[] + by: Prisma.Visited_countriesScalarFieldEnum[] | Prisma.Visited_countriesScalarFieldEnum + having?: Prisma.visited_countriesScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Visited_countriesCountAggregateInputType | true + _avg?: Visited_countriesAvgAggregateInputType + _sum?: Visited_countriesSumAggregateInputType + _min?: Visited_countriesMinAggregateInputType + _max?: Visited_countriesMaxAggregateInputType +} + +export type Visited_countriesGroupByOutputType = { + id: number + user_id: number + country_code: string + created_at: Date | null + _count: Visited_countriesCountAggregateOutputType | null + _avg: Visited_countriesAvgAggregateOutputType | null + _sum: Visited_countriesSumAggregateOutputType | null + _min: Visited_countriesMinAggregateOutputType | null + _max: Visited_countriesMaxAggregateOutputType | null +} + +export type GetVisited_countriesGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Visited_countriesGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type visited_countriesWhereInput = { + AND?: Prisma.visited_countriesWhereInput | Prisma.visited_countriesWhereInput[] + OR?: Prisma.visited_countriesWhereInput[] + NOT?: Prisma.visited_countriesWhereInput | Prisma.visited_countriesWhereInput[] + id?: Prisma.IntFilter<"visited_countries"> | number + user_id?: Prisma.IntFilter<"visited_countries"> | number + country_code?: Prisma.StringFilter<"visited_countries"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_countries"> | Date | string | null + users?: Prisma.XOR +} + +export type visited_countriesOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type visited_countriesWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_country_code?: Prisma.visited_countriesUser_idCountry_codeCompoundUniqueInput + AND?: Prisma.visited_countriesWhereInput | Prisma.visited_countriesWhereInput[] + OR?: Prisma.visited_countriesWhereInput[] + NOT?: Prisma.visited_countriesWhereInput | Prisma.visited_countriesWhereInput[] + user_id?: Prisma.IntFilter<"visited_countries"> | number + country_code?: Prisma.StringFilter<"visited_countries"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_countries"> | Date | string | null + users?: Prisma.XOR +}, "id" | "user_id_country_code"> + +export type visited_countriesOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.visited_countriesCountOrderByAggregateInput + _avg?: Prisma.visited_countriesAvgOrderByAggregateInput + _max?: Prisma.visited_countriesMaxOrderByAggregateInput + _min?: Prisma.visited_countriesMinOrderByAggregateInput + _sum?: Prisma.visited_countriesSumOrderByAggregateInput +} + +export type visited_countriesScalarWhereWithAggregatesInput = { + AND?: Prisma.visited_countriesScalarWhereWithAggregatesInput | Prisma.visited_countriesScalarWhereWithAggregatesInput[] + OR?: Prisma.visited_countriesScalarWhereWithAggregatesInput[] + NOT?: Prisma.visited_countriesScalarWhereWithAggregatesInput | Prisma.visited_countriesScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"visited_countries"> | number + user_id?: Prisma.IntWithAggregatesFilter<"visited_countries"> | number + country_code?: Prisma.StringWithAggregatesFilter<"visited_countries"> | string + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"visited_countries"> | Date | string | null +} + +export type visited_countriesCreateInput = { + country_code: string + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutVisited_countriesInput +} + +export type visited_countriesUncheckedCreateInput = { + id?: number + user_id: number + country_code: string + created_at?: Date | string | null +} + +export type visited_countriesUpdateInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVisited_countriesNestedInput +} + +export type visited_countriesUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_countriesCreateManyInput = { + id?: number + user_id: number + country_code: string + created_at?: Date | string | null +} + +export type visited_countriesUpdateManyMutationInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_countriesUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Visited_countriesListRelationFilter = { + every?: Prisma.visited_countriesWhereInput + some?: Prisma.visited_countriesWhereInput + none?: Prisma.visited_countriesWhereInput +} + +export type visited_countriesOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type visited_countriesUser_idCountry_codeCompoundUniqueInput = { + user_id: number + country_code: string +} + +export type visited_countriesCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_countriesAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type visited_countriesMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_countriesMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_countriesSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type visited_countriesCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.visited_countriesCreateWithoutUsersInput[] | Prisma.visited_countriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_countriesCreateOrConnectWithoutUsersInput | Prisma.visited_countriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.visited_countriesCreateManyUsersInputEnvelope + connect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] +} + +export type visited_countriesUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.visited_countriesCreateWithoutUsersInput[] | Prisma.visited_countriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_countriesCreateOrConnectWithoutUsersInput | Prisma.visited_countriesCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.visited_countriesCreateManyUsersInputEnvelope + connect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] +} + +export type visited_countriesUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.visited_countriesCreateWithoutUsersInput[] | Prisma.visited_countriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_countriesCreateOrConnectWithoutUsersInput | Prisma.visited_countriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.visited_countriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.visited_countriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.visited_countriesCreateManyUsersInputEnvelope + set?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + disconnect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + delete?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + connect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + update?: Prisma.visited_countriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.visited_countriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.visited_countriesUpdateManyWithWhereWithoutUsersInput | Prisma.visited_countriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.visited_countriesScalarWhereInput | Prisma.visited_countriesScalarWhereInput[] +} + +export type visited_countriesUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.visited_countriesCreateWithoutUsersInput[] | Prisma.visited_countriesUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_countriesCreateOrConnectWithoutUsersInput | Prisma.visited_countriesCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.visited_countriesUpsertWithWhereUniqueWithoutUsersInput | Prisma.visited_countriesUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.visited_countriesCreateManyUsersInputEnvelope + set?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + disconnect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + delete?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + connect?: Prisma.visited_countriesWhereUniqueInput | Prisma.visited_countriesWhereUniqueInput[] + update?: Prisma.visited_countriesUpdateWithWhereUniqueWithoutUsersInput | Prisma.visited_countriesUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.visited_countriesUpdateManyWithWhereWithoutUsersInput | Prisma.visited_countriesUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.visited_countriesScalarWhereInput | Prisma.visited_countriesScalarWhereInput[] +} + +export type visited_countriesCreateWithoutUsersInput = { + country_code: string + created_at?: Date | string | null +} + +export type visited_countriesUncheckedCreateWithoutUsersInput = { + id?: number + country_code: string + created_at?: Date | string | null +} + +export type visited_countriesCreateOrConnectWithoutUsersInput = { + where: Prisma.visited_countriesWhereUniqueInput + create: Prisma.XOR +} + +export type visited_countriesCreateManyUsersInputEnvelope = { + data: Prisma.visited_countriesCreateManyUsersInput | Prisma.visited_countriesCreateManyUsersInput[] +} + +export type visited_countriesUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.visited_countriesWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type visited_countriesUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.visited_countriesWhereUniqueInput + data: Prisma.XOR +} + +export type visited_countriesUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.visited_countriesScalarWhereInput + data: Prisma.XOR +} + +export type visited_countriesScalarWhereInput = { + AND?: Prisma.visited_countriesScalarWhereInput | Prisma.visited_countriesScalarWhereInput[] + OR?: Prisma.visited_countriesScalarWhereInput[] + NOT?: Prisma.visited_countriesScalarWhereInput | Prisma.visited_countriesScalarWhereInput[] + id?: Prisma.IntFilter<"visited_countries"> | number + user_id?: Prisma.IntFilter<"visited_countries"> | number + country_code?: Prisma.StringFilter<"visited_countries"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_countries"> | Date | string | null +} + +export type visited_countriesCreateManyUsersInput = { + id?: number + country_code: string + created_at?: Date | string | null +} + +export type visited_countriesUpdateWithoutUsersInput = { + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_countriesUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_countriesUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type visited_countriesSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_countries"]> + +export type visited_countriesSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_countries"]> + +export type visited_countriesSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_countries"]> + +export type visited_countriesSelectScalar = { + id?: boolean + user_id?: boolean + country_code?: boolean + created_at?: boolean +} + +export type visited_countriesOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "country_code" | "created_at", ExtArgs["result"]["visited_countries"]> +export type visited_countriesInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type visited_countriesIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type visited_countriesIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $visited_countriesPayload = { + name: "visited_countries" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + country_code: string + created_at: Date | null + }, ExtArgs["result"]["visited_countries"]> + composites: {} +} + +export type visited_countriesGetPayload = runtime.Types.Result.GetResult + +export type visited_countriesCountArgs = + Omit & { + select?: Visited_countriesCountAggregateInputType | true + } + +export interface visited_countriesDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['visited_countries'], meta: { name: 'visited_countries' } } + /** + * Find zero or one Visited_countries that matches the filter. + * @param {visited_countriesFindUniqueArgs} args - Arguments to find a Visited_countries + * @example + * // Get one Visited_countries + * const visited_countries = await prisma.visited_countries.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Visited_countries that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {visited_countriesFindUniqueOrThrowArgs} args - Arguments to find a Visited_countries + * @example + * // Get one Visited_countries + * const visited_countries = await prisma.visited_countries.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Visited_countries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesFindFirstArgs} args - Arguments to find a Visited_countries + * @example + * // Get one Visited_countries + * const visited_countries = await prisma.visited_countries.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Visited_countries that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesFindFirstOrThrowArgs} args - Arguments to find a Visited_countries + * @example + * // Get one Visited_countries + * const visited_countries = await prisma.visited_countries.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Visited_countries that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Visited_countries + * const visited_countries = await prisma.visited_countries.findMany() + * + * // Get first 10 Visited_countries + * const visited_countries = await prisma.visited_countries.findMany({ take: 10 }) + * + * // Only select the `id` + * const visited_countriesWithIdOnly = await prisma.visited_countries.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Visited_countries. + * @param {visited_countriesCreateArgs} args - Arguments to create a Visited_countries. + * @example + * // Create one Visited_countries + * const Visited_countries = await prisma.visited_countries.create({ + * data: { + * // ... data to create a Visited_countries + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Visited_countries. + * @param {visited_countriesCreateManyArgs} args - Arguments to create many Visited_countries. + * @example + * // Create many Visited_countries + * const visited_countries = await prisma.visited_countries.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Visited_countries and returns the data saved in the database. + * @param {visited_countriesCreateManyAndReturnArgs} args - Arguments to create many Visited_countries. + * @example + * // Create many Visited_countries + * const visited_countries = await prisma.visited_countries.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Visited_countries and only return the `id` + * const visited_countriesWithIdOnly = await prisma.visited_countries.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Visited_countries. + * @param {visited_countriesDeleteArgs} args - Arguments to delete one Visited_countries. + * @example + * // Delete one Visited_countries + * const Visited_countries = await prisma.visited_countries.delete({ + * where: { + * // ... filter to delete one Visited_countries + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Visited_countries. + * @param {visited_countriesUpdateArgs} args - Arguments to update one Visited_countries. + * @example + * // Update one Visited_countries + * const visited_countries = await prisma.visited_countries.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Visited_countries. + * @param {visited_countriesDeleteManyArgs} args - Arguments to filter Visited_countries to delete. + * @example + * // Delete a few Visited_countries + * const { count } = await prisma.visited_countries.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Visited_countries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Visited_countries + * const visited_countries = await prisma.visited_countries.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Visited_countries and returns the data updated in the database. + * @param {visited_countriesUpdateManyAndReturnArgs} args - Arguments to update many Visited_countries. + * @example + * // Update many Visited_countries + * const visited_countries = await prisma.visited_countries.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Visited_countries and only return the `id` + * const visited_countriesWithIdOnly = await prisma.visited_countries.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Visited_countries. + * @param {visited_countriesUpsertArgs} args - Arguments to update or create a Visited_countries. + * @example + * // Update or create a Visited_countries + * const visited_countries = await prisma.visited_countries.upsert({ + * create: { + * // ... data to create a Visited_countries + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Visited_countries we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__visited_countriesClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Visited_countries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesCountArgs} args - Arguments to filter Visited_countries to count. + * @example + * // Count the number of Visited_countries + * const count = await prisma.visited_countries.count({ + * where: { + * // ... the filter for the Visited_countries we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Visited_countries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Visited_countriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Visited_countries. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_countriesGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends visited_countriesGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: visited_countriesGroupByArgs['orderBy'] } + : { orderBy?: visited_countriesGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVisited_countriesGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the visited_countries model + */ +readonly fields: visited_countriesFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for visited_countries. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__visited_countriesClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the visited_countries model + */ +export interface visited_countriesFieldRefs { + readonly id: Prisma.FieldRef<"visited_countries", 'Int'> + readonly user_id: Prisma.FieldRef<"visited_countries", 'Int'> + readonly country_code: Prisma.FieldRef<"visited_countries", 'String'> + readonly created_at: Prisma.FieldRef<"visited_countries", 'DateTime'> +} + + +// Custom InputTypes +/** + * visited_countries findUnique + */ +export type visited_countriesFindUniqueArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter, which visited_countries to fetch. + */ + where: Prisma.visited_countriesWhereUniqueInput +} + +/** + * visited_countries findUniqueOrThrow + */ +export type visited_countriesFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter, which visited_countries to fetch. + */ + where: Prisma.visited_countriesWhereUniqueInput +} + +/** + * visited_countries findFirst + */ +export type visited_countriesFindFirstArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter, which visited_countries to fetch. + */ + where?: Prisma.visited_countriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_countries to fetch. + */ + orderBy?: Prisma.visited_countriesOrderByWithRelationInput | Prisma.visited_countriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for visited_countries. + */ + cursor?: Prisma.visited_countriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_countries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_countries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_countries. + */ + distinct?: Prisma.Visited_countriesScalarFieldEnum | Prisma.Visited_countriesScalarFieldEnum[] +} + +/** + * visited_countries findFirstOrThrow + */ +export type visited_countriesFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter, which visited_countries to fetch. + */ + where?: Prisma.visited_countriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_countries to fetch. + */ + orderBy?: Prisma.visited_countriesOrderByWithRelationInput | Prisma.visited_countriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for visited_countries. + */ + cursor?: Prisma.visited_countriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_countries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_countries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_countries. + */ + distinct?: Prisma.Visited_countriesScalarFieldEnum | Prisma.Visited_countriesScalarFieldEnum[] +} + +/** + * visited_countries findMany + */ +export type visited_countriesFindManyArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter, which visited_countries to fetch. + */ + where?: Prisma.visited_countriesWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_countries to fetch. + */ + orderBy?: Prisma.visited_countriesOrderByWithRelationInput | Prisma.visited_countriesOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing visited_countries. + */ + cursor?: Prisma.visited_countriesWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_countries from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_countries. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_countries. + */ + distinct?: Prisma.Visited_countriesScalarFieldEnum | Prisma.Visited_countriesScalarFieldEnum[] +} + +/** + * visited_countries create + */ +export type visited_countriesCreateArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * The data needed to create a visited_countries. + */ + data: Prisma.XOR +} + +/** + * visited_countries createMany + */ +export type visited_countriesCreateManyArgs = { + /** + * The data used to create many visited_countries. + */ + data: Prisma.visited_countriesCreateManyInput | Prisma.visited_countriesCreateManyInput[] +} + +/** + * visited_countries createManyAndReturn + */ +export type visited_countriesCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelectCreateManyAndReturn | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * The data used to create many visited_countries. + */ + data: Prisma.visited_countriesCreateManyInput | Prisma.visited_countriesCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesIncludeCreateManyAndReturn | null +} + +/** + * visited_countries update + */ +export type visited_countriesUpdateArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * The data needed to update a visited_countries. + */ + data: Prisma.XOR + /** + * Choose, which visited_countries to update. + */ + where: Prisma.visited_countriesWhereUniqueInput +} + +/** + * visited_countries updateMany + */ +export type visited_countriesUpdateManyArgs = { + /** + * The data used to update visited_countries. + */ + data: Prisma.XOR + /** + * Filter which visited_countries to update + */ + where?: Prisma.visited_countriesWhereInput + /** + * Limit how many visited_countries to update. + */ + limit?: number +} + +/** + * visited_countries updateManyAndReturn + */ +export type visited_countriesUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * The data used to update visited_countries. + */ + data: Prisma.XOR + /** + * Filter which visited_countries to update + */ + where?: Prisma.visited_countriesWhereInput + /** + * Limit how many visited_countries to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesIncludeUpdateManyAndReturn | null +} + +/** + * visited_countries upsert + */ +export type visited_countriesUpsertArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * The filter to search for the visited_countries to update in case it exists. + */ + where: Prisma.visited_countriesWhereUniqueInput + /** + * In case the visited_countries found by the `where` argument doesn't exist, create a new visited_countries with this data. + */ + create: Prisma.XOR + /** + * In case the visited_countries was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * visited_countries delete + */ +export type visited_countriesDeleteArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null + /** + * Filter which visited_countries to delete. + */ + where: Prisma.visited_countriesWhereUniqueInput +} + +/** + * visited_countries deleteMany + */ +export type visited_countriesDeleteManyArgs = { + /** + * Filter which visited_countries to delete + */ + where?: Prisma.visited_countriesWhereInput + /** + * Limit how many visited_countries to delete. + */ + limit?: number +} + +/** + * visited_countries without action + */ +export type visited_countriesDefaultArgs = { + /** + * Select specific fields to fetch from the visited_countries + */ + select?: Prisma.visited_countriesSelect | null + /** + * Omit specific fields from the visited_countries + */ + omit?: Prisma.visited_countriesOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_countriesInclude | null +} diff --git a/server/src/generated/prisma/models/visited_regions.ts b/server/src/generated/prisma/models/visited_regions.ts new file mode 100644 index 00000000..bc895aa7 --- /dev/null +++ b/server/src/generated/prisma/models/visited_regions.ts @@ -0,0 +1,1428 @@ + +/* !!! This is code generated by Prisma. Do not edit directly. !!! */ +/* eslint-disable */ +// biome-ignore-all lint: generated file +// @ts-nocheck +/* + * This file exports the `visited_regions` model and its related types. + * + * 🟢 You can import this file directly. + */ +import type * as runtime from "@prisma/client/runtime/client" +import type * as $Enums from "../enums" +import type * as Prisma from "../internal/prismaNamespace" + +/** + * Model visited_regions + * + */ +export type visited_regionsModel = runtime.Types.Result.DefaultSelection + +export type AggregateVisited_regions = { + _count: Visited_regionsCountAggregateOutputType | null + _avg: Visited_regionsAvgAggregateOutputType | null + _sum: Visited_regionsSumAggregateOutputType | null + _min: Visited_regionsMinAggregateOutputType | null + _max: Visited_regionsMaxAggregateOutputType | null +} + +export type Visited_regionsAvgAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Visited_regionsSumAggregateOutputType = { + id: number | null + user_id: number | null +} + +export type Visited_regionsMinAggregateOutputType = { + id: number | null + user_id: number | null + region_code: string | null + region_name: string | null + country_code: string | null + created_at: Date | null +} + +export type Visited_regionsMaxAggregateOutputType = { + id: number | null + user_id: number | null + region_code: string | null + region_name: string | null + country_code: string | null + created_at: Date | null +} + +export type Visited_regionsCountAggregateOutputType = { + id: number + user_id: number + region_code: number + region_name: number + country_code: number + created_at: number + _all: number +} + + +export type Visited_regionsAvgAggregateInputType = { + id?: true + user_id?: true +} + +export type Visited_regionsSumAggregateInputType = { + id?: true + user_id?: true +} + +export type Visited_regionsMinAggregateInputType = { + id?: true + user_id?: true + region_code?: true + region_name?: true + country_code?: true + created_at?: true +} + +export type Visited_regionsMaxAggregateInputType = { + id?: true + user_id?: true + region_code?: true + region_name?: true + country_code?: true + created_at?: true +} + +export type Visited_regionsCountAggregateInputType = { + id?: true + user_id?: true + region_code?: true + region_name?: true + country_code?: true + created_at?: true + _all?: true +} + +export type Visited_regionsAggregateArgs = { + /** + * Filter which visited_regions to aggregate. + */ + where?: Prisma.visited_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_regions to fetch. + */ + orderBy?: Prisma.visited_regionsOrderByWithRelationInput | Prisma.visited_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the start position + */ + cursor?: Prisma.visited_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Count returned visited_regions + **/ + _count?: true | Visited_regionsCountAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to average + **/ + _avg?: Visited_regionsAvgAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to sum + **/ + _sum?: Visited_regionsSumAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the minimum value + **/ + _min?: Visited_regionsMinAggregateInputType + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} + * + * Select which fields to find the maximum value + **/ + _max?: Visited_regionsMaxAggregateInputType +} + +export type GetVisited_regionsAggregateType = { + [P in keyof T & keyof AggregateVisited_regions]: P extends '_count' | 'count' + ? T[P] extends true + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType +} + + + + +export type visited_regionsGroupByArgs = { + where?: Prisma.visited_regionsWhereInput + orderBy?: Prisma.visited_regionsOrderByWithAggregationInput | Prisma.visited_regionsOrderByWithAggregationInput[] + by: Prisma.Visited_regionsScalarFieldEnum[] | Prisma.Visited_regionsScalarFieldEnum + having?: Prisma.visited_regionsScalarWhereWithAggregatesInput + take?: number + skip?: number + _count?: Visited_regionsCountAggregateInputType | true + _avg?: Visited_regionsAvgAggregateInputType + _sum?: Visited_regionsSumAggregateInputType + _min?: Visited_regionsMinAggregateInputType + _max?: Visited_regionsMaxAggregateInputType +} + +export type Visited_regionsGroupByOutputType = { + id: number + user_id: number + region_code: string + region_name: string + country_code: string + created_at: Date | null + _count: Visited_regionsCountAggregateOutputType | null + _avg: Visited_regionsAvgAggregateOutputType | null + _sum: Visited_regionsSumAggregateOutputType | null + _min: Visited_regionsMinAggregateOutputType | null + _max: Visited_regionsMaxAggregateOutputType | null +} + +export type GetVisited_regionsGroupByPayload = Prisma.PrismaPromise< + Array< + Prisma.PickEnumerable & + { + [P in ((keyof T) & (keyof Visited_regionsGroupByOutputType))]: P extends '_count' + ? T[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > + > + + + +export type visited_regionsWhereInput = { + AND?: Prisma.visited_regionsWhereInput | Prisma.visited_regionsWhereInput[] + OR?: Prisma.visited_regionsWhereInput[] + NOT?: Prisma.visited_regionsWhereInput | Prisma.visited_regionsWhereInput[] + id?: Prisma.IntFilter<"visited_regions"> | number + user_id?: Prisma.IntFilter<"visited_regions"> | number + region_code?: Prisma.StringFilter<"visited_regions"> | string + region_name?: Prisma.StringFilter<"visited_regions"> | string + country_code?: Prisma.StringFilter<"visited_regions"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_regions"> | Date | string | null + users?: Prisma.XOR +} + +export type visited_regionsOrderByWithRelationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + users?: Prisma.usersOrderByWithRelationInput +} + +export type visited_regionsWhereUniqueInput = Prisma.AtLeast<{ + id?: number + user_id_region_code?: Prisma.visited_regionsUser_idRegion_codeCompoundUniqueInput + AND?: Prisma.visited_regionsWhereInput | Prisma.visited_regionsWhereInput[] + OR?: Prisma.visited_regionsWhereInput[] + NOT?: Prisma.visited_regionsWhereInput | Prisma.visited_regionsWhereInput[] + user_id?: Prisma.IntFilter<"visited_regions"> | number + region_code?: Prisma.StringFilter<"visited_regions"> | string + region_name?: Prisma.StringFilter<"visited_regions"> | string + country_code?: Prisma.StringFilter<"visited_regions"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_regions"> | Date | string | null + users?: Prisma.XOR +}, "id" | "user_id_region_code"> + +export type visited_regionsOrderByWithAggregationInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrderInput | Prisma.SortOrder + _count?: Prisma.visited_regionsCountOrderByAggregateInput + _avg?: Prisma.visited_regionsAvgOrderByAggregateInput + _max?: Prisma.visited_regionsMaxOrderByAggregateInput + _min?: Prisma.visited_regionsMinOrderByAggregateInput + _sum?: Prisma.visited_regionsSumOrderByAggregateInput +} + +export type visited_regionsScalarWhereWithAggregatesInput = { + AND?: Prisma.visited_regionsScalarWhereWithAggregatesInput | Prisma.visited_regionsScalarWhereWithAggregatesInput[] + OR?: Prisma.visited_regionsScalarWhereWithAggregatesInput[] + NOT?: Prisma.visited_regionsScalarWhereWithAggregatesInput | Prisma.visited_regionsScalarWhereWithAggregatesInput[] + id?: Prisma.IntWithAggregatesFilter<"visited_regions"> | number + user_id?: Prisma.IntWithAggregatesFilter<"visited_regions"> | number + region_code?: Prisma.StringWithAggregatesFilter<"visited_regions"> | string + region_name?: Prisma.StringWithAggregatesFilter<"visited_regions"> | string + country_code?: Prisma.StringWithAggregatesFilter<"visited_regions"> | string + created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"visited_regions"> | Date | string | null +} + +export type visited_regionsCreateInput = { + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null + users: Prisma.usersCreateNestedOneWithoutVisited_regionsInput +} + +export type visited_regionsUncheckedCreateInput = { + id?: number + user_id: number + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null +} + +export type visited_regionsUpdateInput = { + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null + users?: Prisma.usersUpdateOneRequiredWithoutVisited_regionsNestedInput +} + +export type visited_regionsUncheckedUpdateInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_regionsCreateManyInput = { + id?: number + user_id: number + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null +} + +export type visited_regionsUpdateManyMutationInput = { + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_regionsUncheckedUpdateManyInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + user_id?: Prisma.IntFieldUpdateOperationsInput | number + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type Visited_regionsListRelationFilter = { + every?: Prisma.visited_regionsWhereInput + some?: Prisma.visited_regionsWhereInput + none?: Prisma.visited_regionsWhereInput +} + +export type visited_regionsOrderByRelationAggregateInput = { + _count?: Prisma.SortOrder +} + +export type visited_regionsUser_idRegion_codeCompoundUniqueInput = { + user_id: number + region_code: string +} + +export type visited_regionsCountOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_regionsAvgOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type visited_regionsMaxOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_regionsMinOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder + region_code?: Prisma.SortOrder + region_name?: Prisma.SortOrder + country_code?: Prisma.SortOrder + created_at?: Prisma.SortOrder +} + +export type visited_regionsSumOrderByAggregateInput = { + id?: Prisma.SortOrder + user_id?: Prisma.SortOrder +} + +export type visited_regionsCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.visited_regionsCreateWithoutUsersInput[] | Prisma.visited_regionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_regionsCreateOrConnectWithoutUsersInput | Prisma.visited_regionsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.visited_regionsCreateManyUsersInputEnvelope + connect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] +} + +export type visited_regionsUncheckedCreateNestedManyWithoutUsersInput = { + create?: Prisma.XOR | Prisma.visited_regionsCreateWithoutUsersInput[] | Prisma.visited_regionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_regionsCreateOrConnectWithoutUsersInput | Prisma.visited_regionsCreateOrConnectWithoutUsersInput[] + createMany?: Prisma.visited_regionsCreateManyUsersInputEnvelope + connect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] +} + +export type visited_regionsUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.visited_regionsCreateWithoutUsersInput[] | Prisma.visited_regionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_regionsCreateOrConnectWithoutUsersInput | Prisma.visited_regionsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.visited_regionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.visited_regionsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.visited_regionsCreateManyUsersInputEnvelope + set?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + disconnect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + delete?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + connect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + update?: Prisma.visited_regionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.visited_regionsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.visited_regionsUpdateManyWithWhereWithoutUsersInput | Prisma.visited_regionsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.visited_regionsScalarWhereInput | Prisma.visited_regionsScalarWhereInput[] +} + +export type visited_regionsUncheckedUpdateManyWithoutUsersNestedInput = { + create?: Prisma.XOR | Prisma.visited_regionsCreateWithoutUsersInput[] | Prisma.visited_regionsUncheckedCreateWithoutUsersInput[] + connectOrCreate?: Prisma.visited_regionsCreateOrConnectWithoutUsersInput | Prisma.visited_regionsCreateOrConnectWithoutUsersInput[] + upsert?: Prisma.visited_regionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.visited_regionsUpsertWithWhereUniqueWithoutUsersInput[] + createMany?: Prisma.visited_regionsCreateManyUsersInputEnvelope + set?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + disconnect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + delete?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + connect?: Prisma.visited_regionsWhereUniqueInput | Prisma.visited_regionsWhereUniqueInput[] + update?: Prisma.visited_regionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.visited_regionsUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: Prisma.visited_regionsUpdateManyWithWhereWithoutUsersInput | Prisma.visited_regionsUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: Prisma.visited_regionsScalarWhereInput | Prisma.visited_regionsScalarWhereInput[] +} + +export type visited_regionsCreateWithoutUsersInput = { + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null +} + +export type visited_regionsUncheckedCreateWithoutUsersInput = { + id?: number + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null +} + +export type visited_regionsCreateOrConnectWithoutUsersInput = { + where: Prisma.visited_regionsWhereUniqueInput + create: Prisma.XOR +} + +export type visited_regionsCreateManyUsersInputEnvelope = { + data: Prisma.visited_regionsCreateManyUsersInput | Prisma.visited_regionsCreateManyUsersInput[] +} + +export type visited_regionsUpsertWithWhereUniqueWithoutUsersInput = { + where: Prisma.visited_regionsWhereUniqueInput + update: Prisma.XOR + create: Prisma.XOR +} + +export type visited_regionsUpdateWithWhereUniqueWithoutUsersInput = { + where: Prisma.visited_regionsWhereUniqueInput + data: Prisma.XOR +} + +export type visited_regionsUpdateManyWithWhereWithoutUsersInput = { + where: Prisma.visited_regionsScalarWhereInput + data: Prisma.XOR +} + +export type visited_regionsScalarWhereInput = { + AND?: Prisma.visited_regionsScalarWhereInput | Prisma.visited_regionsScalarWhereInput[] + OR?: Prisma.visited_regionsScalarWhereInput[] + NOT?: Prisma.visited_regionsScalarWhereInput | Prisma.visited_regionsScalarWhereInput[] + id?: Prisma.IntFilter<"visited_regions"> | number + user_id?: Prisma.IntFilter<"visited_regions"> | number + region_code?: Prisma.StringFilter<"visited_regions"> | string + region_name?: Prisma.StringFilter<"visited_regions"> | string + country_code?: Prisma.StringFilter<"visited_regions"> | string + created_at?: Prisma.DateTimeNullableFilter<"visited_regions"> | Date | string | null +} + +export type visited_regionsCreateManyUsersInput = { + id?: number + region_code: string + region_name: string + country_code: string + created_at?: Date | string | null +} + +export type visited_regionsUpdateWithoutUsersInput = { + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_regionsUncheckedUpdateWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + +export type visited_regionsUncheckedUpdateManyWithoutUsersInput = { + id?: Prisma.IntFieldUpdateOperationsInput | number + region_code?: Prisma.StringFieldUpdateOperationsInput | string + region_name?: Prisma.StringFieldUpdateOperationsInput | string + country_code?: Prisma.StringFieldUpdateOperationsInput | string + created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null +} + + + +export type visited_regionsSelect = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + region_code?: boolean + region_name?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_regions"]> + +export type visited_regionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + region_code?: boolean + region_name?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_regions"]> + +export type visited_regionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ + id?: boolean + user_id?: boolean + region_code?: boolean + region_name?: boolean + country_code?: boolean + created_at?: boolean + users?: boolean | Prisma.usersDefaultArgs +}, ExtArgs["result"]["visited_regions"]> + +export type visited_regionsSelectScalar = { + id?: boolean + user_id?: boolean + region_code?: boolean + region_name?: boolean + country_code?: boolean + created_at?: boolean +} + +export type visited_regionsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "region_code" | "region_name" | "country_code" | "created_at", ExtArgs["result"]["visited_regions"]> +export type visited_regionsInclude = { + users?: boolean | Prisma.usersDefaultArgs +} +export type visited_regionsIncludeCreateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} +export type visited_regionsIncludeUpdateManyAndReturn = { + users?: boolean | Prisma.usersDefaultArgs +} + +export type $visited_regionsPayload = { + name: "visited_regions" + objects: { + users: Prisma.$usersPayload + } + scalars: runtime.Types.Extensions.GetPayloadResult<{ + id: number + user_id: number + region_code: string + region_name: string + country_code: string + created_at: Date | null + }, ExtArgs["result"]["visited_regions"]> + composites: {} +} + +export type visited_regionsGetPayload = runtime.Types.Result.GetResult + +export type visited_regionsCountArgs = + Omit & { + select?: Visited_regionsCountAggregateInputType | true + } + +export interface visited_regionsDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['visited_regions'], meta: { name: 'visited_regions' } } + /** + * Find zero or one Visited_regions that matches the filter. + * @param {visited_regionsFindUniqueArgs} args - Arguments to find a Visited_regions + * @example + * // Get one Visited_regions + * const visited_regions = await prisma.visited_regions.findUnique({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find one Visited_regions that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {visited_regionsFindUniqueOrThrowArgs} args - Arguments to find a Visited_regions + * @example + * // Get one Visited_regions + * const visited_regions = await prisma.visited_regions.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Visited_regions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsFindFirstArgs} args - Arguments to find a Visited_regions + * @example + * // Get one Visited_regions + * const visited_regions = await prisma.visited_regions.findFirst({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> + + /** + * Find the first Visited_regions that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsFindFirstOrThrowArgs} args - Arguments to find a Visited_regions + * @example + * // Get one Visited_regions + * const visited_regions = await prisma.visited_regions.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + */ + findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Find zero or more Visited_regions that matches the filter. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsFindManyArgs} args - Arguments to filter and select certain fields only. + * @example + * // Get all Visited_regions + * const visited_regions = await prisma.visited_regions.findMany() + * + * // Get first 10 Visited_regions + * const visited_regions = await prisma.visited_regions.findMany({ take: 10 }) + * + * // Only select the `id` + * const visited_regionsWithIdOnly = await prisma.visited_regions.findMany({ select: { id: true } }) + * + */ + findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> + + /** + * Create a Visited_regions. + * @param {visited_regionsCreateArgs} args - Arguments to create a Visited_regions. + * @example + * // Create one Visited_regions + * const Visited_regions = await prisma.visited_regions.create({ + * data: { + * // ... data to create a Visited_regions + * } + * }) + * + */ + create(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Create many Visited_regions. + * @param {visited_regionsCreateManyArgs} args - Arguments to create many Visited_regions. + * @example + * // Create many Visited_regions + * const visited_regions = await prisma.visited_regions.createMany({ + * data: [ + * // ... provide data here + * ] + * }) + * + */ + createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Create many Visited_regions and returns the data saved in the database. + * @param {visited_regionsCreateManyAndReturnArgs} args - Arguments to create many Visited_regions. + * @example + * // Create many Visited_regions + * const visited_regions = await prisma.visited_regions.createManyAndReturn({ + * data: [ + * // ... provide data here + * ] + * }) + * + * // Create many Visited_regions and only return the `id` + * const visited_regionsWithIdOnly = await prisma.visited_regions.createManyAndReturn({ + * select: { id: true }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> + + /** + * Delete a Visited_regions. + * @param {visited_regionsDeleteArgs} args - Arguments to delete one Visited_regions. + * @example + * // Delete one Visited_regions + * const Visited_regions = await prisma.visited_regions.delete({ + * where: { + * // ... filter to delete one Visited_regions + * } + * }) + * + */ + delete(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Update one Visited_regions. + * @param {visited_regionsUpdateArgs} args - Arguments to update one Visited_regions. + * @example + * // Update one Visited_regions + * const visited_regions = await prisma.visited_regions.update({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + update(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + /** + * Delete zero or more Visited_regions. + * @param {visited_regionsDeleteManyArgs} args - Arguments to filter Visited_regions to delete. + * @example + * // Delete a few Visited_regions + * const { count } = await prisma.visited_regions.deleteMany({ + * where: { + * // ... provide filter here + * } + * }) + * + */ + deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Visited_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsUpdateManyArgs} args - Arguments to update one or more rows. + * @example + * // Update many Visited_regions + * const visited_regions = await prisma.visited_regions.updateMany({ + * where: { + * // ... provide filter here + * }, + * data: { + * // ... provide data here + * } + * }) + * + */ + updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise + + /** + * Update zero or more Visited_regions and returns the data updated in the database. + * @param {visited_regionsUpdateManyAndReturnArgs} args - Arguments to update many Visited_regions. + * @example + * // Update many Visited_regions + * const visited_regions = await prisma.visited_regions.updateManyAndReturn({ + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * + * // Update zero or more Visited_regions and only return the `id` + * const visited_regionsWithIdOnly = await prisma.visited_regions.updateManyAndReturn({ + * select: { id: true }, + * where: { + * // ... provide filter here + * }, + * data: [ + * // ... provide data here + * ] + * }) + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * + */ + updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> + + /** + * Create or update one Visited_regions. + * @param {visited_regionsUpsertArgs} args - Arguments to update or create a Visited_regions. + * @example + * // Update or create a Visited_regions + * const visited_regions = await prisma.visited_regions.upsert({ + * create: { + * // ... data to create a Visited_regions + * }, + * update: { + * // ... in case it already exists, update + * }, + * where: { + * // ... the filter for the Visited_regions we want to update + * } + * }) + */ + upsert(args: Prisma.SelectSubset>): Prisma.Prisma__visited_regionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> + + + /** + * Count the number of Visited_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsCountArgs} args - Arguments to filter Visited_regions to count. + * @example + * // Count the number of Visited_regions + * const count = await prisma.visited_regions.count({ + * where: { + * // ... the filter for the Visited_regions we want to count + * } + * }) + **/ + count( + args?: Prisma.Subset, + ): Prisma.PrismaPromise< + T extends runtime.Types.Utils.Record<'select', any> + ? T['select'] extends true + ? number + : Prisma.GetScalarType + : number + > + + /** + * Allows you to perform aggregations operations on a Visited_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {Visited_regionsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. + * @example + * // Ordered by age ascending + * // Where email contains prisma.io + * // Limited to the 10 users + * const aggregations = await prisma.user.aggregate({ + * _avg: { + * age: true, + * }, + * where: { + * email: { + * contains: "prisma.io", + * }, + * }, + * orderBy: { + * age: "asc", + * }, + * take: 10, + * }) + **/ + aggregate(args: Prisma.Subset): Prisma.PrismaPromise> + + /** + * Group by Visited_regions. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {visited_regionsGroupByArgs} args - Group by arguments. + * @example + * // Group by city, order by createdAt, get count + * const result = await prisma.user.groupBy({ + * by: ['city', 'createdAt'], + * orderBy: { + * createdAt: true + * }, + * _count: { + * _all: true + * }, + * }) + * + **/ + groupBy< + T extends visited_regionsGroupByArgs, + HasSelectOrTake extends Prisma.Or< + Prisma.Extends<'skip', Prisma.Keys>, + Prisma.Extends<'take', Prisma.Keys> + >, + OrderByArg extends Prisma.True extends HasSelectOrTake + ? { orderBy: visited_regionsGroupByArgs['orderBy'] } + : { orderBy?: visited_regionsGroupByArgs['orderBy'] }, + OrderFields extends Prisma.ExcludeUnderscoreKeys>>, + ByFields extends Prisma.MaybeTupleToUnion, + ByValid extends Prisma.Has, + HavingFields extends Prisma.GetHavingFields, + HavingValid extends Prisma.Has, + 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 + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVisited_regionsGroupByPayload : Prisma.PrismaPromise +/** + * Fields of the visited_regions model + */ +readonly fields: visited_regionsFieldRefs; +} + +/** + * The delegate class that acts as a "Promise-like" for visited_regions. + * Why is this prefixed with `Prisma__`? + * Because we want to prevent naming conflicts as mentioned in + * https://github.com/prisma/prisma-client-js/issues/707 + */ +export interface Prisma__visited_regionsClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: "PrismaPromise" + users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> + /** + * Attaches callbacks for the resolution and/or rejection of the Promise. + * @param onfulfilled The callback to execute when the Promise is resolved. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of which ever callback is executed. + */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback for only the rejection of the Promise. + * @param onrejected The callback to execute when the Promise is rejected. + * @returns A Promise for the completion of the callback. + */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise + /** + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The + * resolved value cannot be modified from the callback. + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). + * @returns A Promise for the completion of the callback. + */ + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise +} + + + + +/** + * Fields of the visited_regions model + */ +export interface visited_regionsFieldRefs { + readonly id: Prisma.FieldRef<"visited_regions", 'Int'> + readonly user_id: Prisma.FieldRef<"visited_regions", 'Int'> + readonly region_code: Prisma.FieldRef<"visited_regions", 'String'> + readonly region_name: Prisma.FieldRef<"visited_regions", 'String'> + readonly country_code: Prisma.FieldRef<"visited_regions", 'String'> + readonly created_at: Prisma.FieldRef<"visited_regions", 'DateTime'> +} + + +// Custom InputTypes +/** + * visited_regions findUnique + */ +export type visited_regionsFindUniqueArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter, which visited_regions to fetch. + */ + where: Prisma.visited_regionsWhereUniqueInput +} + +/** + * visited_regions findUniqueOrThrow + */ +export type visited_regionsFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter, which visited_regions to fetch. + */ + where: Prisma.visited_regionsWhereUniqueInput +} + +/** + * visited_regions findFirst + */ +export type visited_regionsFindFirstArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter, which visited_regions to fetch. + */ + where?: Prisma.visited_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_regions to fetch. + */ + orderBy?: Prisma.visited_regionsOrderByWithRelationInput | Prisma.visited_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for visited_regions. + */ + cursor?: Prisma.visited_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_regions. + */ + distinct?: Prisma.Visited_regionsScalarFieldEnum | Prisma.Visited_regionsScalarFieldEnum[] +} + +/** + * visited_regions findFirstOrThrow + */ +export type visited_regionsFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter, which visited_regions to fetch. + */ + where?: Prisma.visited_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_regions to fetch. + */ + orderBy?: Prisma.visited_regionsOrderByWithRelationInput | Prisma.visited_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for visited_regions. + */ + cursor?: Prisma.visited_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_regions. + */ + distinct?: Prisma.Visited_regionsScalarFieldEnum | Prisma.Visited_regionsScalarFieldEnum[] +} + +/** + * visited_regions findMany + */ +export type visited_regionsFindManyArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter, which visited_regions to fetch. + */ + where?: Prisma.visited_regionsWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} + * + * Determine the order of visited_regions to fetch. + */ + orderBy?: Prisma.visited_regionsOrderByWithRelationInput | Prisma.visited_regionsOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for listing visited_regions. + */ + cursor?: Prisma.visited_regionsWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` visited_regions from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` visited_regions. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of visited_regions. + */ + distinct?: Prisma.Visited_regionsScalarFieldEnum | Prisma.Visited_regionsScalarFieldEnum[] +} + +/** + * visited_regions create + */ +export type visited_regionsCreateArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * The data needed to create a visited_regions. + */ + data: Prisma.XOR +} + +/** + * visited_regions createMany + */ +export type visited_regionsCreateManyArgs = { + /** + * The data used to create many visited_regions. + */ + data: Prisma.visited_regionsCreateManyInput | Prisma.visited_regionsCreateManyInput[] +} + +/** + * visited_regions createManyAndReturn + */ +export type visited_regionsCreateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelectCreateManyAndReturn | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * The data used to create many visited_regions. + */ + data: Prisma.visited_regionsCreateManyInput | Prisma.visited_regionsCreateManyInput[] + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsIncludeCreateManyAndReturn | null +} + +/** + * visited_regions update + */ +export type visited_regionsUpdateArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * The data needed to update a visited_regions. + */ + data: Prisma.XOR + /** + * Choose, which visited_regions to update. + */ + where: Prisma.visited_regionsWhereUniqueInput +} + +/** + * visited_regions updateMany + */ +export type visited_regionsUpdateManyArgs = { + /** + * The data used to update visited_regions. + */ + data: Prisma.XOR + /** + * Filter which visited_regions to update + */ + where?: Prisma.visited_regionsWhereInput + /** + * Limit how many visited_regions to update. + */ + limit?: number +} + +/** + * visited_regions updateManyAndReturn + */ +export type visited_regionsUpdateManyAndReturnArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * The data used to update visited_regions. + */ + data: Prisma.XOR + /** + * Filter which visited_regions to update + */ + where?: Prisma.visited_regionsWhereInput + /** + * Limit how many visited_regions to update. + */ + limit?: number + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsIncludeUpdateManyAndReturn | null +} + +/** + * visited_regions upsert + */ +export type visited_regionsUpsertArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * The filter to search for the visited_regions to update in case it exists. + */ + where: Prisma.visited_regionsWhereUniqueInput + /** + * In case the visited_regions found by the `where` argument doesn't exist, create a new visited_regions with this data. + */ + create: Prisma.XOR + /** + * In case the visited_regions was found with the provided `where` argument, update it with this data. + */ + update: Prisma.XOR +} + +/** + * visited_regions delete + */ +export type visited_regionsDeleteArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null + /** + * Filter which visited_regions to delete. + */ + where: Prisma.visited_regionsWhereUniqueInput +} + +/** + * visited_regions deleteMany + */ +export type visited_regionsDeleteManyArgs = { + /** + * Filter which visited_regions to delete + */ + where?: Prisma.visited_regionsWhereInput + /** + * Limit how many visited_regions to delete. + */ + limit?: number +} + +/** + * visited_regions without action + */ +export type visited_regionsDefaultArgs = { + /** + * Select specific fields to fetch from the visited_regions + */ + select?: Prisma.visited_regionsSelect | null + /** + * Omit specific fields from the visited_regions + */ + omit?: Prisma.visited_regionsOmit | null + /** + * Choose, which related nodes to fetch as well + */ + include?: Prisma.visited_regionsInclude | null +}